Sha256: adedd7fec7981315d04752c0fb8f7f2121135da1415e6256ce3602d3bec3a5ba
Contents?: true
Size: 479 Bytes
Versions: 1
Compression:
Stored size: 479 Bytes
Contents
require "spec_helper" module ShipCompliant describe SalesTaxRate do context "sales_tax_due" do it "returns sales_tax_due" do tax_rate = SalesTaxRate.new(sales_tax_due: '34.43') expect(tax_rate.sales_tax_due).to eq(34.43) end end context "sales_tax_rate" do it "return sales_tax_rate" do tax_rate = SalesTaxRate.new(sales_tax_rate: '2.34') expect(tax_rate.sales_tax_rate).to eq(2.34) 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/sales_tax_rate_spec.rb |