Sha256: 87088671ed4ce5f038b6881ec1c36967df68cc38bbb9d082df3258dbc66e2b4f

Contents?: true

Size: 519 Bytes

Versions: 2

Compression:

Stored size: 519 Bytes

Contents

require "rspec"

require "jdt/manifest/manifest"
require "jdt/manifest/attributes"
require "jdt/manifest/library_manifest"

describe Jdt::LibraryManifest do

  it "should read additional values to Manifest" do
    manifest = Jdt::LibraryManifest.new("#{File.dirname(__FILE__)}/data/library.xml")
    manifest.library_name.should eq("activerecord")

    manifest.ext_type.should eq("library")
    manifest.ext_type_short.should eq("lib")
    manifest.prefixed_name.should eq("lib_activerecord")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jdt-0.0.3 spec/jdt/manifest/library_manifest_spec.rb
jdt-0.0.2 spec/jdt/manifest/library_manifest_spec.rb