From 5f01bb40d2b44995ab161cc97e840ad998544110 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 1 Jul 2024 12:41:47 +1000 Subject: [PATCH] Remove unecessary message I'm not sure why it's not appearing on my computer, but it was an unnecessary duplicate message, so I'm happy to remove it. --- spec/system/admin/products_v3/products_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/system/admin/products_v3/products_spec.rb b/spec/system/admin/products_v3/products_spec.rb index af6a87a074..3398c66d68 100644 --- a/spec/system/admin/products_v3/products_spec.rb +++ b/spec/system/admin/products_v3/products_spec.rb @@ -1186,7 +1186,6 @@ RSpec.describe 'As an enterprise user, I can manage my products', feature: :admi attach_file 'image[attachment]', Rails.public_path.join('Terms-of-service.pdf'), visible: false - expect(page).to have_content /Attachment is not a valid image/ expect(page).to have_content /Attachment has an invalid content type/ end end