From bcbc7c79305dfc6d31775f23c221ca865e406050 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 1 Apr 2024 13:17:17 +0100 Subject: [PATCH] Fixes rubocop inconsistency --- spec/system/admin/products_v3/products_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index 218083c3ff..b06e73aa56 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -166,7 +166,7 @@ RSpec.describe 'As an enterprise user, I can manage my products', feature: :admi it "displays an on hand count in a span for each product" do expect(page).to have_content "On demand" - expect(page).to_not have_content "20" # does not display the total stock + expect(page).not_to have_content "20" # does not display the total stock expect(page).to have_content "16" # displays the stock for variant_2 expect(page).to have_content "4" # displays the stock for variant_3 end