sipgate_io 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +37 -0
  4. data/app/assets/javascripts/sipgate_io/application.js +13 -0
  5. data/app/assets/javascripts/sipgate_io/events.js +2 -0
  6. data/app/assets/stylesheets/sipgate_io/application.css +15 -0
  7. data/app/assets/stylesheets/sipgate_io/events.css +4 -0
  8. data/app/controllers/sipgate_io/application_controller.rb +4 -0
  9. data/app/controllers/sipgate_io/events_controller.rb +39 -0
  10. data/app/helpers/sipgate_io/application_helper.rb +4 -0
  11. data/app/helpers/sipgate_io/events_helper.rb +4 -0
  12. data/app/views/layouts/sipgate_io/application.html.erb +14 -0
  13. data/app/views/sipgate_io/events/create.html.erb +2 -0
  14. data/config/routes.rb +4 -0
  15. data/lib/sipgate_io/answer.rb +13 -0
  16. data/lib/sipgate_io/configuration.rb +50 -0
  17. data/lib/sipgate_io/dtmf.rb +13 -0
  18. data/lib/sipgate_io/engine.rb +5 -0
  19. data/lib/sipgate_io/hangup.rb +13 -0
  20. data/lib/sipgate_io/new_call.rb +22 -0
  21. data/lib/sipgate_io/version.rb +3 -0
  22. data/lib/sipgate_io/xml_response.rb +86 -0
  23. data/lib/sipgate_io.rb +11 -0
  24. data/lib/tasks/sipgate_io_tasks.rake +4 -0
  25. data/test/controllers/sipgate_io/events_controller_test.rb +46 -0
  26. data/test/dummy/README.rdoc +28 -0
  27. data/test/dummy/Rakefile +6 -0
  28. data/test/dummy/app/assets/javascripts/application.js +13 -0
  29. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  30. data/test/dummy/app/controllers/application_controller.rb +5 -0
  31. data/test/dummy/app/helpers/application_helper.rb +2 -0
  32. data/test/dummy/app/models/event_processor.rb +13 -0
  33. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  34. data/test/dummy/bin/bundle +3 -0
  35. data/test/dummy/bin/rails +4 -0
  36. data/test/dummy/bin/rake +4 -0
  37. data/test/dummy/bin/setup +29 -0
  38. data/test/dummy/config/application.rb +25 -0
  39. data/test/dummy/config/boot.rb +5 -0
  40. data/test/dummy/config/database.yml +25 -0
  41. data/test/dummy/config/environment.rb +5 -0
  42. data/test/dummy/config/environments/development.rb +41 -0
  43. data/test/dummy/config/environments/production.rb +79 -0
  44. data/test/dummy/config/environments/test.rb +42 -0
  45. data/test/dummy/config/initializers/assets.rb +11 -0
  46. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  47. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  48. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  49. data/test/dummy/config/initializers/inflections.rb +16 -0
  50. data/test/dummy/config/initializers/mime_types.rb +4 -0
  51. data/test/dummy/config/initializers/session_store.rb +3 -0
  52. data/test/dummy/config/initializers/sipgate_io.rb +5 -0
  53. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  54. data/test/dummy/config/locales/en.yml +23 -0
  55. data/test/dummy/config/routes.rb +4 -0
  56. data/test/dummy/config/secrets.yml +22 -0
  57. data/test/dummy/config.ru +4 -0
  58. data/test/dummy/db/development.sqlite3 +0 -0
  59. data/test/dummy/db/test.sqlite3 +0 -0
  60. data/test/dummy/log/development.log +18 -0
  61. data/test/dummy/log/test.log +1239 -0
  62. data/test/dummy/public/404.html +67 -0
  63. data/test/dummy/public/422.html +67 -0
  64. data/test/dummy/public/500.html +66 -0
  65. data/test/dummy/public/favicon.ico +0 -0
  66. data/test/integration/navigation_test.rb +8 -0
  67. data/test/lib/sipgate_io/answer_test.rb +9 -0
  68. data/test/lib/sipgate_io/dtmf_test.rb +9 -0
  69. data/test/lib/sipgate_io/hangup_test.rb +9 -0
  70. data/test/lib/sipgate_io/new_call_test.rb +9 -0
  71. data/test/lib/sipgate_io/xml_response_test.rb +13 -0
  72. data/test/sipgate_io_test.rb +7 -0
  73. data/test/test_helper.rb +21 -0
  74. metadata +207 -0
@@ -0,0 +1,1239 @@
1
+  (0.1ms) begin transaction
2
+ -------------------------
3
+ SipgateIoTest: test_truth
4
+ -------------------------
5
+  (0.0ms) rollback transaction
6
+  (0.0ms) begin transaction
7
+ -------------------------------------------------------
8
+ SipgateIo::EventsControllerTest: test_should_get_create
9
+ -------------------------------------------------------
10
+ Processing by SipgateIo::EventsController#create as HTML
11
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
12
+  (0.1ms) rollback transaction
13
+  (0.1ms) begin transaction
14
+ -------------------------
15
+ SipgateIoTest: test_truth
16
+ -------------------------
17
+  (0.0ms) rollback transaction
18
+  (0.0ms) begin transaction
19
+ -------------------------------------------------------
20
+ SipgateIo::EventsControllerTest: test_should_get_create
21
+ -------------------------------------------------------
22
+ Processing by SipgateIo::EventsController#create as HTML
23
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
24
+  (0.1ms) rollback transaction
25
+  (0.1ms) begin transaction
26
+ -------------------------
27
+ SipgateIoTest: test_truth
28
+ -------------------------
29
+  (0.2ms) rollback transaction
30
+  (0.0ms) begin transaction
31
+ -------------------------------------------------------
32
+ SipgateIo::EventsControllerTest: test_should_get_create
33
+ -------------------------------------------------------
34
+ Processing by SipgateIo::EventsController#create as HTML
35
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
36
+  (0.1ms) rollback transaction
37
+  (0.4ms) begin transaction
38
+ -------------------------------------------------------
39
+ SipgateIo::EventsControllerTest: test_should_get_create
40
+ -------------------------------------------------------
41
+ Processing by SipgateIo::EventsController#create as HTML
42
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
43
+  (0.1ms) rollback transaction
44
+  (0.0ms) begin transaction
45
+ -------------------------
46
+ SipgateIoTest: test_truth
47
+ -------------------------
48
+  (0.0ms) rollback transaction
49
+  (0.1ms) begin transaction
50
+ -------------------------------------------------------
51
+ SipgateIo::EventsControllerTest: test_should_get_create
52
+ -------------------------------------------------------
53
+ Processing by SipgateIo::EventsController#create as HTML
54
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
55
+  (0.1ms) rollback transaction
56
+  (0.0ms) begin transaction
57
+ -------------------------
58
+ SipgateIoTest: test_truth
59
+ -------------------------
60
+  (0.0ms) rollback transaction
61
+  (0.1ms) begin transaction
62
+ -------------------------
63
+ SipgateIoTest: test_truth
64
+ -------------------------
65
+  (0.1ms) rollback transaction
66
+  (0.0ms) begin transaction
67
+ -------------------------------------------------------
68
+ SipgateIo::EventsControllerTest: test_should_get_create
69
+ -------------------------------------------------------
70
+ Processing by SipgateIo::EventsController#create as HTML
71
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
72
+  (0.1ms) rollback transaction
73
+  (0.1ms) begin transaction
74
+ -------------------------
75
+ SipgateIoTest: test_truth
76
+ -------------------------
77
+  (0.0ms) rollback transaction
78
+  (0.0ms) begin transaction
79
+ ---------------------------------------------------------------------
80
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
81
+ ---------------------------------------------------------------------
82
+ Processing by SipgateIo::EventsController#create as HTML
83
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
84
+  (0.1ms) rollback transaction
85
+  (0.2ms) begin transaction
86
+ -------------------------
87
+ SipgateIoTest: test_truth
88
+ -------------------------
89
+  (0.1ms) rollback transaction
90
+  (0.1ms) begin transaction
91
+ ---------------------------------------------------------------------
92
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
93
+ ---------------------------------------------------------------------
94
+ Processing by SipgateIo::EventsController#create as HTML
95
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
96
+  (0.1ms) rollback transaction
97
+  (0.1ms) begin transaction
98
+ -------------------------
99
+ SipgateIoTest: test_truth
100
+ -------------------------
101
+  (0.0ms) rollback transaction
102
+  (0.1ms) begin transaction
103
+ ---------------------------------------------------------------------
104
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
105
+ ---------------------------------------------------------------------
106
+ Processing by SipgateIo::EventsController#create as HTML
107
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
108
+  (0.1ms) rollback transaction
109
+  (0.1ms) begin transaction
110
+ ---------------------------
111
+ XmlResponseTest: test_truth
112
+ ---------------------------
113
+  (0.4ms) rollback transaction
114
+  (0.0ms) begin transaction
115
+ -------------------------
116
+ SipgateIoTest: test_truth
117
+ -------------------------
118
+  (0.0ms) rollback transaction
119
+  (0.0ms) begin transaction
120
+ ---------------------------------------------------------------------
121
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
122
+ ---------------------------------------------------------------------
123
+ Processing by SipgateIo::EventsController#create as HTML
124
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
125
+  (0.1ms) rollback transaction
126
+  (0.1ms) begin transaction
127
+ -----------------------------------
128
+ XmlResponseTest: test_knows_own_url
129
+ -----------------------------------
130
+  (0.0ms) rollback transaction
131
+  (0.0ms) begin transaction
132
+ ---------------------------------------------------------------------
133
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
134
+ ---------------------------------------------------------------------
135
+ Processing by SipgateIo::EventsController#create as HTML
136
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
137
+  (0.1ms) rollback transaction
138
+  (0.3ms) begin transaction
139
+ -------------------------
140
+ SipgateIoTest: test_truth
141
+ -------------------------
142
+  (0.0ms) rollback transaction
143
+  (0.1ms) begin transaction
144
+ -----------------------------------
145
+ XmlResponseTest: test_knows_own_url
146
+ -----------------------------------
147
+  (0.0ms) rollback transaction
148
+  (0.1ms) begin transaction
149
+ ---------------------------------------------------------------------
150
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
151
+ ---------------------------------------------------------------------
152
+ Processing by SipgateIo::EventsController#create as HTML
153
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
154
+  (0.1ms) rollback transaction
155
+  (0.1ms) begin transaction
156
+ -------------------------
157
+ SipgateIoTest: test_truth
158
+ -------------------------
159
+  (0.1ms) rollback transaction
160
+  (0.2ms) begin transaction
161
+ -----------------------------------
162
+ XmlResponseTest: test_knows_own_url
163
+ -----------------------------------
164
+  (0.1ms) rollback transaction
165
+  (0.0ms) begin transaction
166
+ ---------------------------------------------------------------------
167
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
168
+ ---------------------------------------------------------------------
169
+ Processing by SipgateIo::EventsController#create as HTML
170
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
171
+  (0.1ms) rollback transaction
172
+  (0.0ms) begin transaction
173
+ -------------------------
174
+ SipgateIoTest: test_truth
175
+ -------------------------
176
+  (0.0ms) rollback transaction
177
+  (0.1ms) begin transaction
178
+ -------------------------
179
+ SipgateIoTest: test_truth
180
+ -------------------------
181
+  (0.0ms) rollback transaction
182
+  (0.1ms) begin transaction
183
+ ----------------------------------------------
184
+ SipgateIo::XmlResponseTest: test_knows_own_url
185
+ ----------------------------------------------
186
+  (0.1ms) rollback transaction
187
+  (0.0ms) begin transaction
188
+ ---------------------------------------------------------------------
189
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
190
+ ---------------------------------------------------------------------
191
+ Processing by SipgateIo::EventsController#create as HTML
192
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
193
+  (0.1ms) rollback transaction
194
+  (0.2ms) begin transaction
195
+ ----------------------------------------------
196
+ SipgateIo::XmlResponseTest: test_knows_own_url
197
+ ----------------------------------------------
198
+  (0.1ms) rollback transaction
199
+  (0.3ms) begin transaction
200
+ -------------------------
201
+ SipgateIoTest: test_truth
202
+ -------------------------
203
+  (0.1ms) rollback transaction
204
+  (0.0ms) begin transaction
205
+ ---------------------------------------------------------------------
206
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
207
+ ---------------------------------------------------------------------
208
+ Processing by SipgateIo::EventsController#create as HTML
209
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
210
+  (0.1ms) rollback transaction
211
+  (0.2ms) begin transaction
212
+ ---------------------------------------------------------------------
213
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
214
+ ---------------------------------------------------------------------
215
+ Processing by SipgateIo::EventsController#create as HTML
216
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
217
+  (0.1ms) rollback transaction
218
+  (0.0ms) begin transaction
219
+ ----------------------------------------------
220
+ SipgateIo::XmlResponseTest: test_knows_own_url
221
+ ----------------------------------------------
222
+  (0.0ms) rollback transaction
223
+  (0.0ms) begin transaction
224
+ -------------------------
225
+ SipgateIoTest: test_truth
226
+ -------------------------
227
+  (0.0ms) rollback transaction
228
+  (0.1ms) begin transaction
229
+ -------------------------
230
+ SipgateIoTest: test_truth
231
+ -------------------------
232
+  (0.0ms) rollback transaction
233
+  (0.0ms) begin transaction
234
+ ---------------------------------------------------------------------
235
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
236
+ ---------------------------------------------------------------------
237
+ Processing by SipgateIo::EventsController#create as HTML
238
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
239
+  (0.1ms) rollback transaction
240
+  (0.1ms) begin transaction
241
+ -------------------------
242
+ SipgateIoTest: test_truth
243
+ -------------------------
244
+  (0.0ms) rollback transaction
245
+  (0.0ms) begin transaction
246
+ ---------------------------------------------------------------------
247
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
248
+ ---------------------------------------------------------------------
249
+ Processing by SipgateIo::EventsController#create as HTML
250
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
251
+  (0.1ms) rollback transaction
252
+  (0.1ms) begin transaction
253
+ ---------------------------------------------------------------------
254
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
255
+ ---------------------------------------------------------------------
256
+ Processing by SipgateIo::EventsController#create as HTML
257
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
258
+  (0.1ms) rollback transaction
259
+  (0.1ms) begin transaction
260
+ -------------------------
261
+ SipgateIoTest: test_truth
262
+ -------------------------
263
+  (0.1ms) rollback transaction
264
+  (0.0ms) begin transaction
265
+ --------------------------------------------------------------------
266
+ SipgateIo::XmlResponseTestTest: test_create_without_params_gives_500
267
+ --------------------------------------------------------------------
268
+  (0.0ms) rollback transaction
269
+  (0.1ms) begin transaction
270
+ --------------------------------------------------------------------
271
+ SipgateIo::XmlResponseTestTest: test_create_without_params_gives_500
272
+ --------------------------------------------------------------------
273
+  (0.0ms) rollback transaction
274
+  (0.0ms) begin transaction
275
+ ---------------------------------------------------------------------
276
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
277
+ ---------------------------------------------------------------------
278
+ Processing by SipgateIo::EventsController#create as HTML
279
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
280
+  (0.1ms) rollback transaction
281
+  (0.1ms) begin transaction
282
+ -------------------------
283
+ SipgateIoTest: test_truth
284
+ -------------------------
285
+  (0.1ms) rollback transaction
286
+  (0.2ms) begin transaction
287
+ -------------------------------------------------------
288
+ SipgateIo::XmlResponseTestTest: test_knows_callback_url
289
+ -------------------------------------------------------
290
+  (0.1ms) rollback transaction
291
+  (0.0ms) begin transaction
292
+ -------------------------
293
+ SipgateIoTest: test_truth
294
+ -------------------------
295
+  (0.0ms) rollback transaction
296
+  (0.0ms) begin transaction
297
+ ---------------------------------------------------------------------
298
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
299
+ ---------------------------------------------------------------------
300
+ Processing by SipgateIo::EventsController#create as HTML
301
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
302
+  (0.1ms) rollback transaction
303
+  (0.2ms) begin transaction
304
+ -------------------------
305
+ SipgateIoTest: test_truth
306
+ -------------------------
307
+  (0.1ms) rollback transaction
308
+  (0.0ms) begin transaction
309
+ ---------------------------------------------------------------------
310
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
311
+ ---------------------------------------------------------------------
312
+ Processing by SipgateIo::EventsController#create as HTML
313
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
314
+  (0.1ms) rollback transaction
315
+  (0.0ms) begin transaction
316
+ -------------------------------------------------------
317
+ SipgateIo::XmlResponseTestTest: test_knows_callback_url
318
+ -------------------------------------------------------
319
+  (0.1ms) rollback transaction
320
+  (0.2ms) begin transaction
321
+ ---------------------------------------------------------------------
322
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
323
+ ---------------------------------------------------------------------
324
+ Processing by SipgateIo::EventsController#create as HTML
325
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
326
+  (0.1ms) rollback transaction
327
+  (0.2ms) begin transaction
328
+ -------------------------------------------------------
329
+ SipgateIo::XmlResponseTestTest: test_knows_callback_url
330
+ -------------------------------------------------------
331
+  (0.1ms) rollback transaction
332
+  (0.2ms) begin transaction
333
+ -------------------------
334
+ SipgateIoTest: test_truth
335
+ -------------------------
336
+  (0.3ms) rollback transaction
337
+  (0.1ms) begin transaction
338
+ ---------------------------------------------------------------------
339
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
340
+ ---------------------------------------------------------------------
341
+ Processing by SipgateIo::EventsController#create as HTML
342
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
343
+  (0.1ms) rollback transaction
344
+  (0.1ms) begin transaction
345
+ -------------------------
346
+ SipgateIoTest: test_truth
347
+ -------------------------
348
+  (0.1ms) rollback transaction
349
+  (0.1ms) begin transaction
350
+ ---------------------------------------------------------------------
351
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
352
+ ---------------------------------------------------------------------
353
+ Processing by SipgateIo::EventsController#create as HTML
354
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
355
+  (0.1ms) rollback transaction
356
+  (0.1ms) begin transaction
357
+ ------------------------------------------------
358
+ SipgateIo::EventsControllerTest: test_a_new_call
359
+ ------------------------------------------------
360
+ Processing by SipgateIo::EventsController#create as HTML
361
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "call_id"=>"55555", "users"=>["Bob"]}
362
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
363
+  (0.1ms) rollback transaction
364
+  (0.1ms) begin transaction
365
+ -------------------------
366
+ SipgateIoTest: test_truth
367
+ -------------------------
368
+  (0.0ms) rollback transaction
369
+  (0.1ms) begin transaction
370
+ -------------------------
371
+ SipgateIoTest: test_truth
372
+ -------------------------
373
+  (0.0ms) rollback transaction
374
+  (0.1ms) begin transaction
375
+ ------------------------------------------------
376
+ SipgateIo::EventsControllerTest: test_a_new_call
377
+ ------------------------------------------------
378
+ Processing by SipgateIo::EventsController#create as HTML
379
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
380
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
381
+  (0.1ms) rollback transaction
382
+  (0.1ms) begin transaction
383
+ ---------------------------------------------------------------------
384
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
385
+ ---------------------------------------------------------------------
386
+ Processing by SipgateIo::EventsController#create as HTML
387
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
388
+  (0.1ms) rollback transaction
389
+  (0.2ms) begin transaction
390
+ ------------------------------------------------
391
+ SipgateIo::EventsControllerTest: test_a_new_call
392
+ ------------------------------------------------
393
+ Processing by SipgateIo::EventsController#create as HTML
394
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
395
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
396
+  (0.1ms) rollback transaction
397
+  (0.1ms) begin transaction
398
+ ---------------------------------------------------------------------
399
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
400
+ ---------------------------------------------------------------------
401
+ Processing by SipgateIo::EventsController#create as HTML
402
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
403
+  (0.1ms) rollback transaction
404
+  (0.1ms) begin transaction
405
+ -------------------------
406
+ SipgateIoTest: test_truth
407
+ -------------------------
408
+  (0.1ms) rollback transaction
409
+  (0.1ms) begin transaction
410
+ -------------------------
411
+ SipgateIoTest: test_truth
412
+ -------------------------
413
+  (0.0ms) rollback transaction
414
+  (0.1ms) begin transaction
415
+ ------------------------------------------------
416
+ SipgateIo::EventsControllerTest: test_a_new_call
417
+ ------------------------------------------------
418
+ Processing by SipgateIo::EventsController#create as HTML
419
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
420
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
421
+  (0.1ms) rollback transaction
422
+  (0.0ms) begin transaction
423
+ ---------------------------------------------------------------------
424
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
425
+ ---------------------------------------------------------------------
426
+ Processing by SipgateIo::EventsController#create as HTML
427
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
428
+  (0.1ms) rollback transaction
429
+  (0.2ms) begin transaction
430
+  (0.1ms) rollback transaction
431
+  (0.0ms) begin transaction
432
+  (0.0ms) rollback transaction
433
+  (0.0ms) begin transaction
434
+  (0.0ms) rollback transaction
435
+  (0.1ms) begin transaction
436
+ Fixture Delete (0.2ms) DELETE FROM "sipgate_io_new_calls"
437
+  (0.0ms) rollback transaction
438
+  (0.0ms) begin transaction
439
+ Fixture Delete (0.1ms) DELETE FROM "sipgate_io_new_calls"
440
+  (0.0ms) rollback transaction
441
+  (0.1ms) begin transaction
442
+ Fixture Delete (0.1ms) DELETE FROM "sipgate_io_new_calls"
443
+  (0.1ms) rollback transaction
444
+  (0.1ms) begin transaction
445
+ ---------------------------------------------------------------------
446
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
447
+ ---------------------------------------------------------------------
448
+ Processing by SipgateIo::EventsController#create as HTML
449
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
450
+  (0.1ms) rollback transaction
451
+  (0.9ms) begin transaction
452
+ ------------------------------------------------
453
+ SipgateIo::EventsControllerTest: test_a_new_call
454
+ ------------------------------------------------
455
+ Processing by SipgateIo::EventsController#create as HTML
456
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
457
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
458
+  (0.1ms) rollback transaction
459
+  (0.0ms) begin transaction
460
+ -------------------------
461
+ SipgateIoTest: test_truth
462
+ -------------------------
463
+  (0.0ms) rollback transaction
464
+  (0.1ms) begin transaction
465
+ Fixture Delete (0.2ms) DELETE FROM "sipgate_io_answers"
466
+  (0.0ms) rollback transaction
467
+  (0.1ms) begin transaction
468
+ Fixture Delete (0.3ms) DELETE FROM "sipgate_io_answers"
469
+  (0.1ms) rollback transaction
470
+  (0.0ms) begin transaction
471
+ Fixture Delete (0.1ms) DELETE FROM "sipgate_io_answers"
472
+  (0.0ms) rollback transaction
473
+  (0.1ms) begin transaction
474
+ ---------------------------------------------------------------------
475
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
476
+ ---------------------------------------------------------------------
477
+ Processing by SipgateIo::EventsController#create as HTML
478
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
479
+  (0.1ms) rollback transaction
480
+  (0.0ms) begin transaction
481
+ ------------------------------------------------
482
+ SipgateIo::EventsControllerTest: test_a_new_call
483
+ ------------------------------------------------
484
+ Processing by SipgateIo::EventsController#create as HTML
485
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
486
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
487
+  (0.1ms) rollback transaction
488
+  (0.0ms) begin transaction
489
+ -------------------------
490
+ SipgateIoTest: test_truth
491
+ -------------------------
492
+  (0.0ms) rollback transaction
493
+  (0.1ms) begin transaction
494
+ -------------------------
495
+ SipgateIoTest: test_truth
496
+ -------------------------
497
+  (0.0ms) rollback transaction
498
+  (0.0ms) begin transaction
499
+ ---------------------------------------------------------------------
500
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
501
+ ---------------------------------------------------------------------
502
+ Processing by SipgateIo::EventsController#create as HTML
503
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
504
+  (0.1ms) rollback transaction
505
+  (0.0ms) begin transaction
506
+ ------------------------------------------------
507
+ SipgateIo::EventsControllerTest: test_a_new_call
508
+ ------------------------------------------------
509
+ Processing by SipgateIo::EventsController#create as HTML
510
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
511
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
512
+  (0.1ms) rollback transaction
513
+  (0.1ms) begin transaction
514
+ ---------------------------------------------------------------------
515
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
516
+ ---------------------------------------------------------------------
517
+ Processing by SipgateIo::EventsController#create as HTML
518
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
519
+  (0.1ms) rollback transaction
520
+  (0.0ms) begin transaction
521
+ ------------------------------------------------
522
+ SipgateIo::EventsControllerTest: test_a_new_call
523
+ ------------------------------------------------
524
+ Processing by SipgateIo::EventsController#create as HTML
525
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
526
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
527
+  (0.1ms) rollback transaction
528
+  (0.0ms) begin transaction
529
+ -------------------------
530
+ SipgateIoTest: test_truth
531
+ -------------------------
532
+  (0.0ms) rollback transaction
533
+  (0.1ms) begin transaction
534
+ ------------------------------------------------
535
+ SipgateIo::EventsControllerTest: test_a_new_call
536
+ ------------------------------------------------
537
+ Processing by SipgateIo::EventsController#create as HTML
538
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
539
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
540
+  (0.1ms) rollback transaction
541
+  (0.0ms) begin transaction
542
+ ---------------------------------------------------------------------
543
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
544
+ ---------------------------------------------------------------------
545
+ Processing by SipgateIo::EventsController#create as HTML
546
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
547
+  (0.1ms) rollback transaction
548
+  (0.1ms) begin transaction
549
+ -------------------------
550
+ SipgateIoTest: test_truth
551
+ -------------------------
552
+  (0.1ms) rollback transaction
553
+  (0.1ms) begin transaction
554
+ ---------------------------------------------------------------------
555
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
556
+ ---------------------------------------------------------------------
557
+ Processing by SipgateIo::EventsController#create as HTML
558
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
559
+  (0.1ms) rollback transaction
560
+  (0.0ms) begin transaction
561
+ ------------------------------------------------
562
+ SipgateIo::EventsControllerTest: test_a_new_call
563
+ ------------------------------------------------
564
+ Processing by SipgateIo::EventsController#create as HTML
565
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
566
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
567
+  (0.1ms) rollback transaction
568
+  (0.0ms) begin transaction
569
+ -------------------------
570
+ SipgateIoTest: test_truth
571
+ -------------------------
572
+  (0.1ms) rollback transaction
573
+  (0.1ms) begin transaction
574
+ -------------------------
575
+ SipgateIoTest: test_truth
576
+ -------------------------
577
+  (0.0ms) rollback transaction
578
+  (0.0ms) begin transaction
579
+ ------------------------------------------------
580
+ SipgateIo::EventsControllerTest: test_a_new_call
581
+ ------------------------------------------------
582
+ Processing by SipgateIo::EventsController#create as HTML
583
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
584
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
585
+  (0.1ms) rollback transaction
586
+  (0.1ms) begin transaction
587
+ ---------------------------------------------------------------------
588
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
589
+ ---------------------------------------------------------------------
590
+ Processing by SipgateIo::EventsController#create as HTML
591
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
592
+  (0.1ms) rollback transaction
593
+  (0.1ms) begin transaction
594
+ ---------------------------------------------------------------------
595
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
596
+ ---------------------------------------------------------------------
597
+ Processing by SipgateIo::EventsController#create as HTML
598
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
599
+  (0.1ms) rollback transaction
600
+  (0.0ms) begin transaction
601
+ ------------------------------------------------
602
+ SipgateIo::EventsControllerTest: test_a_new_call
603
+ ------------------------------------------------
604
+ Processing by SipgateIo::EventsController#create as HTML
605
+ Parameters: {"from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
606
+ Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.0ms)
607
+  (0.1ms) rollback transaction
608
+  (0.0ms) begin transaction
609
+ -------------------------
610
+ SipgateIoTest: test_truth
611
+ -------------------------
612
+  (0.0ms) rollback transaction
613
+  (0.1ms) begin transaction
614
+ ------------------------------------------------
615
+ SipgateIo::EventsControllerTest: test_a_new_call
616
+ ------------------------------------------------
617
+ Processing by SipgateIo::EventsController#create as HTML
618
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
619
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
620
+  (0.1ms) rollback transaction
621
+  (0.1ms) begin transaction
622
+ ---------------------------------------------------------------------
623
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
624
+ ---------------------------------------------------------------------
625
+ Processing by SipgateIo::EventsController#create as HTML
626
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
627
+  (0.1ms) rollback transaction
628
+  (0.0ms) begin transaction
629
+ -------------------------
630
+ SipgateIoTest: test_truth
631
+ -------------------------
632
+  (0.0ms) rollback transaction
633
+  (0.1ms) begin transaction
634
+ -------------------------
635
+ SipgateIoTest: test_truth
636
+ -------------------------
637
+  (0.1ms) rollback transaction
638
+  (0.0ms) begin transaction
639
+ ------------------------------------------------
640
+ SipgateIo::EventsControllerTest: test_a_new_call
641
+ ------------------------------------------------
642
+ Processing by SipgateIo::EventsController#create as HTML
643
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
644
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
645
+  (0.1ms) rollback transaction
646
+  (0.1ms) begin transaction
647
+ ---------------------------------------------------------------------
648
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
649
+ ---------------------------------------------------------------------
650
+ Processing by SipgateIo::EventsController#create as HTML
651
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
652
+  (0.1ms) rollback transaction
653
+  (0.2ms) begin transaction
654
+ ---------------------------------------------------------------------
655
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
656
+ ---------------------------------------------------------------------
657
+ Processing by SipgateIo::EventsController#create as HTML
658
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
659
+  (0.1ms) rollback transaction
660
+  (0.0ms) begin transaction
661
+ ---------------------------------------------------------------------
662
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
663
+ ---------------------------------------------------------------------
664
+ Processing by SipgateIo::EventsController#create as HTML
665
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
666
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
667
+ Processing by SipgateIo::EventsController#create as HTML
668
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
669
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
670
+  (0.1ms) rollback transaction
671
+  (0.1ms) begin transaction
672
+ ------------------------------------------------
673
+ SipgateIo::EventsControllerTest: test_a_new_call
674
+ ------------------------------------------------
675
+ Processing by SipgateIo::EventsController#create as HTML
676
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
677
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
678
+  (0.1ms) rollback transaction
679
+  (0.0ms) begin transaction
680
+ -------------------------
681
+ SipgateIoTest: test_truth
682
+ -------------------------
683
+  (0.0ms) rollback transaction
684
+  (0.1ms) begin transaction
685
+ -------------------------
686
+ SipgateIoTest: test_truth
687
+ -------------------------
688
+  (0.0ms) rollback transaction
689
+  (0.1ms) begin transaction
690
+ ---------------------------------------------------------------------
691
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
692
+ ---------------------------------------------------------------------
693
+ Processing by SipgateIo::EventsController#create as HTML
694
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
695
+  (0.1ms) rollback transaction
696
+  (0.2ms) begin transaction
697
+ -------------------------
698
+ SipgateIoTest: test_truth
699
+ -------------------------
700
+  (0.1ms) rollback transaction
701
+  (0.1ms) begin transaction
702
+ ------------------------------------------------
703
+ SipgateIo::EventsControllerTest: test_a_new_call
704
+ ------------------------------------------------
705
+ Processing by SipgateIo::EventsController#create as HTML
706
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
707
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
708
+  (0.1ms) rollback transaction
709
+  (0.1ms) begin transaction
710
+ ---------------------------------------------------------------------
711
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
712
+ ---------------------------------------------------------------------
713
+ Processing by SipgateIo::EventsController#create as HTML
714
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
715
+  (0.1ms) rollback transaction
716
+  (0.2ms) begin transaction
717
+ ---------------------------------------------------------------------
718
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
719
+ ---------------------------------------------------------------------
720
+ Processing by SipgateIo::EventsController#create as HTML
721
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
722
+  (0.1ms) rollback transaction
723
+  (0.1ms) begin transaction
724
+ ------------------------------------------------
725
+ SipgateIo::EventsControllerTest: test_a_new_call
726
+ ------------------------------------------------
727
+ Processing by SipgateIo::EventsController#create as HTML
728
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
729
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
730
+  (0.1ms) rollback transaction
731
+  (0.0ms) begin transaction
732
+ -------------------------
733
+ SipgateIoTest: test_truth
734
+ -------------------------
735
+  (0.0ms) rollback transaction
736
+  (0.1ms) begin transaction
737
+ ------------------------------------------------
738
+ SipgateIo::EventsControllerTest: test_a_new_call
739
+ ------------------------------------------------
740
+ Processing by SipgateIo::EventsController#create as HTML
741
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
742
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)
743
+  (0.1ms) rollback transaction
744
+  (0.1ms) begin transaction
745
+ ---------------------------------------------------------------------
746
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
747
+ ---------------------------------------------------------------------
748
+ Processing by SipgateIo::EventsController#create as HTML
749
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
750
+  (0.1ms) rollback transaction
751
+  (0.0ms) begin transaction
752
+ -------------------------
753
+ SipgateIoTest: test_truth
754
+ -------------------------
755
+  (0.0ms) rollback transaction
756
+  (0.1ms) begin transaction
757
+ ---------------------------------------------------------------------
758
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
759
+ ---------------------------------------------------------------------
760
+ Processing by SipgateIo::EventsController#create as HTML
761
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
762
+  (0.1ms) rollback transaction
763
+  (0.1ms) begin transaction
764
+ ------------------------------------------------
765
+ SipgateIo::EventsControllerTest: test_a_new_call
766
+ ------------------------------------------------
767
+ Processing by SipgateIo::EventsController#create as HTML
768
+ Parameters: {"from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
769
+ Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms)
770
+  (0.1ms) rollback transaction
771
+  (0.0ms) begin transaction
772
+ -------------------------
773
+ SipgateIoTest: test_truth
774
+ -------------------------
775
+  (0.0ms) rollback transaction
776
+  (0.1ms) begin transaction
777
+ ---------------------------------------------------------------------
778
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
779
+ ---------------------------------------------------------------------
780
+ Processing by SipgateIo::EventsController#create as HTML
781
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
782
+  (0.1ms) rollback transaction
783
+  (0.1ms) begin transaction
784
+ ---------------------------------------------------------------------
785
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
786
+ ---------------------------------------------------------------------
787
+ Processing by SipgateIo::EventsController#create as HTML
788
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
789
+ Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.0ms)
790
+  (0.1ms) rollback transaction
791
+  (0.0ms) begin transaction
792
+ ------------------------------------------------
793
+ SipgateIo::EventsControllerTest: test_a_new_call
794
+ ------------------------------------------------
795
+ Processing by SipgateIo::EventsController#create as HTML
796
+ Parameters: {"to"=>"12345", "from"=>"54321", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
797
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
798
+  (0.1ms) rollback transaction
799
+  (0.0ms) begin transaction
800
+ -------------------------
801
+ SipgateIoTest: test_truth
802
+ -------------------------
803
+  (0.0ms) rollback transaction
804
+  (0.1ms) begin transaction
805
+ -------------------------
806
+ SipgateIoTest: test_truth
807
+ -------------------------
808
+  (0.0ms) rollback transaction
809
+  (0.0ms) begin transaction
810
+ ---------------------------------------------------------------------
811
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
812
+ ---------------------------------------------------------------------
813
+ Processing by SipgateIo::EventsController#create as HTML
814
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
815
+ Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.0ms)
816
+  (0.1ms) rollback transaction
817
+  (0.1ms) begin transaction
818
+ ---------------------------------------------------------------------
819
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
820
+ ---------------------------------------------------------------------
821
+ Processing by SipgateIo::EventsController#create as HTML
822
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
823
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
824
+  (0.1ms) rollback transaction
825
+  (0.2ms) begin transaction
826
+ ---------------------------------------------------------------------
827
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
828
+ ---------------------------------------------------------------------
829
+ Processing by SipgateIo::EventsController#create as HTML
830
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
831
+  (0.1ms) rollback transaction
832
+  (0.1ms) begin transaction
833
+ ------------------------------------------------
834
+ SipgateIo::EventsControllerTest: test_a_new_call
835
+ ------------------------------------------------
836
+ Processing by SipgateIo::EventsController#create as HTML
837
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
838
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
839
+  (0.1ms) rollback transaction
840
+  (0.1ms) begin transaction
841
+ -------------------------
842
+ SipgateIoTest: test_truth
843
+ -------------------------
844
+  (0.0ms) rollback transaction
845
+  (0.2ms) begin transaction
846
+ ---------------------------------------------------------------------
847
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
848
+ ---------------------------------------------------------------------
849
+ Processing by SipgateIo::EventsController#create as HTML
850
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
851
+ Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.0ms)
852
+  (0.1ms) rollback transaction
853
+  (0.1ms) begin transaction
854
+ ------------------------------------------------
855
+ SipgateIo::EventsControllerTest: test_a_new_call
856
+ ------------------------------------------------
857
+ Processing by SipgateIo::EventsController#create as HTML
858
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
859
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
860
+  (0.1ms) rollback transaction
861
+  (0.1ms) begin transaction
862
+ ---------------------------------------------------------------------
863
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
864
+ ---------------------------------------------------------------------
865
+ Processing by SipgateIo::EventsController#create as HTML
866
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
867
+  (0.1ms) rollback transaction
868
+  (0.1ms) begin transaction
869
+ ---------------------------------------------------------------------
870
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
871
+ ---------------------------------------------------------------------
872
+ Processing by SipgateIo::EventsController#create as HTML
873
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
874
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
875
+  (0.1ms) rollback transaction
876
+  (0.1ms) begin transaction
877
+ -------------------------
878
+ SipgateIoTest: test_truth
879
+ -------------------------
880
+  (0.0ms) rollback transaction
881
+  (0.1ms) begin transaction
882
+ ---------------------------------------------------------------------
883
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
884
+ ---------------------------------------------------------------------
885
+ Processing by SipgateIo::EventsController#create as HTML
886
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
887
+  (0.1ms) rollback transaction
888
+  (0.1ms) begin transaction
889
+ ---------------------------------------------------------------------
890
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
891
+ ---------------------------------------------------------------------
892
+ Processing by SipgateIo::EventsController#create as HTML
893
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
894
+ Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms)
895
+  (0.1ms) rollback transaction
896
+  (0.1ms) begin transaction
897
+ ---------------------------------------------------------------------
898
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
899
+ ---------------------------------------------------------------------
900
+ Processing by SipgateIo::EventsController#create as HTML
901
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
902
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
903
+  (0.1ms) rollback transaction
904
+  (0.1ms) begin transaction
905
+ ------------------------------------------------
906
+ SipgateIo::EventsControllerTest: test_a_new_call
907
+ ------------------------------------------------
908
+ Processing by SipgateIo::EventsController#create as HTML
909
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
910
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
911
+  (0.1ms) rollback transaction
912
+  (0.1ms) begin transaction
913
+ ---------------------------------------------------------------------
914
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
915
+ ---------------------------------------------------------------------
916
+ Processing by SipgateIo::EventsController#create as HTML
917
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
918
+ Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms)
919
+  (0.1ms) rollback transaction
920
+  (0.0ms) begin transaction
921
+ ---------------------------------------------------------------------
922
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
923
+ ---------------------------------------------------------------------
924
+ Processing by SipgateIo::EventsController#create as HTML
925
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
926
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
927
+  (0.1ms) rollback transaction
928
+  (0.1ms) begin transaction
929
+ ------------------------------------------------
930
+ SipgateIo::EventsControllerTest: test_a_new_call
931
+ ------------------------------------------------
932
+ Processing by SipgateIo::EventsController#create as HTML
933
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"off", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
934
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
935
+  (0.1ms) rollback transaction
936
+  (0.1ms) begin transaction
937
+ ---------------------------------------------------------------------
938
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
939
+ ---------------------------------------------------------------------
940
+ Processing by SipgateIo::EventsController#create as HTML
941
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
942
+  (0.1ms) rollback transaction
943
+  (0.0ms) begin transaction
944
+ -------------------------
945
+ SipgateIoTest: test_truth
946
+ -------------------------
947
+  (0.0ms) rollback transaction
948
+  (0.1ms) begin transaction
949
+ -------------------------
950
+ SipgateIoTest: test_truth
951
+ -------------------------
952
+  (0.0ms) rollback transaction
953
+  (0.1ms) begin transaction
954
+ ---------------------------------------------------------------------
955
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
956
+ ---------------------------------------------------------------------
957
+ Processing by SipgateIo::EventsController#create as HTML
958
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
959
+ Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms)
960
+  (0.1ms) rollback transaction
961
+  (0.1ms) begin transaction
962
+ ------------------------------------------------
963
+ SipgateIo::EventsControllerTest: test_a_new_call
964
+ ------------------------------------------------
965
+ Processing by SipgateIo::EventsController#create as HTML
966
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
967
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
968
+  (0.1ms) rollback transaction
969
+  (0.1ms) begin transaction
970
+ ---------------------------------------------------------------------
971
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
972
+ ---------------------------------------------------------------------
973
+ Processing by SipgateIo::EventsController#create as HTML
974
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
975
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
976
+  (0.1ms) rollback transaction
977
+  (0.1ms) begin transaction
978
+ ---------------------------------------------------------------------
979
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
980
+ ---------------------------------------------------------------------
981
+ Processing by SipgateIo::EventsController#create as HTML
982
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
983
+  (0.1ms) rollback transaction
984
+  (0.2ms) begin transaction
985
+ -------------------------
986
+ SipgateIoTest: test_truth
987
+ -------------------------
988
+  (0.1ms) rollback transaction
989
+  (0.1ms) begin transaction
990
+ ------------------------------------------------
991
+ SipgateIo::EventsControllerTest: test_a_new_call
992
+ ------------------------------------------------
993
+ Processing by SipgateIo::EventsController#create as HTML
994
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
995
+ Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms)
996
+  (0.1ms) rollback transaction
997
+  (0.0ms) begin transaction
998
+ ---------------------------------------------------------------------
999
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
1000
+ ---------------------------------------------------------------------
1001
+ Processing by SipgateIo::EventsController#create as HTML
1002
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1003
+  (0.1ms) rollback transaction
1004
+  (0.1ms) begin transaction
1005
+ ------------------------------------------------
1006
+ SipgateIo::EventsControllerTest: test_a_new_call
1007
+ ------------------------------------------------
1008
+ Processing by SipgateIo::EventsController#create as HTML
1009
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1010
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1011
+  (0.1ms) rollback transaction
1012
+  (0.1ms) begin transaction
1013
+ ---------------------------------------------------------------------
1014
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
1015
+ ---------------------------------------------------------------------
1016
+ Processing by SipgateIo::EventsController#create as HTML
1017
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1018
+  (0.1ms) rollback transaction
1019
+  (0.0ms) begin transaction
1020
+ -------------------------
1021
+ SipgateIoTest: test_truth
1022
+ -------------------------
1023
+  (0.0ms) rollback transaction
1024
+  (0.1ms) begin transaction
1025
+ -------------------------
1026
+ SipgateIoTest: test_truth
1027
+ -------------------------
1028
+  (0.0ms) rollback transaction
1029
+  (0.1ms) begin transaction
1030
+ ---------------------------------------------------------------------
1031
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
1032
+ ---------------------------------------------------------------------
1033
+ Processing by SipgateIo::EventsController#create as HTML
1034
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1035
+  (0.1ms) rollback transaction
1036
+  (0.1ms) begin transaction
1037
+ ---------------------------------------------------------------------
1038
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
1039
+ ---------------------------------------------------------------------
1040
+ Processing by SipgateIo::EventsController#create as HTML
1041
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1042
+ Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms)
1043
+  (0.1ms) rollback transaction
1044
+  (0.1ms) begin transaction
1045
+ ------------------------------------------------
1046
+ SipgateIo::EventsControllerTest: test_a_new_call
1047
+ ------------------------------------------------
1048
+ Processing by SipgateIo::EventsController#create as HTML
1049
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1050
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1051
+  (0.1ms) rollback transaction
1052
+  (0.0ms) begin transaction
1053
+ ---------------------------------------------------------------------
1054
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
1055
+ ---------------------------------------------------------------------
1056
+ Processing by SipgateIo::EventsController#create as HTML
1057
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1058
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
1059
+  (0.1ms) rollback transaction
1060
+  (0.1ms) begin transaction
1061
+ ---------------------------------------------------------------------
1062
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
1063
+ ---------------------------------------------------------------------
1064
+ Processing by SipgateIo::EventsController#create as HTML
1065
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1066
+ Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.0ms)
1067
+  (0.1ms) rollback transaction
1068
+  (0.1ms) begin transaction
1069
+ ------------------------------------------------
1070
+ SipgateIo::EventsControllerTest: test_a_new_call
1071
+ ------------------------------------------------
1072
+ Processing by SipgateIo::EventsController#create as HTML
1073
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1074
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1075
+  (0.1ms) rollback transaction
1076
+  (0.1ms) begin transaction
1077
+ ---------------------------------------------------------------------
1078
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
1079
+ ---------------------------------------------------------------------
1080
+ Processing by SipgateIo::EventsController#create as HTML
1081
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1082
+  (0.1ms) rollback transaction
1083
+  (0.0ms) begin transaction
1084
+ ---------------------------------------------------------------------
1085
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
1086
+ ---------------------------------------------------------------------
1087
+ Processing by SipgateIo::EventsController#create as HTML
1088
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1089
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
1090
+  (0.1ms) rollback transaction
1091
+  (0.0ms) begin transaction
1092
+ -------------------------
1093
+ SipgateIoTest: test_truth
1094
+ -------------------------
1095
+  (0.0ms) rollback transaction
1096
+  (0.1ms) begin transaction
1097
+ -------------------------
1098
+ SipgateIoTest: test_truth
1099
+ -------------------------
1100
+  (0.1ms) rollback transaction
1101
+  (0.1ms) begin transaction
1102
+ ------------------------------------------------
1103
+ SipgateIo::EventsControllerTest: test_a_new_call
1104
+ ------------------------------------------------
1105
+ Processing by SipgateIo::EventsController#create as HTML
1106
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1107
+ Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1108
+  (0.1ms) rollback transaction
1109
+  (0.1ms) begin transaction
1110
+ ---------------------------------------------------------------------
1111
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
1112
+ ---------------------------------------------------------------------
1113
+ Processing by SipgateIo::EventsController#create as HTML
1114
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1115
+ Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms)
1116
+  (0.1ms) rollback transaction
1117
+  (0.1ms) begin transaction
1118
+ ---------------------------------------------------------------------
1119
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
1120
+ ---------------------------------------------------------------------
1121
+ Processing by SipgateIo::EventsController#create as HTML
1122
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1123
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
1124
+  (0.1ms) rollback transaction
1125
+  (0.1ms) begin transaction
1126
+ ---------------------------------------------------------------------
1127
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
1128
+ ---------------------------------------------------------------------
1129
+ Processing by SipgateIo::EventsController#create as HTML
1130
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1131
+  (0.1ms) rollback transaction
1132
+  (0.1ms) begin transaction
1133
+ ---------------------------------------------------------------------
1134
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
1135
+ ---------------------------------------------------------------------
1136
+ Processing by SipgateIo::EventsController#create as HTML
1137
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1138
+  (0.1ms) rollback transaction
1139
+  (0.1ms) begin transaction
1140
+ ---------------------------------------------------------------------
1141
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
1142
+ ---------------------------------------------------------------------
1143
+ Processing by SipgateIo::EventsController#create as HTML
1144
+ Parameters: {"callId"=>"55555", "direction"=>"in", "event"=>"newCall", "user"=>["Bob"]}
1145
+ Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
1146
+  (0.1ms) rollback transaction
1147
+  (0.1ms) begin transaction
1148
+ ------------------------------------------------
1149
+ SipgateIo::EventsControllerTest: test_a_new_call
1150
+ ------------------------------------------------
1151
+ Processing by SipgateIo::EventsController#create as HTML
1152
+ Parameters: {"callId"=>"55555", "direction"=>"in", "event"=>"newCall", "from"=>"anonymous", "to"=>"12345", "user"=>["Bob"]}
1153
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1154
+  (0.0ms) rollback transaction
1155
+  (0.1ms) begin transaction
1156
+ ---------------------------------------------------------------------
1157
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
1158
+ ---------------------------------------------------------------------
1159
+ Processing by SipgateIo::EventsController#create as HTML
1160
+ Parameters: {"callId"=>"55555", "direction"=>"in", "event"=>"newCall", "from"=>"peter", "to"=>"", "user"=>["Bob"]}
1161
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
1162
+  (0.1ms) rollback transaction
1163
+  (0.1ms) begin transaction
1164
+ -------------------------
1165
+ SipgateIoTest: test_truth
1166
+ -------------------------
1167
+  (0.0ms) rollback transaction
1168
+  (0.2ms) begin transaction
1169
+ ------------------------------------------------
1170
+ SipgateIo::EventsControllerTest: test_a_new_call
1171
+ ------------------------------------------------
1172
+ Processing by SipgateIo::EventsController#create as HTML
1173
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1174
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1175
+  (0.1ms) rollback transaction
1176
+  (0.0ms) begin transaction
1177
+ ---------------------------------------------------------------------
1178
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
1179
+ ---------------------------------------------------------------------
1180
+ Processing by SipgateIo::EventsController#create as HTML
1181
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1182
+ Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
1183
+  (0.1ms) rollback transaction
1184
+  (0.1ms) begin transaction
1185
+ ---------------------------------------------------------------------
1186
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
1187
+ ---------------------------------------------------------------------
1188
+ Processing by SipgateIo::EventsController#create as HTML
1189
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1190
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
1191
+  (0.1ms) rollback transaction
1192
+  (0.1ms) begin transaction
1193
+ ---------------------------------------------------------------------
1194
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
1195
+ ---------------------------------------------------------------------
1196
+ Processing by SipgateIo::EventsController#create as HTML
1197
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1198
+  (0.1ms) rollback transaction
1199
+  (0.1ms) begin transaction
1200
+ -------------------------
1201
+ SipgateIoTest: test_truth
1202
+ -------------------------
1203
+  (0.1ms) rollback transaction
1204
+  (0.2ms) begin transaction
1205
+ -------------------------
1206
+ SipgateIoTest: test_truth
1207
+ -------------------------
1208
+  (0.3ms) rollback transaction
1209
+  (0.0ms) begin transaction
1210
+ ---------------------------------------------------------------------
1211
+ SipgateIo::EventsControllerTest: test_create_without_params_gives_500
1212
+ ---------------------------------------------------------------------
1213
+ Processing by SipgateIo::EventsController#create as HTML
1214
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1215
+  (0.1ms) rollback transaction
1216
+  (0.2ms) begin transaction
1217
+ ---------------------------------------------------------------------
1218
+ SipgateIo::EventsControllerTest: test_a_new_call_with_missing_to/from
1219
+ ---------------------------------------------------------------------
1220
+ Processing by SipgateIo::EventsController#create as HTML
1221
+ Parameters: {"direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1222
+ Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
1223
+  (0.1ms) rollback transaction
1224
+  (0.0ms) begin transaction
1225
+ ---------------------------------------------------------------------
1226
+ SipgateIo::EventsControllerTest: test_a_new_call_with_invalid_to/from
1227
+ ---------------------------------------------------------------------
1228
+ Processing by SipgateIo::EventsController#create as HTML
1229
+ Parameters: {"to"=>"", "from"=>"peter", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1230
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
1231
+  (0.1ms) rollback transaction
1232
+  (0.0ms) begin transaction
1233
+ ------------------------------------------------
1234
+ SipgateIo::EventsControllerTest: test_a_new_call
1235
+ ------------------------------------------------
1236
+ Processing by SipgateIo::EventsController#create as HTML
1237
+ Parameters: {"to"=>"12345", "from"=>"anonymous", "direction"=>"in", "event"=>"newCall", "callId"=>"55555", "user"=>["Bob"]}
1238
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1239
+  (0.1ms) rollback transaction