We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
in your test_helper.rb file :
test_helper.rb
[...] class ActiveSupport::TestCase [...] def setup # Stub all vault requests to success stub.proxy(Typhoeus::Hydra).new do |hydra| response = Typhoeus::Response.new(:code => 200, :headers => "", :body => "OK", :time => 0.3) hydra.stub(:post, 'http://www.example.com').and_return(response) hydra end end end
There was an error while loading. Please reload this page.