mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Update spec/system/consumer/shopping/shopping_spec.rb
Co-authored-by: Maikel <maikel@email.org.au>
This commit is contained in:
@@ -29,7 +29,7 @@ describe "As a consumer I want to shop with a distributor", js: true do
|
||||
|
||||
it "shows a distributor with images" do
|
||||
# Given the distributor has a logo
|
||||
distributor.logo = File.new("#{Rails.root}app/assets/images/logo-white.png")
|
||||
distributor.logo = File.new(Rails.root.join("app/assets/images/logo-white.png"))
|
||||
distributor.save!
|
||||
|
||||
# Then we should see the distributor and its logo
|
||||
|
||||
Reference in New Issue
Block a user