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.
This commit is contained in:
David Cook
2024-07-01 12:41:47 +10:00
parent 39cae4468a
commit 5f01bb40d2

View File

@@ -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