Sha256: 979350accca13eb040fb926fe149336d6edfa7923d284aea37642d3cfd6b9aff

Contents?: true

Size: 210 Bytes

Versions: 58

Compression:

Stored size: 210 Bytes

Contents

FactoryGirl.define do
  factory :event do |f|
    f.sequence(:name){|n| "event_#{n}"}
    f.library_id{FactoryGirl.create(:library).id}
    f.event_category_id{FactoryGirl.create(:event_category).id}
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
enju_event-0.1.17.pre18 spec/factories/event.rb
enju_event-0.1.17.pre17 spec/factories/event.rb
enju_event-0.1.17.pre16 spec/factories/event.rb
enju_event-0.1.17.pre15 spec/factories/event.rb
enju_event-0.1.17.pre14 spec/factories/event.rb
enju_event-0.1.17.pre13 spec/factories/event.rb
enju_event-0.1.17.pre12 spec/factories/event.rb
enju_event-0.1.17.pre11 spec/factories/event.rb
enju_event-0.1.17.pre10 spec/factories/event.rb
enju_event-0.1.17.pre9 spec/factories/event.rb
enju_event-0.1.17.pre8 spec/factories/event.rb
enju_event-0.1.17.pre7 spec/factories/event.rb
enju_event-0.1.17.pre6 spec/factories/event.rb
enju_event-0.1.17.pre5 spec/factories/event.rb
enju_event-0.1.17.pre4 spec/factories/event.rb
enju_event-0.1.17.pre3 spec/factories/event.rb
enju_event-0.1.17.pre2 spec/factories/event.rb
enju_event-0.1.17.pre spec/factories/event.rb
enju_event-0.1.16 spec/factories/event.rb
enju_event-0.1.15 spec/factories/event.rb