saks
ruby/rails developer · Not a member
saks's latest activity
Friday, April 09 2010
4344
Threre is no way to test roting with constraints
was updated
in Ruby on Rails
-
-
- Tag changed from routing, testing to constraints, routing, testing
def assert_generates(expected_path, options, defaults={}, extras = {}, message=nil)
expected_path = "/#{expected_path}" unless expected_path[0] == ?/ #... -
- Tag changed from routing testing constraints to routing, testing
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 created the ticket at 11:50 AMI did not find any way to test how my routing works with constraints. Methods
assert_generates
assert_recognizes
assert_routingdo not accept any options relate...