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