Sha256: 2011c4618bd4a476f7afa128a1481e87f06f05f212a22ab9fa19b3b6b44e6ecb

Contents?: true

Size: 249 Bytes

Versions: 7

Compression:

Stored size: 249 Bytes

Contents

# frozen_string_literal: true

FactoryGirl.define do
  factory :nil_date, :class => MetalArchives::NilDate do
    year { Faker::Date.backward(99).year }
    month { Faker::Date.backward(99).month }
    day { Faker::Date.backward(99).day }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
metal_archives-2.2.0 spec/factories/nil_date_factory.rb
metal_archives-2.1.1 spec/factories/nil_date_factory.rb
metal_archives-2.1.0 spec/factories/nil_date_factory.rb
metal_archives-2.0.2 spec/factories/nil_date_factory.rb
metal_archives-2.0.1 spec/factories/nil_date_factory.rb
metal_archives-2.0.0 spec/factories/nil_date_factory.rb
metal_archives-1.0.0 spec/factories/nil_date_factory.rb