This commit is contained in:
zanetagebka
2024-06-06 10:00:51 +02:00
committed by Maikel Linke
parent a2a670c848
commit e62bdf987d

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