Sha256: ad82f71cc4faf56aa716f2ba963d1455f1907bd4432bfa95cb359dd4f3f0ee43
Contents?: true
Size: 538 Bytes
Versions: 8
Compression:
Stored size: 538 Bytes
Contents
# encoding: utf-8 # # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>. # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php. # require "spec_helper" describe Lazier::Pathname do let(:reference) { ::Pathname.new($0) } before(:all) do ::Lazier.load! end describe "#components" do it "should return the components of the path" do expect([""] + reference.components).to eq(reference.to_s.split("/")) end end end
Version data entries
8 entries across 8 versions & 1 rubygems