Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

saks's latest activity

Friday, April 09 2010
4344 Threre is no way to test roting with constraints was updated in Ruby on Rails
  • saks
    • Assigned user set to DHH
    by saks at 1:36 PM
  • saks
    • Tag changed from routing, testing to constraints, routing, testing
    by saks at 1:31 PM

    def assert_generates(expected_path, options, defaults={}, extras = {}, message=nil)

        expected_path = "/#{expected_path}" unless expected_path[0] == ?/
        #...
  • saks
    • Tag changed from routing testing constraints to routing, testing
    by saks at 1:22 PM

    I have no any idea about how to test these routes:

    constraints(:host => /^catalog\./) do
        get 'categories'           => 'categories#index'
        get 'categori...
Thursday, April 08 2010
4344 Threre is no way to test roting with constraints was created in Ruby on Rails
  • saks
    saks created the ticket at 11:50 AM

    I did not find any way to test how my routing works with constraints. Methods

    assert_generates
    assert_recognizes
    assert_routing

    do not accept any options relate...