Sha256: 682c527e21b595b6fd5eb1dfb5d6070449debd7a5982cfc64b7cb17731e2f41c
Contents?: true
Size: 1.75 KB
Versions: 1
Compression:
Stored size: 1.75 KB
Contents
Given /a BigBlueButton server/i do @server = Factory.create(:bigbluebutton_server_integration) end And /^registers a new BigBlueButton room$/i do attrs = Factory.attributes_for(:bigbluebutton_room, :server => @server) fill_in("bigbluebutton_room[name]", :with => attrs[:name]) fill_in("bigbluebutton_room[meetingid]", :with => attrs[:meetingid]) check("bigbluebutton_room[randomize_meetingid]") if attrs[:randomize_meetingid] check("bigbluebutton_room[private]") if attrs[:private] fill_in("bigbluebutton_room[attendee_password]", :with => attrs[:attendee_password]) fill_in("bigbluebutton_room[moderator_password]", :with => attrs[:moderator_password]) fill_in("bigbluebutton_room[welcome_msg]", :with => attrs[:welcome_msg]) fill_in("bigbluebutton_room[logout_url]", :with => attrs[:logout_url]) fill_in("bigbluebutton_room[dial_number]", :with => attrs[:dial_number]) fill_in("bigbluebutton_room[max_participants]", :with => attrs[:max_participants]) check("bigbluebutton_room[external]") if attrs[:external] fill_in("bigbluebutton_room[param]", :with => attrs[:param]) # Note: voice_bridge is generated when the BigbluebuttonRoom is created click_button("Create") end Then /(?:|I ) should see the information about this room/ do room = BigbluebuttonRoom.last page_has_content(room.name) page_has_content(room.meetingid) page_has_content(room.randomize_meetingid) page_has_content(room.private) page_has_content(room.attendee_password) page_has_content(room.moderator_password) page_has_content(room.welcome_msg) page_has_content(room.logout_url) page_has_content(room.dial_number) page_has_content(room.voice_bridge) page_has_content(room.max_participants) page_has_content(room.external) page_has_content(room.param) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bigbluebutton_rails-0.0.5 | spec/rails_app/features/step_definitions/bigbluebutton_room_steps.rb |