Sha256: 163acabc0a517c720c9d954af9d4e5f755912aa3c73d7f130709809abcaefe7f
Contents?: true
Size: 685 Bytes
Versions: 2
Compression:
Stored size: 685 Bytes
Contents
require File.expand_path( File.join( File.dirname( __FILE__ ), "spec_helper.rb" ) ) describe Stickler::Paths do before(:each) do @root_dir = File.expand_path(File.join(File.dirname(__FILE__), "..")) @root_dir += "/" end it "root dir should be correct" do Stickler::Paths.root_dir.should == @root_dir end it "config_path should be correct" do Stickler::Paths.config_path.should == File.join(@root_dir, "config/") end it "data path should be correct" do Stickler::Paths.data_path.should == File.join(@root_dir, "data/") end it "lib path should be correct" do Stickler::Paths.lib_path.should == File.join(@root_dir, "lib/") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stickler-0.1.0 | spec/paths_spec.rb |
stickler-0.1.1 | spec/paths_spec.rb |