From 81385b63c79046c9d9708f054fed71346fec84b1 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Tue, 27 Apr 2021 15:27:16 +0200 Subject: [PATCH] Uncomment (not so) flaky spec --- spec/features/admin/variant_overrides_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/features/admin/variant_overrides_spec.rb b/spec/features/admin/variant_overrides_spec.rb index 309bdca9e8..6322af44b3 100644 --- a/spec/features/admin/variant_overrides_spec.rb +++ b/spec/features/admin/variant_overrides_spec.rb @@ -192,7 +192,7 @@ feature " end end - xit "displays an error when unauthorised to access the page" do + it "displays an error when unauthorised to access the page" do fill_in "variant-overrides-#{variant.id}-price", with: '777.77' fill_in "variant-overrides-#{variant.id}-count_on_hand", with: '123' expect(page).to have_content "Changes to one override remain unsaved." @@ -209,7 +209,7 @@ feature " end.to change(VariantOverride, :count).by(0) end - xit "displays an error when unauthorised to update a particular override" do + it "displays an error when unauthorised to update a particular override" do fill_in "variant-overrides-#{variant_related.id}-price", with: '777.77' fill_in "variant-overrides-#{variant_related.id}-count_on_hand", with: '123' expect(page).to have_content "Changes to one override remain unsaved."