Permalink
Browse files

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

Fix test failure introduced in 3ed41e5
  • Loading branch information...
2 parents 90a9715 + 1f89533 commit 464cd9dc0648f1221ed2643d32c988d234ec5c49 @pixeltrix pixeltrix committed Mar 11, 2013
Showing with 3 additions and 5 deletions.
  1. +3 −5 railties/test/application/test_runner_test.rb
@@ -50,12 +50,10 @@ def test_run_file_with_syntax_error
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

0 comments on commit 464cd9d

Please sign in to comment.