using url_for() in a functional test
Hallo -- I have an assertion in a functional test that looks like this:
This creates this error:
This is due, I believe (tell me if I'm wrong!), to the fact that the code that generates the url uses:
response is not a redirection to all of the options supplied (redirection is <"http://test.host/properties/list">)
However, when I try to rewrite my assertion to use the url_for() function like so:
# more code here...
I get a NoMethodError for url_for().
Can anyone help here?