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-7.3.4 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.3.3 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.3.2 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.2.7 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.3.1 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.3.0 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.2.6 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.2.5 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.1.12 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.15 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-6.1.10 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.2.4 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.1.11 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.2.3 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.1.10 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.2.2 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.1.9 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.14 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.2.1 lib/alchemy/test_support/factories/picture_factory.rb
alchemy_cms-7.0.13 lib/alchemy/test_support/factories/picture_factory.rb