Sha256: cad279697b0e103204186e6309cee4253ad0abc742b78de76602fdff67123704

Contents?: true

Size: 188 Bytes

Versions: 1

Compression:

Stored size: 188 Bytes

Contents

FactoryGirl.define do

  factory :feeder_item, class: 'Feeder::Item' do
    feedable nil

    trait(:published) { published_at 1.day.ago }
    trait(:sticky)    { sticky true }
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
feeder-0.5.1 spec/factories/feeder/items.rb