diff --git a/spec/system/admin/adjustments_spec.rb b/spec/system/admin/adjustments_spec.rb index 228fb75c3e..6494e02bad 100644 --- a/spec/system/admin/adjustments_spec.rb +++ b/spec/system/admin/adjustments_spec.rb @@ -67,25 +67,25 @@ describe ' context "included tax" do context "adding negative, taxed adjustments to an order" do - it_behaves_like "when the enable_localized_number preference", "Discount", "-2", "TVA 20%", - "$0.33", "$-1.67" + it_behaves_like "when the enable_localized_number preference", + "Discount", "-2", "TVA 20%", "$0.33", "$-1.67" end context "adding positive, taxed adjustments to an order" do - it_behaves_like "when the enable_localized_number preference", "Late fee", "100", - "TVA 20%", "$-16.67", "$83.33" + it_behaves_like "when the enable_localized_number preference", + "Late fee", "100", "TVA 20%", "$-16.67", "$83.33" end end context "added tax" do context "adding negative, taxed adjustments to an order" do - it_behaves_like "when the enable_localized_number preference", "Discount", "-2", "GST", - "$10.00", "$8.00" + it_behaves_like "when the enable_localized_number preference", + "Discount", "-2", "GST", "$10.00", "$8.00" end context "adding positive, taxed adjustments to an order" do - it_behaves_like "when the enable_localized_number preference", "Late fee", "110", "GST", - "$10.00", "$120" + it_behaves_like "when the enable_localized_number preference", + "Late fee", "110", "GST", "$10.00", "$120" end end end @@ -97,25 +97,25 @@ describe ' context "included tax" do context "adding negative, taxed adjustments to an order" do - it_behaves_like "when the enable_localized_number preference", "Discount", "-2", "TVA 20%", - "$0.33", "$-1.67" + it_behaves_like "when the enable_localized_number preference", + "Discount", "-2", "TVA 20%", "$0.33", "$-1.67" end context "adding positive, taxed adjustments to an order" do - it_behaves_like "when the enable_localized_number preference", "Late fee", "100", - "TVA 20%", "$-16.67", "$83.33" + it_behaves_like "when the enable_localized_number preference", + "Late fee", "100", "TVA 20%", "$-16.67", "$83.33" end end context "added tax" do context "adding negative, taxed adjustments to an order" do - it_behaves_like "when the enable_localized_number preference", "Discount", "-2", "GST", - "$10.00", "$8.00" + it_behaves_like "when the enable_localized_number preference", + "Discount", "-2", "GST", "$10.00", "$8.00" end context "adding positive, taxed adjustments to an order" do - it_behaves_like "when the enable_localized_number preference", "Late fee", "110", "GST", - "$10.00", "$120" + it_behaves_like "when the enable_localized_number preference", + "Late fee", "110", "GST", "$10.00", "$120" end end end