Sha256: 38dee0e48c1f7afbcbf1a9d761c67a1b717b539e7d406b37e2011dd7144c18a6

Contents?: true

Size: 259 Bytes

Versions: 4

Compression:

Stored size: 259 Bytes

Contents

# frozen_string_literal: true

FactoryGirl.define do
  factory :file, class: Attachy::File do
    format :jpg
    height 600
    scope  :avatar
    width  800

    sequence(:public_id) { |i| "PublicId#{i}" }
    sequence(:version)   { |i| "v#{i}" }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
attachy-0.4.1 spec/factories/attachy/file.rb
attachy-0.4.0 spec/factories/attachy/file.rb
attachy-0.3.0 spec/factories/attachy/file.rb
attachy-0.2.0 spec/factories/attachy/file.rb