summaryrefslogtreecommitdiff
path: root/spec/super_good/solidus_taxjar_spec.rb
diff options
context:
space:
mode:
authorJared Norman <jared@super.gd>2019-02-06 17:10:01 -0800
committerJared Norman <jared@super.gd>2019-02-06 17:10:01 -0800
commit9a83ec4cda37760aad82373dc422cadbb33eddfe (patch)
treea136292d1398688018c92c415b7d6b31dae59d47 /spec/super_good/solidus_taxjar_spec.rb
parent495f343ce7c93421bbde12745a127aff59ef30d0 (diff)
Provide Spree line items to label makerv0.6.0
Diffstat (limited to 'spec/super_good/solidus_taxjar_spec.rb')
-rw-r--r--spec/super_good/solidus_taxjar_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/super_good/solidus_taxjar_spec.rb b/spec/super_good/solidus_taxjar_spec.rb
index 957e2e3..dafc4fb 100644
--- a/spec/super_good/solidus_taxjar_spec.rb
+++ b/spec/super_good/solidus_taxjar_spec.rb
@@ -45,8 +45,9 @@ RSpec.describe SuperGood::SolidusTaxJar do
end
describe ".line_item_tax_label_maker" do
- subject { described_class.line_item_tax_label_maker.(taxjar_line_item) }
+ subject { described_class.line_item_tax_label_maker.(taxjar_line_item, spree_line_item) }
let(:taxjar_line_item) { instance_double Taxjar::BreakdownLineItem }
+ let(:spree_line_item) { Spree::LineItem.new }
it { is_expected.to eq "Sales Tax" }
end
end