Sha256: 7b81bd3d3ff2c979cf65ff7cd8f2dc23de16cfd9e18518c931c1cd99199fc327

Contents?: true

Size: 527 Bytes

Versions: 7

Compression:

Stored size: 527 Bytes

Contents

require "spec_helper"
require "license_acceptance/product"

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

  it "can lookup the product attributes" do
    expect(instance.id).to eq("id")
    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

7 entries across 7 versions & 1 rubygems

Version Path
license-acceptance-1.0.13 spec/license_acceptance/product_spec.rb
license-acceptance-1.0.12 spec/license_acceptance/product_spec.rb
license-acceptance-1.0.11 spec/license_acceptance/product_spec.rb
license-acceptance-1.0.8 spec/license_acceptance/product_spec.rb
license-acceptance-1.0.7 spec/license_acceptance/product_spec.rb
license-acceptance-1.0.6 spec/license_acceptance/product_spec.rb
license-acceptance-1.0.5 spec/license_acceptance/product_spec.rb