Sha256: 03b0caa9fb6f009cbb7918a2dd6a2f05e07a9870cf58f9c75f5c463874240011

Contents?: true

Size: 293 Bytes

Versions: 4

Compression:

Stored size: 293 Bytes

Contents

require 'printfection'

module Printfection
  describe Util, ".join_uri" do
    it "returns a joined, normalized URI of all of the arguments" do
      uri = Util.join_uri("/manufacturers/123/", "/widgets/", "/456/")
      expect(uri).to eql "/manufacturers/123/widgets/456"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
printfection-1.0.3 spec/util_spec.rb
printfection-1.0.2 spec/util_spec.rb
printfection-1.0.1 spec/util_spec.rb
printfection-1.0.0 spec/util_spec.rb