spyme 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +32 -0
  4. data/app/controllers/spyme/locations_controller.rb +26 -0
  5. data/config/routes.rb +7 -0
  6. data/lib/spyme/controller.rb +13 -0
  7. data/lib/spyme/engine.rb +5 -0
  8. data/lib/spyme/model.rb +34 -0
  9. data/lib/spyme/version.rb +3 -0
  10. data/lib/spyme.rb +8 -0
  11. data/lib/tasks/spyme_tasks.rake +4 -0
  12. data/test/dummy/README.rdoc +28 -0
  13. data/test/dummy/Rakefile +6 -0
  14. data/test/dummy/app/assets/javascripts/application.js +14 -0
  15. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  16. data/test/dummy/app/controllers/application_controller.rb +5 -0
  17. data/test/dummy/app/controllers/home_controller.rb +9 -0
  18. data/test/dummy/app/helpers/application_helper.rb +2 -0
  19. data/test/dummy/app/views/home/my_location.html.erb +3 -0
  20. data/test/dummy/app/views/home/start.html.erb +3 -0
  21. data/test/dummy/app/views/layouts/application.html.erb +15 -0
  22. data/test/dummy/bin/bundle +3 -0
  23. data/test/dummy/bin/rails +4 -0
  24. data/test/dummy/bin/rake +4 -0
  25. data/test/dummy/config/application.rb +23 -0
  26. data/test/dummy/config/boot.rb +5 -0
  27. data/test/dummy/config/database.yml +25 -0
  28. data/test/dummy/config/environment.rb +5 -0
  29. data/test/dummy/config/environments/development.rb +37 -0
  30. data/test/dummy/config/environments/production.rb +82 -0
  31. data/test/dummy/config/environments/test.rb +39 -0
  32. data/test/dummy/config/initializers/assets.rb +8 -0
  33. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  34. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  35. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  36. data/test/dummy/config/initializers/inflections.rb +16 -0
  37. data/test/dummy/config/initializers/mime_types.rb +4 -0
  38. data/test/dummy/config/initializers/session_store.rb +3 -0
  39. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  40. data/test/dummy/config/locales/en.yml +23 -0
  41. data/test/dummy/config/routes.rb +60 -0
  42. data/test/dummy/config/secrets.yml +22 -0
  43. data/test/dummy/config.ru +4 -0
  44. data/test/dummy/db/development.sqlite3 +0 -0
  45. data/test/dummy/db/test.sqlite3 +0 -0
  46. data/test/dummy/log/development.log +21 -0
  47. data/test/dummy/log/test.log +731 -0
  48. data/test/dummy/public/404.html +67 -0
  49. data/test/dummy/public/422.html +67 -0
  50. data/test/dummy/public/500.html +66 -0
  51. data/test/dummy/public/favicon.ico +0 -0
  52. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  53. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  54. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  55. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  56. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  57. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  58. data/test/integration/spyme_test.rb +25 -0
  59. data/test/models/model_test.rb +43 -0
  60. data/test/test_helper.rb +15 -0
  61. data/vendor/assets/javascripts/spyme.js +26 -0
  62. metadata +182 -0
@@ -0,0 +1,731 @@
1
+  (0.2ms) begin transaction
2
+ ---------------------------------------------------------------------
3
+ SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
4
+ ---------------------------------------------------------------------
5
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 12:05:47 -0300
6
+  (0.2ms) rollback transaction
7
+  (0.1ms) begin transaction
8
+ ---------------------------------------------------
9
+ SpymeTest: test_post_to_spyme_should_return_success
10
+ ---------------------------------------------------
11
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 12:05:47 -0300
12
+  (0.1ms) rollback transaction
13
+  (0.1ms) begin transaction
14
+ -------------------------------------------------
15
+ SpymeTest: test_post_to_spyme_should_store_coords
16
+ -------------------------------------------------
17
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 12:05:47 -0300
18
+  (0.1ms) rollback transaction
19
+  (0.1ms) begin transaction
20
+ -------------------------------------------------------------------
21
+ ModelTest: test_google_map_coords_should_give_the_right_query_value
22
+ -------------------------------------------------------------------
23
+  (0.0ms) rollback transaction
24
+  (0.0ms) begin transaction
25
+ -----------------------------------------------------------------------------
26
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
27
+ -----------------------------------------------------------------------------
28
+  (0.0ms) rollback transaction
29
+  (0.1ms) begin transaction
30
+ ----------------------------------------------------------------------------
31
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
32
+ ----------------------------------------------------------------------------
33
+  (0.1ms) rollback transaction
34
+  (0.1ms) begin transaction
35
+ --------------------------------------------------------
36
+ ModelTest: test_to_hash_should_give_the_right_hash_value
37
+ --------------------------------------------------------
38
+  (0.0ms) rollback transaction
39
+  (0.1ms) begin transaction
40
+ -------------------------------------------------------------------
41
+ ModelTest: test_google_map_coords_should_give_the_right_query_value
42
+ -------------------------------------------------------------------
43
+  (0.1ms) rollback transaction
44
+  (0.0ms) begin transaction
45
+ -----------------------------------------------------------------------------
46
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
47
+ -----------------------------------------------------------------------------
48
+  (0.1ms) rollback transaction
49
+  (0.0ms) begin transaction
50
+ ----------------------------------------------------------------------------
51
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
52
+ ----------------------------------------------------------------------------
53
+  (0.2ms) rollback transaction
54
+  (0.1ms) begin transaction
55
+ --------------------------------------------------------
56
+ ModelTest: test_to_hash_should_give_the_right_hash_value
57
+ --------------------------------------------------------
58
+  (0.1ms) rollback transaction
59
+  (0.1ms) begin transaction
60
+ ---------------------------------------------------------------------
61
+ SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
62
+ ---------------------------------------------------------------------
63
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 12:06:20 -0300
64
+ Processing by Spyme::LocationsController#create as HTML
65
+ Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
66
+  (0.1ms) rollback transaction
67
+  (0.1ms) begin transaction
68
+ ---------------------------------------------------
69
+ SpymeTest: test_post_to_spyme_should_return_success
70
+ ---------------------------------------------------
71
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 12:06:20 -0300
72
+ Processing by Spyme::LocationsController#create as HTML
73
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
74
+ Completed 201 Created in 10ms (ActiveRecord: 0.0ms)
75
+  (0.1ms) rollback transaction
76
+  (0.1ms) begin transaction
77
+ -------------------------------------------------
78
+ SpymeTest: test_post_to_spyme_should_store_coords
79
+ -------------------------------------------------
80
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 12:06:20 -0300
81
+ Processing by Spyme::LocationsController#create as HTML
82
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
83
+ Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
84
+  (0.1ms) rollback transaction
85
+  (0.2ms) begin transaction
86
+ -------------------------------------------------------------------
87
+ ModelTest: test_google_map_coords_should_give_the_right_query_value
88
+ -------------------------------------------------------------------
89
+  (0.1ms) rollback transaction
90
+  (0.1ms) begin transaction
91
+ -----------------------------------------------------------------------------
92
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
93
+ -----------------------------------------------------------------------------
94
+  (0.1ms) rollback transaction
95
+  (0.1ms) begin transaction
96
+ ----------------------------------------------------------------------------
97
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
98
+ ----------------------------------------------------------------------------
99
+  (0.1ms) rollback transaction
100
+  (0.1ms) begin transaction
101
+ --------------------------------------------------------
102
+ ModelTest: test_to_hash_should_give_the_right_hash_value
103
+ --------------------------------------------------------
104
+  (0.0ms) rollback transaction
105
+  (0.1ms) begin transaction
106
+ ---------------------------------------------------------------------
107
+ SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
108
+ ---------------------------------------------------------------------
109
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 15:27:47 -0300
110
+ Processing by Spyme::LocationsController#create as HTML
111
+ Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
112
+  (0.1ms) rollback transaction
113
+  (0.1ms) begin transaction
114
+ ---------------------------------------------------
115
+ SpymeTest: test_post_to_spyme_should_return_success
116
+ ---------------------------------------------------
117
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 15:27:47 -0300
118
+ Processing by Spyme::LocationsController#create as HTML
119
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
120
+ Completed 201 Created in 10ms (ActiveRecord: 0.0ms)
121
+  (0.1ms) rollback transaction
122
+  (0.1ms) begin transaction
123
+ -------------------------------------------------
124
+ SpymeTest: test_post_to_spyme_should_store_coords
125
+ -------------------------------------------------
126
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 15:27:47 -0300
127
+ Processing by Spyme::LocationsController#create as HTML
128
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
129
+ Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
130
+  (0.1ms) rollback transaction
131
+  (0.2ms) begin transaction
132
+ ---------------------------------------------------------------------
133
+ SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
134
+ ---------------------------------------------------------------------
135
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:04:55 -0300
136
+ Processing by Spyme::LocationsController#create as HTML
137
+ Completed 400 Bad Request in 24ms (ActiveRecord: 0.0ms)
138
+  (0.2ms) rollback transaction
139
+  (0.1ms) begin transaction
140
+ ---------------------------------------------------
141
+ SpymeTest: test_post_to_spyme_should_return_success
142
+ ---------------------------------------------------
143
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:04:55 -0300
144
+ Processing by Spyme::LocationsController#create as HTML
145
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
146
+ Completed 201 Created in 29ms (ActiveRecord: 0.0ms)
147
+  (0.2ms) rollback transaction
148
+  (0.1ms) begin transaction
149
+ -------------------------------------------------
150
+ SpymeTest: test_post_to_spyme_should_store_coords
151
+ -------------------------------------------------
152
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:04:55 -0300
153
+ Processing by Spyme::LocationsController#create as HTML
154
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
155
+ Completed 201 Created in 1ms (ActiveRecord: 0.0ms)
156
+  (0.1ms) rollback transaction
157
+  (0.1ms) begin transaction
158
+ -------------------------------------------------------------------
159
+ ModelTest: test_google_map_coords_should_give_the_right_query_value
160
+ -------------------------------------------------------------------
161
+  (0.1ms) rollback transaction
162
+  (0.1ms) begin transaction
163
+ -----------------------------------------------------------------------------
164
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
165
+ -----------------------------------------------------------------------------
166
+  (0.1ms) rollback transaction
167
+  (0.1ms) begin transaction
168
+ ----------------------------------------------------------------------------
169
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
170
+ ----------------------------------------------------------------------------
171
+  (0.1ms) rollback transaction
172
+  (0.1ms) begin transaction
173
+ --------------------------------------------------------
174
+ ModelTest: test_to_hash_should_give_the_right_hash_value
175
+ --------------------------------------------------------
176
+  (0.1ms) rollback transaction
177
+  (0.1ms) begin transaction
178
+ ------------------------------------------------------
179
+ ModelTest: test_coords_should_give_the_values_in_array
180
+ ------------------------------------------------------
181
+  (0.1ms) rollback transaction
182
+  (0.0ms) begin transaction
183
+ -------------------------------------------------------------------
184
+ ModelTest: test_google_map_coords_should_give_the_right_query_value
185
+ -------------------------------------------------------------------
186
+  (0.0ms) rollback transaction
187
+  (0.1ms) begin transaction
188
+ -----------------------------------------------------------------------------
189
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
190
+ -----------------------------------------------------------------------------
191
+  (0.1ms) rollback transaction
192
+  (0.0ms) begin transaction
193
+ ----------------------------------------------------------------------------
194
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
195
+ ----------------------------------------------------------------------------
196
+  (0.1ms) rollback transaction
197
+  (0.1ms) begin transaction
198
+ --------------------------------------------------------
199
+ ModelTest: test_to_hash_should_give_the_right_hash_value
200
+ --------------------------------------------------------
201
+  (0.0ms) rollback transaction
202
+  (0.1ms) begin transaction
203
+ ---------------------------------------------------------------------
204
+ SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
205
+ ---------------------------------------------------------------------
206
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:30:24 -0300
207
+ Processing by Spyme::LocationsController#create as HTML
208
+ Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
209
+  (0.1ms) rollback transaction
210
+  (0.1ms) begin transaction
211
+ ---------------------------------------------------
212
+ SpymeTest: test_post_to_spyme_should_return_success
213
+ ---------------------------------------------------
214
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:30:24 -0300
215
+ Processing by Spyme::LocationsController#create as HTML
216
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
217
+ Completed 201 Created in 10ms (ActiveRecord: 0.0ms)
218
+  (0.1ms) rollback transaction
219
+  (0.1ms) begin transaction
220
+ -------------------------------------------------
221
+ SpymeTest: test_post_to_spyme_should_store_coords
222
+ -------------------------------------------------
223
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:30:24 -0300
224
+ Processing by Spyme::LocationsController#create as HTML
225
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
226
+ Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
227
+  (0.1ms) rollback transaction
228
+  (0.1ms) begin transaction
229
+ ------------------------------------------------------
230
+ ModelTest: test_coords_should_give_the_values_in_array
231
+ ------------------------------------------------------
232
+  (0.1ms) rollback transaction
233
+  (0.0ms) begin transaction
234
+ -------------------------------------------------------------------
235
+ ModelTest: test_google_map_coords_should_give_the_right_query_value
236
+ -------------------------------------------------------------------
237
+  (0.1ms) rollback transaction
238
+  (0.1ms) begin transaction
239
+ -----------------------------------------------------------------------------
240
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
241
+ -----------------------------------------------------------------------------
242
+  (0.0ms) rollback transaction
243
+  (0.0ms) begin transaction
244
+ ----------------------------------------------------------------------------
245
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
246
+ ----------------------------------------------------------------------------
247
+  (0.1ms) rollback transaction
248
+  (0.1ms) begin transaction
249
+ --------------------------------------------------------
250
+ ModelTest: test_to_hash_should_give_the_right_hash_value
251
+ --------------------------------------------------------
252
+  (0.0ms) rollback transaction
253
+  (0.1ms) begin transaction
254
+ ---------------------------------------------------------------------
255
+ SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
256
+ ---------------------------------------------------------------------
257
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:30:41 -0300
258
+ Processing by Spyme::LocationsController#create as HTML
259
+ Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
260
+  (0.1ms) rollback transaction
261
+  (0.1ms) begin transaction
262
+ ---------------------------------------------------
263
+ SpymeTest: test_post_to_spyme_should_return_success
264
+ ---------------------------------------------------
265
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:30:41 -0300
266
+ Processing by Spyme::LocationsController#create as HTML
267
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
268
+ Completed 201 Created in 10ms (ActiveRecord: 0.0ms)
269
+  (0.1ms) rollback transaction
270
+  (0.1ms) begin transaction
271
+ -------------------------------------------------
272
+ SpymeTest: test_post_to_spyme_should_store_coords
273
+ -------------------------------------------------
274
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:30:41 -0300
275
+ Processing by Spyme::LocationsController#create as HTML
276
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
277
+ Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
278
+  (0.1ms) rollback transaction
279
+  (0.1ms) begin transaction
280
+ ---------------------------------------------------------------------
281
+ SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
282
+ ---------------------------------------------------------------------
283
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:31:13 -0300
284
+ Processing by Spyme::LocationsController#create as HTML
285
+ Completed 400 Bad Request in 7ms (ActiveRecord: 0.0ms)
286
+  (0.1ms) rollback transaction
287
+  (0.1ms) begin transaction
288
+ ---------------------------------------------------
289
+ SpymeTest: test_post_to_spyme_should_return_success
290
+ ---------------------------------------------------
291
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:31:13 -0300
292
+ Processing by Spyme::LocationsController#create as HTML
293
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
294
+ Completed 201 Created in 10ms (ActiveRecord: 0.0ms)
295
+  (0.1ms) rollback transaction
296
+  (0.1ms) begin transaction
297
+ -------------------------------------------------
298
+ SpymeTest: test_post_to_spyme_should_store_coords
299
+ -------------------------------------------------
300
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:31:13 -0300
301
+ Processing by Spyme::LocationsController#create as HTML
302
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
303
+ Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
304
+  (0.1ms) rollback transaction
305
+  (0.1ms) begin transaction
306
+ ------------------------------------------------------
307
+ ModelTest: test_coords_should_give_the_values_in_array
308
+ ------------------------------------------------------
309
+  (0.0ms) rollback transaction
310
+  (0.0ms) begin transaction
311
+ -------------------------------------------------------------------
312
+ ModelTest: test_google_map_coords_should_give_the_right_query_value
313
+ -------------------------------------------------------------------
314
+  (0.0ms) rollback transaction
315
+  (0.0ms) begin transaction
316
+ -----------------------------------------------------------------------------
317
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
318
+ -----------------------------------------------------------------------------
319
+  (0.0ms) rollback transaction
320
+  (0.0ms) begin transaction
321
+ ----------------------------------------------------------------------------
322
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
323
+ ----------------------------------------------------------------------------
324
+  (0.1ms) rollback transaction
325
+  (0.0ms) begin transaction
326
+ --------------------------------------------------------
327
+ ModelTest: test_to_hash_should_give_the_right_hash_value
328
+ --------------------------------------------------------
329
+  (0.0ms) rollback transaction
330
+  (0.1ms) begin transaction
331
+ ------------------------------------------------------
332
+ ModelTest: test_coords_should_give_the_values_in_array
333
+ ------------------------------------------------------
334
+  (0.1ms) rollback transaction
335
+  (0.0ms) begin transaction
336
+ -------------------------------------------------------------------
337
+ ModelTest: test_google_map_coords_should_give_the_right_query_value
338
+ -------------------------------------------------------------------
339
+  (0.0ms) rollback transaction
340
+  (0.0ms) begin transaction
341
+ -----------------------------------------------------------------------------
342
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
343
+ -----------------------------------------------------------------------------
344
+  (0.1ms) rollback transaction
345
+  (0.0ms) begin transaction
346
+ ----------------------------------------------------------------------------
347
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
348
+ ----------------------------------------------------------------------------
349
+  (0.1ms) rollback transaction
350
+  (0.1ms) begin transaction
351
+ --------------------------------------------------------
352
+ ModelTest: test_to_hash_should_give_the_right_hash_value
353
+ --------------------------------------------------------
354
+  (0.0ms) rollback transaction
355
+  (0.1ms) begin transaction
356
+ ---------------------------------------------------------------------
357
+ SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
358
+ ---------------------------------------------------------------------
359
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:32:23 -0300
360
+ Processing by Spyme::LocationsController#create as HTML
361
+ Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
362
+  (0.1ms) rollback transaction
363
+  (0.1ms) begin transaction
364
+ ---------------------------------------------------
365
+ SpymeTest: test_post_to_spyme_should_return_success
366
+ ---------------------------------------------------
367
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:32:23 -0300
368
+ Processing by Spyme::LocationsController#create as HTML
369
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
370
+ Completed 201 Created in 10ms (ActiveRecord: 0.0ms)
371
+  (0.1ms) rollback transaction
372
+  (0.1ms) begin transaction
373
+ -------------------------------------------------
374
+ SpymeTest: test_post_to_spyme_should_store_coords
375
+ -------------------------------------------------
376
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:32:23 -0300
377
+ Processing by Spyme::LocationsController#create as HTML
378
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
379
+ Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
380
+  (0.1ms) rollback transaction
381
+  (0.1ms) begin transaction
382
+ ---------------------------------------------------------------------
383
+ SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
384
+ ---------------------------------------------------------------------
385
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:32:41 -0300
386
+ Processing by Spyme::LocationsController#create as HTML
387
+ Completed 400 Bad Request in 7ms (ActiveRecord: 0.0ms)
388
+  (0.1ms) rollback transaction
389
+  (0.1ms) begin transaction
390
+ ---------------------------------------------------
391
+ SpymeTest: test_post_to_spyme_should_return_success
392
+ ---------------------------------------------------
393
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:32:41 -0300
394
+ Processing by Spyme::LocationsController#create as HTML
395
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
396
+ Completed 201 Created in 10ms (ActiveRecord: 0.0ms)
397
+  (0.1ms) rollback transaction
398
+  (0.1ms) begin transaction
399
+ -------------------------------------------------
400
+ SpymeTest: test_post_to_spyme_should_store_coords
401
+ -------------------------------------------------
402
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:32:41 -0300
403
+ Processing by Spyme::LocationsController#create as HTML
404
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
405
+ Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
406
+  (0.1ms) rollback transaction
407
+  (0.1ms) begin transaction
408
+ -------------------------------------------------------------
409
+ ModelTest: test_as_a_string_should_give_the_right_query_value
410
+ -------------------------------------------------------------
411
+  (0.0ms) rollback transaction
412
+  (0.0ms) begin transaction
413
+ ------------------------------------------------------
414
+ ModelTest: test_coords_should_give_the_values_in_array
415
+ ------------------------------------------------------
416
+  (0.0ms) rollback transaction
417
+  (0.0ms) begin transaction
418
+ -----------------------------------------------------------------------------
419
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
420
+ -----------------------------------------------------------------------------
421
+  (0.0ms) rollback transaction
422
+  (0.0ms) begin transaction
423
+ ----------------------------------------------------------------------------
424
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
425
+ ----------------------------------------------------------------------------
426
+  (0.1ms) rollback transaction
427
+  (0.0ms) begin transaction
428
+ --------------------------------------------------------
429
+ ModelTest: test_to_hash_should_give_the_right_hash_value
430
+ --------------------------------------------------------
431
+  (0.0ms) rollback transaction
432
+  (0.1ms) begin transaction
433
+ ---------------------------------------------------------------------
434
+ SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
435
+ ---------------------------------------------------------------------
436
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:33:49 -0300
437
+ Processing by Spyme::LocationsController#create as HTML
438
+ Completed 400 Bad Request in 7ms (ActiveRecord: 0.0ms)
439
+  (0.1ms) rollback transaction
440
+  (0.1ms) begin transaction
441
+ ---------------------------------------------------
442
+ SpymeTest: test_post_to_spyme_should_return_success
443
+ ---------------------------------------------------
444
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:33:49 -0300
445
+ Processing by Spyme::LocationsController#create as HTML
446
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
447
+ Completed 201 Created in 10ms (ActiveRecord: 0.0ms)
448
+  (0.1ms) rollback transaction
449
+  (0.1ms) begin transaction
450
+ -------------------------------------------------
451
+ SpymeTest: test_post_to_spyme_should_store_coords
452
+ -------------------------------------------------
453
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:33:49 -0300
454
+ Processing by Spyme::LocationsController#create as HTML
455
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
456
+ Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
457
+  (0.1ms) rollback transaction
458
+  (0.1ms) begin transaction
459
+ -------------------------------------------------------------
460
+ ModelTest: test_as_a_string_should_give_the_right_query_value
461
+ -------------------------------------------------------------
462
+  (0.1ms) rollback transaction
463
+  (0.0ms) begin transaction
464
+ ------------------------------------------------------
465
+ ModelTest: test_coords_should_give_the_values_in_array
466
+ ------------------------------------------------------
467
+  (0.0ms) rollback transaction
468
+  (0.0ms) begin transaction
469
+ -----------------------------------------------------------------------------
470
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
471
+ -----------------------------------------------------------------------------
472
+  (0.0ms) rollback transaction
473
+  (0.0ms) begin transaction
474
+ ----------------------------------------------------------------
475
+ ModelTest: test_location_should_be_invalid_when_empty_attributes
476
+ ----------------------------------------------------------------
477
+  (0.1ms) rollback transaction
478
+  (0.0ms) begin transaction
479
+ ----------------------------------------------------------------------------
480
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
481
+ ----------------------------------------------------------------------------
482
+  (0.0ms) rollback transaction
483
+  (0.0ms) begin transaction
484
+ --------------------------------------------------------
485
+ ModelTest: test_to_hash_should_give_the_right_hash_value
486
+ --------------------------------------------------------
487
+  (0.0ms) rollback transaction
488
+  (0.1ms) begin transaction
489
+ ---------------------------------------------------------------------
490
+ SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
491
+ ---------------------------------------------------------------------
492
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:34:39 -0300
493
+ Processing by Spyme::LocationsController#create as HTML
494
+ Completed 400 Bad Request in 7ms (ActiveRecord: 0.0ms)
495
+  (0.1ms) rollback transaction
496
+  (0.1ms) begin transaction
497
+ ---------------------------------------------------
498
+ SpymeTest: test_post_to_spyme_should_return_success
499
+ ---------------------------------------------------
500
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:34:39 -0300
501
+ Processing by Spyme::LocationsController#create as HTML
502
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
503
+ Completed 201 Created in 10ms (ActiveRecord: 0.0ms)
504
+  (0.1ms) rollback transaction
505
+  (0.1ms) begin transaction
506
+ -------------------------------------------------
507
+ SpymeTest: test_post_to_spyme_should_store_coords
508
+ -------------------------------------------------
509
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:34:39 -0300
510
+ Processing by Spyme::LocationsController#create as HTML
511
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
512
+ Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
513
+  (0.1ms) rollback transaction
514
+  (0.1ms) begin transaction
515
+ -------------------------------------------------------------
516
+ ModelTest: test_as_a_string_should_give_the_right_query_value
517
+ -------------------------------------------------------------
518
+  (0.0ms) rollback transaction
519
+  (0.0ms) begin transaction
520
+ ------------------------------------------------------
521
+ ModelTest: test_coords_should_give_the_values_in_array
522
+ ------------------------------------------------------
523
+  (0.0ms) rollback transaction
524
+  (0.0ms) begin transaction
525
+ -----------------------------------------------------------------------------
526
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
527
+ -----------------------------------------------------------------------------
528
+  (0.0ms) rollback transaction
529
+  (0.0ms) begin transaction
530
+ ----------------------------------------------------------------
531
+ ModelTest: test_location_should_be_invalid_when_empty_attributes
532
+ ----------------------------------------------------------------
533
+  (0.1ms) rollback transaction
534
+  (0.0ms) begin transaction
535
+ ----------------------------------------------------------------------------
536
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
537
+ ----------------------------------------------------------------------------
538
+  (0.0ms) rollback transaction
539
+  (0.0ms) begin transaction
540
+ -------------------------------------------------------------
541
+ ModelTest: test_location_should_be_invalid_when_empty_session
542
+ -------------------------------------------------------------
543
+  (0.0ms) rollback transaction
544
+  (0.0ms) begin transaction
545
+ --------------------------------------------------------
546
+ ModelTest: test_to_hash_should_give_the_right_hash_value
547
+ --------------------------------------------------------
548
+  (0.0ms) rollback transaction
549
+  (0.1ms) begin transaction
550
+ ---------------------------------------------------------------------
551
+ SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
552
+ ---------------------------------------------------------------------
553
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:35:18 -0300
554
+ Processing by Spyme::LocationsController#create as HTML
555
+ Completed 400 Bad Request in 7ms (ActiveRecord: 0.0ms)
556
+  (0.1ms) rollback transaction
557
+  (0.1ms) begin transaction
558
+ ---------------------------------------------------
559
+ SpymeTest: test_post_to_spyme_should_return_success
560
+ ---------------------------------------------------
561
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:35:18 -0300
562
+ Processing by Spyme::LocationsController#create as HTML
563
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
564
+ Completed 201 Created in 10ms (ActiveRecord: 0.0ms)
565
+  (0.1ms) rollback transaction
566
+  (0.1ms) begin transaction
567
+ -------------------------------------------------
568
+ SpymeTest: test_post_to_spyme_should_store_coords
569
+ -------------------------------------------------
570
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:35:18 -0300
571
+ Processing by Spyme::LocationsController#create as HTML
572
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
573
+ Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
574
+  (0.1ms) rollback transaction
575
+  (0.1ms) begin transaction
576
+ -------------------------------------------------------------
577
+ ModelTest: test_as_a_string_should_give_the_right_query_value
578
+ -------------------------------------------------------------
579
+  (0.0ms) rollback transaction
580
+  (0.0ms) begin transaction
581
+ ------------------------------------------------------
582
+ ModelTest: test_coords_should_give_the_values_in_array
583
+ ------------------------------------------------------
584
+  (0.0ms) rollback transaction
585
+  (0.0ms) begin transaction
586
+ -----------------------------------------------------------------------------
587
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
588
+ -----------------------------------------------------------------------------
589
+  (0.0ms) rollback transaction
590
+  (0.0ms) begin transaction
591
+ ----------------------------------------------------------------
592
+ ModelTest: test_location_should_be_invalid_when_empty_attributes
593
+ ----------------------------------------------------------------
594
+  (0.1ms) rollback transaction
595
+  (0.0ms) begin transaction
596
+ ----------------------------------------------------------------------------
597
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
598
+ ----------------------------------------------------------------------------
599
+  (0.1ms) rollback transaction
600
+  (0.0ms) begin transaction
601
+ -------------------------------------------------------------
602
+ ModelTest: test_location_should_be_invalid_when_empty_session
603
+ -------------------------------------------------------------
604
+  (0.0ms) rollback transaction
605
+  (0.0ms) begin transaction
606
+ --------------------------------------------------------
607
+ ModelTest: test_to_hash_should_give_the_right_hash_value
608
+ --------------------------------------------------------
609
+  (0.0ms) rollback transaction
610
+  (0.1ms) begin transaction
611
+ -------------------------------------------------------------
612
+ ModelTest: test_as_a_string_should_give_the_right_query_value
613
+ -------------------------------------------------------------
614
+  (0.2ms) rollback transaction
615
+  (0.1ms) begin transaction
616
+ ------------------------------------------------------
617
+ ModelTest: test_coords_should_give_the_values_in_array
618
+ ------------------------------------------------------
619
+  (0.1ms) rollback transaction
620
+  (0.1ms) begin transaction
621
+ -----------------------------------------------------------------------------
622
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
623
+ -----------------------------------------------------------------------------
624
+  (0.2ms) rollback transaction
625
+  (0.1ms) begin transaction
626
+ ----------------------------------------------------------------
627
+ ModelTest: test_location_should_be_invalid_when_empty_attributes
628
+ ----------------------------------------------------------------
629
+  (0.1ms) rollback transaction
630
+  (0.1ms) begin transaction
631
+ ----------------------------------------------------------------------------
632
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
633
+ ----------------------------------------------------------------------------
634
+  (0.1ms) rollback transaction
635
+  (0.1ms) begin transaction
636
+ -------------------------------------------------------------
637
+ ModelTest: test_location_should_be_invalid_when_empty_session
638
+ -------------------------------------------------------------
639
+  (0.1ms) rollback transaction
640
+  (0.1ms) begin transaction
641
+ --------------------------------------------------------
642
+ ModelTest: test_to_hash_should_give_the_right_hash_value
643
+ --------------------------------------------------------
644
+  (0.0ms) rollback transaction
645
+  (0.1ms) begin transaction
646
+ ---------------------------------------------------------------------
647
+ SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
648
+ ---------------------------------------------------------------------
649
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:38:10 -0300
650
+ Processing by Spyme::LocationsController#create as HTML
651
+ Completed 400 Bad Request in 2ms (ActiveRecord: 0.0ms)
652
+  (0.1ms) rollback transaction
653
+  (0.1ms) begin transaction
654
+ ---------------------------------------------------
655
+ SpymeTest: test_post_to_spyme_should_return_success
656
+ ---------------------------------------------------
657
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:38:10 -0300
658
+ Processing by Spyme::LocationsController#create as HTML
659
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
660
+ Completed 201 Created in 10ms (ActiveRecord: 0.0ms)
661
+  (0.1ms) rollback transaction
662
+  (0.1ms) begin transaction
663
+ -------------------------------------------------
664
+ SpymeTest: test_post_to_spyme_should_store_coords
665
+ -------------------------------------------------
666
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 17:38:10 -0300
667
+ Processing by Spyme::LocationsController#create as HTML
668
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
669
+ Completed 201 Created in 1ms (ActiveRecord: 0.0ms)
670
+  (0.1ms) rollback transaction
671
+  (0.1ms) begin transaction
672
+ ---------------------------------------------------------------------
673
+ SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
674
+ ---------------------------------------------------------------------
675
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 18:16:16 -0300
676
+ Processing by Spyme::LocationsController#create as HTML
677
+ Completed 400 Bad Request in 8ms (ActiveRecord: 0.0ms)
678
+  (0.1ms) rollback transaction
679
+  (0.1ms) begin transaction
680
+ ---------------------------------------------------
681
+ SpymeTest: test_post_to_spyme_should_return_success
682
+ ---------------------------------------------------
683
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 18:16:16 -0300
684
+ Processing by Spyme::LocationsController#create as HTML
685
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
686
+ Completed 201 Created in 10ms (ActiveRecord: 0.0ms)
687
+  (0.1ms) rollback transaction
688
+  (0.1ms) begin transaction
689
+ -------------------------------------------------
690
+ SpymeTest: test_post_to_spyme_should_store_coords
691
+ -------------------------------------------------
692
+ Started POST "/spyme/locations" for 127.0.0.1 at 2014-12-02 18:16:16 -0300
693
+ Processing by Spyme::LocationsController#create as HTML
694
+ Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
695
+ Completed 201 Created in 1ms (ActiveRecord: 0.0ms)
696
+  (0.1ms) rollback transaction
697
+  (0.1ms) begin transaction
698
+ -------------------------------------------------------------
699
+ ModelTest: test_as_a_string_should_give_the_right_query_value
700
+ -------------------------------------------------------------
701
+  (0.0ms) rollback transaction
702
+  (0.0ms) begin transaction
703
+ ------------------------------------------------------
704
+ ModelTest: test_coords_should_give_the_values_in_array
705
+ ------------------------------------------------------
706
+  (0.0ms) rollback transaction
707
+  (0.0ms) begin transaction
708
+ -----------------------------------------------------------------------------
709
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
710
+ -----------------------------------------------------------------------------
711
+  (0.0ms) rollback transaction
712
+  (0.0ms) begin transaction
713
+ ----------------------------------------------------------------
714
+ ModelTest: test_location_should_be_invalid_when_empty_attributes
715
+ ----------------------------------------------------------------
716
+  (0.1ms) rollback transaction
717
+  (0.0ms) begin transaction
718
+ ----------------------------------------------------------------------------
719
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
720
+ ----------------------------------------------------------------------------
721
+  (0.1ms) rollback transaction
722
+  (0.1ms) begin transaction
723
+ -------------------------------------------------------------
724
+ ModelTest: test_location_should_be_invalid_when_empty_session
725
+ -------------------------------------------------------------
726
+  (0.1ms) rollback transaction
727
+  (0.1ms) begin transaction
728
+ --------------------------------------------------------
729
+ ModelTest: test_to_hash_should_give_the_right_hash_value
730
+ --------------------------------------------------------
731
+  (0.1ms) rollback transaction