From 1f8953382f9b7782cf9030f90a05bdefc9a27950 Mon Sep 17 00:00:00 2001 From: Prem Sichanugrist Date: Mon, 11 Mar 2013 11:58:36 -0400 Subject: Fix test failure introduced in 3ed41e57 I forgot to run the test suit after changing the task name. :bomb: --- railties/test/application/test_runner_test.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'railties') 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 -- cgit v1.2.3