[rspec-users] RESTful Routes
voodoorai2000 at gmail.com
Mon Feb 4 07:54:43 EST 2008
I'm trying to test the behavior of a route with a delete method.
Something like this:
When "the admin clicks on 'delete'" do
which raises the following exception:
NoMethodError: You have a nil object when you didn't expect it!
The error occurred while evaluating nil.env
If I change the delete, for a get or a post it works like a charm.
What am I missing here?
Thanks in advance!
More information about the rspec-users