mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix test
This commit is contained in:
committed by
Maikel Linke
parent
a2a670c848
commit
e62bdf987d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user