Sha256: fb33c21c90d5081ea3d65060bf13a1c6a125beecfef152b39e036d3b0d223b1b
Contents?: true
Size: 364 Bytes
Versions: 15
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
15 entries across 15 versions & 1 rubygems