From 8d2885e1479672a4dda4679d8ddaec691ea72b9c Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Thu, 18 May 2023 16:04:30 +0100 Subject: [PATCH] Updates spec after merging #10512 --- spec/system/admin/enterprise_fees_spec.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/spec/system/admin/enterprise_fees_spec.rb b/spec/system/admin/enterprise_fees_spec.rb index 002cd77a64..e7d4347263 100644 --- a/spec/system/admin/enterprise_fees_spec.rb +++ b/spec/system/admin/enterprise_fees_spec.rb @@ -159,7 +159,6 @@ describe ' end it "does not allow editing to an invalid combination" do - pending "10512" # starting with a valid tax category / calculator combination expect(page).to have_select 'sets_enterprise_fee_set_collection_attributes_0_tax_category_id', @@ -242,11 +241,10 @@ from: 'sets_enterprise_fee_set_collection_attributes_0_calculator_type' end end - xcontext "an error message is displayed" do - # pending "#10348" + context "an error message is displayed" do message = 'Inheriting the tax categeory requires a per-item calculator.' - it_behaves_like "shared example", 'Inherit From Product', 'Flat Rate (per order)', message, -0 + it_behaves_like "shared example", 'Inherit From Product', + 'Flat Rate (per order)', message, 0 end context "an success message is displayed" do