diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index eaff617a86..4c5f1cf9fc 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -241,7 +241,6 @@ Layout/EmptyLines: - 'spec/models/enterprise_spec.rb' - 'spec/models/model_set_spec.rb' - 'spec/models/product_distribution_spec.rb' - - 'spec/models/spree/adjustment_spec.rb' - 'spec/models/spree/line_item_spec.rb' - 'spec/models/spree/order_populator_spec.rb' - 'spec/models/spree/order_spec.rb' @@ -394,7 +393,6 @@ Layout/ExtraSpacing: - 'spec/models/enterprise_fee_spec.rb' - 'spec/models/enterprise_spec.rb' - 'spec/models/order_cycle_spec.rb' - - 'spec/models/spree/adjustment_spec.rb' - 'spec/models/spree/gateway/stripe_connect_spec.rb' - 'spec/models/spree/order_spec.rb' - 'spec/models/variant_override_spec.rb' @@ -1150,7 +1148,6 @@ Lint/Void: - 'spec/models/enterprise_spec.rb' - 'spec/models/exchange_spec.rb' - 'spec/models/order_cycle_spec.rb' - - 'spec/models/spree/adjustment_spec.rb' - 'spec/models/spree/line_item_spec.rb' - 'spec/models/spree/order_populator_spec.rb' - 'spec/models/spree/order_spec.rb' diff --git a/spec/models/spree/adjustment_spec.rb b/spec/models/spree/adjustment_spec.rb index 2a3a6a2130..6f23807851 100644 --- a/spec/models/spree/adjustment_spec.rb +++ b/spec/models/spree/adjustment_spec.rb @@ -92,7 +92,7 @@ module Spree end describe "when tax on shipping is enabled" do - before { Config.shipment_inc_vat = true } + before { Config.shipment_inc_vat = true } it "takes the shipment adjustment tax included from the system setting" do Config.shipping_tax_rate = 0.25 @@ -188,7 +188,7 @@ module Spree describe "when the tax rate does not include the tax in the price" do before do fee_tax_rate.update_attribute :included_in_price, false - order.reload.create_tax_charge! # Updating line_item or order has the same effect + order.reload.create_tax_charge! # Updating line_item or order has the same effect order.update_distribution_charge! end @@ -257,7 +257,7 @@ module Spree describe "when the tax rate does not include the tax in the price" do before do product_tax_rate.update_attribute :included_in_price, false - order.reload.create_tax_charge! # Updating line_item or order has the same effect + order.reload.create_tax_charge! # Updating line_item or order has the same effect order.update_distribution_charge! end