Sha256: 75acd9b9011102b0dac07b0f2cb3d4df320964551d277601a0ced009a15bd79a

Contents?: true

Size: 305 Bytes

Versions: 105

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

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" }
    upload_hash { Time.current.hash }
  end
end

Version data entries

105 entries across 105 versions & 1 rubygems

Version Path
alchemy_cms-5.3.3 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-5.3.2 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-5.3.1 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-5.3.0 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.0.0.pre.rc6 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-5.2.7 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-5.2.6 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.0.0.pre.rc5 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.0.0.pre.rc4 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.0.0.pre.rc3 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-5.2.5 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-5.2.4 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-5.2.3 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.0.0.pre.rc2 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-5.2.2 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.0.0.pre.rc1 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.0.0.pre.b6 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.0.0.pre.b5 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.0.0.pre.b4 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.0.0.b3 lib/alchemy/test_support/factories/picture_factory.rb