Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let(:response){ Typhoeus::Response.new(code: 200, body: 'test') }
- before(:each) do
- Typhoeus.stub('test.com').and_return(response)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement