Merge pull request #7000 from Matt-Yorkley/dead-code-tax-total

DCOTW: Order#tax_total
This commit is contained in:
Pau Pérez Fabregat
2021-03-08 16:57:59 +01:00
committed by GitHub
3 changed files with 1 additions and 16 deletions

View File

@@ -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