Skip to content
This repository
Browse code

Merge pull request #9664 from sikachu/master-fix-test_test_failure

Fix test failure introduced in 3ed41e5
  • Loading branch information...
commit 464cd9dc0648f1221ed2643d32c988d234ec5c49 2 parents 90a9715 + 1f89533
Andrew White authored March 11, 2013
8  railties/test/application/test_runner_test.rb
@@ -50,12 +50,10 @@ def test_run_file_with_syntax_error
50 50
       assert_match /SyntaxError/, error_stream.read
51 51
     end
52 52
 
53  
-    def test_invoke_rake_test_prepare
  53
+    def test_invoke_rake_db_test_load
54 54
       app_file "lib/tasks/test.rake", <<-RUBY
55  
-        namespace :test do
56  
-          task :prepare do
57  
-            puts "Hello World"
58  
-          end
  55
+        task 'db:test:load' do
  56
+          puts "Hello World"
59 57
         end
60 58
       RUBY
61 59
       create_test_file

0 notes on commit 464cd9d

Please sign in to comment.
Something went wrong with that request. Please try again.