Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- it 'should override the path, query params, and http method of the request' do
- #works
- #@application.should_receive(:call).and_return(@result)
- #returns nil
- @application.should_receive(:call).and_return(@result) do |wrapped_request|
- wrapped_request.request_uri.should == '/controller/action/id'
- wrapped_request.query_string.should == 'fruit=apple&horse_before=cart'
- wrapped_request.method.should == 'GET'
- end
- @tag.doEndTag
- end
Add Comment
Please, Sign In to add comment