Sha256: 64d9a493b020ddd9d51138cda0f8444bf8ce39e7fff512ea1a485448f72b9a20

Contents?: true

Size: 243 Bytes

Versions: 7

Compression:

Stored size: 243 Bytes

Contents

# frozen_string_literal: true

RSpec.describe PageMagic::Utils::URL do
  describe '#concat' do
    it 'produces compound url' do
      expect(described_class.concat('http://base.url/', '/home')).to eq('http://base.url/home')
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
page_magic-2.0.6 spec/page_magic/utils/url_spec.rb
page_magic-2.0.5 spec/page_magic/utils/url_spec.rb
page_magic-2.0.4 spec/page_magic/utils/url_spec.rb
page_magic-2.0.3 spec/page_magic/utils/url_spec.rb
page_magic-2.0.2 spec/page_magic/utils/url_spec.rb
page_magic-2.0.1 spec/page_magic/utils/url_spec.rb
page_magic-2.0.0 spec/page_magic/utils/url_spec.rb