|
1 | 1 | When /^the method isMeetingRunning informs that the meeting is running$/ do |
2 | 2 | @req.response = @api.is_meeting_running?(@req.id) |
3 | | - @req.response.should be_true |
| 3 | + @req.response.should be true |
4 | 4 | end |
5 | 5 |
|
6 | 6 | When /^the method isMeetingRunning informs that the meeting is not running$/i do |
7 | 7 | @req.response = @api.is_meeting_running?(@req.id) |
8 | | - @req.response.should be_false |
| 8 | + @req.response.should be false |
9 | 9 | end |
10 | 10 |
|
11 | 11 | When /^calling the method get_meetings$/ do |
|
29 | 29 | found[:attendeePW].should be_a(String) |
30 | 30 | found[:attendeePW].should_not be_empty |
31 | 31 | found[:moderatorPW].should == @req.mod_pass |
32 | | - found[:hasBeenForciblyEnded].should be_false |
33 | | - found[:running].should be_false |
| 32 | + found[:hasBeenForciblyEnded].should be false |
| 33 | + found[:running].should be false |
34 | 34 | if @api.version >= "0.8" |
35 | 35 | found[:meetingName].should == @req.id |
36 | 36 | found[:createTime].should be_a(Numeric) |
|
40 | 40 | When /^it shows all the information of the meeting that was created$/ do |
41 | 41 | @req.response = @api.get_meeting_info(@req.id, @req.mod_pass) |
42 | 42 | @req.response[:meetingID].should == @req.id |
43 | | - @req.response[:running].should be_false |
44 | | - @req.response[:hasBeenForciblyEnded].should be_false |
| 43 | + @req.response[:running].should be false |
| 44 | + @req.response[:hasBeenForciblyEnded].should be false |
45 | 45 | @req.response[:startTime].should be_nil |
46 | 46 | @req.response[:endTime].should be_nil |
47 | 47 | @req.response[:participantCount].should == 0 |
|
70 | 70 |
|
71 | 71 | @req.opts.has_key?(:record) ? |
72 | 72 | (@req.response[:recording].should == @req.opts[:record]) : |
73 | | - (@req.response[:recording].should be_false) |
| 73 | + (@req.response[:recording].should be false) |
74 | 74 | @req.opts.has_key?(:maxParticipants) ? |
75 | 75 | (@req.response[:maxUsers].should == @req.opts[:maxParticipants]) : |
76 | 76 | (@req.response[:maxUsers].should == 20) |
|
98 | 98 | @req.response = @api.get_meeting_info(@req.id, @req.mod_pass) |
99 | 99 | participants = count.to_i |
100 | 100 |
|
101 | | - @req.response[:running].should be_true |
| 101 | + @req.response[:running].should be true |
102 | 102 | @req.response[:moderatorCount].should > 0 |
103 | | - @req.response[:hasBeenForciblyEnded].should be_false |
| 103 | + @req.response[:hasBeenForciblyEnded].should be false |
104 | 104 | @req.response[:participantCount].should == participants |
105 | 105 | @req.response[:attendees].size.should == 2 |
106 | 106 |
|
|
0 commit comments