Skip to content

Commit

Permalink
Remove last references to mobile_salt
Browse files Browse the repository at this point in the history
  • Loading branch information
daronco committed Jun 14, 2016
1 parent 15b0ecd commit 2683a6a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion spec/rails_app/db/seeds.rb
Expand Up @@ -15,7 +15,6 @@
end
server['version'] = '0.9' unless server.has_key?('version')
server['name'] = URI.parse(server['url']).host
server.delete('mobile_salt') if server.has_key?('mobile_salt')

BigbluebuttonServer.create!(server)
end
@@ -1,20 +1,18 @@
When /^(\d+) meetings running in this server$/ do |count|
msalt = FeaturesConfig.server.has_key?('mobile_salt') ? FeaturesConfig.server['mobile_salt'] : ""
@rooms = []
count.to_i.times do |i|
room = FactoryGirl.create(:bigbluebutton_room, :server => @server)
BigBlueButtonBot.new(@server.api, room.meetingid, msalt, 1,
BigBlueButtonBot.new(@server.api, room.meetingid, nil, 1,
FeaturesConfig.root['timeout_bot_start'])
@rooms << room
end
end

When /^(\d+) meetings recently ended in this server$/ do |count|
msalt = FeaturesConfig.server.has_key?('mobile_salt') ? FeaturesConfig.server['mobile_salt'] : ""
@ended_rooms = []
count.to_i.times do |i|
room = FactoryGirl.create(:bigbluebutton_room, :server => @server)
BigBlueButtonBot.new(@server.api, room.meetingid, msalt, 1,
BigBlueButtonBot.new(@server.api, room.meetingid, nil, 1,
FeaturesConfig.root['timeout_bot_start'])
BigBlueButtonBot.finalize(room.meetingid)
sleep 1
Expand Down
3 changes: 1 addition & 2 deletions spec/rails_app/features/step_definitions/common_steps.rb
Expand Up @@ -102,8 +102,7 @@
end

When /^a meeting is running in this room with (\d+) attendees$/ do |count|
msalt = FeaturesConfig.server.has_key?('mobile_salt') ? FeaturesConfig.server['mobile_salt'] : ""
BigBlueButtonBot.new(@server.api, @room.meetingid, msalt,
BigBlueButtonBot.new(@server.api, @room.meetingid, nil,
count.to_i, FeaturesConfig.root['timeout_bot_start'])
end

Expand Down

0 comments on commit 2683a6a

Please sign in to comment.