aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/actions_test.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-04-30 12:42:12 +0200
committerJosé Valim <jose.valim@gmail.com>2010-04-30 12:42:12 +0200
commitcde168edbbe2d95dd8af40524dd9f42220481ef6 (patch)
tree6ef74c744eed96c69d6f7f0544cb998a37559ee4 /railties/test/generators/actions_test.rb
parent7b98d2aa59e301c91d764262bba55133fef3538a (diff)
downloadrails-cde168edbbe2d95dd8af40524dd9f42220481ef6.tar.gz
rails-cde168edbbe2d95dd8af40524dd9f42220481ef6.tar.bz2
rails-cde168edbbe2d95dd8af40524dd9f42220481ef6.zip
Update generators to use thor 0.13.6 with simpler source_root handling.
Diffstat (limited to 'railties/test/generators/actions_test.rb')
-rw-r--r--railties/test/generators/actions_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/actions_test.rb b/railties/test/generators/actions_test.rb
index 44e0640552..e6fab93a87 100644
--- a/railties/test/generators/actions_test.rb
+++ b/railties/test/generators/actions_test.rb
@@ -209,7 +209,7 @@ class ActionsTest < Rails::Generators::TestCase
def test_readme
run_generator
- Rails::Generators::AppGenerator.expects(:source_root).returns(destination_root)
+ Rails::Generators::AppGenerator.expects(:source_root).times(2).returns(destination_root)
assert_match(/Welcome to Rails/, action(:readme, "README"))
end