Sha256: e7fce866b7010b99d73c7bf80097cda0c42addba06f75033d340e84b6e511222

Contents?: true

Size: 250 Bytes

Versions: 10

Compression:

Stored size: 250 Bytes

Contents

require 'factory_girl'

FactoryGirl.define do
  factory :alchemy_attachment, class: 'Alchemy::Attachment' do
    file File.new(File.expand_path('../../../../../spec/fixtures/image.png', __FILE__))
    name 'image'
    file_name 'image.png'
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
alchemy_cms-3.4.2 lib/alchemy/test_support/factories/attachment_factory.rb
alchemy_cms-3.4.1 lib/alchemy/test_support/factories/attachment_factory.rb
alchemy_cms-3.3.3 lib/alchemy/test_support/factories/attachment_factory.rb
alchemy_cms-3.3.2 lib/alchemy/test_support/factories/attachment_factory.rb
alchemy_cms-3.4.0 lib/alchemy/test_support/factories/attachment_factory.rb
alchemy_cms-3.4.0.rc1 lib/alchemy/test_support/factories/attachment_factory.rb
alchemy_cms-3.3.1 lib/alchemy/test_support/factories/attachment_factory.rb
alchemy_cms-3.3.0 lib/alchemy/test_support/factories/attachment_factory.rb
alchemy_cms-3.3.0.rc2 lib/alchemy/test_support/factories/attachment_factory.rb
alchemy_cms-3.3.0.rc1 lib/alchemy/test_support/factories/attachment_factory.rb