Sha256: af7387db326b262ba2314c191f6b87633ca8ee87168be029a88fabd0e386a5a3
Contents?: true
Size: 418 Bytes
Versions: 1
Compression:
Stored size: 418 Bytes
Contents
require 'spec_helper' require 'rspec/webservice_matchers' describe '#up?' do it 'follows redirects when necessary' do expect(RSpec::WebserviceMatchers.up?('perm-redirector.com')).to be_truthy expect(RSpec::WebserviceMatchers.up?('temp-redirector.org')).to be_truthy end it 'retries timeout errors once' do expect(RSpec::WebserviceMatchers.up?('http://www.timeout-once.com')).to be_truthy end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-webservice_matchers-4.0.0 | spec/rspec/webservice_matchers/public_api_spec.rb |