From 39b2cfca39b6c07bf6ea51c75f49cefb90c3b682 Mon Sep 17 00:00:00 2001 From: Luis Azcuaga <37643667+luisAzcuaga@users.noreply.github.com> Date: Wed, 27 Oct 2021 16:02:07 -0500 Subject: [PATCH] Update spec/system/consumer/shopping/shopping_spec.rb Co-authored-by: Maikel --- spec/system/consumer/shopping/shopping_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/consumer/shopping/shopping_spec.rb b/spec/system/consumer/shopping/shopping_spec.rb index 1e20110e97..0d0e8c7229 100644 --- a/spec/system/consumer/shopping/shopping_spec.rb +++ b/spec/system/consumer/shopping/shopping_spec.rb @@ -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