Sha256: 3e1b609a698641abf1ba0e61a621a4f41e6801f9f5cbd2c0d71e0246f2fe282f

Contents?: true

Size: 485 Bytes

Versions: 3

Compression:

Stored size: 485 Bytes

Contents

FactoryGirl.define do
  factory  :bigbluebutton_recording do |r|
    r.association :server, :factory => :bigbluebutton_server
    r.association :room, :factory => :bigbluebutton_room
    r.sequence(:recordid) { |n| "rec#{n}" + SecureRandom.hex(26) }
    r.meetingid { "meeting" + SecureRandom.hex(8) }
    r.sequence(:name) { |n| "Rec #{n}" }
    r.published true
    r.start_time { Time.now - rand(5).hours }
    r.end_time { Time.now + rand(5).hours }
    r.available true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bigbluebutton_rails-1.3.0.mweb1 spec/factories/bigbluebutton_recording.rb
bigbluebutton_rails-1.3.0 spec/factories/bigbluebutton_recording.rb
bigbluebutton_rails-1.3.0.beta1 spec/factories/bigbluebutton_recording.rb