bandwidth-sdk 11.1.1 → 11.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +33 -31
- data/bandwidth.yml +8 -2
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +70 -18
- data/coverage/index.html +1183 -611
- data/docs/MessageRequest.md +1 -1
- data/lib/bandwidth-sdk/models/bxml/bxml.rb +1 -1
- data/lib/bandwidth-sdk/models/bxml/nestable_verb.rb +2 -2
- data/lib/bandwidth-sdk/models/bxml/response.rb +1 -1
- data/lib/bandwidth-sdk/models/bxml/root.rb +10 -4
- data/lib/bandwidth-sdk/models/bxml/verbs/gather.rb +10 -4
- data/lib/bandwidth-sdk/models/bxml/verbs/start_stream.rb +9 -3
- data/lib/bandwidth-sdk/models/bxml/verbs/start_transcription.rb +9 -3
- data/lib/bandwidth-sdk/models/bxml/verbs/transfer.rb +12 -5
- data/lib/bandwidth-sdk/models/message_request.rb +1 -1
- data/lib/bandwidth-sdk/version.rb +1 -1
- data/spec/models/bxml/bxml_spec.rb +25 -0
- data/spec/models/bxml/response_spec.rb +25 -0
- data/spec/models/bxml/verbs/gather_spec.rb +3 -3
- data/spec/models/bxml/verbs/start_stream_spec.rb +3 -3
- data/spec/models/bxml/verbs/start_transcription_spec.rb +3 -3
- data/spec/models/bxml/verbs/transfer_spec.rb +10 -8
- metadata +34 -34
data/coverage/index.html
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
<img src="./assets/0.12.3/loading.gif" alt="loading"/>
|
15
15
|
</div>
|
16
16
|
<div id="wrapper" class="hide">
|
17
|
-
<div class="timestamp">Generated <abbr class="timeago" title="
|
17
|
+
<div class="timestamp">Generated <abbr class="timeago" title="2024-02-28T14:37:13+00:00">2024-02-28T14:37:13+00:00</abbr></div>
|
18
18
|
<ul class="group_tabs"></ul>
|
19
19
|
|
20
20
|
<div id="content">
|
@@ -23,14 +23,14 @@
|
|
23
23
|
<span class="group_name">All Files</span>
|
24
24
|
(<span class="covered_percent">
|
25
25
|
<span class="green">
|
26
|
-
96.
|
26
|
+
96.11%
|
27
27
|
</span>
|
28
28
|
|
29
29
|
</span>
|
30
30
|
covered at
|
31
31
|
<span class="covered_strength">
|
32
32
|
<span class="green">
|
33
|
-
|
33
|
+
68.21
|
34
34
|
</span>
|
35
35
|
</span> hits/line
|
36
36
|
)
|
@@ -43,11 +43,11 @@
|
|
43
43
|
</div>
|
44
44
|
|
45
45
|
<div class="t-line-summary">
|
46
|
-
<b>
|
47
|
-
<span class="green"><b>
|
46
|
+
<b>4041</b> relevant lines,
|
47
|
+
<span class="green"><b>3884</b> lines covered</span> and
|
48
48
|
<span class="red"><b>157</b> lines missed. </span>
|
49
49
|
(<span class="green">
|
50
|
-
96.
|
50
|
+
96.11%
|
51
51
|
</span>
|
52
52
|
)
|
53
53
|
</div>
|
@@ -176,7 +176,7 @@
|
|
176
176
|
<td class="cell--number">180</td>
|
177
177
|
<td class="cell--number">176</td>
|
178
178
|
<td class="cell--number">4</td>
|
179
|
-
<td class="cell--number">
|
179
|
+
<td class="cell--number">97.15</td>
|
180
180
|
|
181
181
|
</tr>
|
182
182
|
|
@@ -209,7 +209,7 @@
|
|
209
209
|
<td class="cell--number">154</td>
|
210
210
|
<td class="cell--number">136</td>
|
211
211
|
<td class="cell--number">18</td>
|
212
|
-
<td class="cell--number">
|
212
|
+
<td class="cell--number">1609.13</td>
|
213
213
|
|
214
214
|
</tr>
|
215
215
|
|
@@ -392,11 +392,11 @@
|
|
392
392
|
<tr class="t-file">
|
393
393
|
<td class="strong t-file__name"><a href="#4bcdba7406f6bef24646f3e57b632d6aacd9864b" class="src_link" title="spec/models/bxml/bxml_spec.rb">spec/models/bxml/bxml_spec.rb</a></td>
|
394
394
|
<td class="green strong cell--number t-file__coverage">100.00 %</td>
|
395
|
-
<td class="cell--number">
|
396
|
-
<td class="cell--number">
|
397
|
-
<td class="cell--number">
|
395
|
+
<td class="cell--number">41</td>
|
396
|
+
<td class="cell--number">26</td>
|
397
|
+
<td class="cell--number">26</td>
|
398
398
|
<td class="cell--number">0</td>
|
399
|
-
<td class="cell--number">1.
|
399
|
+
<td class="cell--number">1.31</td>
|
400
400
|
|
401
401
|
</tr>
|
402
402
|
|
@@ -414,11 +414,11 @@
|
|
414
414
|
<tr class="t-file">
|
415
415
|
<td class="strong t-file__name"><a href="#3b55dbb5010cb1a045ed1abdd394dea2e7780315" class="src_link" title="spec/models/bxml/response_spec.rb">spec/models/bxml/response_spec.rb</a></td>
|
416
416
|
<td class="green strong cell--number t-file__coverage">100.00 %</td>
|
417
|
-
<td class="cell--number">
|
418
|
-
<td class="cell--number">
|
419
|
-
<td class="cell--number">
|
417
|
+
<td class="cell--number">41</td>
|
418
|
+
<td class="cell--number">26</td>
|
419
|
+
<td class="cell--number">26</td>
|
420
420
|
<td class="cell--number">0</td>
|
421
|
-
<td class="cell--number">1.
|
421
|
+
<td class="cell--number">1.31</td>
|
422
422
|
|
423
423
|
</tr>
|
424
424
|
|
@@ -733,7 +733,7 @@
|
|
733
733
|
<tr class="t-file">
|
734
734
|
<td class="strong t-file__name"><a href="#59b30b956006183baad28e06d03edd65731fbd52" class="src_link" title="spec/models/bxml/verbs/transfer_spec.rb">spec/models/bxml/verbs/transfer_spec.rb</a></td>
|
735
735
|
<td class="green strong cell--number t-file__coverage">100.00 %</td>
|
736
|
-
<td class="cell--number">
|
736
|
+
<td class="cell--number">86</td>
|
737
737
|
<td class="cell--number">34</td>
|
738
738
|
<td class="cell--number">34</td>
|
739
739
|
<td class="cell--number">0</td>
|
@@ -815,7 +815,7 @@
|
|
815
815
|
covered at
|
816
816
|
<span class="covered_strength">
|
817
817
|
<span class="green">
|
818
|
-
|
818
|
+
446.69
|
819
819
|
</span>
|
820
820
|
</span> hits/line
|
821
821
|
)
|
@@ -862,7 +862,7 @@
|
|
862
862
|
<td class="cell--number">154</td>
|
863
863
|
<td class="cell--number">136</td>
|
864
864
|
<td class="cell--number">18</td>
|
865
|
-
<td class="cell--number">
|
865
|
+
<td class="cell--number">1609.13</td>
|
866
866
|
|
867
867
|
</tr>
|
868
868
|
|
@@ -1074,7 +1074,7 @@
|
|
1074
1074
|
covered at
|
1075
1075
|
<span class="covered_strength">
|
1076
1076
|
<span class="green">
|
1077
|
-
|
1077
|
+
43.41
|
1078
1078
|
</span>
|
1079
1079
|
</span> hits/line
|
1080
1080
|
)
|
@@ -1132,7 +1132,7 @@
|
|
1132
1132
|
<td class="cell--number">180</td>
|
1133
1133
|
<td class="cell--number">176</td>
|
1134
1134
|
<td class="cell--number">4</td>
|
1135
|
-
<td class="cell--number">
|
1135
|
+
<td class="cell--number">97.15</td>
|
1136
1136
|
|
1137
1137
|
</tr>
|
1138
1138
|
|
@@ -1189,8 +1189,8 @@
|
|
1189
1189
|
</div>
|
1190
1190
|
|
1191
1191
|
<div class="t-line-summary">
|
1192
|
-
<b>
|
1193
|
-
<span class="green"><b>
|
1192
|
+
<b>2036</b> relevant lines,
|
1193
|
+
<span class="green"><b>2036</b> lines covered</span> and
|
1194
1194
|
<span class="red"><b>0</b> lines missed. </span>
|
1195
1195
|
(<span class="green">
|
1196
1196
|
100.0%
|
@@ -1340,11 +1340,11 @@
|
|
1340
1340
|
<tr class="t-file">
|
1341
1341
|
<td class="strong t-file__name"><a href="#4bcdba7406f6bef24646f3e57b632d6aacd9864b" class="src_link" title="spec/models/bxml/bxml_spec.rb">spec/models/bxml/bxml_spec.rb</a></td>
|
1342
1342
|
<td class="green strong cell--number t-file__coverage">100.00 %</td>
|
1343
|
-
<td class="cell--number">
|
1344
|
-
<td class="cell--number">
|
1345
|
-
<td class="cell--number">
|
1343
|
+
<td class="cell--number">41</td>
|
1344
|
+
<td class="cell--number">26</td>
|
1345
|
+
<td class="cell--number">26</td>
|
1346
1346
|
<td class="cell--number">0</td>
|
1347
|
-
<td class="cell--number">1.
|
1347
|
+
<td class="cell--number">1.31</td>
|
1348
1348
|
|
1349
1349
|
</tr>
|
1350
1350
|
|
@@ -1362,11 +1362,11 @@
|
|
1362
1362
|
<tr class="t-file">
|
1363
1363
|
<td class="strong t-file__name"><a href="#3b55dbb5010cb1a045ed1abdd394dea2e7780315" class="src_link" title="spec/models/bxml/response_spec.rb">spec/models/bxml/response_spec.rb</a></td>
|
1364
1364
|
<td class="green strong cell--number t-file__coverage">100.00 %</td>
|
1365
|
-
<td class="cell--number">
|
1366
|
-
<td class="cell--number">
|
1367
|
-
<td class="cell--number">
|
1365
|
+
<td class="cell--number">41</td>
|
1366
|
+
<td class="cell--number">26</td>
|
1367
|
+
<td class="cell--number">26</td>
|
1368
1368
|
<td class="cell--number">0</td>
|
1369
|
-
<td class="cell--number">1.
|
1369
|
+
<td class="cell--number">1.31</td>
|
1370
1370
|
|
1371
1371
|
</tr>
|
1372
1372
|
|
@@ -1681,7 +1681,7 @@
|
|
1681
1681
|
<tr class="t-file">
|
1682
1682
|
<td class="strong t-file__name"><a href="#59b30b956006183baad28e06d03edd65731fbd52" class="src_link" title="spec/models/bxml/verbs/transfer_spec.rb">spec/models/bxml/verbs/transfer_spec.rb</a></td>
|
1683
1683
|
<td class="green strong cell--number t-file__coverage">100.00 %</td>
|
1684
|
-
<td class="cell--number">
|
1684
|
+
<td class="cell--number">86</td>
|
1685
1685
|
<td class="cell--number">34</td>
|
1686
1686
|
<td class="cell--number">34</td>
|
1687
1687
|
<td class="cell--number">0</td>
|
@@ -39326,8 +39326,8 @@
|
|
39326
39326
|
</div>
|
39327
39327
|
|
39328
39328
|
<div>
|
39329
|
-
<li class="covered" data-hits="
|
39330
|
-
<span class="hits">
|
39329
|
+
<li class="covered" data-hits="2320" data-linenumber="286">
|
39330
|
+
<span class="hits">2320</span>
|
39331
39331
|
|
39332
39332
|
|
39333
39333
|
|
@@ -39337,8 +39337,8 @@
|
|
39337
39337
|
</div>
|
39338
39338
|
|
39339
39339
|
<div>
|
39340
|
-
<li class="covered" data-hits="
|
39341
|
-
<span class="hits">
|
39340
|
+
<li class="covered" data-hits="2320" data-linenumber="287">
|
39341
|
+
<span class="hits">2320</span>
|
39342
39342
|
|
39343
39343
|
|
39344
39344
|
|
@@ -39568,8 +39568,8 @@
|
|
39568
39568
|
</div>
|
39569
39569
|
|
39570
39570
|
<div>
|
39571
|
-
<li class="covered" data-hits="
|
39572
|
-
<span class="hits">
|
39571
|
+
<li class="covered" data-hits="2273" data-linenumber="308">
|
39572
|
+
<span class="hits">2273</span>
|
39573
39573
|
|
39574
39574
|
|
39575
39575
|
|
@@ -39667,8 +39667,8 @@
|
|
39667
39667
|
</div>
|
39668
39668
|
|
39669
39669
|
<div>
|
39670
|
-
<li class="covered" data-hits="
|
39671
|
-
<span class="hits">
|
39670
|
+
<li class="covered" data-hits="2290" data-linenumber="317">
|
39671
|
+
<span class="hits">2290</span>
|
39672
39672
|
|
39673
39673
|
|
39674
39674
|
|
@@ -39678,8 +39678,8 @@
|
|
39678
39678
|
</div>
|
39679
39679
|
|
39680
39680
|
<div>
|
39681
|
-
<li class="covered" data-hits="
|
39682
|
-
<span class="hits">
|
39681
|
+
<li class="covered" data-hits="2290" data-linenumber="318">
|
39682
|
+
<span class="hits">2290</span>
|
39683
39683
|
|
39684
39684
|
|
39685
39685
|
|
@@ -49231,8 +49231,8 @@
|
|
49231
49231
|
</div>
|
49232
49232
|
|
49233
49233
|
<div>
|
49234
|
-
<li class="covered" data-hits="
|
49235
|
-
<span class="hits">
|
49234
|
+
<li class="covered" data-hits="78092" data-linenumber="95">
|
49235
|
+
<span class="hits">78092</span>
|
49236
49236
|
|
49237
49237
|
|
49238
49238
|
|
@@ -50067,8 +50067,8 @@
|
|
50067
50067
|
</div>
|
50068
50068
|
|
50069
50069
|
<div>
|
50070
|
-
<li class="covered" data-hits="
|
50071
|
-
<span class="hits">
|
50070
|
+
<li class="covered" data-hits="14007" data-linenumber="171">
|
50071
|
+
<span class="hits">14007</span>
|
50072
50072
|
|
50073
50073
|
|
50074
50074
|
|
@@ -50100,8 +50100,8 @@
|
|
50100
50100
|
</div>
|
50101
50101
|
|
50102
50102
|
<div>
|
50103
|
-
<li class="covered" data-hits="
|
50104
|
-
<span class="hits">
|
50103
|
+
<li class="covered" data-hits="14006" data-linenumber="174">
|
50104
|
+
<span class="hits">14006</span>
|
50105
50105
|
|
50106
50106
|
|
50107
50107
|
|
@@ -50694,8 +50694,8 @@
|
|
50694
50694
|
</div>
|
50695
50695
|
|
50696
50696
|
<div>
|
50697
|
-
<li class="covered" data-hits="
|
50698
|
-
<span class="hits">
|
50697
|
+
<li class="covered" data-hits="605" data-linenumber="228">
|
50698
|
+
<span class="hits">605</span>
|
50699
50699
|
|
50700
50700
|
|
50701
50701
|
|
@@ -50826,8 +50826,8 @@
|
|
50826
50826
|
</div>
|
50827
50827
|
|
50828
50828
|
<div>
|
50829
|
-
<li class="covered" data-hits="
|
50830
|
-
<span class="hits">
|
50829
|
+
<li class="covered" data-hits="408" data-linenumber="240">
|
50830
|
+
<span class="hits">408</span>
|
50831
50831
|
|
50832
50832
|
|
50833
50833
|
|
@@ -50870,8 +50870,8 @@
|
|
50870
50870
|
</div>
|
50871
50871
|
|
50872
50872
|
<div>
|
50873
|
-
<li class="covered" data-hits="
|
50874
|
-
<span class="hits">
|
50873
|
+
<li class="covered" data-hits="408" data-linenumber="244">
|
50874
|
+
<span class="hits">408</span>
|
50875
50875
|
|
50876
50876
|
|
50877
50877
|
|
@@ -51717,8 +51717,8 @@
|
|
51717
51717
|
</div>
|
51718
51718
|
|
51719
51719
|
<div>
|
51720
|
-
<li class="covered" data-hits="
|
51721
|
-
<span class="hits">
|
51720
|
+
<li class="covered" data-hits="13968" data-linenumber="321">
|
51721
|
+
<span class="hits">13968</span>
|
51722
51722
|
|
51723
51723
|
|
51724
51724
|
|
@@ -51838,8 +51838,8 @@
|
|
51838
51838
|
</div>
|
51839
51839
|
|
51840
51840
|
<div>
|
51841
|
-
<li class="covered" data-hits="
|
51842
|
-
<span class="hits">
|
51841
|
+
<li class="covered" data-hits="13974" data-linenumber="332">
|
51842
|
+
<span class="hits">13974</span>
|
51843
51843
|
|
51844
51844
|
|
51845
51845
|
|
@@ -51860,8 +51860,8 @@
|
|
51860
51860
|
</div>
|
51861
51861
|
|
51862
51862
|
<div>
|
51863
|
-
<li class="covered" data-hits="
|
51864
|
-
<span class="hits">
|
51863
|
+
<li class="covered" data-hits="4120" data-linenumber="334">
|
51864
|
+
<span class="hits">4120</span>
|
51865
51865
|
|
51866
51866
|
|
51867
51867
|
|
@@ -51904,8 +51904,8 @@
|
|
51904
51904
|
</div>
|
51905
51905
|
|
51906
51906
|
<div>
|
51907
|
-
<li class="covered" data-hits="
|
51908
|
-
<span class="hits">
|
51907
|
+
<li class="covered" data-hits="7846" data-linenumber="338">
|
51908
|
+
<span class="hits">7846</span>
|
51909
51909
|
|
51910
51910
|
|
51911
51911
|
|
@@ -63846,7 +63846,7 @@
|
|
63846
63846
|
|
63847
63847
|
|
63848
63848
|
|
63849
|
-
<code class="ruby"> VERSION = '11.
|
63849
|
+
<code class="ruby"> VERSION = '11.3.0'</code>
|
63850
63850
|
</li>
|
63851
63851
|
</div>
|
63852
63852
|
|
@@ -88817,8 +88817,8 @@
|
|
88817
88817
|
|
88818
88818
|
|
88819
88819
|
<div class="t-line-summary">
|
88820
|
-
<b>
|
88821
|
-
<span class="green"><b>
|
88820
|
+
<b>26</b> relevant lines.
|
88821
|
+
<span class="green"><b>26</b> lines covered</span> and
|
88822
88822
|
<span class="red"><b>0</b> lines missed.</span>
|
88823
88823
|
</div>
|
88824
88824
|
|
@@ -88852,8 +88852,8 @@
|
|
88852
88852
|
</div>
|
88853
88853
|
|
88854
88854
|
<div>
|
88855
|
-
<li class="covered" data-hits="
|
88856
|
-
<span class="hits">
|
88855
|
+
<li class="covered" data-hits="5" data-linenumber="3">
|
88856
|
+
<span class="hits">5</span>
|
88857
88857
|
|
88858
88858
|
|
88859
88859
|
|
@@ -88863,24 +88863,24 @@
|
|
88863
88863
|
</div>
|
88864
88864
|
|
88865
88865
|
<div>
|
88866
|
-
<li class="
|
88867
|
-
|
88866
|
+
<li class="covered" data-hits="5" data-linenumber="4">
|
88867
|
+
<span class="hits">5</span>
|
88868
88868
|
|
88869
88869
|
|
88870
88870
|
|
88871
88871
|
|
88872
|
-
<code class="ruby"
|
88872
|
+
<code class="ruby"> let(:pause_recording) { Bandwidth::Bxml::PauseRecording.new }</code>
|
88873
88873
|
</li>
|
88874
88874
|
</div>
|
88875
88875
|
|
88876
88876
|
<div>
|
88877
|
-
<li class="
|
88878
|
-
|
88877
|
+
<li class="never" data-hits="" data-linenumber="5">
|
88878
|
+
|
88879
88879
|
|
88880
88880
|
|
88881
88881
|
|
88882
88882
|
|
88883
|
-
<code class="ruby"
|
88883
|
+
<code class="ruby"></code>
|
88884
88884
|
</li>
|
88885
88885
|
</div>
|
88886
88886
|
|
@@ -88891,7 +88891,7 @@
|
|
88891
88891
|
|
88892
88892
|
|
88893
88893
|
|
88894
|
-
<code class="ruby">
|
88894
|
+
<code class="ruby"> describe 'test an instance of Bxml' do</code>
|
88895
88895
|
</li>
|
88896
88896
|
</div>
|
88897
88897
|
|
@@ -88902,7 +88902,7 @@
|
|
88902
88902
|
|
88903
88903
|
|
88904
88904
|
|
88905
|
-
<code class="ruby">
|
88905
|
+
<code class="ruby"> it 'validates instance of Bxml' do</code>
|
88906
88906
|
</li>
|
88907
88907
|
</div>
|
88908
88908
|
|
@@ -88913,18 +88913,18 @@
|
|
88913
88913
|
|
88914
88914
|
|
88915
88915
|
|
88916
|
-
<code class="ruby"> expect(instance).to
|
88916
|
+
<code class="ruby"> expect(instance).to be_instance_of(Bandwidth::Bxml::Bxml)</code>
|
88917
88917
|
</li>
|
88918
88918
|
</div>
|
88919
88919
|
|
88920
88920
|
<div>
|
88921
|
-
<li class="
|
88922
|
-
|
88921
|
+
<li class="covered" data-hits="1" data-linenumber="9">
|
88922
|
+
<span class="hits">1</span>
|
88923
88923
|
|
88924
88924
|
|
88925
88925
|
|
88926
88926
|
|
88927
|
-
<code class="ruby">
|
88927
|
+
<code class="ruby"> expect(instance).to be_a(Bandwidth::Bxml::Root)</code>
|
88928
88928
|
</li>
|
88929
88929
|
</div>
|
88930
88930
|
|
@@ -88935,18 +88935,18 @@
|
|
88935
88935
|
|
88936
88936
|
|
88937
88937
|
|
88938
|
-
<code class="ruby"
|
88938
|
+
<code class="ruby"> end</code>
|
88939
88939
|
</li>
|
88940
88940
|
</div>
|
88941
88941
|
|
88942
88942
|
<div>
|
88943
|
-
<li class="
|
88944
|
-
|
88943
|
+
<li class="never" data-hits="" data-linenumber="11">
|
88944
|
+
|
88945
88945
|
|
88946
88946
|
|
88947
88947
|
|
88948
88948
|
|
88949
|
-
<code class="ruby"
|
88949
|
+
<code class="ruby"></code>
|
88950
88950
|
</li>
|
88951
88951
|
</div>
|
88952
88952
|
|
@@ -88957,7 +88957,7 @@
|
|
88957
88957
|
|
88958
88958
|
|
88959
88959
|
|
88960
|
-
<code class="ruby">
|
88960
|
+
<code class="ruby"> it 'test initializing with a single nested verb' do</code>
|
88961
88961
|
</li>
|
88962
88962
|
</div>
|
88963
88963
|
|
@@ -88968,29 +88968,29 @@
|
|
88968
88968
|
|
88969
88969
|
|
88970
88970
|
|
88971
|
-
<code class="ruby">
|
88971
|
+
<code class="ruby"> instance = Bandwidth::Bxml::Bxml.new(pause_recording)</code>
|
88972
88972
|
</li>
|
88973
88973
|
</div>
|
88974
88974
|
|
88975
88975
|
<div>
|
88976
|
-
<li class="
|
88977
|
-
|
88976
|
+
<li class="covered" data-hits="1" data-linenumber="14">
|
88977
|
+
<span class="hits">1</span>
|
88978
88978
|
|
88979
88979
|
|
88980
88980
|
|
88981
88981
|
|
88982
|
-
<code class="ruby">
|
88982
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bxml>\n <PauseRecording/>\n</Bxml>\n"</code>
|
88983
88983
|
</li>
|
88984
88984
|
</div>
|
88985
88985
|
|
88986
88986
|
<div>
|
88987
|
-
<li class="
|
88988
|
-
|
88987
|
+
<li class="covered" data-hits="1" data-linenumber="15">
|
88988
|
+
<span class="hits">1</span>
|
88989
88989
|
|
88990
88990
|
|
88991
88991
|
|
88992
88992
|
|
88993
|
-
<code class="ruby">
|
88993
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
88994
88994
|
</li>
|
88995
88995
|
</div>
|
88996
88996
|
|
@@ -89001,228 +89001,144 @@
|
|
89001
89001
|
|
89002
89002
|
|
89003
89003
|
|
89004
|
-
<code class="ruby">end</code>
|
89004
|
+
<code class="ruby"> end</code>
|
89005
89005
|
</li>
|
89006
89006
|
</div>
|
89007
89007
|
|
89008
|
-
</ol>
|
89009
|
-
</pre>
|
89010
|
-
</div>
|
89011
|
-
|
89012
|
-
|
89013
|
-
<div class="source_table" id="c28576877561cf612eff850a1d9f48add3420626">
|
89014
|
-
<div class="header">
|
89015
|
-
<h3>spec/models/bxml/nestable_verb_spec.rb</h3>
|
89016
|
-
<h4>
|
89017
|
-
<span class="green">
|
89018
|
-
100.0%
|
89019
|
-
</span>
|
89020
|
-
|
89021
|
-
lines covered
|
89022
|
-
</h4>
|
89023
|
-
|
89024
|
-
|
89025
|
-
|
89026
|
-
<div class="t-line-summary">
|
89027
|
-
<b>6</b> relevant lines.
|
89028
|
-
<span class="green"><b>6</b> lines covered</span> and
|
89029
|
-
<span class="red"><b>0</b> lines missed.</span>
|
89030
|
-
</div>
|
89031
|
-
|
89032
|
-
|
89033
|
-
|
89034
|
-
</div>
|
89035
|
-
|
89036
|
-
<pre>
|
89037
|
-
<ol>
|
89038
|
-
|
89039
89008
|
<div>
|
89040
|
-
<li class="never" data-hits="" data-linenumber="
|
89009
|
+
<li class="never" data-hits="" data-linenumber="17">
|
89041
89010
|
|
89042
89011
|
|
89043
89012
|
|
89044
89013
|
|
89045
89014
|
|
89046
|
-
<code class="ruby"
|
89015
|
+
<code class="ruby"></code>
|
89047
89016
|
</li>
|
89048
89017
|
</div>
|
89049
89018
|
|
89050
89019
|
<div>
|
89051
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89020
|
+
<li class="covered" data-hits="1" data-linenumber="18">
|
89052
89021
|
<span class="hits">1</span>
|
89053
89022
|
|
89054
89023
|
|
89055
89024
|
|
89056
89025
|
|
89057
|
-
<code class="ruby">
|
89058
|
-
</li>
|
89059
|
-
</div>
|
89060
|
-
|
89061
|
-
<div>
|
89062
|
-
<li class="covered" data-hits="2" data-linenumber="3">
|
89063
|
-
<span class="hits">2</span>
|
89064
|
-
|
89065
|
-
|
89066
|
-
|
89067
|
-
|
89068
|
-
<code class="ruby"> let(:instance) { Bandwidth::Bxml::NestableVerb.new('Test') }</code>
|
89069
|
-
</li>
|
89070
|
-
</div>
|
89071
|
-
|
89072
|
-
<div>
|
89073
|
-
<li class="never" data-hits="" data-linenumber="4">
|
89074
|
-
|
89075
|
-
|
89076
|
-
|
89077
|
-
|
89078
|
-
|
89079
|
-
<code class="ruby"> </code>
|
89026
|
+
<code class="ruby"> it 'test initializing with multiple nested verbs' do</code>
|
89080
89027
|
</li>
|
89081
89028
|
</div>
|
89082
89029
|
|
89083
89030
|
<div>
|
89084
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89031
|
+
<li class="covered" data-hits="1" data-linenumber="19">
|
89085
89032
|
<span class="hits">1</span>
|
89086
89033
|
|
89087
89034
|
|
89088
89035
|
|
89089
89036
|
|
89090
|
-
<code class="ruby">
|
89037
|
+
<code class="ruby"> instance = Bandwidth::Bxml::Bxml.new([pause_recording, pause_recording])</code>
|
89091
89038
|
</li>
|
89092
89039
|
</div>
|
89093
89040
|
|
89094
89041
|
<div>
|
89095
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89042
|
+
<li class="covered" data-hits="1" data-linenumber="20">
|
89096
89043
|
<span class="hits">1</span>
|
89097
89044
|
|
89098
89045
|
|
89099
89046
|
|
89100
89047
|
|
89101
|
-
<code class="ruby">
|
89048
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bxml>\n <PauseRecording/>\n <PauseRecording/>\n</Bxml>\n"</code>
|
89102
89049
|
</li>
|
89103
89050
|
</div>
|
89104
89051
|
|
89105
89052
|
<div>
|
89106
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89053
|
+
<li class="covered" data-hits="1" data-linenumber="21">
|
89107
89054
|
<span class="hits">1</span>
|
89108
89055
|
|
89109
89056
|
|
89110
89057
|
|
89111
89058
|
|
89112
|
-
<code class="ruby"> expect(instance).to
|
89059
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89113
89060
|
</li>
|
89114
89061
|
</div>
|
89115
89062
|
|
89116
89063
|
<div>
|
89117
|
-
<li class="
|
89118
|
-
|
89064
|
+
<li class="never" data-hits="" data-linenumber="22">
|
89065
|
+
|
89119
89066
|
|
89120
89067
|
|
89121
89068
|
|
89122
89069
|
|
89123
|
-
<code class="ruby">
|
89070
|
+
<code class="ruby"> end</code>
|
89124
89071
|
</li>
|
89125
89072
|
</div>
|
89126
89073
|
|
89127
89074
|
<div>
|
89128
|
-
<li class="never" data-hits="" data-linenumber="
|
89075
|
+
<li class="never" data-hits="" data-linenumber="23">
|
89129
89076
|
|
89130
89077
|
|
89131
89078
|
|
89132
89079
|
|
89133
89080
|
|
89134
|
-
<code class="ruby"
|
89081
|
+
<code class="ruby"></code>
|
89135
89082
|
</li>
|
89136
89083
|
</div>
|
89137
89084
|
|
89138
89085
|
<div>
|
89139
|
-
<li class="
|
89140
|
-
|
89086
|
+
<li class="covered" data-hits="1" data-linenumber="24">
|
89087
|
+
<span class="hits">1</span>
|
89141
89088
|
|
89142
89089
|
|
89143
89090
|
|
89144
89091
|
|
89145
|
-
<code class="ruby">
|
89092
|
+
<code class="ruby"> it 'test adding a single verb to the Bxml instance' do</code>
|
89146
89093
|
</li>
|
89147
89094
|
</div>
|
89148
89095
|
|
89149
89096
|
<div>
|
89150
|
-
<li class="
|
89151
|
-
|
89097
|
+
<li class="covered" data-hits="1" data-linenumber="25">
|
89098
|
+
<span class="hits">1</span>
|
89152
89099
|
|
89153
89100
|
|
89154
89101
|
|
89155
89102
|
|
89156
|
-
<code class="ruby">
|
89103
|
+
<code class="ruby"> instance.add_verbs(pause_recording)</code>
|
89157
89104
|
</li>
|
89158
89105
|
</div>
|
89159
89106
|
|
89160
|
-
</ol>
|
89161
|
-
</pre>
|
89162
|
-
</div>
|
89163
|
-
|
89164
|
-
|
89165
|
-
<div class="source_table" id="3b55dbb5010cb1a045ed1abdd394dea2e7780315">
|
89166
|
-
<div class="header">
|
89167
|
-
<h3>spec/models/bxml/response_spec.rb</h3>
|
89168
|
-
<h4>
|
89169
|
-
<span class="green">
|
89170
|
-
100.0%
|
89171
|
-
</span>
|
89172
|
-
|
89173
|
-
lines covered
|
89174
|
-
</h4>
|
89175
|
-
|
89176
|
-
|
89177
|
-
|
89178
|
-
<div class="t-line-summary">
|
89179
|
-
<b>9</b> relevant lines.
|
89180
|
-
<span class="green"><b>9</b> lines covered</span> and
|
89181
|
-
<span class="red"><b>0</b> lines missed.</span>
|
89182
|
-
</div>
|
89183
|
-
|
89184
|
-
|
89185
|
-
|
89186
|
-
</div>
|
89187
|
-
|
89188
|
-
<pre>
|
89189
|
-
<ol>
|
89190
|
-
|
89191
89107
|
<div>
|
89192
|
-
<li class="
|
89193
|
-
|
89108
|
+
<li class="covered" data-hits="1" data-linenumber="26">
|
89109
|
+
<span class="hits">1</span>
|
89194
89110
|
|
89195
89111
|
|
89196
89112
|
|
89197
89113
|
|
89198
|
-
<code class="ruby"
|
89114
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bxml>\n <PauseRecording/>\n</Bxml>\n"</code>
|
89199
89115
|
</li>
|
89200
89116
|
</div>
|
89201
89117
|
|
89202
89118
|
<div>
|
89203
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89119
|
+
<li class="covered" data-hits="1" data-linenumber="27">
|
89204
89120
|
<span class="hits">1</span>
|
89205
89121
|
|
89206
89122
|
|
89207
89123
|
|
89208
89124
|
|
89209
|
-
<code class="ruby">
|
89125
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89210
89126
|
</li>
|
89211
89127
|
</div>
|
89212
89128
|
|
89213
89129
|
<div>
|
89214
|
-
<li class="
|
89215
|
-
|
89130
|
+
<li class="never" data-hits="" data-linenumber="28">
|
89131
|
+
|
89216
89132
|
|
89217
89133
|
|
89218
89134
|
|
89219
89135
|
|
89220
|
-
<code class="ruby">
|
89136
|
+
<code class="ruby"> end</code>
|
89221
89137
|
</li>
|
89222
89138
|
</div>
|
89223
89139
|
|
89224
89140
|
<div>
|
89225
|
-
<li class="never" data-hits="" data-linenumber="
|
89141
|
+
<li class="never" data-hits="" data-linenumber="29">
|
89226
89142
|
|
89227
89143
|
|
89228
89144
|
|
@@ -89233,51 +89149,51 @@
|
|
89233
89149
|
</div>
|
89234
89150
|
|
89235
89151
|
<div>
|
89236
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89152
|
+
<li class="covered" data-hits="1" data-linenumber="30">
|
89237
89153
|
<span class="hits">1</span>
|
89238
89154
|
|
89239
89155
|
|
89240
89156
|
|
89241
89157
|
|
89242
|
-
<code class="ruby">
|
89158
|
+
<code class="ruby"> it 'test adding multiple verbs to the Bxml instance' do</code>
|
89243
89159
|
</li>
|
89244
89160
|
</div>
|
89245
89161
|
|
89246
89162
|
<div>
|
89247
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89163
|
+
<li class="covered" data-hits="1" data-linenumber="31">
|
89248
89164
|
<span class="hits">1</span>
|
89249
89165
|
|
89250
89166
|
|
89251
89167
|
|
89252
89168
|
|
89253
|
-
<code class="ruby">
|
89169
|
+
<code class="ruby"> instance.add_verbs([pause_recording, pause_recording])</code>
|
89254
89170
|
</li>
|
89255
89171
|
</div>
|
89256
89172
|
|
89257
89173
|
<div>
|
89258
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89174
|
+
<li class="covered" data-hits="1" data-linenumber="32">
|
89259
89175
|
<span class="hits">1</span>
|
89260
89176
|
|
89261
89177
|
|
89262
89178
|
|
89263
89179
|
|
89264
|
-
<code class="ruby">
|
89180
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bxml>\n <PauseRecording/>\n <PauseRecording/>\n</Bxml>\n"</code>
|
89265
89181
|
</li>
|
89266
89182
|
</div>
|
89267
89183
|
|
89268
89184
|
<div>
|
89269
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89185
|
+
<li class="covered" data-hits="1" data-linenumber="33">
|
89270
89186
|
<span class="hits">1</span>
|
89271
89187
|
|
89272
89188
|
|
89273
89189
|
|
89274
89190
|
|
89275
|
-
<code class="ruby"> expect(instance).to
|
89191
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89276
89192
|
</li>
|
89277
89193
|
</div>
|
89278
89194
|
|
89279
89195
|
<div>
|
89280
|
-
<li class="never" data-hits="" data-linenumber="
|
89196
|
+
<li class="never" data-hits="" data-linenumber="34">
|
89281
89197
|
|
89282
89198
|
|
89283
89199
|
|
@@ -89288,7 +89204,7 @@
|
|
89288
89204
|
</div>
|
89289
89205
|
|
89290
89206
|
<div>
|
89291
|
-
<li class="never" data-hits="" data-linenumber="
|
89207
|
+
<li class="never" data-hits="" data-linenumber="35">
|
89292
89208
|
|
89293
89209
|
|
89294
89210
|
|
@@ -89299,29 +89215,29 @@
|
|
89299
89215
|
</div>
|
89300
89216
|
|
89301
89217
|
<div>
|
89302
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89218
|
+
<li class="covered" data-hits="1" data-linenumber="36">
|
89303
89219
|
<span class="hits">1</span>
|
89304
89220
|
|
89305
89221
|
|
89306
89222
|
|
89307
89223
|
|
89308
|
-
<code class="ruby"> it 'test the to_bxml method of the
|
89224
|
+
<code class="ruby"> it 'test the to_bxml method of the Bxml instance' do</code>
|
89309
89225
|
</li>
|
89310
89226
|
</div>
|
89311
89227
|
|
89312
89228
|
<div>
|
89313
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89229
|
+
<li class="covered" data-hits="1" data-linenumber="37">
|
89314
89230
|
<span class="hits">1</span>
|
89315
89231
|
|
89316
89232
|
|
89317
89233
|
|
89318
89234
|
|
89319
|
-
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<
|
89235
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bxml/>\n"</code>
|
89320
89236
|
</li>
|
89321
89237
|
</div>
|
89322
89238
|
|
89323
89239
|
<div>
|
89324
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89240
|
+
<li class="covered" data-hits="1" data-linenumber="38">
|
89325
89241
|
<span class="hits">1</span>
|
89326
89242
|
|
89327
89243
|
|
@@ -89332,7 +89248,7 @@
|
|
89332
89248
|
</div>
|
89333
89249
|
|
89334
89250
|
<div>
|
89335
|
-
<li class="never" data-hits="" data-linenumber="
|
89251
|
+
<li class="never" data-hits="" data-linenumber="39">
|
89336
89252
|
|
89337
89253
|
|
89338
89254
|
|
@@ -89343,7 +89259,7 @@
|
|
89343
89259
|
</div>
|
89344
89260
|
|
89345
89261
|
<div>
|
89346
|
-
<li class="never" data-hits="" data-linenumber="
|
89262
|
+
<li class="never" data-hits="" data-linenumber="40">
|
89347
89263
|
|
89348
89264
|
|
89349
89265
|
|
@@ -89354,7 +89270,7 @@
|
|
89354
89270
|
</div>
|
89355
89271
|
|
89356
89272
|
<div>
|
89357
|
-
<li class="never" data-hits="" data-linenumber="
|
89273
|
+
<li class="never" data-hits="" data-linenumber="41">
|
89358
89274
|
|
89359
89275
|
|
89360
89276
|
|
@@ -89369,9 +89285,9 @@
|
|
89369
89285
|
</div>
|
89370
89286
|
|
89371
89287
|
|
89372
|
-
<div class="source_table" id="
|
89288
|
+
<div class="source_table" id="c28576877561cf612eff850a1d9f48add3420626">
|
89373
89289
|
<div class="header">
|
89374
|
-
<h3>spec/models/bxml/
|
89290
|
+
<h3>spec/models/bxml/nestable_verb_spec.rb</h3>
|
89375
89291
|
<h4>
|
89376
89292
|
<span class="green">
|
89377
89293
|
100.0%
|
@@ -89383,8 +89299,8 @@
|
|
89383
89299
|
|
89384
89300
|
|
89385
89301
|
<div class="t-line-summary">
|
89386
|
-
<b>
|
89387
|
-
<span class="green"><b>
|
89302
|
+
<b>6</b> relevant lines.
|
89303
|
+
<span class="green"><b>6</b> lines covered</span> and
|
89388
89304
|
<span class="red"><b>0</b> lines missed.</span>
|
89389
89305
|
</div>
|
89390
89306
|
|
@@ -89402,7 +89318,7 @@
|
|
89402
89318
|
|
89403
89319
|
|
89404
89320
|
|
89405
|
-
<code class="ruby"># Unit tests for Bandwidth::Bxml::
|
89321
|
+
<code class="ruby"># Unit tests for Bandwidth::Bxml::NestableVerb</code>
|
89406
89322
|
</li>
|
89407
89323
|
</div>
|
89408
89324
|
|
@@ -89413,18 +89329,18 @@
|
|
89413
89329
|
|
89414
89330
|
|
89415
89331
|
|
89416
|
-
<code class="ruby">describe 'Bandwidth::Bxml::
|
89332
|
+
<code class="ruby">describe 'Bandwidth::Bxml::NestableVerb' do</code>
|
89417
89333
|
</li>
|
89418
89334
|
</div>
|
89419
89335
|
|
89420
89336
|
<div>
|
89421
|
-
<li class="covered" data-hits="
|
89422
|
-
<span class="hits">
|
89337
|
+
<li class="covered" data-hits="2" data-linenumber="3">
|
89338
|
+
<span class="hits">2</span>
|
89423
89339
|
|
89424
89340
|
|
89425
89341
|
|
89426
89342
|
|
89427
|
-
<code class="ruby"> let(:instance) { Bandwidth::Bxml::
|
89343
|
+
<code class="ruby"> let(:instance) { Bandwidth::Bxml::NestableVerb.new('Test') }</code>
|
89428
89344
|
</li>
|
89429
89345
|
</div>
|
89430
89346
|
|
@@ -89446,7 +89362,7 @@
|
|
89446
89362
|
|
89447
89363
|
|
89448
89364
|
|
89449
|
-
<code class="ruby"> describe 'test an instance of
|
89365
|
+
<code class="ruby"> describe 'test an instance of NestableVerb' do</code>
|
89450
89366
|
</li>
|
89451
89367
|
</div>
|
89452
89368
|
|
@@ -89457,7 +89373,7 @@
|
|
89457
89373
|
|
89458
89374
|
|
89459
89375
|
|
89460
|
-
<code class="ruby"> it 'validates instance of
|
89376
|
+
<code class="ruby"> it 'validates instance of NestableVerb' do</code>
|
89461
89377
|
</li>
|
89462
89378
|
</div>
|
89463
89379
|
|
@@ -89468,67 +89384,23 @@
|
|
89468
89384
|
|
89469
89385
|
|
89470
89386
|
|
89471
|
-
<code class="ruby"> expect(instance).to be_a(Bandwidth::Bxml::
|
89472
|
-
</li>
|
89473
|
-
</div>
|
89474
|
-
|
89475
|
-
<div>
|
89476
|
-
<li class="never" data-hits="" data-linenumber="8">
|
89477
|
-
|
89478
|
-
|
89479
|
-
|
89480
|
-
|
89481
|
-
|
89482
|
-
<code class="ruby"> end</code>
|
89483
|
-
</li>
|
89484
|
-
</div>
|
89485
|
-
|
89486
|
-
<div>
|
89487
|
-
<li class="never" data-hits="" data-linenumber="9">
|
89488
|
-
|
89489
|
-
|
89490
|
-
|
89491
|
-
|
89492
|
-
|
89493
|
-
<code class="ruby"></code>
|
89494
|
-
</li>
|
89495
|
-
</div>
|
89496
|
-
|
89497
|
-
<div>
|
89498
|
-
<li class="covered" data-hits="1" data-linenumber="10">
|
89499
|
-
<span class="hits">1</span>
|
89500
|
-
|
89501
|
-
|
89502
|
-
|
89503
|
-
|
89504
|
-
<code class="ruby"> it 'tests the to_bxml method of the Verb instance' do</code>
|
89505
|
-
</li>
|
89506
|
-
</div>
|
89507
|
-
|
89508
|
-
<div>
|
89509
|
-
<li class="covered" data-hits="1" data-linenumber="11">
|
89510
|
-
<span class="hits">1</span>
|
89511
|
-
|
89512
|
-
|
89513
|
-
|
89514
|
-
|
89515
|
-
<code class="ruby"> expected = "\n<Test/>\n"</code>
|
89387
|
+
<code class="ruby"> expect(instance).to be_a(Bandwidth::Bxml::NestableVerb)</code>
|
89516
89388
|
</li>
|
89517
89389
|
</div>
|
89518
89390
|
|
89519
89391
|
<div>
|
89520
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89392
|
+
<li class="covered" data-hits="1" data-linenumber="8">
|
89521
89393
|
<span class="hits">1</span>
|
89522
89394
|
|
89523
89395
|
|
89524
89396
|
|
89525
89397
|
|
89526
|
-
<code class="ruby"> expect(instance
|
89398
|
+
<code class="ruby"> expect(instance).to be_a(Bandwidth::Bxml::Verb)</code>
|
89527
89399
|
</li>
|
89528
89400
|
</div>
|
89529
89401
|
|
89530
89402
|
<div>
|
89531
|
-
<li class="never" data-hits="" data-linenumber="
|
89403
|
+
<li class="never" data-hits="" data-linenumber="9">
|
89532
89404
|
|
89533
89405
|
|
89534
89406
|
|
@@ -89539,7 +89411,7 @@
|
|
89539
89411
|
</div>
|
89540
89412
|
|
89541
89413
|
<div>
|
89542
|
-
<li class="never" data-hits="" data-linenumber="
|
89414
|
+
<li class="never" data-hits="" data-linenumber="10">
|
89543
89415
|
|
89544
89416
|
|
89545
89417
|
|
@@ -89550,7 +89422,7 @@
|
|
89550
89422
|
</div>
|
89551
89423
|
|
89552
89424
|
<div>
|
89553
|
-
<li class="never" data-hits="" data-linenumber="
|
89425
|
+
<li class="never" data-hits="" data-linenumber="11">
|
89554
89426
|
|
89555
89427
|
|
89556
89428
|
|
@@ -89565,9 +89437,9 @@
|
|
89565
89437
|
</div>
|
89566
89438
|
|
89567
89439
|
|
89568
|
-
<div class="source_table" id="
|
89440
|
+
<div class="source_table" id="3b55dbb5010cb1a045ed1abdd394dea2e7780315">
|
89569
89441
|
<div class="header">
|
89570
|
-
<h3>spec/models/bxml/
|
89442
|
+
<h3>spec/models/bxml/response_spec.rb</h3>
|
89571
89443
|
<h4>
|
89572
89444
|
<span class="green">
|
89573
89445
|
100.0%
|
@@ -89579,8 +89451,8 @@
|
|
89579
89451
|
|
89580
89452
|
|
89581
89453
|
<div class="t-line-summary">
|
89582
|
-
<b>
|
89583
|
-
<span class="green"><b>
|
89454
|
+
<b>26</b> relevant lines.
|
89455
|
+
<span class="green"><b>26</b> lines covered</span> and
|
89584
89456
|
<span class="red"><b>0</b> lines missed.</span>
|
89585
89457
|
</div>
|
89586
89458
|
|
@@ -89598,7 +89470,7 @@
|
|
89598
89470
|
|
89599
89471
|
|
89600
89472
|
|
89601
|
-
<code class="ruby"># Unit tests for Bandwidth::Bxml::
|
89473
|
+
<code class="ruby"># Unit tests for Bandwidth::Bxml::Response</code>
|
89602
89474
|
</li>
|
89603
89475
|
</div>
|
89604
89476
|
|
@@ -89609,84 +89481,84 @@
|
|
89609
89481
|
|
89610
89482
|
|
89611
89483
|
|
89612
|
-
<code class="ruby">describe 'Bandwidth::Bxml::
|
89484
|
+
<code class="ruby">describe 'Bandwidth::Bxml::Response' do</code>
|
89613
89485
|
</li>
|
89614
89486
|
</div>
|
89615
89487
|
|
89616
89488
|
<div>
|
89617
|
-
<li class="covered" data-hits="
|
89618
|
-
<span class="hits">
|
89489
|
+
<li class="covered" data-hits="5" data-linenumber="3">
|
89490
|
+
<span class="hits">5</span>
|
89619
89491
|
|
89620
89492
|
|
89621
89493
|
|
89622
89494
|
|
89623
|
-
<code class="ruby"> let(:
|
89495
|
+
<code class="ruby"> let(:instance) { Bandwidth::Bxml::Response.new }</code>
|
89624
89496
|
</li>
|
89625
89497
|
</div>
|
89626
89498
|
|
89627
89499
|
<div>
|
89628
|
-
<li class="
|
89629
|
-
|
89500
|
+
<li class="covered" data-hits="5" data-linenumber="4">
|
89501
|
+
<span class="hits">5</span>
|
89630
89502
|
|
89631
89503
|
|
89632
89504
|
|
89633
89505
|
|
89634
|
-
<code class="ruby">
|
89506
|
+
<code class="ruby"> let(:pause_recording) { Bandwidth::Bxml::PauseRecording.new }</code>
|
89635
89507
|
</li>
|
89636
89508
|
</div>
|
89637
89509
|
|
89638
89510
|
<div>
|
89639
|
-
<li class="
|
89640
|
-
|
89511
|
+
<li class="never" data-hits="" data-linenumber="5">
|
89512
|
+
|
89641
89513
|
|
89642
89514
|
|
89643
89515
|
|
89644
89516
|
|
89645
|
-
<code class="ruby"
|
89517
|
+
<code class="ruby"></code>
|
89646
89518
|
</li>
|
89647
89519
|
</div>
|
89648
89520
|
|
89649
89521
|
<div>
|
89650
|
-
<li class="
|
89651
|
-
|
89522
|
+
<li class="covered" data-hits="1" data-linenumber="6">
|
89523
|
+
<span class="hits">1</span>
|
89652
89524
|
|
89653
89525
|
|
89654
89526
|
|
89655
89527
|
|
89656
|
-
<code class="ruby">
|
89528
|
+
<code class="ruby"> describe 'test an instance of Response' do</code>
|
89657
89529
|
</li>
|
89658
89530
|
</div>
|
89659
89531
|
|
89660
89532
|
<div>
|
89661
|
-
<li class="
|
89662
|
-
|
89533
|
+
<li class="covered" data-hits="1" data-linenumber="7">
|
89534
|
+
<span class="hits">1</span>
|
89663
89535
|
|
89664
89536
|
|
89665
89537
|
|
89666
89538
|
|
89667
|
-
<code class="ruby">
|
89539
|
+
<code class="ruby"> it 'validates instance of Response' do</code>
|
89668
89540
|
</li>
|
89669
89541
|
</div>
|
89670
89542
|
|
89671
89543
|
<div>
|
89672
|
-
<li class="
|
89673
|
-
|
89544
|
+
<li class="covered" data-hits="1" data-linenumber="8">
|
89545
|
+
<span class="hits">1</span>
|
89674
89546
|
|
89675
89547
|
|
89676
89548
|
|
89677
89549
|
|
89678
|
-
<code class="ruby">
|
89550
|
+
<code class="ruby"> expect(instance).to be_instance_of(Bandwidth::Bxml::Response)</code>
|
89679
89551
|
</li>
|
89680
89552
|
</div>
|
89681
89553
|
|
89682
89554
|
<div>
|
89683
|
-
<li class="
|
89684
|
-
|
89555
|
+
<li class="covered" data-hits="1" data-linenumber="9">
|
89556
|
+
<span class="hits">1</span>
|
89685
89557
|
|
89686
89558
|
|
89687
89559
|
|
89688
89560
|
|
89689
|
-
<code class="ruby">
|
89561
|
+
<code class="ruby"> expect(instance).to be_a(Bandwidth::Bxml::Root)</code>
|
89690
89562
|
</li>
|
89691
89563
|
</div>
|
89692
89564
|
|
@@ -89697,7 +89569,7 @@
|
|
89697
89569
|
|
89698
89570
|
|
89699
89571
|
|
89700
|
-
<code class="ruby">
|
89572
|
+
<code class="ruby"> end</code>
|
89701
89573
|
</li>
|
89702
89574
|
</div>
|
89703
89575
|
|
@@ -89708,51 +89580,51 @@
|
|
89708
89580
|
|
89709
89581
|
|
89710
89582
|
|
89711
|
-
<code class="ruby"
|
89583
|
+
<code class="ruby"></code>
|
89712
89584
|
</li>
|
89713
89585
|
</div>
|
89714
89586
|
|
89715
89587
|
<div>
|
89716
|
-
<li class="
|
89717
|
-
|
89588
|
+
<li class="covered" data-hits="1" data-linenumber="12">
|
89589
|
+
<span class="hits">1</span>
|
89718
89590
|
|
89719
89591
|
|
89720
89592
|
|
89721
89593
|
|
89722
|
-
<code class="ruby">
|
89594
|
+
<code class="ruby"> it 'test initializing with a single nested verb' do</code>
|
89723
89595
|
</li>
|
89724
89596
|
</div>
|
89725
89597
|
|
89726
89598
|
<div>
|
89727
|
-
<li class="
|
89728
|
-
|
89599
|
+
<li class="covered" data-hits="1" data-linenumber="13">
|
89600
|
+
<span class="hits">1</span>
|
89729
89601
|
|
89730
89602
|
|
89731
89603
|
|
89732
89604
|
|
89733
|
-
<code class="ruby">
|
89605
|
+
<code class="ruby"> instance = Bandwidth::Bxml::Response.new(pause_recording)</code>
|
89734
89606
|
</li>
|
89735
89607
|
</div>
|
89736
89608
|
|
89737
89609
|
<div>
|
89738
|
-
<li class="
|
89739
|
-
|
89610
|
+
<li class="covered" data-hits="1" data-linenumber="14">
|
89611
|
+
<span class="hits">1</span>
|
89740
89612
|
|
89741
89613
|
|
89742
89614
|
|
89743
89615
|
|
89744
|
-
<code class="ruby">
|
89616
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response>\n <PauseRecording/>\n</Response>\n"</code>
|
89745
89617
|
</li>
|
89746
89618
|
</div>
|
89747
89619
|
|
89748
89620
|
<div>
|
89749
|
-
<li class="
|
89750
|
-
|
89621
|
+
<li class="covered" data-hits="1" data-linenumber="15">
|
89622
|
+
<span class="hits">1</span>
|
89751
89623
|
|
89752
89624
|
|
89753
89625
|
|
89754
89626
|
|
89755
|
-
<code class="ruby">
|
89627
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89756
89628
|
</li>
|
89757
89629
|
</div>
|
89758
89630
|
|
@@ -89763,7 +89635,7 @@
|
|
89763
89635
|
|
89764
89636
|
|
89765
89637
|
|
89766
|
-
<code class="ruby">
|
89638
|
+
<code class="ruby"> end</code>
|
89767
89639
|
</li>
|
89768
89640
|
</div>
|
89769
89641
|
|
@@ -89774,40 +89646,40 @@
|
|
89774
89646
|
|
89775
89647
|
|
89776
89648
|
|
89777
|
-
<code class="ruby"
|
89649
|
+
<code class="ruby"></code>
|
89778
89650
|
</li>
|
89779
89651
|
</div>
|
89780
89652
|
|
89781
89653
|
<div>
|
89782
|
-
<li class="
|
89783
|
-
|
89654
|
+
<li class="covered" data-hits="1" data-linenumber="18">
|
89655
|
+
<span class="hits">1</span>
|
89784
89656
|
|
89785
89657
|
|
89786
89658
|
|
89787
89659
|
|
89788
|
-
<code class="ruby">
|
89660
|
+
<code class="ruby"> it 'test initializing with multiple nested verbs' do</code>
|
89789
89661
|
</li>
|
89790
89662
|
</div>
|
89791
89663
|
|
89792
89664
|
<div>
|
89793
|
-
<li class="
|
89794
|
-
|
89665
|
+
<li class="covered" data-hits="1" data-linenumber="19">
|
89666
|
+
<span class="hits">1</span>
|
89795
89667
|
|
89796
89668
|
|
89797
89669
|
|
89798
89670
|
|
89799
|
-
<code class="ruby">
|
89671
|
+
<code class="ruby"> instance = Bandwidth::Bxml::Response.new([pause_recording, pause_recording])</code>
|
89800
89672
|
</li>
|
89801
89673
|
</div>
|
89802
89674
|
|
89803
89675
|
<div>
|
89804
|
-
<li class="
|
89805
|
-
|
89676
|
+
<li class="covered" data-hits="1" data-linenumber="20">
|
89677
|
+
<span class="hits">1</span>
|
89806
89678
|
|
89807
89679
|
|
89808
89680
|
|
89809
89681
|
|
89810
|
-
<code class="ruby"
|
89682
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response>\n <PauseRecording/>\n <PauseRecording/>\n</Response>\n"</code>
|
89811
89683
|
</li>
|
89812
89684
|
</div>
|
89813
89685
|
|
@@ -89818,7 +89690,7 @@
|
|
89818
89690
|
|
89819
89691
|
|
89820
89692
|
|
89821
|
-
<code class="ruby">
|
89693
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89822
89694
|
</li>
|
89823
89695
|
</div>
|
89824
89696
|
|
@@ -89829,62 +89701,62 @@
|
|
89829
89701
|
|
89830
89702
|
|
89831
89703
|
|
89832
|
-
<code class="ruby">
|
89704
|
+
<code class="ruby"> end</code>
|
89833
89705
|
</li>
|
89834
89706
|
</div>
|
89835
89707
|
|
89836
89708
|
<div>
|
89837
|
-
<li class="
|
89838
|
-
|
89709
|
+
<li class="never" data-hits="" data-linenumber="23">
|
89710
|
+
|
89839
89711
|
|
89840
89712
|
|
89841
89713
|
|
89842
89714
|
|
89843
|
-
<code class="ruby"
|
89715
|
+
<code class="ruby"></code>
|
89844
89716
|
</li>
|
89845
89717
|
</div>
|
89846
89718
|
|
89847
89719
|
<div>
|
89848
|
-
<li class="
|
89849
|
-
|
89720
|
+
<li class="covered" data-hits="1" data-linenumber="24">
|
89721
|
+
<span class="hits">1</span>
|
89850
89722
|
|
89851
89723
|
|
89852
89724
|
|
89853
89725
|
|
89854
|
-
<code class="ruby">
|
89726
|
+
<code class="ruby"> it 'test adding a single verb to the Response instance' do</code>
|
89855
89727
|
</li>
|
89856
89728
|
</div>
|
89857
89729
|
|
89858
89730
|
<div>
|
89859
|
-
<li class="
|
89860
|
-
|
89731
|
+
<li class="covered" data-hits="1" data-linenumber="25">
|
89732
|
+
<span class="hits">1</span>
|
89861
89733
|
|
89862
89734
|
|
89863
89735
|
|
89864
89736
|
|
89865
|
-
<code class="ruby">
|
89737
|
+
<code class="ruby"> instance.add_verbs(pause_recording)</code>
|
89866
89738
|
</li>
|
89867
89739
|
</div>
|
89868
89740
|
|
89869
89741
|
<div>
|
89870
|
-
<li class="
|
89871
|
-
|
89742
|
+
<li class="covered" data-hits="1" data-linenumber="26">
|
89743
|
+
<span class="hits">1</span>
|
89872
89744
|
|
89873
89745
|
|
89874
89746
|
|
89875
89747
|
|
89876
|
-
<code class="ruby">
|
89748
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response>\n <PauseRecording/>\n</Response>\n"</code>
|
89877
89749
|
</li>
|
89878
89750
|
</div>
|
89879
89751
|
|
89880
89752
|
<div>
|
89881
|
-
<li class="
|
89882
|
-
|
89753
|
+
<li class="covered" data-hits="1" data-linenumber="27">
|
89754
|
+
<span class="hits">1</span>
|
89883
89755
|
|
89884
89756
|
|
89885
89757
|
|
89886
89758
|
|
89887
|
-
<code class="ruby">
|
89759
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89888
89760
|
</li>
|
89889
89761
|
</div>
|
89890
89762
|
|
@@ -89895,7 +89767,7 @@
|
|
89895
89767
|
|
89896
89768
|
|
89897
89769
|
|
89898
|
-
<code class="ruby">
|
89770
|
+
<code class="ruby"> end</code>
|
89899
89771
|
</li>
|
89900
89772
|
</div>
|
89901
89773
|
|
@@ -89906,51 +89778,51 @@
|
|
89906
89778
|
|
89907
89779
|
|
89908
89780
|
|
89909
|
-
<code class="ruby"
|
89781
|
+
<code class="ruby"></code>
|
89910
89782
|
</li>
|
89911
89783
|
</div>
|
89912
89784
|
|
89913
89785
|
<div>
|
89914
|
-
<li class="
|
89915
|
-
|
89786
|
+
<li class="covered" data-hits="1" data-linenumber="30">
|
89787
|
+
<span class="hits">1</span>
|
89916
89788
|
|
89917
89789
|
|
89918
89790
|
|
89919
89791
|
|
89920
|
-
<code class="ruby">
|
89792
|
+
<code class="ruby"> it 'test adding multiple verbs to the Response instance' do</code>
|
89921
89793
|
</li>
|
89922
89794
|
</div>
|
89923
89795
|
|
89924
89796
|
<div>
|
89925
|
-
<li class="
|
89926
|
-
|
89797
|
+
<li class="covered" data-hits="1" data-linenumber="31">
|
89798
|
+
<span class="hits">1</span>
|
89927
89799
|
|
89928
89800
|
|
89929
89801
|
|
89930
89802
|
|
89931
|
-
<code class="ruby">
|
89803
|
+
<code class="ruby"> instance.add_verbs([pause_recording, pause_recording])</code>
|
89932
89804
|
</li>
|
89933
89805
|
</div>
|
89934
89806
|
|
89935
89807
|
<div>
|
89936
|
-
<li class="
|
89937
|
-
|
89808
|
+
<li class="covered" data-hits="1" data-linenumber="32">
|
89809
|
+
<span class="hits">1</span>
|
89938
89810
|
|
89939
89811
|
|
89940
89812
|
|
89941
89813
|
|
89942
|
-
<code class="ruby">
|
89814
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response>\n <PauseRecording/>\n <PauseRecording/>\n</Response>\n"</code>
|
89943
89815
|
</li>
|
89944
89816
|
</div>
|
89945
89817
|
|
89946
89818
|
<div>
|
89947
|
-
<li class="
|
89948
|
-
|
89819
|
+
<li class="covered" data-hits="1" data-linenumber="33">
|
89820
|
+
<span class="hits">1</span>
|
89949
89821
|
|
89950
89822
|
|
89951
89823
|
|
89952
89824
|
|
89953
|
-
<code class="ruby">
|
89825
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
89954
89826
|
</li>
|
89955
89827
|
</div>
|
89956
89828
|
|
@@ -89961,7 +89833,7 @@
|
|
89961
89833
|
|
89962
89834
|
|
89963
89835
|
|
89964
|
-
<code class="ruby">
|
89836
|
+
<code class="ruby"> end</code>
|
89965
89837
|
</li>
|
89966
89838
|
</div>
|
89967
89839
|
|
@@ -89972,51 +89844,51 @@
|
|
89972
89844
|
|
89973
89845
|
|
89974
89846
|
|
89975
|
-
<code class="ruby"
|
89847
|
+
<code class="ruby"></code>
|
89976
89848
|
</li>
|
89977
89849
|
</div>
|
89978
89850
|
|
89979
89851
|
<div>
|
89980
|
-
<li class="
|
89981
|
-
|
89852
|
+
<li class="covered" data-hits="1" data-linenumber="36">
|
89853
|
+
<span class="hits">1</span>
|
89982
89854
|
|
89983
89855
|
|
89984
89856
|
|
89985
89857
|
|
89986
|
-
<code class="ruby">
|
89858
|
+
<code class="ruby"> it 'test the to_bxml method of the Response instance' do</code>
|
89987
89859
|
</li>
|
89988
89860
|
</div>
|
89989
89861
|
|
89990
89862
|
<div>
|
89991
|
-
<li class="
|
89992
|
-
|
89863
|
+
<li class="covered" data-hits="1" data-linenumber="37">
|
89864
|
+
<span class="hits">1</span>
|
89993
89865
|
|
89994
89866
|
|
89995
89867
|
|
89996
89868
|
|
89997
|
-
<code class="ruby">
|
89869
|
+
<code class="ruby"> expected = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response/>\n"</code>
|
89998
89870
|
</li>
|
89999
89871
|
</div>
|
90000
89872
|
|
90001
89873
|
<div>
|
90002
|
-
<li class="
|
90003
|
-
|
89874
|
+
<li class="covered" data-hits="1" data-linenumber="38">
|
89875
|
+
<span class="hits">1</span>
|
90004
89876
|
|
90005
89877
|
|
90006
89878
|
|
90007
89879
|
|
90008
|
-
<code class="ruby"
|
89880
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
90009
89881
|
</li>
|
90010
89882
|
</div>
|
90011
89883
|
|
90012
89884
|
<div>
|
90013
|
-
<li class="
|
90014
|
-
|
89885
|
+
<li class="never" data-hits="" data-linenumber="39">
|
89886
|
+
|
90015
89887
|
|
90016
89888
|
|
90017
89889
|
|
90018
89890
|
|
90019
|
-
<code class="ruby">
|
89891
|
+
<code class="ruby"> end</code>
|
90020
89892
|
</li>
|
90021
89893
|
</div>
|
90022
89894
|
|
@@ -90027,111 +89899,131 @@
|
|
90027
89899
|
|
90028
89900
|
|
90029
89901
|
|
90030
|
-
<code class="ruby"
|
89902
|
+
<code class="ruby"> end</code>
|
90031
89903
|
</li>
|
90032
89904
|
</div>
|
90033
89905
|
|
90034
89906
|
<div>
|
90035
|
-
<li class="
|
90036
|
-
|
89907
|
+
<li class="never" data-hits="" data-linenumber="41">
|
89908
|
+
|
90037
89909
|
|
90038
89910
|
|
90039
89911
|
|
90040
89912
|
|
90041
|
-
<code class="ruby">
|
89913
|
+
<code class="ruby">end</code>
|
90042
89914
|
</li>
|
90043
89915
|
</div>
|
90044
89916
|
|
90045
|
-
|
90046
|
-
|
90047
|
-
|
90048
|
-
|
89917
|
+
</ol>
|
89918
|
+
</pre>
|
89919
|
+
</div>
|
90049
89920
|
|
90050
|
-
|
89921
|
+
|
89922
|
+
<div class="source_table" id="4800e8d7b613fac60354fc95107fb957bd9860ae">
|
89923
|
+
<div class="header">
|
89924
|
+
<h3>spec/models/bxml/verb_spec.rb</h3>
|
89925
|
+
<h4>
|
89926
|
+
<span class="green">
|
89927
|
+
100.0%
|
89928
|
+
</span>
|
90051
89929
|
|
90052
|
-
|
90053
|
-
|
90054
|
-
|
89930
|
+
lines covered
|
89931
|
+
</h4>
|
89932
|
+
|
89933
|
+
|
89934
|
+
|
89935
|
+
<div class="t-line-summary">
|
89936
|
+
<b>8</b> relevant lines.
|
89937
|
+
<span class="green"><b>8</b> lines covered</span> and
|
89938
|
+
<span class="red"><b>0</b> lines missed.</span>
|
89939
|
+
</div>
|
89940
|
+
|
89941
|
+
|
89942
|
+
|
89943
|
+
</div>
|
89944
|
+
|
89945
|
+
<pre>
|
89946
|
+
<ol>
|
90055
89947
|
|
90056
89948
|
<div>
|
90057
|
-
<li class="
|
90058
|
-
|
89949
|
+
<li class="never" data-hits="" data-linenumber="1">
|
89950
|
+
|
90059
89951
|
|
90060
89952
|
|
90061
89953
|
|
90062
89954
|
|
90063
|
-
<code class="ruby"
|
89955
|
+
<code class="ruby"># Unit tests for Bandwidth::Bxml::Verb</code>
|
90064
89956
|
</li>
|
90065
89957
|
</div>
|
90066
89958
|
|
90067
89959
|
<div>
|
90068
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89960
|
+
<li class="covered" data-hits="1" data-linenumber="2">
|
90069
89961
|
<span class="hits">1</span>
|
90070
89962
|
|
90071
89963
|
|
90072
89964
|
|
90073
89965
|
|
90074
|
-
<code class="ruby">
|
89966
|
+
<code class="ruby">describe 'Bandwidth::Bxml::Verb' do</code>
|
90075
89967
|
</li>
|
90076
89968
|
</div>
|
90077
89969
|
|
90078
89970
|
<div>
|
90079
|
-
<li class="
|
90080
|
-
|
89971
|
+
<li class="covered" data-hits="3" data-linenumber="3">
|
89972
|
+
<span class="hits">3</span>
|
90081
89973
|
|
90082
89974
|
|
90083
89975
|
|
90084
89976
|
|
90085
|
-
<code class="ruby">
|
89977
|
+
<code class="ruby"> let(:instance) { Bandwidth::Bxml::Verb.new('Test') }</code>
|
90086
89978
|
</li>
|
90087
89979
|
</div>
|
90088
89980
|
|
90089
89981
|
<div>
|
90090
|
-
<li class="never" data-hits="" data-linenumber="
|
89982
|
+
<li class="never" data-hits="" data-linenumber="4">
|
90091
89983
|
|
90092
89984
|
|
90093
89985
|
|
90094
89986
|
|
90095
89987
|
|
90096
|
-
<code class="ruby"
|
89988
|
+
<code class="ruby"> </code>
|
90097
89989
|
</li>
|
90098
89990
|
</div>
|
90099
89991
|
|
90100
89992
|
<div>
|
90101
|
-
<li class="covered" data-hits="1" data-linenumber="
|
89993
|
+
<li class="covered" data-hits="1" data-linenumber="5">
|
90102
89994
|
<span class="hits">1</span>
|
90103
89995
|
|
90104
89996
|
|
90105
89997
|
|
90106
89998
|
|
90107
|
-
<code class="ruby">
|
89999
|
+
<code class="ruby"> describe 'test an instance of Verb' do</code>
|
90108
90000
|
</li>
|
90109
90001
|
</div>
|
90110
90002
|
|
90111
90003
|
<div>
|
90112
|
-
<li class="covered" data-hits="1" data-linenumber="
|
90004
|
+
<li class="covered" data-hits="1" data-linenumber="6">
|
90113
90005
|
<span class="hits">1</span>
|
90114
90006
|
|
90115
90007
|
|
90116
90008
|
|
90117
90009
|
|
90118
|
-
<code class="ruby">
|
90010
|
+
<code class="ruby"> it 'validates instance of Verb' do</code>
|
90119
90011
|
</li>
|
90120
90012
|
</div>
|
90121
90013
|
|
90122
90014
|
<div>
|
90123
|
-
<li class="covered" data-hits="1" data-linenumber="
|
90015
|
+
<li class="covered" data-hits="1" data-linenumber="7">
|
90124
90016
|
<span class="hits">1</span>
|
90125
90017
|
|
90126
90018
|
|
90127
90019
|
|
90128
90020
|
|
90129
|
-
<code class="ruby"> expect(instance
|
90021
|
+
<code class="ruby"> expect(instance).to be_a(Bandwidth::Bxml::Verb)</code>
|
90130
90022
|
</li>
|
90131
90023
|
</div>
|
90132
90024
|
|
90133
90025
|
<div>
|
90134
|
-
<li class="never" data-hits="" data-linenumber="
|
90026
|
+
<li class="never" data-hits="" data-linenumber="8">
|
90135
90027
|
|
90136
90028
|
|
90137
90029
|
|
@@ -90142,7 +90034,7 @@
|
|
90142
90034
|
</div>
|
90143
90035
|
|
90144
90036
|
<div>
|
90145
|
-
<li class="never" data-hits="" data-linenumber="
|
90037
|
+
<li class="never" data-hits="" data-linenumber="9">
|
90146
90038
|
|
90147
90039
|
|
90148
90040
|
|
@@ -90153,40 +90045,29 @@
|
|
90153
90045
|
</div>
|
90154
90046
|
|
90155
90047
|
<div>
|
90156
|
-
<li class="covered" data-hits="1" data-linenumber="
|
90157
|
-
<span class="hits">1</span>
|
90158
|
-
|
90159
|
-
|
90160
|
-
|
90161
|
-
|
90162
|
-
<code class="ruby"> it 'tests the set_attributes method of the Bridge instance' do</code>
|
90163
|
-
</li>
|
90164
|
-
</div>
|
90165
|
-
|
90166
|
-
<div>
|
90167
|
-
<li class="covered" data-hits="1" data-linenumber="53">
|
90048
|
+
<li class="covered" data-hits="1" data-linenumber="10">
|
90168
90049
|
<span class="hits">1</span>
|
90169
90050
|
|
90170
90051
|
|
90171
90052
|
|
90172
90053
|
|
90173
|
-
<code class="ruby">
|
90054
|
+
<code class="ruby"> it 'tests the to_bxml method of the Verb instance' do</code>
|
90174
90055
|
</li>
|
90175
90056
|
</div>
|
90176
90057
|
|
90177
90058
|
<div>
|
90178
|
-
<li class="covered" data-hits="1" data-linenumber="
|
90059
|
+
<li class="covered" data-hits="1" data-linenumber="11">
|
90179
90060
|
<span class="hits">1</span>
|
90180
90061
|
|
90181
90062
|
|
90182
90063
|
|
90183
90064
|
|
90184
|
-
<code class="ruby"> expected = "\n<
|
90065
|
+
<code class="ruby"> expected = "\n<Test/>\n"</code>
|
90185
90066
|
</li>
|
90186
90067
|
</div>
|
90187
90068
|
|
90188
90069
|
<div>
|
90189
|
-
<li class="covered" data-hits="1" data-linenumber="
|
90070
|
+
<li class="covered" data-hits="1" data-linenumber="12">
|
90190
90071
|
<span class="hits">1</span>
|
90191
90072
|
|
90192
90073
|
|
@@ -90197,7 +90078,7 @@
|
|
90197
90078
|
</div>
|
90198
90079
|
|
90199
90080
|
<div>
|
90200
|
-
<li class="never" data-hits="" data-linenumber="
|
90081
|
+
<li class="never" data-hits="" data-linenumber="13">
|
90201
90082
|
|
90202
90083
|
|
90203
90084
|
|
@@ -90208,7 +90089,7 @@
|
|
90208
90089
|
</div>
|
90209
90090
|
|
90210
90091
|
<div>
|
90211
|
-
<li class="never" data-hits="" data-linenumber="
|
90092
|
+
<li class="never" data-hits="" data-linenumber="14">
|
90212
90093
|
|
90213
90094
|
|
90214
90095
|
|
@@ -90219,7 +90100,7 @@
|
|
90219
90100
|
</div>
|
90220
90101
|
|
90221
90102
|
<div>
|
90222
|
-
<li class="never" data-hits="" data-linenumber="
|
90103
|
+
<li class="never" data-hits="" data-linenumber="15">
|
90223
90104
|
|
90224
90105
|
|
90225
90106
|
|
@@ -90234,9 +90115,9 @@
|
|
90234
90115
|
</div>
|
90235
90116
|
|
90236
90117
|
|
90237
|
-
<div class="source_table" id="
|
90118
|
+
<div class="source_table" id="5cdc07b48a44a6fa788925d830ffcc363ea16282">
|
90238
90119
|
<div class="header">
|
90239
|
-
<h3>spec/models/bxml/verbs/
|
90120
|
+
<h3>spec/models/bxml/verbs/bridge_spec.rb</h3>
|
90240
90121
|
<h4>
|
90241
90122
|
<span class="green">
|
90242
90123
|
100.0%
|
@@ -90267,7 +90148,7 @@
|
|
90267
90148
|
|
90268
90149
|
|
90269
90150
|
|
90270
|
-
<code class="ruby"># Unit tests for Bandwidth::Bxml::
|
90151
|
+
<code class="ruby"># Unit tests for Bandwidth::Bxml::Bridge</code>
|
90271
90152
|
</li>
|
90272
90153
|
</div>
|
90273
90154
|
|
@@ -90278,7 +90159,7 @@
|
|
90278
90159
|
|
90279
90160
|
|
90280
90161
|
|
90281
|
-
<code class="ruby">describe 'Bandwidth::Bxml::
|
90162
|
+
<code class="ruby">describe 'Bandwidth::Bxml::Bridge' do</code>
|
90282
90163
|
</li>
|
90283
90164
|
</div>
|
90284
90165
|
|
@@ -90311,7 +90192,7 @@
|
|
90311
90192
|
|
90312
90193
|
|
90313
90194
|
|
90314
|
-
<code class="ruby">
|
90195
|
+
<code class="ruby"> bridge_complete_url: 'https://initial.com',</code>
|
90315
90196
|
</li>
|
90316
90197
|
</div>
|
90317
90198
|
|
@@ -90322,7 +90203,7 @@
|
|
90322
90203
|
|
90323
90204
|
|
90324
90205
|
|
90325
|
-
<code class="ruby">
|
90206
|
+
<code class="ruby"> bridge_complete_method: 'POST',</code>
|
90326
90207
|
</li>
|
90327
90208
|
</div>
|
90328
90209
|
|
@@ -90333,7 +90214,7 @@
|
|
90333
90214
|
|
90334
90215
|
|
90335
90216
|
|
90336
|
-
<code class="ruby">
|
90217
|
+
<code class="ruby"> bridge_complete_fallback_url: 'https://initial.com',</code>
|
90337
90218
|
</li>
|
90338
90219
|
</div>
|
90339
90220
|
|
@@ -90344,7 +90225,7 @@
|
|
90344
90225
|
|
90345
90226
|
|
90346
90227
|
|
90347
|
-
<code class="ruby">
|
90228
|
+
<code class="ruby"> bridge_complete_fallback_method: 'POST',</code>
|
90348
90229
|
</li>
|
90349
90230
|
</div>
|
90350
90231
|
|
@@ -90355,7 +90236,7 @@
|
|
90355
90236
|
|
90356
90237
|
|
90357
90238
|
|
90358
|
-
<code class="ruby">
|
90239
|
+
<code class="ruby"> bridge_target_complete_url: 'https://initial.com',</code>
|
90359
90240
|
</li>
|
90360
90241
|
</div>
|
90361
90242
|
|
@@ -90366,7 +90247,7 @@
|
|
90366
90247
|
|
90367
90248
|
|
90368
90249
|
|
90369
|
-
<code class="ruby">
|
90250
|
+
<code class="ruby"> bridge_target_complete_method: 'POST',</code>
|
90370
90251
|
</li>
|
90371
90252
|
</div>
|
90372
90253
|
|
@@ -90377,7 +90258,7 @@
|
|
90377
90258
|
|
90378
90259
|
|
90379
90260
|
|
90380
|
-
<code class="ruby">
|
90261
|
+
<code class="ruby"> bridge_target_complete_fallback_url: 'https://initial.com',</code>
|
90381
90262
|
</li>
|
90382
90263
|
</div>
|
90383
90264
|
|
@@ -90388,7 +90269,7 @@
|
|
90388
90269
|
|
90389
90270
|
|
90390
90271
|
|
90391
|
-
<code class="ruby">
|
90272
|
+
<code class="ruby"> bridge_target_complete_fallback_method: 'POST',</code>
|
90392
90273
|
</li>
|
90393
90274
|
</div>
|
90394
90275
|
|
@@ -90399,7 +90280,7 @@
|
|
90399
90280
|
|
90400
90281
|
|
90401
90282
|
|
90402
|
-
<code class="ruby">
|
90283
|
+
<code class="ruby"> username: 'initial_username',</code>
|
90403
90284
|
</li>
|
90404
90285
|
</div>
|
90405
90286
|
|
@@ -90410,7 +90291,7 @@
|
|
90410
90291
|
|
90411
90292
|
|
90412
90293
|
|
90413
|
-
<code class="ruby">
|
90294
|
+
<code class="ruby"> password: 'initial_password',</code>
|
90414
90295
|
</li>
|
90415
90296
|
</div>
|
90416
90297
|
|
@@ -90421,7 +90302,7 @@
|
|
90421
90302
|
|
90422
90303
|
|
90423
90304
|
|
90424
|
-
<code class="ruby">
|
90305
|
+
<code class="ruby"> fallback_username: 'initial_fallback_username',</code>
|
90425
90306
|
</li>
|
90426
90307
|
</div>
|
90427
90308
|
|
@@ -90432,7 +90313,7 @@
|
|
90432
90313
|
|
90433
90314
|
|
90434
90315
|
|
90435
|
-
<code class="ruby">
|
90316
|
+
<code class="ruby"> fallback_password: 'initial_fallback_password',</code>
|
90436
90317
|
</li>
|
90437
90318
|
</div>
|
90438
90319
|
|
@@ -90443,7 +90324,7 @@
|
|
90443
90324
|
|
90444
90325
|
|
90445
90326
|
|
90446
|
-
<code class="ruby">
|
90327
|
+
<code class="ruby"> tag: 'initial_tag'</code>
|
90447
90328
|
</li>
|
90448
90329
|
</div>
|
90449
90330
|
|
@@ -90509,7 +90390,7 @@
|
|
90509
90390
|
|
90510
90391
|
|
90511
90392
|
|
90512
|
-
<code class="ruby">
|
90393
|
+
<code class="ruby"> bridge_complete_url: 'https://new.com',</code>
|
90513
90394
|
</li>
|
90514
90395
|
</div>
|
90515
90396
|
|
@@ -90520,7 +90401,7 @@
|
|
90520
90401
|
|
90521
90402
|
|
90522
90403
|
|
90523
|
-
<code class="ruby">
|
90404
|
+
<code class="ruby"> bridge_complete_method: 'GET',</code>
|
90524
90405
|
</li>
|
90525
90406
|
</div>
|
90526
90407
|
|
@@ -90531,7 +90412,7 @@
|
|
90531
90412
|
|
90532
90413
|
|
90533
90414
|
|
90534
|
-
<code class="ruby">
|
90415
|
+
<code class="ruby"> bridge_complete_fallback_url: 'https://new.com',</code>
|
90535
90416
|
</li>
|
90536
90417
|
</div>
|
90537
90418
|
|
@@ -90542,7 +90423,7 @@
|
|
90542
90423
|
|
90543
90424
|
|
90544
90425
|
|
90545
|
-
<code class="ruby">
|
90426
|
+
<code class="ruby"> bridge_complete_fallback_method: 'GET',</code>
|
90546
90427
|
</li>
|
90547
90428
|
</div>
|
90548
90429
|
|
@@ -90553,7 +90434,7 @@
|
|
90553
90434
|
|
90554
90435
|
|
90555
90436
|
|
90556
|
-
<code class="ruby">
|
90437
|
+
<code class="ruby"> bridge_target_complete_url: 'https://new.com',</code>
|
90557
90438
|
</li>
|
90558
90439
|
</div>
|
90559
90440
|
|
@@ -90564,7 +90445,7 @@
|
|
90564
90445
|
|
90565
90446
|
|
90566
90447
|
|
90567
|
-
<code class="ruby">
|
90448
|
+
<code class="ruby"> bridge_target_complete_method: 'GET',</code>
|
90568
90449
|
</li>
|
90569
90450
|
</div>
|
90570
90451
|
|
@@ -90575,7 +90456,7 @@
|
|
90575
90456
|
|
90576
90457
|
|
90577
90458
|
|
90578
|
-
<code class="ruby">
|
90459
|
+
<code class="ruby"> bridge_target_complete_fallback_url: 'https://new.com',</code>
|
90579
90460
|
</li>
|
90580
90461
|
</div>
|
90581
90462
|
|
@@ -90586,7 +90467,7 @@
|
|
90586
90467
|
|
90587
90468
|
|
90588
90469
|
|
90589
|
-
<code class="ruby">
|
90470
|
+
<code class="ruby"> bridge_target_complete_fallback_method: 'GET',</code>
|
90590
90471
|
</li>
|
90591
90472
|
</div>
|
90592
90473
|
|
@@ -90597,7 +90478,7 @@
|
|
90597
90478
|
|
90598
90479
|
|
90599
90480
|
|
90600
|
-
<code class="ruby">
|
90481
|
+
<code class="ruby"> username: 'new_username',</code>
|
90601
90482
|
</li>
|
90602
90483
|
</div>
|
90603
90484
|
|
@@ -90608,7 +90489,7 @@
|
|
90608
90489
|
|
90609
90490
|
|
90610
90491
|
|
90611
|
-
<code class="ruby">
|
90492
|
+
<code class="ruby"> password: 'new_password',</code>
|
90612
90493
|
</li>
|
90613
90494
|
</div>
|
90614
90495
|
|
@@ -90619,7 +90500,7 @@
|
|
90619
90500
|
|
90620
90501
|
|
90621
90502
|
|
90622
|
-
<code class="ruby">
|
90503
|
+
<code class="ruby"> fallback_username: 'new_fallback_username',</code>
|
90623
90504
|
</li>
|
90624
90505
|
</div>
|
90625
90506
|
|
@@ -90630,7 +90511,7 @@
|
|
90630
90511
|
|
90631
90512
|
|
90632
90513
|
|
90633
|
-
<code class="ruby">
|
90514
|
+
<code class="ruby"> fallback_password: 'new_fallback_password',</code>
|
90634
90515
|
</li>
|
90635
90516
|
</div>
|
90636
90517
|
|
@@ -90641,7 +90522,7 @@
|
|
90641
90522
|
|
90642
90523
|
|
90643
90524
|
|
90644
|
-
<code class="ruby">
|
90525
|
+
<code class="ruby"> tag: 'new_tag'</code>
|
90645
90526
|
</li>
|
90646
90527
|
</div>
|
90647
90528
|
|
@@ -90685,7 +90566,7 @@
|
|
90685
90566
|
|
90686
90567
|
|
90687
90568
|
|
90688
|
-
<code class="ruby"> let(:instance) { Bandwidth::Bxml::
|
90569
|
+
<code class="ruby"> let(:instance) { Bandwidth::Bxml::Bridge.new('c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d', initial_attributes) }</code>
|
90689
90570
|
</li>
|
90690
90571
|
</div>
|
90691
90572
|
|
@@ -90707,7 +90588,7 @@
|
|
90707
90588
|
|
90708
90589
|
|
90709
90590
|
|
90710
|
-
<code class="ruby"> describe 'test an instance of
|
90591
|
+
<code class="ruby"> describe 'test an instance of Bridge' do</code>
|
90711
90592
|
</li>
|
90712
90593
|
</div>
|
90713
90594
|
|
@@ -90718,7 +90599,7 @@
|
|
90718
90599
|
|
90719
90600
|
|
90720
90601
|
|
90721
|
-
<code class="ruby"> it 'validates instance of
|
90602
|
+
<code class="ruby"> it 'validates instance of Bridge' do</code>
|
90722
90603
|
</li>
|
90723
90604
|
</div>
|
90724
90605
|
|
@@ -90729,7 +90610,7 @@
|
|
90729
90610
|
|
90730
90611
|
|
90731
90612
|
|
90732
|
-
<code class="ruby"> expect(instance).to be_instance_of(Bandwidth::Bxml::
|
90613
|
+
<code class="ruby"> expect(instance).to be_instance_of(Bandwidth::Bxml::Bridge)</code>
|
90733
90614
|
</li>
|
90734
90615
|
</div>
|
90735
90616
|
|
@@ -90773,7 +90654,7 @@
|
|
90773
90654
|
|
90774
90655
|
|
90775
90656
|
|
90776
|
-
<code class="ruby"> it 'tests the to_bxml method of the
|
90657
|
+
<code class="ruby"> it 'tests the to_bxml method of the Bridge instance' do</code>
|
90777
90658
|
</li>
|
90778
90659
|
</div>
|
90779
90660
|
|
@@ -90784,7 +90665,7 @@
|
|
90784
90665
|
|
90785
90666
|
|
90786
90667
|
|
90787
|
-
<code class="ruby"> expected = "\n<
|
90668
|
+
<code class="ruby"> expected = "\n<Bridge bridgeCompleteUrl=\"https://initial.com\" bridgeCompleteMethod=\"POST\" bridgeCompleteFallbackUrl=\"https://initial.com\" bridgeCompleteFallbackMethod=\"POST\" bridgeTargetCompleteUrl=\"https://initial.com\" bridgeTargetCompleteMethod=\"POST\" bridgeTargetCompleteFallbackUrl=\"https://initial.com\" bridgeTargetCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\">c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d</Bridge>\n"</code>
|
90788
90669
|
</li>
|
90789
90670
|
</div>
|
90790
90671
|
|
@@ -90828,7 +90709,7 @@
|
|
90828
90709
|
|
90829
90710
|
|
90830
90711
|
|
90831
|
-
<code class="ruby"> it 'tests the set_attributes method of the
|
90712
|
+
<code class="ruby"> it 'tests the set_attributes method of the Bridge instance' do</code>
|
90832
90713
|
</li>
|
90833
90714
|
</div>
|
90834
90715
|
|
@@ -90850,7 +90731,7 @@
|
|
90850
90731
|
|
90851
90732
|
|
90852
90733
|
|
90853
|
-
<code class="ruby"> expected = "\n<
|
90734
|
+
<code class="ruby"> expected = "\n<Bridge bridgeCompleteUrl=\"https://new.com\" bridgeCompleteMethod=\"GET\" bridgeCompleteFallbackUrl=\"https://new.com\" bridgeCompleteFallbackMethod=\"GET\" bridgeTargetCompleteUrl=\"https://new.com\" bridgeTargetCompleteMethod=\"GET\" bridgeTargetCompleteFallbackUrl=\"https://new.com\" bridgeTargetCompleteFallbackMethod=\"GET\" username=\"new_username\" password=\"new_password\" fallbackUsername=\"new_fallback_username\" fallbackPassword=\"new_fallback_password\" tag=\"new_tag\">c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d</Bridge>\n"</code>
|
90854
90735
|
</li>
|
90855
90736
|
</div>
|
90856
90737
|
|
@@ -90903,9 +90784,9 @@
|
|
90903
90784
|
</div>
|
90904
90785
|
|
90905
90786
|
|
90906
|
-
<div class="source_table" id="
|
90787
|
+
<div class="source_table" id="b41dcf3b40b79a8418f0b3dfb5ae33e528bbaaca">
|
90907
90788
|
<div class="header">
|
90908
|
-
<h3>spec/models/bxml/verbs/
|
90789
|
+
<h3>spec/models/bxml/verbs/conference_spec.rb</h3>
|
90909
90790
|
<h4>
|
90910
90791
|
<span class="green">
|
90911
90792
|
100.0%
|
@@ -90936,7 +90817,7 @@
|
|
90936
90817
|
|
90937
90818
|
|
90938
90819
|
|
90939
|
-
<code class="ruby"># Unit tests for Bandwidth::Bxml::
|
90820
|
+
<code class="ruby"># Unit tests for Bandwidth::Bxml::Conference</code>
|
90940
90821
|
</li>
|
90941
90822
|
</div>
|
90942
90823
|
|
@@ -90947,7 +90828,7 @@
|
|
90947
90828
|
|
90948
90829
|
|
90949
90830
|
|
90950
|
-
<code class="ruby">describe 'Bandwidth::Bxml::
|
90831
|
+
<code class="ruby">describe 'Bandwidth::Bxml::Conference' do</code>
|
90951
90832
|
</li>
|
90952
90833
|
</div>
|
90953
90834
|
|
@@ -90980,7 +90861,7 @@
|
|
90980
90861
|
|
90981
90862
|
|
90982
90863
|
|
90983
|
-
<code class="ruby">
|
90864
|
+
<code class="ruby"> mute: true,</code>
|
90984
90865
|
</li>
|
90985
90866
|
</div>
|
90986
90867
|
|
@@ -90991,7 +90872,7 @@
|
|
90991
90872
|
|
90992
90873
|
|
90993
90874
|
|
90994
|
-
<code class="ruby">
|
90875
|
+
<code class="ruby"> hold: true,</code>
|
90995
90876
|
</li>
|
90996
90877
|
</div>
|
90997
90878
|
|
@@ -91002,7 +90883,7 @@
|
|
91002
90883
|
|
91003
90884
|
|
91004
90885
|
|
91005
|
-
<code class="ruby">
|
90886
|
+
<code class="ruby"> call_ids_to_coach: 'initial',</code>
|
91006
90887
|
</li>
|
91007
90888
|
</div>
|
91008
90889
|
|
@@ -91013,7 +90894,7 @@
|
|
91013
90894
|
|
91014
90895
|
|
91015
90896
|
|
91016
|
-
<code class="ruby">
|
90897
|
+
<code class="ruby"> conference_event_url: 'https://initial.com',</code>
|
91017
90898
|
</li>
|
91018
90899
|
</div>
|
91019
90900
|
|
@@ -91024,12 +90905,133 @@
|
|
91024
90905
|
|
91025
90906
|
|
91026
90907
|
|
90908
|
+
<code class="ruby"> conference_event_method: 'POST',</code>
|
90909
|
+
</li>
|
90910
|
+
</div>
|
90911
|
+
|
90912
|
+
<div>
|
90913
|
+
<li class="never" data-hits="" data-linenumber="10">
|
90914
|
+
|
90915
|
+
|
90916
|
+
|
90917
|
+
|
90918
|
+
|
90919
|
+
<code class="ruby"> conference_event_fallback_url: 'https://initial.com',</code>
|
90920
|
+
</li>
|
90921
|
+
</div>
|
90922
|
+
|
90923
|
+
<div>
|
90924
|
+
<li class="never" data-hits="" data-linenumber="11">
|
90925
|
+
|
90926
|
+
|
90927
|
+
|
90928
|
+
|
90929
|
+
|
90930
|
+
<code class="ruby"> conference_event_fallback_method: 'POST',</code>
|
90931
|
+
</li>
|
90932
|
+
</div>
|
90933
|
+
|
90934
|
+
<div>
|
90935
|
+
<li class="never" data-hits="" data-linenumber="12">
|
90936
|
+
|
90937
|
+
|
90938
|
+
|
90939
|
+
|
90940
|
+
|
90941
|
+
<code class="ruby"> username: 'initial_username',</code>
|
90942
|
+
</li>
|
90943
|
+
</div>
|
90944
|
+
|
90945
|
+
<div>
|
90946
|
+
<li class="never" data-hits="" data-linenumber="13">
|
90947
|
+
|
90948
|
+
|
90949
|
+
|
90950
|
+
|
90951
|
+
|
90952
|
+
<code class="ruby"> password: 'initial_password',</code>
|
90953
|
+
</li>
|
90954
|
+
</div>
|
90955
|
+
|
90956
|
+
<div>
|
90957
|
+
<li class="never" data-hits="" data-linenumber="14">
|
90958
|
+
|
90959
|
+
|
90960
|
+
|
90961
|
+
|
90962
|
+
|
90963
|
+
<code class="ruby"> fallback_username: 'initial_fallback_username',</code>
|
90964
|
+
</li>
|
90965
|
+
</div>
|
90966
|
+
|
90967
|
+
<div>
|
90968
|
+
<li class="never" data-hits="" data-linenumber="15">
|
90969
|
+
|
90970
|
+
|
90971
|
+
|
90972
|
+
|
90973
|
+
|
90974
|
+
<code class="ruby"> fallback_password: 'initial_fallback_password',</code>
|
90975
|
+
</li>
|
90976
|
+
</div>
|
90977
|
+
|
90978
|
+
<div>
|
90979
|
+
<li class="never" data-hits="" data-linenumber="16">
|
90980
|
+
|
90981
|
+
|
90982
|
+
|
90983
|
+
|
90984
|
+
|
90985
|
+
<code class="ruby"> tag: 'initial_tag',</code>
|
90986
|
+
</li>
|
90987
|
+
</div>
|
90988
|
+
|
90989
|
+
<div>
|
90990
|
+
<li class="never" data-hits="" data-linenumber="17">
|
90991
|
+
|
90992
|
+
|
90993
|
+
|
90994
|
+
|
90995
|
+
|
90996
|
+
<code class="ruby"> callback_timeout: 5.0</code>
|
90997
|
+
</li>
|
90998
|
+
</div>
|
90999
|
+
|
91000
|
+
<div>
|
91001
|
+
<li class="never" data-hits="" data-linenumber="18">
|
91002
|
+
|
91003
|
+
|
91004
|
+
|
91005
|
+
|
91006
|
+
|
91007
|
+
<code class="ruby"> }</code>
|
91008
|
+
</li>
|
91009
|
+
</div>
|
91010
|
+
|
91011
|
+
<div>
|
91012
|
+
<li class="never" data-hits="" data-linenumber="19">
|
91013
|
+
|
91014
|
+
|
91015
|
+
|
91016
|
+
|
91017
|
+
|
91018
|
+
<code class="ruby"> }</code>
|
91019
|
+
</li>
|
91020
|
+
</div>
|
91021
|
+
|
91022
|
+
<div>
|
91023
|
+
<li class="never" data-hits="" data-linenumber="20">
|
91024
|
+
|
91025
|
+
|
91026
|
+
|
91027
|
+
|
91028
|
+
|
91027
91029
|
<code class="ruby"></code>
|
91028
91030
|
</li>
|
91029
91031
|
</div>
|
91030
91032
|
|
91031
91033
|
<div>
|
91032
|
-
<li class="covered" data-hits="1" data-linenumber="
|
91034
|
+
<li class="covered" data-hits="1" data-linenumber="21">
|
91033
91035
|
<span class="hits">1</span>
|
91034
91036
|
|
91035
91037
|
|
@@ -91040,7 +91042,7 @@
|
|
91040
91042
|
</div>
|
91041
91043
|
|
91042
91044
|
<div>
|
91043
|
-
<li class="never" data-hits="" data-linenumber="
|
91045
|
+
<li class="never" data-hits="" data-linenumber="22">
|
91044
91046
|
|
91045
91047
|
|
91046
91048
|
|
@@ -91051,29 +91053,150 @@
|
|
91051
91053
|
</div>
|
91052
91054
|
|
91053
91055
|
<div>
|
91054
|
-
<li class="covered" data-hits="1" data-linenumber="
|
91056
|
+
<li class="covered" data-hits="1" data-linenumber="23">
|
91055
91057
|
<span class="hits">1</span>
|
91056
91058
|
|
91057
91059
|
|
91058
91060
|
|
91059
91061
|
|
91060
|
-
<code class="ruby">
|
91062
|
+
<code class="ruby"> mute: false,</code>
|
91061
91063
|
</li>
|
91062
91064
|
</div>
|
91063
91065
|
|
91064
91066
|
<div>
|
91065
|
-
<li class="never" data-hits="" data-linenumber="
|
91067
|
+
<li class="never" data-hits="" data-linenumber="24">
|
91066
91068
|
|
91067
91069
|
|
91068
91070
|
|
91069
91071
|
|
91070
91072
|
|
91071
|
-
<code class="ruby">
|
91073
|
+
<code class="ruby"> hold: false,</code>
|
91072
91074
|
</li>
|
91073
91075
|
</div>
|
91074
91076
|
|
91075
91077
|
<div>
|
91076
|
-
<li class="never" data-hits="" data-linenumber="
|
91078
|
+
<li class="never" data-hits="" data-linenumber="25">
|
91079
|
+
|
91080
|
+
|
91081
|
+
|
91082
|
+
|
91083
|
+
|
91084
|
+
<code class="ruby"> call_ids_to_coach: 'new',</code>
|
91085
|
+
</li>
|
91086
|
+
</div>
|
91087
|
+
|
91088
|
+
<div>
|
91089
|
+
<li class="never" data-hits="" data-linenumber="26">
|
91090
|
+
|
91091
|
+
|
91092
|
+
|
91093
|
+
|
91094
|
+
|
91095
|
+
<code class="ruby"> conference_event_url: 'https://new.com',</code>
|
91096
|
+
</li>
|
91097
|
+
</div>
|
91098
|
+
|
91099
|
+
<div>
|
91100
|
+
<li class="never" data-hits="" data-linenumber="27">
|
91101
|
+
|
91102
|
+
|
91103
|
+
|
91104
|
+
|
91105
|
+
|
91106
|
+
<code class="ruby"> conference_event_method: 'GET',</code>
|
91107
|
+
</li>
|
91108
|
+
</div>
|
91109
|
+
|
91110
|
+
<div>
|
91111
|
+
<li class="never" data-hits="" data-linenumber="28">
|
91112
|
+
|
91113
|
+
|
91114
|
+
|
91115
|
+
|
91116
|
+
|
91117
|
+
<code class="ruby"> conference_event_fallback_url: 'https://new.com',</code>
|
91118
|
+
</li>
|
91119
|
+
</div>
|
91120
|
+
|
91121
|
+
<div>
|
91122
|
+
<li class="never" data-hits="" data-linenumber="29">
|
91123
|
+
|
91124
|
+
|
91125
|
+
|
91126
|
+
|
91127
|
+
|
91128
|
+
<code class="ruby"> conference_event_fallback_method: 'GET',</code>
|
91129
|
+
</li>
|
91130
|
+
</div>
|
91131
|
+
|
91132
|
+
<div>
|
91133
|
+
<li class="never" data-hits="" data-linenumber="30">
|
91134
|
+
|
91135
|
+
|
91136
|
+
|
91137
|
+
|
91138
|
+
|
91139
|
+
<code class="ruby"> username: 'new_username',</code>
|
91140
|
+
</li>
|
91141
|
+
</div>
|
91142
|
+
|
91143
|
+
<div>
|
91144
|
+
<li class="never" data-hits="" data-linenumber="31">
|
91145
|
+
|
91146
|
+
|
91147
|
+
|
91148
|
+
|
91149
|
+
|
91150
|
+
<code class="ruby"> password: 'new_password',</code>
|
91151
|
+
</li>
|
91152
|
+
</div>
|
91153
|
+
|
91154
|
+
<div>
|
91155
|
+
<li class="never" data-hits="" data-linenumber="32">
|
91156
|
+
|
91157
|
+
|
91158
|
+
|
91159
|
+
|
91160
|
+
|
91161
|
+
<code class="ruby"> fallback_username: 'new_fallback_username',</code>
|
91162
|
+
</li>
|
91163
|
+
</div>
|
91164
|
+
|
91165
|
+
<div>
|
91166
|
+
<li class="never" data-hits="" data-linenumber="33">
|
91167
|
+
|
91168
|
+
|
91169
|
+
|
91170
|
+
|
91171
|
+
|
91172
|
+
<code class="ruby"> fallback_password: 'new_fallback_password',</code>
|
91173
|
+
</li>
|
91174
|
+
</div>
|
91175
|
+
|
91176
|
+
<div>
|
91177
|
+
<li class="never" data-hits="" data-linenumber="34">
|
91178
|
+
|
91179
|
+
|
91180
|
+
|
91181
|
+
|
91182
|
+
|
91183
|
+
<code class="ruby"> tag: 'new_tag',</code>
|
91184
|
+
</li>
|
91185
|
+
</div>
|
91186
|
+
|
91187
|
+
<div>
|
91188
|
+
<li class="never" data-hits="" data-linenumber="35">
|
91189
|
+
|
91190
|
+
|
91191
|
+
|
91192
|
+
|
91193
|
+
|
91194
|
+
<code class="ruby"> callback_timeout: 10.0</code>
|
91195
|
+
</li>
|
91196
|
+
</div>
|
91197
|
+
|
91198
|
+
<div>
|
91199
|
+
<li class="never" data-hits="" data-linenumber="36">
|
91077
91200
|
|
91078
91201
|
|
91079
91202
|
|
@@ -91084,7 +91207,7 @@
|
|
91084
91207
|
</div>
|
91085
91208
|
|
91086
91209
|
<div>
|
91087
|
-
<li class="never" data-hits="" data-linenumber="
|
91210
|
+
<li class="never" data-hits="" data-linenumber="37">
|
91088
91211
|
|
91089
91212
|
|
91090
91213
|
|
@@ -91095,7 +91218,7 @@
|
|
91095
91218
|
</div>
|
91096
91219
|
|
91097
91220
|
<div>
|
91098
|
-
<li class="never" data-hits="" data-linenumber="
|
91221
|
+
<li class="never" data-hits="" data-linenumber="38">
|
91099
91222
|
|
91100
91223
|
|
91101
91224
|
|
@@ -91106,18 +91229,18 @@
|
|
91106
91229
|
</div>
|
91107
91230
|
|
91108
91231
|
<div>
|
91109
|
-
<li class="covered" data-hits="4" data-linenumber="
|
91232
|
+
<li class="covered" data-hits="4" data-linenumber="39">
|
91110
91233
|
<span class="hits">4</span>
|
91111
91234
|
|
91112
91235
|
|
91113
91236
|
|
91114
91237
|
|
91115
|
-
<code class="ruby"> let(:instance) { Bandwidth::Bxml::
|
91238
|
+
<code class="ruby"> let(:instance) { Bandwidth::Bxml::Conference.new('conference_name', initial_attributes) }</code>
|
91116
91239
|
</li>
|
91117
91240
|
</div>
|
91118
91241
|
|
91119
91242
|
<div>
|
91120
|
-
<li class="never" data-hits="" data-linenumber="
|
91243
|
+
<li class="never" data-hits="" data-linenumber="40">
|
91121
91244
|
|
91122
91245
|
|
91123
91246
|
|
@@ -91128,40 +91251,40 @@
|
|
91128
91251
|
</div>
|
91129
91252
|
|
91130
91253
|
<div>
|
91131
|
-
<li class="covered" data-hits="1" data-linenumber="
|
91254
|
+
<li class="covered" data-hits="1" data-linenumber="41">
|
91132
91255
|
<span class="hits">1</span>
|
91133
91256
|
|
91134
91257
|
|
91135
91258
|
|
91136
91259
|
|
91137
|
-
<code class="ruby"> describe 'test an instance of
|
91260
|
+
<code class="ruby"> describe 'test an instance of Conference' do</code>
|
91138
91261
|
</li>
|
91139
91262
|
</div>
|
91140
91263
|
|
91141
91264
|
<div>
|
91142
|
-
<li class="covered" data-hits="1" data-linenumber="
|
91265
|
+
<li class="covered" data-hits="1" data-linenumber="42">
|
91143
91266
|
<span class="hits">1</span>
|
91144
91267
|
|
91145
91268
|
|
91146
91269
|
|
91147
91270
|
|
91148
|
-
<code class="ruby"> it 'validates instance of
|
91271
|
+
<code class="ruby"> it 'validates instance of Conference' do</code>
|
91149
91272
|
</li>
|
91150
91273
|
</div>
|
91151
91274
|
|
91152
91275
|
<div>
|
91153
|
-
<li class="covered" data-hits="1" data-linenumber="
|
91276
|
+
<li class="covered" data-hits="1" data-linenumber="43">
|
91154
91277
|
<span class="hits">1</span>
|
91155
91278
|
|
91156
91279
|
|
91157
91280
|
|
91158
91281
|
|
91159
|
-
<code class="ruby"> expect(instance).to be_instance_of(Bandwidth::Bxml::
|
91282
|
+
<code class="ruby"> expect(instance).to be_instance_of(Bandwidth::Bxml::Conference)</code>
|
91160
91283
|
</li>
|
91161
91284
|
</div>
|
91162
91285
|
|
91163
91286
|
<div>
|
91164
|
-
<li class="covered" data-hits="1" data-linenumber="
|
91287
|
+
<li class="covered" data-hits="1" data-linenumber="44">
|
91165
91288
|
<span class="hits">1</span>
|
91166
91289
|
|
91167
91290
|
|
@@ -91172,7 +91295,7 @@
|
|
91172
91295
|
</div>
|
91173
91296
|
|
91174
91297
|
<div>
|
91175
|
-
<li class="never" data-hits="" data-linenumber="
|
91298
|
+
<li class="never" data-hits="" data-linenumber="45">
|
91176
91299
|
|
91177
91300
|
|
91178
91301
|
|
@@ -91183,7 +91306,7 @@
|
|
91183
91306
|
</div>
|
91184
91307
|
|
91185
91308
|
<div>
|
91186
|
-
<li class="never" data-hits="" data-linenumber="
|
91309
|
+
<li class="never" data-hits="" data-linenumber="46">
|
91187
91310
|
|
91188
91311
|
|
91189
91312
|
|
@@ -91194,29 +91317,29 @@
|
|
91194
91317
|
</div>
|
91195
91318
|
|
91196
91319
|
<div>
|
91197
|
-
<li class="covered" data-hits="1" data-linenumber="
|
91320
|
+
<li class="covered" data-hits="1" data-linenumber="47">
|
91198
91321
|
<span class="hits">1</span>
|
91199
91322
|
|
91200
91323
|
|
91201
91324
|
|
91202
91325
|
|
91203
|
-
<code class="ruby"> it 'tests the to_bxml method of the
|
91326
|
+
<code class="ruby"> it 'tests the to_bxml method of the Conference instance' do</code>
|
91204
91327
|
</li>
|
91205
91328
|
</div>
|
91206
91329
|
|
91207
91330
|
<div>
|
91208
|
-
<li class="covered" data-hits="1" data-linenumber="
|
91331
|
+
<li class="covered" data-hits="1" data-linenumber="48">
|
91209
91332
|
<span class="hits">1</span>
|
91210
91333
|
|
91211
91334
|
|
91212
91335
|
|
91213
91336
|
|
91214
|
-
<code class="ruby"> expected = "\n<
|
91337
|
+
<code class="ruby"> expected = "\n<Conference mute=\"true\" hold=\"true\" callIdsToCoach=\"initial\" conferenceEventUrl=\"https://initial.com\" conferenceEventMethod=\"POST\" conferenceEventFallbackUrl=\"https://initial.com\" conferenceEventFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" callbackTimeout=\"5.0\">conference_name</Conference>\n"</code>
|
91215
91338
|
</li>
|
91216
91339
|
</div>
|
91217
91340
|
|
91218
91341
|
<div>
|
91219
|
-
<li class="covered" data-hits="1" data-linenumber="
|
91342
|
+
<li class="covered" data-hits="1" data-linenumber="49">
|
91220
91343
|
<span class="hits">1</span>
|
91221
91344
|
|
91222
91345
|
|
@@ -91227,7 +91350,7 @@
|
|
91227
91350
|
</div>
|
91228
91351
|
|
91229
91352
|
<div>
|
91230
|
-
<li class="never" data-hits="" data-linenumber="
|
91353
|
+
<li class="never" data-hits="" data-linenumber="50">
|
91231
91354
|
|
91232
91355
|
|
91233
91356
|
|
@@ -91238,7 +91361,7 @@
|
|
91238
91361
|
</div>
|
91239
91362
|
|
91240
91363
|
<div>
|
91241
|
-
<li class="never" data-hits="" data-linenumber="
|
91364
|
+
<li class="never" data-hits="" data-linenumber="51">
|
91242
91365
|
|
91243
91366
|
|
91244
91367
|
|
@@ -91249,18 +91372,18 @@
|
|
91249
91372
|
</div>
|
91250
91373
|
|
91251
91374
|
<div>
|
91252
|
-
<li class="covered" data-hits="1" data-linenumber="
|
91375
|
+
<li class="covered" data-hits="1" data-linenumber="52">
|
91253
91376
|
<span class="hits">1</span>
|
91254
91377
|
|
91255
91378
|
|
91256
91379
|
|
91257
91380
|
|
91258
|
-
<code class="ruby"> it 'tests the set_attributes method of the
|
91381
|
+
<code class="ruby"> it 'tests the set_attributes method of the Conference instance' do</code>
|
91259
91382
|
</li>
|
91260
91383
|
</div>
|
91261
91384
|
|
91262
91385
|
<div>
|
91263
|
-
<li class="covered" data-hits="1" data-linenumber="
|
91386
|
+
<li class="covered" data-hits="1" data-linenumber="53">
|
91264
91387
|
<span class="hits">1</span>
|
91265
91388
|
|
91266
91389
|
|
@@ -91271,18 +91394,18 @@
|
|
91271
91394
|
</div>
|
91272
91395
|
|
91273
91396
|
<div>
|
91274
|
-
<li class="covered" data-hits="1" data-linenumber="
|
91397
|
+
<li class="covered" data-hits="1" data-linenumber="54">
|
91275
91398
|
<span class="hits">1</span>
|
91276
91399
|
|
91277
91400
|
|
91278
91401
|
|
91279
91402
|
|
91280
|
-
<code class="ruby"> expected = "\n<
|
91403
|
+
<code class="ruby"> expected = "\n<Conference mute=\"false\" hold=\"false\" callIdsToCoach=\"new\" conferenceEventUrl=\"https://new.com\" conferenceEventMethod=\"GET\" conferenceEventFallbackUrl=\"https://new.com\" conferenceEventFallbackMethod=\"GET\" username=\"new_username\" password=\"new_password\" fallbackUsername=\"new_fallback_username\" fallbackPassword=\"new_fallback_password\" tag=\"new_tag\" callbackTimeout=\"10.0\">conference_name</Conference>\n"</code>
|
91281
91404
|
</li>
|
91282
91405
|
</div>
|
91283
91406
|
|
91284
91407
|
<div>
|
91285
|
-
<li class="covered" data-hits="1" data-linenumber="
|
91408
|
+
<li class="covered" data-hits="1" data-linenumber="55">
|
91286
91409
|
<span class="hits">1</span>
|
91287
91410
|
|
91288
91411
|
|
@@ -91293,7 +91416,7 @@
|
|
91293
91416
|
</div>
|
91294
91417
|
|
91295
91418
|
<div>
|
91296
|
-
<li class="never" data-hits="" data-linenumber="
|
91419
|
+
<li class="never" data-hits="" data-linenumber="56">
|
91297
91420
|
|
91298
91421
|
|
91299
91422
|
|
@@ -91304,7 +91427,7 @@
|
|
91304
91427
|
</div>
|
91305
91428
|
|
91306
91429
|
<div>
|
91307
|
-
<li class="never" data-hits="" data-linenumber="
|
91430
|
+
<li class="never" data-hits="" data-linenumber="57">
|
91308
91431
|
|
91309
91432
|
|
91310
91433
|
|
@@ -91315,7 +91438,7 @@
|
|
91315
91438
|
</div>
|
91316
91439
|
|
91317
91440
|
<div>
|
91318
|
-
<li class="never" data-hits="" data-linenumber="
|
91441
|
+
<li class="never" data-hits="" data-linenumber="58">
|
91319
91442
|
|
91320
91443
|
|
91321
91444
|
|
@@ -91330,9 +91453,436 @@
|
|
91330
91453
|
</div>
|
91331
91454
|
|
91332
91455
|
|
91333
|
-
<div class="source_table" id="
|
91456
|
+
<div class="source_table" id="5a34076812defd0b654a614b343a5e21224c8ec1">
|
91334
91457
|
<div class="header">
|
91335
|
-
<h3>spec/models/bxml/verbs/
|
91458
|
+
<h3>spec/models/bxml/verbs/custom_param_spec.rb</h3>
|
91459
|
+
<h4>
|
91460
|
+
<span class="green">
|
91461
|
+
100.0%
|
91462
|
+
</span>
|
91463
|
+
|
91464
|
+
lines covered
|
91465
|
+
</h4>
|
91466
|
+
|
91467
|
+
|
91468
|
+
|
91469
|
+
<div class="t-line-summary">
|
91470
|
+
<b>17</b> relevant lines.
|
91471
|
+
<span class="green"><b>17</b> lines covered</span> and
|
91472
|
+
<span class="red"><b>0</b> lines missed.</span>
|
91473
|
+
</div>
|
91474
|
+
|
91475
|
+
|
91476
|
+
|
91477
|
+
</div>
|
91478
|
+
|
91479
|
+
<pre>
|
91480
|
+
<ol>
|
91481
|
+
|
91482
|
+
<div>
|
91483
|
+
<li class="never" data-hits="" data-linenumber="1">
|
91484
|
+
|
91485
|
+
|
91486
|
+
|
91487
|
+
|
91488
|
+
|
91489
|
+
<code class="ruby"># Unit tests for Bandwidth::Bxml::CustomParam</code>
|
91490
|
+
</li>
|
91491
|
+
</div>
|
91492
|
+
|
91493
|
+
<div>
|
91494
|
+
<li class="covered" data-hits="1" data-linenumber="2">
|
91495
|
+
<span class="hits">1</span>
|
91496
|
+
|
91497
|
+
|
91498
|
+
|
91499
|
+
|
91500
|
+
<code class="ruby">describe 'Bandwidth::Bxml::CustomParam' do</code>
|
91501
|
+
</li>
|
91502
|
+
</div>
|
91503
|
+
|
91504
|
+
<div>
|
91505
|
+
<li class="covered" data-hits="1" data-linenumber="3">
|
91506
|
+
<span class="hits">1</span>
|
91507
|
+
|
91508
|
+
|
91509
|
+
|
91510
|
+
|
91511
|
+
<code class="ruby"> let(:initial_attributes) {</code>
|
91512
|
+
</li>
|
91513
|
+
</div>
|
91514
|
+
|
91515
|
+
<div>
|
91516
|
+
<li class="never" data-hits="" data-linenumber="4">
|
91517
|
+
|
91518
|
+
|
91519
|
+
|
91520
|
+
|
91521
|
+
|
91522
|
+
<code class="ruby"> {</code>
|
91523
|
+
</li>
|
91524
|
+
</div>
|
91525
|
+
|
91526
|
+
<div>
|
91527
|
+
<li class="covered" data-hits="3" data-linenumber="5">
|
91528
|
+
<span class="hits">3</span>
|
91529
|
+
|
91530
|
+
|
91531
|
+
|
91532
|
+
|
91533
|
+
<code class="ruby"> name: 'initial_name',</code>
|
91534
|
+
</li>
|
91535
|
+
</div>
|
91536
|
+
|
91537
|
+
<div>
|
91538
|
+
<li class="never" data-hits="" data-linenumber="6">
|
91539
|
+
|
91540
|
+
|
91541
|
+
|
91542
|
+
|
91543
|
+
|
91544
|
+
<code class="ruby"> value: 'initial_value'</code>
|
91545
|
+
</li>
|
91546
|
+
</div>
|
91547
|
+
|
91548
|
+
<div>
|
91549
|
+
<li class="never" data-hits="" data-linenumber="7">
|
91550
|
+
|
91551
|
+
|
91552
|
+
|
91553
|
+
|
91554
|
+
|
91555
|
+
<code class="ruby"> }</code>
|
91556
|
+
</li>
|
91557
|
+
</div>
|
91558
|
+
|
91559
|
+
<div>
|
91560
|
+
<li class="never" data-hits="" data-linenumber="8">
|
91561
|
+
|
91562
|
+
|
91563
|
+
|
91564
|
+
|
91565
|
+
|
91566
|
+
<code class="ruby"> }</code>
|
91567
|
+
</li>
|
91568
|
+
</div>
|
91569
|
+
|
91570
|
+
<div>
|
91571
|
+
<li class="never" data-hits="" data-linenumber="9">
|
91572
|
+
|
91573
|
+
|
91574
|
+
|
91575
|
+
|
91576
|
+
|
91577
|
+
<code class="ruby"></code>
|
91578
|
+
</li>
|
91579
|
+
</div>
|
91580
|
+
|
91581
|
+
<div>
|
91582
|
+
<li class="covered" data-hits="1" data-linenumber="10">
|
91583
|
+
<span class="hits">1</span>
|
91584
|
+
|
91585
|
+
|
91586
|
+
|
91587
|
+
|
91588
|
+
<code class="ruby"> let(:new_attributes) {</code>
|
91589
|
+
</li>
|
91590
|
+
</div>
|
91591
|
+
|
91592
|
+
<div>
|
91593
|
+
<li class="never" data-hits="" data-linenumber="11">
|
91594
|
+
|
91595
|
+
|
91596
|
+
|
91597
|
+
|
91598
|
+
|
91599
|
+
<code class="ruby"> {</code>
|
91600
|
+
</li>
|
91601
|
+
</div>
|
91602
|
+
|
91603
|
+
<div>
|
91604
|
+
<li class="covered" data-hits="1" data-linenumber="12">
|
91605
|
+
<span class="hits">1</span>
|
91606
|
+
|
91607
|
+
|
91608
|
+
|
91609
|
+
|
91610
|
+
<code class="ruby"> name: 'new_name',</code>
|
91611
|
+
</li>
|
91612
|
+
</div>
|
91613
|
+
|
91614
|
+
<div>
|
91615
|
+
<li class="never" data-hits="" data-linenumber="13">
|
91616
|
+
|
91617
|
+
|
91618
|
+
|
91619
|
+
|
91620
|
+
|
91621
|
+
<code class="ruby"> value: 'new_value'</code>
|
91622
|
+
</li>
|
91623
|
+
</div>
|
91624
|
+
|
91625
|
+
<div>
|
91626
|
+
<li class="never" data-hits="" data-linenumber="14">
|
91627
|
+
|
91628
|
+
|
91629
|
+
|
91630
|
+
|
91631
|
+
|
91632
|
+
<code class="ruby"> }</code>
|
91633
|
+
</li>
|
91634
|
+
</div>
|
91635
|
+
|
91636
|
+
<div>
|
91637
|
+
<li class="never" data-hits="" data-linenumber="15">
|
91638
|
+
|
91639
|
+
|
91640
|
+
|
91641
|
+
|
91642
|
+
|
91643
|
+
<code class="ruby"> }</code>
|
91644
|
+
</li>
|
91645
|
+
</div>
|
91646
|
+
|
91647
|
+
<div>
|
91648
|
+
<li class="never" data-hits="" data-linenumber="16">
|
91649
|
+
|
91650
|
+
|
91651
|
+
|
91652
|
+
|
91653
|
+
|
91654
|
+
<code class="ruby"></code>
|
91655
|
+
</li>
|
91656
|
+
</div>
|
91657
|
+
|
91658
|
+
<div>
|
91659
|
+
<li class="covered" data-hits="4" data-linenumber="17">
|
91660
|
+
<span class="hits">4</span>
|
91661
|
+
|
91662
|
+
|
91663
|
+
|
91664
|
+
|
91665
|
+
<code class="ruby"> let(:instance) { Bandwidth::Bxml::CustomParam.new(initial_attributes) }</code>
|
91666
|
+
</li>
|
91667
|
+
</div>
|
91668
|
+
|
91669
|
+
<div>
|
91670
|
+
<li class="never" data-hits="" data-linenumber="18">
|
91671
|
+
|
91672
|
+
|
91673
|
+
|
91674
|
+
|
91675
|
+
|
91676
|
+
<code class="ruby"></code>
|
91677
|
+
</li>
|
91678
|
+
</div>
|
91679
|
+
|
91680
|
+
<div>
|
91681
|
+
<li class="covered" data-hits="1" data-linenumber="19">
|
91682
|
+
<span class="hits">1</span>
|
91683
|
+
|
91684
|
+
|
91685
|
+
|
91686
|
+
|
91687
|
+
<code class="ruby"> describe 'test an instance of CustomParam' do</code>
|
91688
|
+
</li>
|
91689
|
+
</div>
|
91690
|
+
|
91691
|
+
<div>
|
91692
|
+
<li class="covered" data-hits="1" data-linenumber="20">
|
91693
|
+
<span class="hits">1</span>
|
91694
|
+
|
91695
|
+
|
91696
|
+
|
91697
|
+
|
91698
|
+
<code class="ruby"> it 'validates instance of CustomParam' do</code>
|
91699
|
+
</li>
|
91700
|
+
</div>
|
91701
|
+
|
91702
|
+
<div>
|
91703
|
+
<li class="covered" data-hits="1" data-linenumber="21">
|
91704
|
+
<span class="hits">1</span>
|
91705
|
+
|
91706
|
+
|
91707
|
+
|
91708
|
+
|
91709
|
+
<code class="ruby"> expect(instance).to be_instance_of(Bandwidth::Bxml::CustomParam)</code>
|
91710
|
+
</li>
|
91711
|
+
</div>
|
91712
|
+
|
91713
|
+
<div>
|
91714
|
+
<li class="covered" data-hits="1" data-linenumber="22">
|
91715
|
+
<span class="hits">1</span>
|
91716
|
+
|
91717
|
+
|
91718
|
+
|
91719
|
+
|
91720
|
+
<code class="ruby"> expect(instance).to be_a(Bandwidth::Bxml::Verb)</code>
|
91721
|
+
</li>
|
91722
|
+
</div>
|
91723
|
+
|
91724
|
+
<div>
|
91725
|
+
<li class="never" data-hits="" data-linenumber="23">
|
91726
|
+
|
91727
|
+
|
91728
|
+
|
91729
|
+
|
91730
|
+
|
91731
|
+
<code class="ruby"> end</code>
|
91732
|
+
</li>
|
91733
|
+
</div>
|
91734
|
+
|
91735
|
+
<div>
|
91736
|
+
<li class="never" data-hits="" data-linenumber="24">
|
91737
|
+
|
91738
|
+
|
91739
|
+
|
91740
|
+
|
91741
|
+
|
91742
|
+
<code class="ruby"></code>
|
91743
|
+
</li>
|
91744
|
+
</div>
|
91745
|
+
|
91746
|
+
<div>
|
91747
|
+
<li class="covered" data-hits="1" data-linenumber="25">
|
91748
|
+
<span class="hits">1</span>
|
91749
|
+
|
91750
|
+
|
91751
|
+
|
91752
|
+
|
91753
|
+
<code class="ruby"> it 'tests the to_bxml method of the CustomParam instance' do</code>
|
91754
|
+
</li>
|
91755
|
+
</div>
|
91756
|
+
|
91757
|
+
<div>
|
91758
|
+
<li class="covered" data-hits="1" data-linenumber="26">
|
91759
|
+
<span class="hits">1</span>
|
91760
|
+
|
91761
|
+
|
91762
|
+
|
91763
|
+
|
91764
|
+
<code class="ruby"> expected = "\n<CustomParam name=\"initial_name\" value=\"initial_value\"/>\n"</code>
|
91765
|
+
</li>
|
91766
|
+
</div>
|
91767
|
+
|
91768
|
+
<div>
|
91769
|
+
<li class="covered" data-hits="1" data-linenumber="27">
|
91770
|
+
<span class="hits">1</span>
|
91771
|
+
|
91772
|
+
|
91773
|
+
|
91774
|
+
|
91775
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
91776
|
+
</li>
|
91777
|
+
</div>
|
91778
|
+
|
91779
|
+
<div>
|
91780
|
+
<li class="never" data-hits="" data-linenumber="28">
|
91781
|
+
|
91782
|
+
|
91783
|
+
|
91784
|
+
|
91785
|
+
|
91786
|
+
<code class="ruby"> end</code>
|
91787
|
+
</li>
|
91788
|
+
</div>
|
91789
|
+
|
91790
|
+
<div>
|
91791
|
+
<li class="never" data-hits="" data-linenumber="29">
|
91792
|
+
|
91793
|
+
|
91794
|
+
|
91795
|
+
|
91796
|
+
|
91797
|
+
<code class="ruby"></code>
|
91798
|
+
</li>
|
91799
|
+
</div>
|
91800
|
+
|
91801
|
+
<div>
|
91802
|
+
<li class="covered" data-hits="1" data-linenumber="30">
|
91803
|
+
<span class="hits">1</span>
|
91804
|
+
|
91805
|
+
|
91806
|
+
|
91807
|
+
|
91808
|
+
<code class="ruby"> it 'tests the set_attributes method of the CustomParam instance' do</code>
|
91809
|
+
</li>
|
91810
|
+
</div>
|
91811
|
+
|
91812
|
+
<div>
|
91813
|
+
<li class="covered" data-hits="1" data-linenumber="31">
|
91814
|
+
<span class="hits">1</span>
|
91815
|
+
|
91816
|
+
|
91817
|
+
|
91818
|
+
|
91819
|
+
<code class="ruby"> instance.set_attributes(new_attributes)</code>
|
91820
|
+
</li>
|
91821
|
+
</div>
|
91822
|
+
|
91823
|
+
<div>
|
91824
|
+
<li class="covered" data-hits="1" data-linenumber="32">
|
91825
|
+
<span class="hits">1</span>
|
91826
|
+
|
91827
|
+
|
91828
|
+
|
91829
|
+
|
91830
|
+
<code class="ruby"> expected = "\n<CustomParam name=\"new_name\" value=\"new_value\"/>\n"</code>
|
91831
|
+
</li>
|
91832
|
+
</div>
|
91833
|
+
|
91834
|
+
<div>
|
91835
|
+
<li class="covered" data-hits="1" data-linenumber="33">
|
91836
|
+
<span class="hits">1</span>
|
91837
|
+
|
91838
|
+
|
91839
|
+
|
91840
|
+
|
91841
|
+
<code class="ruby"> expect(instance.to_bxml).to eq(expected)</code>
|
91842
|
+
</li>
|
91843
|
+
</div>
|
91844
|
+
|
91845
|
+
<div>
|
91846
|
+
<li class="never" data-hits="" data-linenumber="34">
|
91847
|
+
|
91848
|
+
|
91849
|
+
|
91850
|
+
|
91851
|
+
|
91852
|
+
<code class="ruby"> end</code>
|
91853
|
+
</li>
|
91854
|
+
</div>
|
91855
|
+
|
91856
|
+
<div>
|
91857
|
+
<li class="never" data-hits="" data-linenumber="35">
|
91858
|
+
|
91859
|
+
|
91860
|
+
|
91861
|
+
|
91862
|
+
|
91863
|
+
<code class="ruby"> end</code>
|
91864
|
+
</li>
|
91865
|
+
</div>
|
91866
|
+
|
91867
|
+
<div>
|
91868
|
+
<li class="never" data-hits="" data-linenumber="36">
|
91869
|
+
|
91870
|
+
|
91871
|
+
|
91872
|
+
|
91873
|
+
|
91874
|
+
<code class="ruby">end</code>
|
91875
|
+
</li>
|
91876
|
+
</div>
|
91877
|
+
|
91878
|
+
</ol>
|
91879
|
+
</pre>
|
91880
|
+
</div>
|
91881
|
+
|
91882
|
+
|
91883
|
+
<div class="source_table" id="c83aa966dbfd5e2535d10f072062bf7f870e5cab">
|
91884
|
+
<div class="header">
|
91885
|
+
<h3>spec/models/bxml/verbs/forward_spec.rb</h3>
|
91336
91886
|
<h4>
|
91337
91887
|
<span class="green">
|
91338
91888
|
100.0%
|
@@ -92362,7 +92912,7 @@
|
|
92362
92912
|
|
92363
92913
|
|
92364
92914
|
|
92365
|
-
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::Gather.new(
|
92915
|
+
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::Gather.new(play_audio, initial_attributes) }</code>
|
92366
92916
|
</li>
|
92367
92917
|
</div>
|
92368
92918
|
|
@@ -92725,7 +93275,7 @@
|
|
92725
93275
|
|
92726
93276
|
|
92727
93277
|
|
92728
|
-
<code class="ruby"> instance_nested.
|
93278
|
+
<code class="ruby"> instance_nested.add_audio_verbs(speak_sentence)</code>
|
92729
93279
|
</li>
|
92730
93280
|
</div>
|
92731
93281
|
|
@@ -92769,7 +93319,7 @@
|
|
92769
93319
|
|
92770
93320
|
|
92771
93321
|
|
92772
|
-
<code class="ruby"> instance_nested.
|
93322
|
+
<code class="ruby"> instance_nested.add_audio_verbs([speak_sentence, play_audio])</code>
|
92773
93323
|
</li>
|
92774
93324
|
</div>
|
92775
93325
|
|
@@ -99669,7 +100219,7 @@
|
|
99669
100219
|
|
99670
100220
|
|
99671
100221
|
|
99672
|
-
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::StartStream.new(
|
100222
|
+
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::StartStream.new(stream_param_1, initial_attributes) }</code>
|
99673
100223
|
</li>
|
99674
100224
|
</div>
|
99675
100225
|
|
@@ -100032,7 +100582,7 @@
|
|
100032
100582
|
|
100033
100583
|
|
100034
100584
|
|
100035
|
-
<code class="ruby"> instance_nested.
|
100585
|
+
<code class="ruby"> instance_nested.add_stream_params(stream_param_2)</code>
|
100036
100586
|
</li>
|
100037
100587
|
</div>
|
100038
100588
|
|
@@ -100076,7 +100626,7 @@
|
|
100076
100626
|
|
100077
100627
|
|
100078
100628
|
|
100079
|
-
<code class="ruby"> instance_nested.
|
100629
|
+
<code class="ruby"> instance_nested.add_stream_params([stream_param_2, stream_param_2])</code>
|
100080
100630
|
</li>
|
100081
100631
|
</div>
|
100082
100632
|
|
@@ -100514,7 +101064,7 @@
|
|
100514
101064
|
|
100515
101065
|
|
100516
101066
|
|
100517
|
-
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::StartTranscription.new(
|
101067
|
+
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::StartTranscription.new(custom_param_1, initial_attributes) }</code>
|
100518
101068
|
</li>
|
100519
101069
|
</div>
|
100520
101070
|
|
@@ -100877,7 +101427,7 @@
|
|
100877
101427
|
|
100878
101428
|
|
100879
101429
|
|
100880
|
-
<code class="ruby"> instance_nested.
|
101430
|
+
<code class="ruby"> instance_nested.add_custom_params(custom_param_2)</code>
|
100881
101431
|
</li>
|
100882
101432
|
</div>
|
100883
101433
|
|
@@ -100921,7 +101471,7 @@
|
|
100921
101471
|
|
100922
101472
|
|
100923
101473
|
|
100924
|
-
<code class="ruby"> instance_nested.
|
101474
|
+
<code class="ruby"> instance_nested.add_custom_params([custom_param_2, custom_param_2])</code>
|
100925
101475
|
</li>
|
100926
101476
|
</div>
|
100927
101477
|
|
@@ -102920,7 +103470,7 @@
|
|
102920
103470
|
|
102921
103471
|
|
102922
103472
|
|
102923
|
-
<code class="ruby">
|
103473
|
+
<code class="ruby"> transfer_caller_display_name: 'initial_caller',</code>
|
102924
103474
|
</li>
|
102925
103475
|
</div>
|
102926
103476
|
|
@@ -102931,7 +103481,7 @@
|
|
102931
103481
|
|
102932
103482
|
|
102933
103483
|
|
102934
|
-
<code class="ruby">
|
103484
|
+
<code class="ruby"> call_timeout: 5,</code>
|
102935
103485
|
</li>
|
102936
103486
|
</div>
|
102937
103487
|
|
@@ -102942,7 +103492,7 @@
|
|
102942
103492
|
|
102943
103493
|
|
102944
103494
|
|
102945
|
-
<code class="ruby">
|
103495
|
+
<code class="ruby"> transfer_complete_url: 'https://initial.com',</code>
|
102946
103496
|
</li>
|
102947
103497
|
</div>
|
102948
103498
|
|
@@ -102953,7 +103503,7 @@
|
|
102953
103503
|
|
102954
103504
|
|
102955
103505
|
|
102956
|
-
<code class="ruby">
|
103506
|
+
<code class="ruby"> transfer_complete_method: 'POST',</code>
|
102957
103507
|
</li>
|
102958
103508
|
</div>
|
102959
103509
|
|
@@ -102964,7 +103514,7 @@
|
|
102964
103514
|
|
102965
103515
|
|
102966
103516
|
|
102967
|
-
<code class="ruby">
|
103517
|
+
<code class="ruby"> transfer_complete_fallback_url: 'https://initial.com',</code>
|
102968
103518
|
</li>
|
102969
103519
|
</div>
|
102970
103520
|
|
@@ -102975,7 +103525,7 @@
|
|
102975
103525
|
|
102976
103526
|
|
102977
103527
|
|
102978
|
-
<code class="ruby">
|
103528
|
+
<code class="ruby"> transfer_complete_fallback_method: 'POST',</code>
|
102979
103529
|
</li>
|
102980
103530
|
</div>
|
102981
103531
|
|
@@ -102986,7 +103536,7 @@
|
|
102986
103536
|
|
102987
103537
|
|
102988
103538
|
|
102989
|
-
<code class="ruby">
|
103539
|
+
<code class="ruby"> username: 'initial_username',</code>
|
102990
103540
|
</li>
|
102991
103541
|
</div>
|
102992
103542
|
|
@@ -102997,7 +103547,7 @@
|
|
102997
103547
|
|
102998
103548
|
|
102999
103549
|
|
103000
|
-
<code class="ruby">
|
103550
|
+
<code class="ruby"> password: 'initial_password',</code>
|
103001
103551
|
</li>
|
103002
103552
|
</div>
|
103003
103553
|
|
@@ -103008,7 +103558,7 @@
|
|
103008
103558
|
|
103009
103559
|
|
103010
103560
|
|
103011
|
-
<code class="ruby">
|
103561
|
+
<code class="ruby"> fallback_username: 'initial_fallback_username',</code>
|
103012
103562
|
</li>
|
103013
103563
|
</div>
|
103014
103564
|
|
@@ -103019,7 +103569,7 @@
|
|
103019
103569
|
|
103020
103570
|
|
103021
103571
|
|
103022
|
-
<code class="ruby">
|
103572
|
+
<code class="ruby"> fallback_password: 'initial_fallback_password',</code>
|
103023
103573
|
</li>
|
103024
103574
|
</div>
|
103025
103575
|
|
@@ -103030,7 +103580,7 @@
|
|
103030
103580
|
|
103031
103581
|
|
103032
103582
|
|
103033
|
-
<code class="ruby">
|
103583
|
+
<code class="ruby"> tag: 'initial_tag',</code>
|
103034
103584
|
</li>
|
103035
103585
|
</div>
|
103036
103586
|
|
@@ -103041,7 +103591,7 @@
|
|
103041
103591
|
|
103042
103592
|
|
103043
103593
|
|
103044
|
-
<code class="ruby">
|
103594
|
+
<code class="ruby"> diversion_treatment: 'propagate',</code>
|
103045
103595
|
</li>
|
103046
103596
|
</div>
|
103047
103597
|
|
@@ -103052,7 +103602,7 @@
|
|
103052
103602
|
|
103053
103603
|
|
103054
103604
|
|
103055
|
-
<code class="ruby">
|
103605
|
+
<code class="ruby"> diversion_reason: 'user-busy'</code>
|
103056
103606
|
</li>
|
103057
103607
|
</div>
|
103058
103608
|
|
@@ -103063,7 +103613,7 @@
|
|
103063
103613
|
|
103064
103614
|
|
103065
103615
|
|
103066
|
-
<code class="ruby">
|
103616
|
+
<code class="ruby"> }</code>
|
103067
103617
|
</li>
|
103068
103618
|
</div>
|
103069
103619
|
|
@@ -103074,12 +103624,23 @@
|
|
103074
103624
|
|
103075
103625
|
|
103076
103626
|
|
103627
|
+
<code class="ruby"> }</code>
|
103628
|
+
</li>
|
103629
|
+
</div>
|
103630
|
+
|
103631
|
+
<div>
|
103632
|
+
<li class="never" data-hits="" data-linenumber="21">
|
103633
|
+
|
103634
|
+
|
103635
|
+
|
103636
|
+
|
103637
|
+
|
103077
103638
|
<code class="ruby"></code>
|
103078
103639
|
</li>
|
103079
103640
|
</div>
|
103080
103641
|
|
103081
103642
|
<div>
|
103082
|
-
<li class="covered" data-hits="1" data-linenumber="
|
103643
|
+
<li class="covered" data-hits="1" data-linenumber="22">
|
103083
103644
|
<span class="hits">1</span>
|
103084
103645
|
|
103085
103646
|
|
@@ -103090,7 +103651,7 @@
|
|
103090
103651
|
</div>
|
103091
103652
|
|
103092
103653
|
<div>
|
103093
|
-
<li class="never" data-hits="" data-linenumber="
|
103654
|
+
<li class="never" data-hits="" data-linenumber="23">
|
103094
103655
|
|
103095
103656
|
|
103096
103657
|
|
@@ -103101,7 +103662,7 @@
|
|
103101
103662
|
</div>
|
103102
103663
|
|
103103
103664
|
<div>
|
103104
|
-
<li class="covered" data-hits="1" data-linenumber="
|
103665
|
+
<li class="covered" data-hits="1" data-linenumber="24">
|
103105
103666
|
<span class="hits">1</span>
|
103106
103667
|
|
103107
103668
|
|
@@ -103112,7 +103673,18 @@
|
|
103112
103673
|
</div>
|
103113
103674
|
|
103114
103675
|
<div>
|
103115
|
-
<li class="never" data-hits="" data-linenumber="
|
103676
|
+
<li class="never" data-hits="" data-linenumber="25">
|
103677
|
+
|
103678
|
+
|
103679
|
+
|
103680
|
+
|
103681
|
+
|
103682
|
+
<code class="ruby"> transfer_caller_display_name: 'new_caller',</code>
|
103683
|
+
</li>
|
103684
|
+
</div>
|
103685
|
+
|
103686
|
+
<div>
|
103687
|
+
<li class="never" data-hits="" data-linenumber="26">
|
103116
103688
|
|
103117
103689
|
|
103118
103690
|
|
@@ -103123,7 +103695,7 @@
|
|
103123
103695
|
</div>
|
103124
103696
|
|
103125
103697
|
<div>
|
103126
|
-
<li class="never" data-hits="" data-linenumber="
|
103698
|
+
<li class="never" data-hits="" data-linenumber="27">
|
103127
103699
|
|
103128
103700
|
|
103129
103701
|
|
@@ -103134,7 +103706,7 @@
|
|
103134
103706
|
</div>
|
103135
103707
|
|
103136
103708
|
<div>
|
103137
|
-
<li class="never" data-hits="" data-linenumber="
|
103709
|
+
<li class="never" data-hits="" data-linenumber="28">
|
103138
103710
|
|
103139
103711
|
|
103140
103712
|
|
@@ -103145,7 +103717,7 @@
|
|
103145
103717
|
</div>
|
103146
103718
|
|
103147
103719
|
<div>
|
103148
|
-
<li class="never" data-hits="" data-linenumber="
|
103720
|
+
<li class="never" data-hits="" data-linenumber="29">
|
103149
103721
|
|
103150
103722
|
|
103151
103723
|
|
@@ -103156,7 +103728,7 @@
|
|
103156
103728
|
</div>
|
103157
103729
|
|
103158
103730
|
<div>
|
103159
|
-
<li class="never" data-hits="" data-linenumber="
|
103731
|
+
<li class="never" data-hits="" data-linenumber="30">
|
103160
103732
|
|
103161
103733
|
|
103162
103734
|
|
@@ -103167,7 +103739,7 @@
|
|
103167
103739
|
</div>
|
103168
103740
|
|
103169
103741
|
<div>
|
103170
|
-
<li class="never" data-hits="" data-linenumber="
|
103742
|
+
<li class="never" data-hits="" data-linenumber="31">
|
103171
103743
|
|
103172
103744
|
|
103173
103745
|
|
@@ -103178,7 +103750,7 @@
|
|
103178
103750
|
</div>
|
103179
103751
|
|
103180
103752
|
<div>
|
103181
|
-
<li class="never" data-hits="" data-linenumber="
|
103753
|
+
<li class="never" data-hits="" data-linenumber="32">
|
103182
103754
|
|
103183
103755
|
|
103184
103756
|
|
@@ -103189,7 +103761,7 @@
|
|
103189
103761
|
</div>
|
103190
103762
|
|
103191
103763
|
<div>
|
103192
|
-
<li class="never" data-hits="" data-linenumber="
|
103764
|
+
<li class="never" data-hits="" data-linenumber="33">
|
103193
103765
|
|
103194
103766
|
|
103195
103767
|
|
@@ -103200,7 +103772,7 @@
|
|
103200
103772
|
</div>
|
103201
103773
|
|
103202
103774
|
<div>
|
103203
|
-
<li class="never" data-hits="" data-linenumber="
|
103775
|
+
<li class="never" data-hits="" data-linenumber="34">
|
103204
103776
|
|
103205
103777
|
|
103206
103778
|
|
@@ -103211,7 +103783,7 @@
|
|
103211
103783
|
</div>
|
103212
103784
|
|
103213
103785
|
<div>
|
103214
|
-
<li class="never" data-hits="" data-linenumber="
|
103786
|
+
<li class="never" data-hits="" data-linenumber="35">
|
103215
103787
|
|
103216
103788
|
|
103217
103789
|
|
@@ -103222,7 +103794,7 @@
|
|
103222
103794
|
</div>
|
103223
103795
|
|
103224
103796
|
<div>
|
103225
|
-
<li class="never" data-hits="" data-linenumber="
|
103797
|
+
<li class="never" data-hits="" data-linenumber="36">
|
103226
103798
|
|
103227
103799
|
|
103228
103800
|
|
@@ -103233,7 +103805,7 @@
|
|
103233
103805
|
</div>
|
103234
103806
|
|
103235
103807
|
<div>
|
103236
|
-
<li class="never" data-hits="" data-linenumber="
|
103808
|
+
<li class="never" data-hits="" data-linenumber="37">
|
103237
103809
|
|
103238
103810
|
|
103239
103811
|
|
@@ -103244,7 +103816,7 @@
|
|
103244
103816
|
</div>
|
103245
103817
|
|
103246
103818
|
<div>
|
103247
|
-
<li class="never" data-hits="" data-linenumber="
|
103819
|
+
<li class="never" data-hits="" data-linenumber="38">
|
103248
103820
|
|
103249
103821
|
|
103250
103822
|
|
@@ -103255,7 +103827,7 @@
|
|
103255
103827
|
</div>
|
103256
103828
|
|
103257
103829
|
<div>
|
103258
|
-
<li class="never" data-hits="" data-linenumber="
|
103830
|
+
<li class="never" data-hits="" data-linenumber="39">
|
103259
103831
|
|
103260
103832
|
|
103261
103833
|
|
@@ -103266,7 +103838,7 @@
|
|
103266
103838
|
</div>
|
103267
103839
|
|
103268
103840
|
<div>
|
103269
|
-
<li class="never" data-hits="" data-linenumber="
|
103841
|
+
<li class="never" data-hits="" data-linenumber="40">
|
103270
103842
|
|
103271
103843
|
|
103272
103844
|
|
@@ -103277,7 +103849,7 @@
|
|
103277
103849
|
</div>
|
103278
103850
|
|
103279
103851
|
<div>
|
103280
|
-
<li class="covered" data-hits="4" data-linenumber="
|
103852
|
+
<li class="covered" data-hits="4" data-linenumber="41">
|
103281
103853
|
<span class="hits">4</span>
|
103282
103854
|
|
103283
103855
|
|
@@ -103288,7 +103860,7 @@
|
|
103288
103860
|
</div>
|
103289
103861
|
|
103290
103862
|
<div>
|
103291
|
-
<li class="covered" data-hits="2" data-linenumber="
|
103863
|
+
<li class="covered" data-hits="2" data-linenumber="42">
|
103292
103864
|
<span class="hits">2</span>
|
103293
103865
|
|
103294
103866
|
|
@@ -103299,7 +103871,7 @@
|
|
103299
103871
|
</div>
|
103300
103872
|
|
103301
103873
|
<div>
|
103302
|
-
<li class="never" data-hits="" data-linenumber="
|
103874
|
+
<li class="never" data-hits="" data-linenumber="43">
|
103303
103875
|
|
103304
103876
|
|
103305
103877
|
|
@@ -103310,7 +103882,7 @@
|
|
103310
103882
|
</div>
|
103311
103883
|
|
103312
103884
|
<div>
|
103313
|
-
<li class="covered" data-hits="4" data-linenumber="
|
103885
|
+
<li class="covered" data-hits="4" data-linenumber="44">
|
103314
103886
|
<span class="hits">4</span>
|
103315
103887
|
|
103316
103888
|
|
@@ -103321,18 +103893,18 @@
|
|
103321
103893
|
</div>
|
103322
103894
|
|
103323
103895
|
<div>
|
103324
|
-
<li class="covered" data-hits="4" data-linenumber="
|
103896
|
+
<li class="covered" data-hits="4" data-linenumber="45">
|
103325
103897
|
<span class="hits">4</span>
|
103326
103898
|
|
103327
103899
|
|
103328
103900
|
|
103329
103901
|
|
103330
|
-
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::Transfer.new(
|
103902
|
+
<code class="ruby"> let(:instance_nested) { Bandwidth::Bxml::Transfer.new(phone_number, initial_attributes) }</code>
|
103331
103903
|
</li>
|
103332
103904
|
</div>
|
103333
103905
|
|
103334
103906
|
<div>
|
103335
|
-
<li class="never" data-hits="" data-linenumber="
|
103907
|
+
<li class="never" data-hits="" data-linenumber="46">
|
103336
103908
|
|
103337
103909
|
|
103338
103910
|
|
@@ -103343,7 +103915,7 @@
|
|
103343
103915
|
</div>
|
103344
103916
|
|
103345
103917
|
<div>
|
103346
|
-
<li class="covered" data-hits="1" data-linenumber="
|
103918
|
+
<li class="covered" data-hits="1" data-linenumber="47">
|
103347
103919
|
<span class="hits">1</span>
|
103348
103920
|
|
103349
103921
|
|
@@ -103354,7 +103926,7 @@
|
|
103354
103926
|
</div>
|
103355
103927
|
|
103356
103928
|
<div>
|
103357
|
-
<li class="covered" data-hits="1" data-linenumber="
|
103929
|
+
<li class="covered" data-hits="1" data-linenumber="48">
|
103358
103930
|
<span class="hits">1</span>
|
103359
103931
|
|
103360
103932
|
|
@@ -103365,7 +103937,7 @@
|
|
103365
103937
|
</div>
|
103366
103938
|
|
103367
103939
|
<div>
|
103368
|
-
<li class="covered" data-hits="1" data-linenumber="
|
103940
|
+
<li class="covered" data-hits="1" data-linenumber="49">
|
103369
103941
|
<span class="hits">1</span>
|
103370
103942
|
|
103371
103943
|
|
@@ -103376,7 +103948,7 @@
|
|
103376
103948
|
</div>
|
103377
103949
|
|
103378
103950
|
<div>
|
103379
|
-
<li class="covered" data-hits="1" data-linenumber="
|
103951
|
+
<li class="covered" data-hits="1" data-linenumber="50">
|
103380
103952
|
<span class="hits">1</span>
|
103381
103953
|
|
103382
103954
|
|
@@ -103387,7 +103959,7 @@
|
|
103387
103959
|
</div>
|
103388
103960
|
|
103389
103961
|
<div>
|
103390
|
-
<li class="never" data-hits="" data-linenumber="
|
103962
|
+
<li class="never" data-hits="" data-linenumber="51">
|
103391
103963
|
|
103392
103964
|
|
103393
103965
|
|
@@ -103398,7 +103970,7 @@
|
|
103398
103970
|
</div>
|
103399
103971
|
|
103400
103972
|
<div>
|
103401
|
-
<li class="never" data-hits="" data-linenumber="
|
103973
|
+
<li class="never" data-hits="" data-linenumber="52">
|
103402
103974
|
|
103403
103975
|
|
103404
103976
|
|
@@ -103409,7 +103981,7 @@
|
|
103409
103981
|
</div>
|
103410
103982
|
|
103411
103983
|
<div>
|
103412
|
-
<li class="covered" data-hits="1" data-linenumber="
|
103984
|
+
<li class="covered" data-hits="1" data-linenumber="53">
|
103413
103985
|
<span class="hits">1</span>
|
103414
103986
|
|
103415
103987
|
|
@@ -103420,18 +103992,18 @@
|
|
103420
103992
|
</div>
|
103421
103993
|
|
103422
103994
|
<div>
|
103423
|
-
<li class="covered" data-hits="1" data-linenumber="
|
103995
|
+
<li class="covered" data-hits="1" data-linenumber="54">
|
103424
103996
|
<span class="hits">1</span>
|
103425
103997
|
|
103426
103998
|
|
103427
103999
|
|
103428
104000
|
|
103429
|
-
<code class="ruby"> expected = "\n<Transfer transferCallerId=\"+19195551234\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"propagate\" diversionReason=\"user-busy\"/>\n"</code>
|
104001
|
+
<code class="ruby"> expected = "\n<Transfer transferCallerId=\"+19195551234\" transferCallerDisplayName=\"initial_caller\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"propagate\" diversionReason=\"user-busy\"/>\n"</code>
|
103430
104002
|
</li>
|
103431
104003
|
</div>
|
103432
104004
|
|
103433
104005
|
<div>
|
103434
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104006
|
+
<li class="covered" data-hits="1" data-linenumber="55">
|
103435
104007
|
<span class="hits">1</span>
|
103436
104008
|
|
103437
104009
|
|
@@ -103442,7 +104014,7 @@
|
|
103442
104014
|
</div>
|
103443
104015
|
|
103444
104016
|
<div>
|
103445
|
-
<li class="never" data-hits="" data-linenumber="
|
104017
|
+
<li class="never" data-hits="" data-linenumber="56">
|
103446
104018
|
|
103447
104019
|
|
103448
104020
|
|
@@ -103453,7 +104025,7 @@
|
|
103453
104025
|
</div>
|
103454
104026
|
|
103455
104027
|
<div>
|
103456
|
-
<li class="never" data-hits="" data-linenumber="
|
104028
|
+
<li class="never" data-hits="" data-linenumber="57">
|
103457
104029
|
|
103458
104030
|
|
103459
104031
|
|
@@ -103464,7 +104036,7 @@
|
|
103464
104036
|
</div>
|
103465
104037
|
|
103466
104038
|
<div>
|
103467
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104039
|
+
<li class="covered" data-hits="1" data-linenumber="58">
|
103468
104040
|
<span class="hits">1</span>
|
103469
104041
|
|
103470
104042
|
|
@@ -103475,7 +104047,7 @@
|
|
103475
104047
|
</div>
|
103476
104048
|
|
103477
104049
|
<div>
|
103478
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104050
|
+
<li class="covered" data-hits="1" data-linenumber="59">
|
103479
104051
|
<span class="hits">1</span>
|
103480
104052
|
|
103481
104053
|
|
@@ -103486,18 +104058,18 @@
|
|
103486
104058
|
</div>
|
103487
104059
|
|
103488
104060
|
<div>
|
103489
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104061
|
+
<li class="covered" data-hits="1" data-linenumber="60">
|
103490
104062
|
<span class="hits">1</span>
|
103491
104063
|
|
103492
104064
|
|
103493
104065
|
|
103494
104066
|
|
103495
|
-
<code class="ruby"> expected = "\n<Transfer transferCallerId=\"+19195554321\" callTimeout=\"10\" transferCompleteUrl=\"https://new.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://new.com\" transferCompleteFallbackMethod=\"POST\" username=\"new_username\" password=\"new_password\" fallbackUsername=\"new_fallback_username\" fallbackPassword=\"new_fallback_password\" tag=\"new_tag\" diversionTreatment=\"stack\" diversionReason=\"no-answer\"/>\n"</code>
|
104067
|
+
<code class="ruby"> expected = "\n<Transfer transferCallerId=\"+19195554321\" transferCallerDisplayName=\"new_caller\" callTimeout=\"10\" transferCompleteUrl=\"https://new.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://new.com\" transferCompleteFallbackMethod=\"POST\" username=\"new_username\" password=\"new_password\" fallbackUsername=\"new_fallback_username\" fallbackPassword=\"new_fallback_password\" tag=\"new_tag\" diversionTreatment=\"stack\" diversionReason=\"no-answer\"/>\n"</code>
|
103496
104068
|
</li>
|
103497
104069
|
</div>
|
103498
104070
|
|
103499
104071
|
<div>
|
103500
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104072
|
+
<li class="covered" data-hits="1" data-linenumber="61">
|
103501
104073
|
<span class="hits">1</span>
|
103502
104074
|
|
103503
104075
|
|
@@ -103508,7 +104080,7 @@
|
|
103508
104080
|
</div>
|
103509
104081
|
|
103510
104082
|
<div>
|
103511
|
-
<li class="never" data-hits="" data-linenumber="
|
104083
|
+
<li class="never" data-hits="" data-linenumber="62">
|
103512
104084
|
|
103513
104085
|
|
103514
104086
|
|
@@ -103519,7 +104091,7 @@
|
|
103519
104091
|
</div>
|
103520
104092
|
|
103521
104093
|
<div>
|
103522
|
-
<li class="never" data-hits="" data-linenumber="
|
104094
|
+
<li class="never" data-hits="" data-linenumber="63">
|
103523
104095
|
|
103524
104096
|
|
103525
104097
|
|
@@ -103530,7 +104102,7 @@
|
|
103530
104102
|
</div>
|
103531
104103
|
|
103532
104104
|
<div>
|
103533
|
-
<li class="never" data-hits="" data-linenumber="
|
104105
|
+
<li class="never" data-hits="" data-linenumber="64">
|
103534
104106
|
|
103535
104107
|
|
103536
104108
|
|
@@ -103541,7 +104113,7 @@
|
|
103541
104113
|
</div>
|
103542
104114
|
|
103543
104115
|
<div>
|
103544
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104116
|
+
<li class="covered" data-hits="1" data-linenumber="65">
|
103545
104117
|
<span class="hits">1</span>
|
103546
104118
|
|
103547
104119
|
|
@@ -103552,7 +104124,7 @@
|
|
103552
104124
|
</div>
|
103553
104125
|
|
103554
104126
|
<div>
|
103555
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104127
|
+
<li class="covered" data-hits="1" data-linenumber="66">
|
103556
104128
|
<span class="hits">1</span>
|
103557
104129
|
|
103558
104130
|
|
@@ -103563,7 +104135,7 @@
|
|
103563
104135
|
</div>
|
103564
104136
|
|
103565
104137
|
<div>
|
103566
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104138
|
+
<li class="covered" data-hits="1" data-linenumber="67">
|
103567
104139
|
<span class="hits">1</span>
|
103568
104140
|
|
103569
104141
|
|
@@ -103574,7 +104146,7 @@
|
|
103574
104146
|
</div>
|
103575
104147
|
|
103576
104148
|
<div>
|
103577
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104149
|
+
<li class="covered" data-hits="1" data-linenumber="68">
|
103578
104150
|
<span class="hits">1</span>
|
103579
104151
|
|
103580
104152
|
|
@@ -103585,7 +104157,7 @@
|
|
103585
104157
|
</div>
|
103586
104158
|
|
103587
104159
|
<div>
|
103588
|
-
<li class="never" data-hits="" data-linenumber="
|
104160
|
+
<li class="never" data-hits="" data-linenumber="69">
|
103589
104161
|
|
103590
104162
|
|
103591
104163
|
|
@@ -103596,7 +104168,7 @@
|
|
103596
104168
|
</div>
|
103597
104169
|
|
103598
104170
|
<div>
|
103599
|
-
<li class="never" data-hits="" data-linenumber="
|
104171
|
+
<li class="never" data-hits="" data-linenumber="70">
|
103600
104172
|
|
103601
104173
|
|
103602
104174
|
|
@@ -103607,7 +104179,7 @@
|
|
103607
104179
|
</div>
|
103608
104180
|
|
103609
104181
|
<div>
|
103610
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104182
|
+
<li class="covered" data-hits="1" data-linenumber="71">
|
103611
104183
|
<span class="hits">1</span>
|
103612
104184
|
|
103613
104185
|
|
@@ -103618,18 +104190,18 @@
|
|
103618
104190
|
</div>
|
103619
104191
|
|
103620
104192
|
<div>
|
103621
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104193
|
+
<li class="covered" data-hits="1" data-linenumber="72">
|
103622
104194
|
<span class="hits">1</span>
|
103623
104195
|
|
103624
104196
|
|
103625
104197
|
|
103626
104198
|
|
103627
|
-
<code class="ruby"> expected = "\n<Transfer transferCallerId=\"+19195551234\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"propagate\" diversionReason=\"user-busy\">\n <PhoneNumber>+19195551234</PhoneNumber>\n</Transfer>\n"</code>
|
104199
|
+
<code class="ruby"> expected = "\n<Transfer transferCallerId=\"+19195551234\" transferCallerDisplayName=\"initial_caller\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"propagate\" diversionReason=\"user-busy\">\n <PhoneNumber>+19195551234</PhoneNumber>\n</Transfer>\n"</code>
|
103628
104200
|
</li>
|
103629
104201
|
</div>
|
103630
104202
|
|
103631
104203
|
<div>
|
103632
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104204
|
+
<li class="covered" data-hits="1" data-linenumber="73">
|
103633
104205
|
<span class="hits">1</span>
|
103634
104206
|
|
103635
104207
|
|
@@ -103640,7 +104212,7 @@
|
|
103640
104212
|
</div>
|
103641
104213
|
|
103642
104214
|
<div>
|
103643
|
-
<li class="never" data-hits="" data-linenumber="
|
104215
|
+
<li class="never" data-hits="" data-linenumber="74">
|
103644
104216
|
|
103645
104217
|
|
103646
104218
|
|
@@ -103651,7 +104223,7 @@
|
|
103651
104223
|
</div>
|
103652
104224
|
|
103653
104225
|
<div>
|
103654
|
-
<li class="never" data-hits="" data-linenumber="
|
104226
|
+
<li class="never" data-hits="" data-linenumber="75">
|
103655
104227
|
|
103656
104228
|
|
103657
104229
|
|
@@ -103662,7 +104234,7 @@
|
|
103662
104234
|
</div>
|
103663
104235
|
|
103664
104236
|
<div>
|
103665
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104237
|
+
<li class="covered" data-hits="1" data-linenumber="76">
|
103666
104238
|
<span class="hits">1</span>
|
103667
104239
|
|
103668
104240
|
|
@@ -103673,29 +104245,29 @@
|
|
103673
104245
|
</div>
|
103674
104246
|
|
103675
104247
|
<div>
|
103676
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104248
|
+
<li class="covered" data-hits="1" data-linenumber="77">
|
103677
104249
|
<span class="hits">1</span>
|
103678
104250
|
|
103679
104251
|
|
103680
104252
|
|
103681
104253
|
|
103682
|
-
<code class="ruby"> expected_single = "\n<Transfer transferCallerId=\"+19195551234\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"propagate\" diversionReason=\"user-busy\">\n <PhoneNumber>+19195551234</PhoneNumber>\n <SipUri>sip:1-999-123-4567@voip-provider.example.net</SipUri>\n</Transfer>\n"</code>
|
104254
|
+
<code class="ruby"> expected_single = "\n<Transfer transferCallerId=\"+19195551234\" transferCallerDisplayName=\"initial_caller\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"propagate\" diversionReason=\"user-busy\">\n <PhoneNumber>+19195551234</PhoneNumber>\n <SipUri>sip:1-999-123-4567@voip-provider.example.net</SipUri>\n</Transfer>\n"</code>
|
103683
104255
|
</li>
|
103684
104256
|
</div>
|
103685
104257
|
|
103686
104258
|
<div>
|
103687
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104259
|
+
<li class="covered" data-hits="1" data-linenumber="78">
|
103688
104260
|
<span class="hits">1</span>
|
103689
104261
|
|
103690
104262
|
|
103691
104263
|
|
103692
104264
|
|
103693
|
-
<code class="ruby"> instance_nested.
|
104265
|
+
<code class="ruby"> instance_nested.add_transfer_recipients(sip_uri)</code>
|
103694
104266
|
</li>
|
103695
104267
|
</div>
|
103696
104268
|
|
103697
104269
|
<div>
|
103698
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104270
|
+
<li class="covered" data-hits="1" data-linenumber="79">
|
103699
104271
|
<span class="hits">1</span>
|
103700
104272
|
|
103701
104273
|
|
@@ -103706,7 +104278,7 @@
|
|
103706
104278
|
</div>
|
103707
104279
|
|
103708
104280
|
<div>
|
103709
|
-
<li class="never" data-hits="" data-linenumber="
|
104281
|
+
<li class="never" data-hits="" data-linenumber="80">
|
103710
104282
|
|
103711
104283
|
|
103712
104284
|
|
@@ -103717,29 +104289,29 @@
|
|
103717
104289
|
</div>
|
103718
104290
|
|
103719
104291
|
<div>
|
103720
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104292
|
+
<li class="covered" data-hits="1" data-linenumber="81">
|
103721
104293
|
<span class="hits">1</span>
|
103722
104294
|
|
103723
104295
|
|
103724
104296
|
|
103725
104297
|
|
103726
|
-
<code class="ruby"> expected_multiple = "\n<Transfer transferCallerId=\"+19195551234\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"propagate\" diversionReason=\"user-busy\">\n <PhoneNumber>+19195551234</PhoneNumber>\n <SipUri>sip:1-999-123-4567@voip-provider.example.net</SipUri>\n <SipUri>sip:1-999-123-4567@voip-provider.example.net</SipUri>\n <PhoneNumber>+19195551234</PhoneNumber>\n</Transfer>\n"</code>
|
104298
|
+
<code class="ruby"> expected_multiple = "\n<Transfer transferCallerId=\"+19195551234\" transferCallerDisplayName=\"initial_caller\" callTimeout=\"5\" transferCompleteUrl=\"https://initial.com\" transferCompleteMethod=\"POST\" transferCompleteFallbackUrl=\"https://initial.com\" transferCompleteFallbackMethod=\"POST\" username=\"initial_username\" password=\"initial_password\" fallbackUsername=\"initial_fallback_username\" fallbackPassword=\"initial_fallback_password\" tag=\"initial_tag\" diversionTreatment=\"propagate\" diversionReason=\"user-busy\">\n <PhoneNumber>+19195551234</PhoneNumber>\n <SipUri>sip:1-999-123-4567@voip-provider.example.net</SipUri>\n <SipUri>sip:1-999-123-4567@voip-provider.example.net</SipUri>\n <PhoneNumber>+19195551234</PhoneNumber>\n</Transfer>\n"</code>
|
103727
104299
|
</li>
|
103728
104300
|
</div>
|
103729
104301
|
|
103730
104302
|
<div>
|
103731
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104303
|
+
<li class="covered" data-hits="1" data-linenumber="82">
|
103732
104304
|
<span class="hits">1</span>
|
103733
104305
|
|
103734
104306
|
|
103735
104307
|
|
103736
104308
|
|
103737
|
-
<code class="ruby"> instance_nested.
|
104309
|
+
<code class="ruby"> instance_nested.add_transfer_recipients([sip_uri, phone_number])</code>
|
103738
104310
|
</li>
|
103739
104311
|
</div>
|
103740
104312
|
|
103741
104313
|
<div>
|
103742
|
-
<li class="covered" data-hits="1" data-linenumber="
|
104314
|
+
<li class="covered" data-hits="1" data-linenumber="83">
|
103743
104315
|
<span class="hits">1</span>
|
103744
104316
|
|
103745
104317
|
|
@@ -103750,7 +104322,7 @@
|
|
103750
104322
|
</div>
|
103751
104323
|
|
103752
104324
|
<div>
|
103753
|
-
<li class="never" data-hits="" data-linenumber="
|
104325
|
+
<li class="never" data-hits="" data-linenumber="84">
|
103754
104326
|
|
103755
104327
|
|
103756
104328
|
|
@@ -103761,7 +104333,7 @@
|
|
103761
104333
|
</div>
|
103762
104334
|
|
103763
104335
|
<div>
|
103764
|
-
<li class="never" data-hits="" data-linenumber="
|
104336
|
+
<li class="never" data-hits="" data-linenumber="85">
|
103765
104337
|
|
103766
104338
|
|
103767
104339
|
|
@@ -103772,7 +104344,7 @@
|
|
103772
104344
|
</div>
|
103773
104345
|
|
103774
104346
|
<div>
|
103775
|
-
<li class="never" data-hits="" data-linenumber="
|
104347
|
+
<li class="never" data-hits="" data-linenumber="86">
|
103776
104348
|
|
103777
104349
|
|
103778
104350
|
|