Skip to content
Browse files

Fixed an example that was missing a colon for a hash-key.

  • Loading branch information...
1 parent d84106c commit 7f8196f9085748b12b18e12d7b5e2cdb639153cb @r00k r00k committed Oct 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/testing/assertions/routing.rb
View
2 actionpack/lib/action_dispatch/testing/assertions/routing.rb
@@ -105,7 +105,7 @@ def assert_generates(expected_path, options, defaults={}, extras = {}, message=n
# 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'

0 comments on commit 7f8196f

Please sign in to comment.
Something went wrong with that request. Please try again.