Sha256: 42845a92c7f60e33642b40d5ae5a6a235bca09082a423f467e23f7a009a6aa53

Contents?: true

Size: 368 Bytes

Versions: 70

Compression:

Stored size: 368 Bytes

Contents

require 'rails_helper'

describe LHC::Response do
  context 'effective_url' do
    let(:effective_url) { 'https://www.local.ch' }

    let(:raw_response) { OpenStruct.new(effective_url: effective_url) }

    it 'provides effective_url' do
      response = LHC::Response.new(raw_response, nil)
      expect(response.effective_url).to eq effective_url
    end
  end
end

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
lhc-10.1.2 spec/response/effective_url_spec.rb
lhc-10.1.1 spec/response/effective_url_spec.rb
lhc-10.1.0 spec/response/effective_url_spec.rb
lhc-10.0.2 spec/response/effective_url_spec.rb
lhc-9.4.4 spec/response/effective_url_spec.rb
lhc-10.0.1 spec/response/effective_url_spec.rb
lhc-10.0.0 spec/response/effective_url_spec.rb
lhc-9.4.3 spec/response/effective_url_spec.rb
lhc-9.4.2 spec/response/effective_url_spec.rb
lhc-9.4.1 spec/response/effective_url_spec.rb
lhc-9.4.0 spec/response/effective_url_spec.rb
lhc-9.3.1 spec/response/effective_url_spec.rb
lhc-9.3.0 spec/response/effective_url_spec.rb
lhc-9.2.0 spec/response/effective_url_spec.rb
lhc-9.1.2 spec/response/effective_url_spec.rb
lhc-9.1.2.pre spec/response/effective_url_spec.rb
lhc-9.1.1 spec/response/effective_url_spec.rb
lhc-8.1.1 spec/response/effective_url_spec.rb
lhc-9.1.0 spec/response/effective_url_spec.rb
lhc-9.0.0 spec/response/effective_url_spec.rb