Changeset 6724
- Timestamp:
- 05/12/07 04:46:17 (2 years ago)
- Files:
-
- trunk/actionpack/test/controller/routing_test.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/test/controller/routing_test.rb
r6722 r6724 924 924 assert_equal '/accounts/list_all', default_route.generate(o, o, {}) 925 925 end 926 927 def test_default_route_should_escape_pluses_in_id 928 expected = {:controller => 'accounts', :action => 'show', :id => 'hello world'} 929 assert_equal expected, default_route.recognize('/accounts/show/hello+world') 930 end 926 931 927 932 def test_matches_controller_and_action