Sha256: 90c20786c316d84b379754c05591cc5fecb3e6e3d73564e8843b5e7869edf230
Contents?: true
Size: 405 Bytes
Versions: 1
Compression:
Stored size: 405 Bytes
Contents
$LOAD_PATH << 'lib' require 'minitest/spec' require 'minitest/autorun' require 'mocha/setup' require 'turn' require 'json' MiniTest::Unit::TestCase.class_eval do def stub_request(conn, adapter_class = Faraday::Adapter::Test, &stubs_block) adapter_handler = conn.builder.handlers.find { |h| h.klass < Faraday::Adapter } conn.builder.swap(adapter_handler, adapter_class, &stubs_block) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hyperclient-0.9.0 | test/test_helper.rb |