Sha256: 45cbe2ce8e284b6c59262917d0ef7d1239fd52ed7ce7b6a720fa88ec5f3a1754

Contents?: true

Size: 298 Bytes

Versions: 4

Compression:

Stored size: 298 Bytes

Contents

FactoryGirl.define do
  factory :track, class: OpenConferenceWare::Track do
    sequence(:title) { |n| "Track #{n}" }
    description { |record| "#{record.title} description" }
    color "#000000"
    excerpt "A track"
    association :event

    # :belongs_to association
    # * :event
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre4 spec/factories/track_factory.rb
open_conference_ware-1.0.0.pre3 spec/factories/track_factory.rb
open_conference_ware-1.0.0.pre2 spec/factories/track_factory.rb
open_conference_ware-1.0.0.pre1 spec/factories/track_factory.rb