method

test_file?

rails latest stable - Class: Rails::TestTask::TestInfo

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

test_file?(file)
private

No documentation available.

# File railties/lib/rails/test_unit/sub_test_task.rb, line 83
      def test_file?(file)
        file =~ /^test/ && File.file?(file) && !File.directory?(file)
      end