Sha256: da5cde90006289a4cbb97badad8f8eef74cd3b7002d149595ceef973f3fb02f4

Contents?: true

Size: 740 Bytes

Versions: 37

Compression:

Stored size: 740 Bytes

Contents

require 'spec_helper'

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

37 entries across 37 versions & 2 rubygems

Version Path
amalgalite-1.9.4-x64-mingw-ucrt spec/paths_spec.rb
amalgalite-1.9.4-x86-mingw32 spec/paths_spec.rb
amalgalite-1.9.4-x64-mingw32 spec/paths_spec.rb
amalgalite-1.9.4 spec/paths_spec.rb
amalgalite-1.9.1-x86-mingw32 spec/paths_spec.rb
amalgalite-1.9.1-x64-mingw32 spec/paths_spec.rb
amalgalite-1.9.1-x64-mingw-ucrt spec/paths_spec.rb
amalgalite-1.9.1 spec/paths_spec.rb
amalgalite-1.9.0-x64-mingw-ucrt spec/paths_spec.rb
amalgalite-1.9.0-x86-mingw32 spec/paths_spec.rb
amalgalite-1.9.0-x64-mingw32 spec/paths_spec.rb
amalgalite-1.9.0 spec/paths_spec.rb
amalgalite-1.8.0-x64-mingw-ucrt spec/paths_spec.rb
amalgalite-1.8.0-x64-mingw32 spec/paths_spec.rb
amalgalite-1.8.0-x86-mingw32 spec/paths_spec.rb
amalgalite-1.8.0 spec/paths_spec.rb
amalgalite-1.7.0-x86-mingw32 spec/paths_spec.rb
amalgalite-1.7.0-x64-mingw32 spec/paths_spec.rb
amalgalite-1.7.0 spec/paths_spec.rb
amalgalite-1.6.3-x86-mingw32 spec/paths_spec.rb