diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-09 18:57:16 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-09 18:57:16 -0600 |
commit | 0fec53f243079a60df817cab55100a136fafc1c9 (patch) | |
tree | 809d89208b0717e71eb8201b1e135df76082a412 /railties/test/generators/actions_test.rb | |
parent | f9d570bdd80010825c21eb32204471ba525915fa (diff) | |
download | rails-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.rb | 2 |
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 |