Sha256: f9b973d0be622681b851f6cf777a57f7d4869ff9dc77b28992624dd40572bd21
Contents?: true
Size: 333 Bytes
Versions: 5
Compression:
Stored size: 333 Bytes
Contents
require 'factory_bot' FactoryBot.define do factory :alchemy_picture, class: 'Alchemy::Picture' do image_file do File.new(Alchemy::Engine.root.join('lib', 'alchemy', 'test_support', 'fixtures', 'image.png')) end name { 'image' } image_file_name { 'image.png' } upload_hash { Time.current.hash } end end
Version data entries
5 entries across 5 versions & 1 rubygems