Sha256: 3077ef256b4c6baf5330d09266e2f7a08f9a4c068cbb45aacd6755082399ec4b

Contents?: true

Size: 507 Bytes

Versions: 10

Compression:

Stored size: 507 Bytes

Contents

require File.expand_path( File.join( File.dirname( __FILE__ ), "spec_helper.rb" ) )

require 'stickler/paths'

describe Stickler::Paths do
  it "can access the root dir of the project" do
    Stickler::Paths.root_dir.should == File.expand_path( File.join( File.dirname( __FILE__ ), ".." ) ) + ::File::SEPARATOR
  end

  it "can access the lib path of the project" do
    Stickler::Paths.lib_path.should == File.expand_path( File.join( File.dirname( __FILE__ ), "..", "lib" ) ) + ::File::SEPARATOR
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
stickler-2.2.4 spec/paths_spec.rb
stickler-2.2.3 spec/paths_spec.rb
stickler-2.2.2 spec/paths_spec.rb
stickler-2.1.4 spec/paths_spec.rb
stickler-2.1.3 spec/paths_spec.rb
stickler-2.1.2 spec/paths_spec.rb
stickler-2.1.1 spec/paths_spec.rb
stickler-2.1.0 spec/paths_spec.rb
stickler-2.0.2 spec/paths_spec.rb
stickler-2.0.1 spec/paths_spec.rb