diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2013-03-11 09:06:42 -0700 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2013-03-11 09:06:42 -0700 |
commit | 464cd9dc0648f1221ed2643d32c988d234ec5c49 (patch) | |
tree | 754285aed0860e6aac694026d9cc5ff35005d29c /railties | |
parent | 90a97156e4c4618f2702c2bdc3415138e9f94add (diff) | |
parent | 1f8953382f9b7782cf9030f90a05bdefc9a27950 (diff) | |
download | rails-464cd9dc0648f1221ed2643d32c988d234ec5c49.tar.gz rails-464cd9dc0648f1221ed2643d32c988d234ec5c49.tar.bz2 rails-464cd9dc0648f1221ed2643d32c988d234ec5c49.zip |
Merge pull request #9664 from sikachu/master-fix-test_test_failure
Fix test failure introduced in 3ed41e57
Diffstat (limited to 'railties')
-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 |