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