Refactoring Admin menu #384
This commit is contained in:
parent
518e1cc62b
commit
d1f5b1e3cc
30 changed files with 865 additions and 190 deletions
|
|
@ -1,7 +1,9 @@
|
|||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
include ActionDispatch::TestProcess
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :photo do
|
||||
picture { fixture_file_upload(Rails.root.join('spec', 'fixtures', 'suse.jpg'), 'image/jpg') }
|
||||
picture_file_name 'rails.png'
|
||||
picture_content_type 'image/png'
|
||||
picture_file_size '1024'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue