Sha256: d8c51a8bab3900deeaf7a8e1333c6bcb5b9367fb43bdd414b45ac3f364ec03cc
Contents?: true
Size: 424 Bytes
Versions: 5
Compression:
Stored size: 424 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' require 'rspec/webservice_matchers/util' include RSpec::WebserviceMatchers describe '#up?' do it 'follows redirects when necessary' do expect(Util.up?('perm-redirector.com')).to be_truthy expect(Util.up?('temp-redirector.org')).to be_truthy end it 'retries timeout errors once' do expect(Util.up?('http://www.timeout-once.com')).to be_truthy end end
Version data entries
5 entries across 5 versions & 1 rubygems