Sha256: 7d0f862f7c583c48b3bdcab320b392b6581759532d0628362c3148f4df1bd127

Contents?: true

Size: 246 Bytes

Versions: 3

Compression:

Stored size: 246 Bytes

Contents

require "spec_helper"

Util = Pa::Util

describe Util do
  describe ".join" do
    it %~join(".", "foo") to "foo", not "./foo"~ do
      Util.join(".", "a", "b").should == "a/b"
      Util.join("a", "b", "c").should == "a/b/c"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pa-1.3.0 spec/pa/util_spec.rb
pa-1.2.3 spec/pa/util_spec.rb
pa-1.2.2 spec/pa/util_spec.rb