method

invoke_rake_task

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

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.

invoke_rake_task()
public

No documentation available.

# File railties/lib/rails/test_unit/sub_test_task.rb, line 15
      def invoke_rake_task
        if @info.files.any?
          create_and_run_single_test
          reset_application_tasks
        else
          Rake::Task[ENV['TEST'] ? 'test:single' : 'test:run'].invoke
        end
      end