test/dummy/test/fixtures/adminpanel/images.yml in adminpanel-3.2.1 vs test/dummy/test/fixtures/adminpanel/images.yml in adminpanel-3.3.0
- old
+ new
@@ -1,59 +1,59 @@
first:
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
+ file: dog-fries.png
type: Adminpanel::Galleryfile
position: 1
model: one(Adminpanel::Gallery)
created_at: <%= Date.today %>
updated_at: <%= Date.today %>
second:
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
+ file: dog-fries.png
type: Adminpanel::Galleryfile
model: one(Adminpanel::Gallery)
position: 2
created_at: <%= Date.today %>
updated_at: <%= Date.today %>
third:
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
+ file: dog-fries.png
type: Adminpanel::Galleryfile
model: one(Adminpanel::Gallery)
position: 3
created_at: <%= Date.today %>
updated_at: <%= Date.today %>
fourth:
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
+ file: dog-fries.png
type: Adminpanel::Galleryfile
model: one(Adminpanel::Gallery)
position: 4
created_at: <%= Date.today %>
updated_at: <%= Date.today %>
fifth:
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
+ file: dog-fries.png
type: Adminpanel::Galleryfile
model: one(Adminpanel::Gallery)
position: 5
created_at: <%= Date.today %>
updated_at: <%= Date.today %>
first_2:
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
+ file: dog-fries.png
type: Adminpanel::Galleryfile
model: two(Adminpanel::Gallery)
position: 1
created_at: <%= Date.today %>
updated_at: <%= Date.today %>
second_2:
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
+ file: dog-fries.png
type: Adminpanel::Galleryfile
model: two(Adminpanel::Gallery)
position: 2
created_at: <%= Date.today %>
updated_at: <%= Date.today %>
unassigned:
type: Adminpanel::Galleryfile
created_at: <%= Date.yesterday %>
updated_at: <%= Date.yesterday %>
first_product_photo:
- file: <%= File.open(Rails.root.join("test", "fixtures", 'attachments', 'dog-fries.png')) %>
+ file: dog-fries.png
type: Adminpanel::Photo
model: first(Adminpanel::Product)
position: 1
created_at: <%= Date.today %>
updated_at: <%= Date.today %>