aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorPrem Sichanugrist <s@sikac.hu>2013-03-11 11:58:36 -0400
committerPrem Sichanugrist <s@sikac.hu>2013-03-11 11:58:36 -0400
commit1f8953382f9b7782cf9030f90a05bdefc9a27950 (patch)
tree754285aed0860e6aac694026d9cc5ff35005d29c /railties/test
parent90a97156e4c4618f2702c2bdc3415138e9f94add (diff)
downloadrails-1f8953382f9b7782cf9030f90a05bdefc9a27950.tar.gz
rails-1f8953382f9b7782cf9030f90a05bdefc9a27950.tar.bz2
rails-1f8953382f9b7782cf9030f90a05bdefc9a27950.zip
Fix test failure introduced in 3ed41e57
I forgot to run the test suit after changing the task name. :bomb:
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/application/test_runner_test.rb8
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