Sha256: bfab37cdd4de34d1591e9ceffa2bcb662a78069eb8f3cd91baef1f0cdfbb0b59

Contents?: true

Size: 416 Bytes

Versions: 6

Compression:

Stored size: 416 Bytes

Contents

require 'spec_helper'

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

6 entries across 6 versions & 1 rubygems

Version Path
hitimes-1.2.1-java spec/paths_spec.rb
hitimes-1.2.1-x86-mswin32 spec/paths_spec.rb
hitimes-1.2.1 spec/paths_spec.rb
hitimes-1.2.0-x86-mswin32 spec/paths_spec.rb
hitimes-1.2.0-java spec/paths_spec.rb
hitimes-1.2.0 spec/paths_spec.rb