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

Version Path
amalgalite-1.1.2-x86-mingw32 spec/paths_spec.rb
amalgalite-1.1.2-x86-mswin32 spec/paths_spec.rb
amalgalite-1.1.2 spec/paths_spec.rb
amalgalite-1.1.1-x86-mingw32 spec/paths_spec.rb
amalgalite-1.1.1-x86-mswin32 spec/paths_spec.rb
amalgalite-1.1.1 spec/paths_spec.rb
amalgalite-1.0.0 spec/paths_spec.rb
amalgalite-1.0.0-x86-mswin32 spec/paths_spec.rb
amalgalite-1.0.0-x86-mingw32 spec/paths_spec.rb
amalgalite-0.15.0-x86-mingw32 spec/paths_spec.rb
amalgalite-0.15.0-x86-mswin32 spec/paths_spec.rb
amalgalite-0.15.0 spec/paths_spec.rb
amalgalite-0.12.0-x86-mingw32 spec/paths_spec.rb
amalgalite-0.12.0 spec/paths_spec.rb
amalgalite-0.12.0-x86-mswin32 spec/paths_spec.rb
amalgalite-0.11.0-x86-mswin32 spec/paths_spec.rb
amalgalite-0.11.0-x86-mingw32 spec/paths_spec.rb
amalgalite-0.10.2-x86-mswin32 spec/paths_spec.rb
amalgalite-0.10.2-x86-mingw32 spec/paths_spec.rb
amalgalite-0.10.1-x86-mswin32 spec/paths_spec.rb