Sha256: 75acd9b9011102b0dac07b0f2cb3d4df320964551d277601a0ced009a15bd79a

Contents?: true

Size: 305 Bytes

Versions: 109

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

109 entries across 109 versions & 1 rubygems

Version Path
alchemy_cms-7.0.8 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.7 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.6 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.5 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.4 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.3 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.1.9 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.2 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.1.8 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.1.7 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.1 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.0 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.0.pre.rc1 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.1.6 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.0.pre.c lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.0.pre.b lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.1.5 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.0.14 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.1.4 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.0.pre.a lib/alchemy/test_support/factories/picture_factory.rb