Sha256: 256047009079f290c7f88716a9dce6edcf0ee21b211dd017cd9d8ff57e33f77e

Contents?: true

Size: 552 Bytes

Versions: 7

Compression:

Stored size: 552 Bytes

Contents

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

require 'hitimes/paths'

describe Hitimes::Paths do
  it "can access the root dir of the project" do
    Hitimes::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
    Hitimes::Paths.lib_path.should == File.expand_path( File.join( File.dirname( __FILE__ ), "..", "lib" ) ) + ::File::SEPARATOR
  end
                                                
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
hitimes-0.2.0 spec/paths_spec.rb
hitimes-0.4.0-x86-mswin32-60 spec/paths_spec.rb
hitimes-0.4.0 spec/paths_spec.rb
hitimes-0.2.1 spec/paths_spec.rb
hitimes-0.3.0 spec/paths_spec.rb
hitimes-0.3.0-x86-mswin32-60 spec/paths_spec.rb
stella-0.5.4 vendor/hitimes-0.4.0/spec/paths_spec.rb