mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-14 04:04:23 +00:00
Merge pull request #7000 from Matt-Yorkley/dead-code-tax-total
DCOTW: Order#tax_total
This commit is contained in:
@@ -16,13 +16,6 @@ describe Spree::Order do
|
||||
expect(order.ship_total).to eq 15
|
||||
end
|
||||
end
|
||||
|
||||
context "#tax_total" do
|
||||
it "should return the correct amount" do
|
||||
allow(order).to receive_message_chain :adjustments, tax: adjustments
|
||||
expect(order.tax_total).to eq 15
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
context "line item adjustments" do
|
||||
|
||||
Reference in New Issue
Block a user