aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/actions_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-12-09 18:57:16 -0600
committerJoshua Peek <josh@joshpeek.com>2009-12-09 18:57:16 -0600
commit0fec53f243079a60df817cab55100a136fafc1c9 (patch)
tree809d89208b0717e71eb8201b1e135df76082a412 /railties/test/generators/actions_test.rb
parentf9d570bdd80010825c21eb32204471ba525915fa (diff)
downloadrails-0fec53f243079a60df817cab55100a136fafc1c9.tar.gz
rails-0fec53f243079a60df817cab55100a136fafc1c9.tar.bz2
rails-0fec53f243079a60df817cab55100a136fafc1c9.zip
Scaffolding generates new routing dsl examples
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 7d03a37f2a..b69f23c965 100644
--- a/railties/test/generators/actions_test.rb
+++ b/railties/test/generators/actions_test.rb
@@ -171,7 +171,7 @@ class ActionsTest < GeneratorsTestCase
def test_route_should_add_data_to_the_routes_block_in_config_routes
run_generator
- route_command = "map.route '/login', :controller => 'sessions', :action => 'new'"
+ route_command = "route '/login', :controller => 'sessions', :action => 'new'"
action :route, route_command
assert_file 'config/routes.rb', /#{Regexp.escape(route_command)}/
end