Hi, So I'm writing an api controller for my app's api and I'm getting an error in my spec: *Failure/Error: assigns(:some_response).should_not be_empty NoMethodError: undefined method `assigns'*.... I am checking to see that @some_response got set in a before filter called before the create action of the api - I know the filter is getting called and @some_response is getting set in the before_filter in the controller. I don't know why the "assigns" method is not being found though. My guess is I need to define a path other than the rspec defaults, but I'm not sure if this is the issue or how to go about doing it. Any help would be greatly appreciated.
Here is a link to the setup/code: http://pastie.org/6260383 Thank you in advance, -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/rspec/-/EJZ0JIgDvv4J. For more options, visit https://groups.google.com/groups/opt_out.
