diff options
Diffstat (limited to 'spec/super_good/solidus_taxjar_spec.rb')
-rw-r--r-- | spec/super_good/solidus_taxjar_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/super_good/solidus_taxjar_spec.rb b/spec/super_good/solidus_taxjar_spec.rb index 4586f39..36ab3b3 100644 --- a/spec/super_good/solidus_taxjar_spec.rb +++ b/spec/super_good/solidus_taxjar_spec.rb @@ -36,5 +36,12 @@ RSpec.describe SuperGood::SolidusTaxJar do it { is_expected.to eq true } end + + describe ".shipping_tax_label_maker" do + subject { described_class.shipping_tax_label_maker.(shipment, shipping_tax) } + let(:shipment) { Spree::Shipment.new } + let(:shipping_tax) { BigDecimal("3.25") } + it { is_expected.to eq "Sales Tax" } + end end end |