Sha256: 050adfb75fa2eac351bbf688cea9a7735f888f04817e0fa58e583a65bc3cb76a
Contents?: true
Size: 364 Bytes
Versions: 20
Compression:
Stored size: 364 Bytes
Contents
# frozen_string_literal: true 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
20 entries across 20 versions & 1 rubygems