Sha256: db918258f142e80b9592cea7617d9ab461c7e9ebbc2bb5687b56090e9787a295

Contents?: true

Size: 371 Bytes

Versions: 4

Compression:

Stored size: 371 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

4 entries across 4 versions & 1 rubygems

Version Path
bigbluebutton_rails-3.0.0 spec/factories/bigbluebutton_metadata.rb
bigbluebutton_rails-2.3.0 spec/factories/bigbluebutton_metadata.rb
bigbluebutton_rails-2.2.0 spec/factories/bigbluebutton_metadata.rb
bigbluebutton_rails-2.1.0 spec/factories/bigbluebutton_metadata.rb