diff --git a/spec/features/consumer/shopping/shopping_spec.rb b/spec/features/consumer/shopping/shopping_spec.rb index ecc988f7ea..78937ecb47 100644 --- a/spec/features/consumer/shopping/shopping_spec.rb +++ b/spec/features/consumer/shopping/shopping_spec.rb @@ -20,6 +20,11 @@ feature "As a consumer I want to shop with a distributor", js: true do end it "shows a distributor with images" do + # Given the distributor has a logo + distributor.logo = File.new(Rails.root + 'app/assets/images/logo.jpg') + distributor.save! + + # Then we should see the distributor and its logo visit shop_path page.should have_text distributor.name find("#tab_about a").click