Sha256: 971d5e8125a10723c47c03d6a13a94a0387acd183b62eca800e7b348d0d46e22

Contents?: true

Size: 533 Bytes

Versions: 5

Compression:

Stored size: 533 Bytes

Contents

require "spec_helper"
require "license_acceptance/product"

RSpec.describe LicenseAcceptance::Product do
  let(:instance) { LicenseAcceptance::Product.new("name", "Pretty Name", "filename", "mixlib_name", "version") }

  it "can lookup the product attributes" do
    expect(instance.name).to eq("name")
    expect(instance.pretty_name).to eq("Pretty Name")
    expect(instance.filename).to eq("filename")
    expect(instance.mixlib_name).to eq("mixlib_name")
    expect(instance.license_required_version).to eq("version")
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
license-acceptance-1.0.3 spec/license_acceptance/product_spec.rb
license-acceptance-1.0.2 spec/license_acceptance/product_spec.rb
license-acceptance-1.0.0 spec/license_acceptance/product_spec.rb
license-acceptance-0.2.16 spec/license_acceptance/product_spec.rb
license-acceptance-0.2.15 spec/license_acceptance/product_spec.rb