Sha256: 35766224f6da8874a04546e7cf47b486d65dacf726ac45d1968eb9850d4eca30

Contents?: true

Size: 281 Bytes

Versions: 109

Compression:

Stored size: 281 Bytes

Contents

# frozen_string_literal: true

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

109 entries across 109 versions & 1 rubygems

Version Path
alchemy_cms-6.0.13 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.1.3 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.1.2 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.1.1 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.1.0 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.0.12 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.0.11 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.0.10 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-5.3.8 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.0.9 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-5.3.7 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.0.8 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-5.3.6 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.0.7 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.0.6 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.0.5 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.0.4 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.0.3 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.0.2 lib/alchemy/test_support/factories/picture_thumb_factory.rb
alchemy_cms-6.0.1 lib/alchemy/test_support/factories/picture_thumb_factory.rb