diff options
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/test_runner_test.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/railties/test/application/test_runner_test.rb b/railties/test/application/test_runner_test.rb index 7a5a428845..2d9d92602d 100644 --- a/railties/test/application/test_runner_test.rb +++ b/railties/test/application/test_runner_test.rb @@ -50,12 +50,10 @@ module ApplicationTests assert_match /SyntaxError/, error_stream.read end - def test_invoke_rake_test_prepare + def test_invoke_rake_db_test_load app_file "lib/tasks/test.rake", <<-RUBY - namespace :test do - task :prepare do - puts "Hello World" - end + task 'db:test:load' do + puts "Hello World" end RUBY create_test_file |