Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 6724

Show
Ignore:
Timestamp:
05/12/07 04:46:17 (2 years ago)
Author:
ulysses
Message:

Add broken test

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/test/controller/routing_test.rb

    r6722 r6724  
    924924    assert_equal '/accounts/list_all', default_route.generate(o, o, {}) 
    925925  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 
    926931 
    927932  def test_matches_controller_and_action