fixing tests

This commit is contained in:
benji 2015-03-26 12:53:12 +01:00
parent 01a1f254d9
commit 044ad2051d

View file

@ -3,7 +3,7 @@ require 'test_helper'
class OrderIntegrationTest < ActionDispatch::IntegrationTest
def setup
Product.all.each do |product|
product.avatar = File.new('public/seeds/products/fanta.jpg', 'r')
product.avatar = File.new('public/seeds/products/1.jpg', 'r')
product.save
end