Sha256: 497666c935964de323729b20300a13615d3485f2fe76f638176b3dfba394c777

Contents?: true

Size: 733 Bytes

Versions: 19

Compression:

Stored size: 733 Bytes

Contents

require 'spec_helper'

describe "when testing path helpers" do
  it "should define Libyajl2::VENDORED_LIBYAJL2_DIR" do
    expect(Libyajl2::VENDORED_LIBYAJL2_DIR).to include("lib/libyajl2/vendored-libyajl2")
  end

  it "should define Libyajl2.opt_path" do
    expect(Libyajl2.opt_path).to include("lib/libyajl2/vendored-libyajl2/lib")
  end

  it "should define Libyajl2.include_path" do
    expect(Libyajl2.include_path).to include("lib/libyajl2/vendored-libyajl2/include")
  end

  %w{yajl_common.h yajl_gen.h yajl_parse.h yajl_tree.h yajl_version.h}.each do |hdr|
    it "should copy the #{hdr} header file to the gem path" do
      expect(File.exist?(File.join(Libyajl2.include_path, "yajl", hdr))).to be_true
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
libyajl2-1.2.0 spec/path_spec.rb
libyajl2-1.1.0 spec/path_spec.rb
libyajl2-1.0.1 spec/path_spec.rb
libyajl2-0.1.18 spec/path_spec.rb
libyajl2-0.1.17 spec/path_spec.rb
libyajl2-0.1.16 spec/path_spec.rb
libyajl2-0.1.15 spec/path_spec.rb
libyajl2-0.1.14 spec/path_spec.rb
libyajl2-0.1.13 spec/path_spec.rb
libyajl2-0.1.12 spec/path_spec.rb
libyajl2-0.1.11 spec/path_spec.rb
libyajl2-0.1.10 spec/path_spec.rb
libyajl2-0.1.9 spec/path_spec.rb
libyajl2-0.1.8 spec/path_spec.rb
libyajl2-0.1.7 spec/path_spec.rb
libyajl2-0.1.6 spec/path_spec.rb
libyajl2-0.1.5 spec/path_spec.rb
libyajl2-0.1.4 spec/path_spec.rb
libyajl2-0.1.3 spec/path_spec.rb