aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-01 22:44:30 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-01 22:44:30 -0300
commitac0a8eec625ca319ab277d8fee33561ad957dcad (patch)
tree98db528b46e416b4ad8284b147faff7c7cce867c /railties
parent41d72ce3724488dd406366e12e0b14cb366e98a3 (diff)
downloadrails-ac0a8eec625ca319ab277d8fee33561ad957dcad.tar.gz
rails-ac0a8eec625ca319ab277d8fee33561ad957dcad.tar.bz2
rails-ac0a8eec625ca319ab277d8fee33561ad957dcad.zip
Fix test description to match the test behaviour
Diffstat (limited to 'railties')
-rw-r--r--railties/test/generators/scaffold_generator_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/scaffold_generator_test.rb b/railties/test/generators/scaffold_generator_test.rb
index 637bde2a44..78034656bb 100644
--- a/railties/test/generators/scaffold_generator_test.rb
+++ b/railties/test/generators/scaffold_generator_test.rb
@@ -249,7 +249,7 @@ class ScaffoldGeneratorTest < Rails::Generators::TestCase
assert_no_file "app/assets/stylesheets/posts.css"
end
- def test_scaffold_generator_no_assets_with_switch_resource_route_false
+ def test_scaffold_generator_with_switch_resource_route_false
run_generator [ "posts", "--resource-route=false" ]
assert_file "config/routes.rb" do |route|
assert_no_match(/resources :posts$/, route)