This project is archived and is in readonly mode.
Make sure named routes with parameters can be used in tests before a request has been done.
Reported by Eloy Duran | October 13th, 2008 @ 03:16 PM | in 2.x
Before (in a functional test):
def test_something
# artist_url(:id => 1) # Errors…
get :edit, :id => 1
artist_url(:id => 1) # Now it works.
end
So with this patch the route will work before the request.
Comments and changes to this ticket
-
Repository October 13th, 2008 @ 05:42 PM
- State changed from new to resolved
(from [b47c76b1dfaaf1d99413b94179077cd58552ba88]) Make sure named routes with parameters can be used in tests before a request has been done. [#1208 state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 1208 Make sure named routes with parameters can be used in tests before a request has been done. (from [b47c76b1dfaaf1d99413b94179077cd58552ba88]) Make su...