Changeset 4805
- Timestamp:
- 08/22/06 07:18:24 (2 years ago)
- Files:
-
- trunk/actionpack/test/controller/routing_test.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/test/controller/routing_test.rb
r4763 r4805 1548 1548 assert_equal "/connection", url 1549 1549 end 1550 1551 def test_action_left_off_when_id_is_recalled 1552 set.draw do |map| 1553 map.connect ':controller/:action/:id' 1554 end 1555 assert_equal '/post', set.generate( 1556 {:controller => 'post', :action => 'index'}, 1557 {:controller => 'post', :action => 'show', :id => '10'} 1558 ) 1559 end 1560 1550 1561 end 1551 1562 … … 1588 1599 assert_equal %w(vendor\\rails\\railties\\builtin\\rails_info vendor\\rails\\actionpack\\lib app\\controllers app\\helpers app\\models lib .), paths 1589 1600 end 1601 1590 1602 end