diff options
author | Ben Orenstein <ben.orenstein@gmail.com> | 2009-10-30 12:57:49 -0400 |
---|---|---|
committer | Ben Orenstein <ben.orenstein@gmail.com> | 2009-10-30 12:57:49 -0400 |
commit | 7f8196f9085748b12b18e12d7b5e2cdb639153cb (patch) | |
tree | cf318043028183412fbd5af0310034e98c662441 /actionpack | |
parent | d84106c5b7ca2a5ac7e2b90f6b087c2c3898ba7f (diff) | |
download | rails-7f8196f9085748b12b18e12d7b5e2cdb639153cb.tar.gz rails-7f8196f9085748b12b18e12d7b5e2cdb639153cb.tar.bz2 rails-7f8196f9085748b12b18e12d7b5e2cdb639153cb.zip |
Fixed an example that was missing a colon for a hash-key.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/routing.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/testing/assertions/routing.rb b/actionpack/lib/action_dispatch/testing/assertions/routing.rb index e6d6b5a3ef..ce221df2cb 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/routing.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/routing.rb @@ -105,7 +105,7 @@ module ActionDispatch # assert_routing '/home', :controller => 'home', :action => 'index' # # # Test a route generated with a specific controller, action, and parameter (id) - # assert_routing '/entries/show/23', :controller => 'entries', :action => 'show', id => 23 + # assert_routing '/entries/show/23', :controller => 'entries', :action => 'show', :id => 23 # # # Assert a basic route (controller + default action), with an error message if it fails # assert_routing '/store', { :controller => 'store', :action => 'index' }, {}, {}, 'Route for store index not generated properly' |