Sha256: 658c7c175ba3004ffaf3bc533a94b5af9f641f3bd4b2d25943f4b9b5ca4adcb9

Contents?: true

Size: 271 Bytes

Versions: 4

Compression:

Stored size: 271 Bytes

Contents

FactoryGirl.define do
  factory :session_type, class: OpenConferenceWare::SessionType do
    sequence(:title) { |n| "Session Type #{n}" }
    description { |record| "#{record.title} description" }
    duration "45"

    # :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/session_types_factory.rb
open_conference_ware-1.0.0.pre3 spec/factories/session_types_factory.rb
open_conference_ware-1.0.0.pre2 spec/factories/session_types_factory.rb
open_conference_ware-1.0.0.pre1 spec/factories/session_types_factory.rb