Sha256: f1b575f08e03ff9ab9459f431c466bda58b98dcd77b1081041dcb0310792f763
Contents?: true
Size: 549 Bytes
Versions: 1
Compression:
Stored size: 549 Bytes
Contents
require 'spec_helper' describe VCR::HttpStubbingAdapters::WebMock do without_monkey_patches :vcr it_behaves_like 'an http stubbing adapter', %w[net/http patron httpclient em-http-request curb], [:method, :uri, :host, :path, :body, :headers] it_performs('version checking', :valid => %w[ 1.4.0 1.4.99 1.5.0 1.5.99 ], :too_low => %w[ 0.9.9 0.9.10 0.1.30 1.0.30 1.2.9 1.3.9 ], :too_high => %w[ 1.6.0 1.10.0 2.0.0 ] ) do def stub_version(version) WebMock.stub(:version).and_return(version) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vcr-1.3.0 | spec/http_stubbing_adapters/webmock_spec.rb |