I\'m trying to write out tests for a controller of mine that takes in requests from external services. So far this is my test:
describe ApplyController do cont
I think you want (straight from one of your links)
it "returns 200 ok" @request.headers['X-Indeed-Signature'] = signature post :indeed, parameters response.status.should == 200 end
You don't need subject(:response)