search for: test_create_fox

Displaying 1 result from an estimated 1 matches for "test_create_fox".

2006 May 31
2
calling routing during a functional test
I had a beginner''s question. I am testing the create action on my controller. I wanted to fetch the ID parameter of the newly created object, so that I can make some assertions on it. But I can''t seem to find an elegant way of doing that. Of course, might create action redirects. That means that @response.redirect_url is something like "/show/8". So I could pluck