Sha256: 2766badbe16c46634b4de84cbc0b94d5fd0ad4a2cf7dd2df8ad30087c5bd46f4

Contents?: true

Size: 372 Bytes

Versions: 6

Compression:

Stored size: 372 Bytes

Contents

FactoryGirl.define do
  factory  :bigbluebutton_metadata do |r|
    r.association :owner, :factory => :bigbluebutton_recording
    r.sequence(:name) { |n| "#{Forgery(:name).first_name.downcase}-#{n}" }
    r.content { Forgery(:name).full_name }

    factory :bigbluebutton_room_metadata do |f|
      f.association :owner, :factory => :bigbluebutton_room
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bigbluebutton_rails-2.0.0 spec/factories/bigbluebutton_metadata.rb
bigbluebutton_rails-1.3.0.mweb1 spec/factories/bigbluebutton_metadata.rb
bigbluebutton_rails-1.4.0 spec/factories/bigbluebutton_metadata.rb
bigbluebutton_rails-1.4.0.beta1 spec/factories/bigbluebutton_metadata.rb
bigbluebutton_rails-1.3.0 spec/factories/bigbluebutton_metadata.rb
bigbluebutton_rails-1.3.0.beta1 spec/factories/bigbluebutton_metadata.rb