Sha256: e774e9f44d3291282c93bf90a55794253b184e4ef9ac9c05ce80af2985ad73d2
Contents?: true
Size: 333 Bytes
Versions: 9
Compression:
Stored size: 333 Bytes
Contents
FactoryGirl.define do factory :exhibit, class: Spotlight::Exhibit do sequence(:title) { |n| "Exhibit Title #{n}" } published true after(:build) { |exhibit| exhibit.searches << FactoryGirl.build(:default_search) } trait :with_thumbnail do association :thumbnail, factory: :exhibit_thumbnail end end end
Version data entries
9 entries across 9 versions & 1 rubygems