fixing tests
This commit is contained in:
parent
01a1f254d9
commit
044ad2051d
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ require 'test_helper'
|
||||||
class OrderIntegrationTest < ActionDispatch::IntegrationTest
|
class OrderIntegrationTest < ActionDispatch::IntegrationTest
|
||||||
def setup
|
def setup
|
||||||
Product.all.each do |product|
|
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
|
product.save
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue