Sha256: 16050272ef11b882f0848db0546a3169bf4c11a4bfba1cd36e76a2fc753ef29d
Contents?: true
Size: 795 Bytes
Versions: 60
Compression:
Stored size: 795 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__),"spec_helper.rb")) describe Amalgalite::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 Amalgalite::Paths.root_dir.should == @root_dir end it "config_path should be correct" do Amalgalite::Paths.config_path.should == File.join(@root_dir, "config/") end it "data path should be correct" do Amalgalite::Paths.data_path.should == File.join(@root_dir, "data/") end it "lib path should be correct" do Amalgalite::Paths.lib_path.should == File.join(@root_dir, "lib/") end it "ext path should be correct" do Amalgalite::Paths.ext_path.should == File.join(@root_dir, "ext/") end end
Version data entries
60 entries across 60 versions & 1 rubygems