Advertisement
Guest User

Untitled

a guest
Oct 21st, 2014
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.19 KB | None | 0 0
  1. let(:response){ Typhoeus::Response.new(code: 200, body: 'test') }
  2.  
  3. before(:each) do                                                          
  4.   Typhoeus.stub('test.com').and_return(response)
  5. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement