Sha256: 75a89d77596908cc530976cc3e480b2c3b32a8d33e8d1649df28b9b15d7d11bb
Contents?: true
Size: 511 Bytes
Versions: 1
Compression:
Stored size: 511 Bytes
Contents
require "spec_helper" module ShipCompliant describe ProductSalesTaxRate do it { is_expected.to be_kind_of(SalesTaxRate) } subject { ProductSalesTaxRate.new(brand_key: 'brand-key', product_key: 'the-product') } context "product_key" do it "returns the product key" do expect(subject.product_key).to eq('the-product') end end context "brand_key" do it "returns the brand key" do expect(subject.brand_key).to eq('brand-key') end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ship_compliant-0.2.1 | spec/lib/ship_compliant/product_sales_tax_rate_spec.rb |