This commit is contained in:
zanetagebka
2024-06-06 10:00:51 +02:00
parent 028686eea4
commit 053076e062

View File

@@ -690,7 +690,7 @@ RSpec.describe '
end
it "checks error when creating product image with unsupported format" do
unsupported_image_file_path = "#{Rails.root}README.md"
unsupported_image_file_path = Rails.root.join("README.md").to_s
product = create(:simple_product, supplier: @supplier2)
image = white_logo_file