Sha256: f57f5a00b53a34ba3de9fc0336096542cfb9c61f54d1ecc2c5c574995044df78
Contents?: true
Size: 327 Bytes
Versions: 15
Compression:
Stored size: 327 Bytes
Contents
# frozen_string_literal: true require "factory_bot" require "securerandom" FactoryBot.define do factory :alchemy_picture_thumb, class: "Alchemy::PictureThumb" do picture { create(:alchemy_picture) } signature { SecureRandom.hex(16) } sequence(:uid) { |n| "#{Time.now.strftime("%Y/%m/%d")}/#{n}.jpg" } end end
Version data entries
15 entries across 15 versions & 1 rubygems