Sha256: e24007dbeab1f4b8c495d5b9609887d2e145253504477bf6ff3e30f95be574c0
Contents?: true
Size: 512 Bytes
Versions: 19
Compression:
Stored size: 512 Bytes
Contents
require 'spec_helper' describe 'FaradayMiddleware::Instrumentation' do context "test integration of instrumentation middleware" do it "with a request should not bomb" do client = Saddle::Client.create( :stubs => Faraday::Adapter::Test::Stubs.new do |stub| stub.get('/test') { [ 200, {}, 'Party on!', ] } end ) client.requester.get('/test').should == 'Party on!' end end end
Version data entries
19 entries across 19 versions & 1 rubygems