spyme 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d32f9afd69c6bc36155a89242826cc3b32e6f47036481b8741ad52f52d2eb72
4
- data.tar.gz: 6d8a37e99c7fee35fad47be4391d2bbaaff96c10e9937ff2b374f34f49c0cb13
3
+ metadata.gz: d25222342d4bca7d4899a1df900bd585b378b9c44323558cebbcb3e174e18e4f
4
+ data.tar.gz: 3289e3cf656d369b9648f057ba6218933fbd25cf19d5159f3f5915d582009750
5
5
  SHA512:
6
- metadata.gz: 401194b3114203e2ecf997da8de8a986f40a5467d3daddd249e2b405dfd1fd1c72a2271cffebe4175de2823af8b0b5f947774025819d5cadfcfc193a68af83f0
7
- data.tar.gz: fa4f905afdc3551126e2531c97e4925d16e17108233250b31c663fbc427cec53d50f67984ecab0d17be1aef4e490b1a1e73b17d1dd66d308f9a677bbb3b74a72
6
+ metadata.gz: 6144edb41e9a96a9999f23d2a1640dd2e14ba47386574f8f88f1d64a9097573634eea326bd91a4a3cc91347422f0a579b027fcbff7270ce17439f4d51b4759cf
7
+ data.tar.gz: 76edffcd5563ef418152a962a71771aaa11cc730bd076b947f9b8bc8fbac923559b5ddb038d46278342d5ef90e55617447f9664f7804a570caee5555cb6d036f
data/lib/spyme/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Spyme
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
Binary file
Binary file
@@ -1,40 +1,8 @@
1
- DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
2
- set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
3
- boolean values and must have old data converted to 1 and 0 (its native boolean
4
- serialization) before setting this flag to true. Conversion can be accomplished
5
- by setting up a rake task which runs
6
-
7
- ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
8
- ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
9
-
10
- for all models and all boolean columns, after which the flag must be set to
11
- true by adding the following to your application.rb file:
12
-
13
- Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
14
- (called from load at /home/pollo/.rbenv/versions/2.5.1/bin/rake:23)
15
1
   (0.1ms) SELECT sqlite_version(*)
16
-  (11.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
17
-  (11.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
18
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
19
-  (0.1ms) begin transaction
20
- ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2018-09-17 19:18:05.401218"], ["updated_at", "2018-09-17 19:18:05.401218"]]
21
-  (10.7ms) commit transaction
22
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
23
- DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
24
- set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
25
- boolean values and must have old data converted to 1 and 0 (its native boolean
26
- serialization) before setting this flag to true. Conversion can be accomplished
27
- by setting up a rake task which runs
28
-
29
- ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
30
- ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
31
-
32
- for all models and all boolean columns, after which the flag must be set to
33
- true by adding the following to your application.rb file:
34
-
35
- Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
36
- (called from load at /home/pollo/.rbenv/versions/2.5.1/bin/rake:23)
2
+  (7.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3
+  (6.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
37
4
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
38
5
   (0.0ms) begin transaction
39
-  (0.0ms) commit transaction
6
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-02-24 00:20:00.254786"], ["updated_at", "2019-02-24 00:20:00.254786"]]
7
+  (4.4ms) commit transaction
40
8
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
@@ -1,3879 +1,64 @@
1
1
   (0.1ms) begin transaction
2
- --------------------------------------------------------------
3
- ModelTest: test_location_should_be_valid_at_negative_boundries
4
- --------------------------------------------------------------
5
-  (0.0ms) rollback transaction
6
-  (0.0ms) begin transaction
7
- -----------------------------------------------------------------------
8
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
9
- -----------------------------------------------------------------------
10
-  (0.0ms) rollback transaction
11
-  (0.0ms) begin transaction
12
- --------------------------------------------------------------
13
- ModelTest: test_location_should_be_valid_at_positive_boundries
14
- --------------------------------------------------------------
15
-  (0.0ms) rollback transaction
16
-  (0.0ms) begin transaction
17
- -------------------------------------------------------------
18
- ModelTest: test_as_a_string_should_give_the_right_query_value
19
- -------------------------------------------------------------
20
-  (0.0ms) rollback transaction
21
-  (0.0ms) begin transaction
22
- -----------------------------------------------------------------------------
23
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
24
- -----------------------------------------------------------------------------
25
-  (0.0ms) rollback transaction
26
-  (0.0ms) begin transaction
27
- ----------------------------------------------------------------
28
- ModelTest: test_location_should_be_invalid_when_empty_attributes
29
- ----------------------------------------------------------------
30
-  (0.0ms) rollback transaction
31
-  (0.0ms) begin transaction
32
- -------------------------------------------------------------
33
- ModelTest: test_location_should_be_invalid_when_empty_session
34
- -------------------------------------------------------------
35
-  (0.0ms) rollback transaction
36
-  (0.0ms) begin transaction
37
- ----------------------------------------------------------------------------
38
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
39
- ----------------------------------------------------------------------------
40
-  (0.0ms) rollback transaction
41
-  (0.0ms) begin transaction
42
- ------------------------------------------------------
43
- ModelTest: test_coords_should_give_the_values_in_array
44
- ------------------------------------------------------
45
-  (0.0ms) rollback transaction
46
-  (0.0ms) begin transaction
47
- --------------------------------------------------------
48
- ModelTest: test_to_hash_should_give_the_right_hash_value
49
- --------------------------------------------------------
50
-  (0.0ms) rollback transaction
51
-  (0.0ms) begin transaction
52
- ---------------------------------------------------
53
- SpymeTest: test_post_to_spyme_should_return_success
54
- ---------------------------------------------------
55
-  (0.1ms) rollback transaction
56
-  (0.0ms) begin transaction
57
- -------------------------------------------------
58
- SpymeTest: test_post_to_spyme_should_store_coords
59
- -------------------------------------------------
60
-  (0.0ms) rollback transaction
61
-  (0.0ms) begin transaction
62
- ---------------------------------------------------------------------
63
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
64
- ---------------------------------------------------------------------
65
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:16:54 -0300
66
- Processing by Spyme::LocationsController#create as HTML
67
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
68
-  (0.0ms) rollback transaction
69
-  (0.1ms) begin transaction
70
- ---------------------------------------------------------------------
71
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
72
- ---------------------------------------------------------------------
73
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:17:25 -0300
74
- Processing by Spyme::LocationsController#create as HTML
75
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
76
-  (0.1ms) rollback transaction
77
-  (0.0ms) begin transaction
78
- ---------------------------------------------------
79
- SpymeTest: test_post_to_spyme_should_return_success
80
- ---------------------------------------------------
81
-  (0.0ms) rollback transaction
82
-  (0.0ms) begin transaction
83
- -------------------------------------------------
84
- SpymeTest: test_post_to_spyme_should_store_coords
85
- -------------------------------------------------
86
-  (0.0ms) rollback transaction
87
-  (0.0ms) begin transaction
88
- -----------------------------------------------------------------------
89
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
90
- -----------------------------------------------------------------------
91
-  (0.0ms) rollback transaction
92
-  (0.0ms) begin transaction
93
- ----------------------------------------------------------------------------
94
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
95
- ----------------------------------------------------------------------------
96
-  (0.0ms) rollback transaction
97
-  (0.0ms) begin transaction
98
- --------------------------------------------------------------
99
- ModelTest: test_location_should_be_valid_at_negative_boundries
100
- --------------------------------------------------------------
101
-  (0.0ms) rollback transaction
102
-  (0.0ms) begin transaction
103
- ------------------------------------------------------
104
- ModelTest: test_coords_should_give_the_values_in_array
105
- ------------------------------------------------------
106
-  (0.0ms) rollback transaction
107
-  (0.0ms) begin transaction
108
- -------------------------------------------------------------
109
- ModelTest: test_as_a_string_should_give_the_right_query_value
110
- -------------------------------------------------------------
111
-  (0.0ms) rollback transaction
112
-  (0.0ms) begin transaction
113
- -------------------------------------------------------------
114
- ModelTest: test_location_should_be_invalid_when_empty_session
115
- -------------------------------------------------------------
116
-  (0.0ms) rollback transaction
117
-  (0.0ms) begin transaction
118
- ----------------------------------------------------------------
119
- ModelTest: test_location_should_be_invalid_when_empty_attributes
120
- ----------------------------------------------------------------
121
-  (0.0ms) rollback transaction
122
-  (0.0ms) begin transaction
123
- --------------------------------------------------------------
124
- ModelTest: test_location_should_be_valid_at_positive_boundries
125
- --------------------------------------------------------------
126
-  (0.0ms) rollback transaction
127
-  (0.0ms) begin transaction
128
- -----------------------------------------------------------------------------
129
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
130
- -----------------------------------------------------------------------------
131
-  (0.0ms) rollback transaction
132
-  (0.0ms) begin transaction
133
- --------------------------------------------------------
134
- ModelTest: test_to_hash_should_give_the_right_hash_value
135
- --------------------------------------------------------
136
-  (0.0ms) rollback transaction
137
-  (0.0ms) SELECT sqlite_version(*)
138
-  (12.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
139
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
140
-  (11.6ms) INSERT INTO "schema_migrations" (version) VALUES (0)
141
-  (12.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
142
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
143
-  (0.0ms) begin transaction
144
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:18:19.999632"], ["updated_at", "2018-09-17 19:18:19.999632"]]
145
-  (9.5ms) commit transaction
146
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
147
-  (0.1ms) begin transaction
148
-  (0.0ms) commit transaction
149
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
150
-  (0.0ms) begin transaction
151
- ---------------------------------------------------
152
- SpymeTest: test_post_to_spyme_should_return_success
153
- ---------------------------------------------------
154
-  (0.1ms) rollback transaction
155
-  (0.0ms) begin transaction
156
- -------------------------------------------------
157
- SpymeTest: test_post_to_spyme_should_store_coords
158
- -------------------------------------------------
159
-  (0.0ms) rollback transaction
160
-  (0.0ms) begin transaction
161
- ---------------------------------------------------------------------
162
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
163
- ---------------------------------------------------------------------
164
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:18:20 -0300
165
- Processing by Spyme::LocationsController#create as HTML
166
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
167
-  (0.1ms) rollback transaction
168
-  (0.0ms) begin transaction
169
- -----------------------------------------------------------------------
170
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
171
- -----------------------------------------------------------------------
172
-  (0.1ms) rollback transaction
173
-  (0.0ms) begin transaction
174
- -------------------------------------------------------------
175
- ModelTest: test_location_should_be_invalid_when_empty_session
176
- -------------------------------------------------------------
177
-  (0.0ms) rollback transaction
178
-  (0.0ms) begin transaction
179
- ------------------------------------------------------
180
- ModelTest: test_coords_should_give_the_values_in_array
181
- ------------------------------------------------------
182
-  (0.0ms) rollback transaction
183
-  (0.0ms) begin transaction
184
- ----------------------------------------------------------------
185
- ModelTest: test_location_should_be_invalid_when_empty_attributes
186
- ----------------------------------------------------------------
187
-  (0.0ms) rollback transaction
188
-  (0.0ms) begin transaction
189
- --------------------------------------------------------------
190
- ModelTest: test_location_should_be_valid_at_negative_boundries
191
- --------------------------------------------------------------
192
-  (0.0ms) rollback transaction
193
-  (0.0ms) begin transaction
194
- --------------------------------------------------------------
195
- ModelTest: test_location_should_be_valid_at_positive_boundries
196
- --------------------------------------------------------------
197
-  (0.0ms) rollback transaction
198
-  (0.0ms) begin transaction
199
- -----------------------------------------------------------------------------
200
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
201
- -----------------------------------------------------------------------------
202
-  (0.0ms) rollback transaction
203
-  (0.0ms) begin transaction
204
- ----------------------------------------------------------------------------
205
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
206
- ----------------------------------------------------------------------------
207
-  (0.0ms) rollback transaction
208
-  (0.0ms) begin transaction
209
- -------------------------------------------------------------
210
- ModelTest: test_as_a_string_should_give_the_right_query_value
211
- -------------------------------------------------------------
212
-  (0.0ms) rollback transaction
213
-  (0.0ms) begin transaction
214
- --------------------------------------------------------
215
- ModelTest: test_to_hash_should_give_the_right_hash_value
216
- --------------------------------------------------------
217
-  (0.0ms) rollback transaction
218
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
219
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
220
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
221
-  (0.0ms) SELECT sqlite_version(*)
222
-  (12.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
223
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
224
-  (16.5ms) INSERT INTO "schema_migrations" (version) VALUES (0)
225
-  (11.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
226
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
227
-  (0.0ms) begin transaction
228
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:20:45.228195"], ["updated_at", "2018-09-17 19:20:45.228195"]]
229
-  (11.1ms) commit transaction
230
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
231
-  (0.0ms) begin transaction
232
-  (0.0ms) commit transaction
233
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
234
-  (0.0ms) begin transaction
235
- -------------------------------------------------
236
- SpymeTest: test_post_to_spyme_should_store_coords
237
- -------------------------------------------------
238
-  (0.1ms) rollback transaction
239
-  (0.0ms) begin transaction
240
- ---------------------------------------------------------------------
241
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
242
- ---------------------------------------------------------------------
243
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:20:45 -0300
244
- Processing by Spyme::LocationsController#create as HTML
245
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
246
-  (0.1ms) rollback transaction
247
-  (0.0ms) begin transaction
248
- ---------------------------------------------------
249
- SpymeTest: test_post_to_spyme_should_return_success
250
- ---------------------------------------------------
251
-  (0.0ms) rollback transaction
252
-  (0.0ms) begin transaction
253
- ----------------------------------------------------------------------------
254
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
255
- ----------------------------------------------------------------------------
256
-  (0.0ms) rollback transaction
257
-  (0.0ms) begin transaction
258
- --------------------------------------------------------------
259
- ModelTest: test_location_should_be_valid_at_negative_boundries
260
- --------------------------------------------------------------
261
-  (0.0ms) rollback transaction
262
-  (0.0ms) begin transaction
263
- -------------------------------------------------------------
264
- ModelTest: test_location_should_be_invalid_when_empty_session
265
- -------------------------------------------------------------
266
-  (0.0ms) rollback transaction
267
-  (0.0ms) begin transaction
268
- -------------------------------------------------------------
269
- ModelTest: test_as_a_string_should_give_the_right_query_value
270
- -------------------------------------------------------------
271
-  (0.0ms) rollback transaction
272
-  (0.0ms) begin transaction
273
- -----------------------------------------------------------------------
274
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
275
- -----------------------------------------------------------------------
276
-  (0.0ms) rollback transaction
277
-  (0.0ms) begin transaction
278
- -----------------------------------------------------------------------------
279
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
280
- -----------------------------------------------------------------------------
281
-  (0.0ms) rollback transaction
282
-  (0.0ms) begin transaction
283
- --------------------------------------------------------------
284
- ModelTest: test_location_should_be_valid_at_positive_boundries
285
- --------------------------------------------------------------
286
-  (0.0ms) rollback transaction
287
-  (0.0ms) begin transaction
288
- --------------------------------------------------------
289
- ModelTest: test_to_hash_should_give_the_right_hash_value
290
- --------------------------------------------------------
291
-  (0.0ms) rollback transaction
292
-  (0.0ms) begin transaction
293
- ----------------------------------------------------------------
294
- ModelTest: test_location_should_be_invalid_when_empty_attributes
295
- ----------------------------------------------------------------
296
-  (0.0ms) rollback transaction
297
-  (0.0ms) begin transaction
298
- ------------------------------------------------------
299
- ModelTest: test_coords_should_give_the_values_in_array
300
- ------------------------------------------------------
301
-  (0.0ms) rollback transaction
302
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
303
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
304
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
305
-  (0.0ms) SELECT sqlite_version(*)
306
-  (11.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
307
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
308
-  (15.6ms) INSERT INTO "schema_migrations" (version) VALUES (0)
309
-  (11.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
310
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
311
-  (0.0ms) begin transaction
312
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:23:11.572179"], ["updated_at", "2018-09-17 19:23:11.572179"]]
313
-  (9.8ms) commit transaction
314
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
315
-  (0.1ms) begin transaction
316
-  (0.1ms) commit transaction
317
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
318
-  (0.1ms) begin transaction
319
- ---------------------------------------------------------------------
320
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
321
- ---------------------------------------------------------------------
322
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:23:11 -0300
323
- Processing by Spyme::LocationsController#create as HTML
324
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
325
-  (0.1ms) rollback transaction
326
-  (0.0ms) begin transaction
327
- ---------------------------------------------------
328
- SpymeTest: test_post_to_spyme_should_return_success
329
- ---------------------------------------------------
330
-  (0.0ms) rollback transaction
331
-  (0.0ms) begin transaction
332
- -------------------------------------------------
333
- SpymeTest: test_post_to_spyme_should_store_coords
334
- -------------------------------------------------
335
-  (0.0ms) rollback transaction
336
-  (0.0ms) begin transaction
337
- ----------------------------------------------------------------------------
338
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
339
- ----------------------------------------------------------------------------
340
-  (0.0ms) rollback transaction
341
-  (0.0ms) begin transaction
342
- --------------------------------------------------------
343
- ModelTest: test_to_hash_should_give_the_right_hash_value
344
- --------------------------------------------------------
345
-  (0.0ms) rollback transaction
346
-  (0.0ms) begin transaction
347
- --------------------------------------------------------------
348
- ModelTest: test_location_should_be_valid_at_positive_boundries
349
- --------------------------------------------------------------
350
-  (0.0ms) rollback transaction
351
-  (0.0ms) begin transaction
352
- -------------------------------------------------------------
353
- ModelTest: test_as_a_string_should_give_the_right_query_value
354
- -------------------------------------------------------------
355
-  (0.0ms) rollback transaction
356
-  (0.0ms) begin transaction
357
- -------------------------------------------------------------
358
- ModelTest: test_location_should_be_invalid_when_empty_session
359
- -------------------------------------------------------------
360
-  (0.0ms) rollback transaction
361
-  (0.0ms) begin transaction
362
- --------------------------------------------------------------
363
- ModelTest: test_location_should_be_valid_at_negative_boundries
364
- --------------------------------------------------------------
365
-  (0.0ms) rollback transaction
366
-  (0.0ms) begin transaction
367
- -----------------------------------------------------------------------
368
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
369
- -----------------------------------------------------------------------
370
-  (0.0ms) rollback transaction
371
-  (0.0ms) begin transaction
372
- -----------------------------------------------------------------------------
373
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
374
- -----------------------------------------------------------------------------
375
-  (0.0ms) rollback transaction
376
-  (0.0ms) begin transaction
377
- ------------------------------------------------------
378
- ModelTest: test_coords_should_give_the_values_in_array
379
- ------------------------------------------------------
380
-  (0.0ms) rollback transaction
381
-  (0.0ms) begin transaction
382
- ----------------------------------------------------------------
383
- ModelTest: test_location_should_be_invalid_when_empty_attributes
384
- ----------------------------------------------------------------
385
-  (0.0ms) rollback transaction
386
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
387
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
388
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
389
-  (0.0ms) SELECT sqlite_version(*)
390
-  (11.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
391
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
392
-  (14.7ms) INSERT INTO "schema_migrations" (version) VALUES (0)
393
-  (11.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
394
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
395
-  (0.1ms) begin transaction
396
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:24:35.756223"], ["updated_at", "2018-09-17 19:24:35.756223"]]
397
-  (10.5ms) commit transaction
398
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
399
-  (0.1ms) begin transaction
400
-  (0.1ms) commit transaction
401
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
402
-  (0.0ms) begin transaction
403
- ----------------------------------------------------------------
404
- ModelTest: test_location_should_be_invalid_when_empty_attributes
405
- ----------------------------------------------------------------
406
-  (0.0ms) rollback transaction
407
-  (0.1ms) begin transaction
408
- --------------------------------------------------------
409
- ModelTest: test_to_hash_should_give_the_right_hash_value
410
- --------------------------------------------------------
411
-  (0.0ms) rollback transaction
412
-  (0.0ms) begin transaction
413
- --------------------------------------------------------------
414
- ModelTest: test_location_should_be_valid_at_negative_boundries
415
- --------------------------------------------------------------
416
-  (0.0ms) rollback transaction
417
-  (0.0ms) begin transaction
418
- --------------------------------------------------------------
419
- ModelTest: test_location_should_be_valid_at_positive_boundries
420
- --------------------------------------------------------------
421
-  (0.0ms) rollback transaction
422
-  (0.0ms) begin transaction
423
- -------------------------------------------------------------
424
- ModelTest: test_as_a_string_should_give_the_right_query_value
425
- -------------------------------------------------------------
426
-  (0.0ms) rollback transaction
427
-  (0.0ms) begin transaction
428
- ------------------------------------------------------
429
- ModelTest: test_coords_should_give_the_values_in_array
430
- ------------------------------------------------------
431
-  (0.0ms) rollback transaction
432
-  (0.0ms) begin transaction
433
- -----------------------------------------------------------------------
434
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
435
- -----------------------------------------------------------------------
436
-  (0.0ms) rollback transaction
437
-  (0.0ms) begin transaction
438
- -----------------------------------------------------------------------------
439
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
440
- -----------------------------------------------------------------------------
441
-  (0.0ms) rollback transaction
442
-  (0.0ms) begin transaction
443
- ----------------------------------------------------------------------------
444
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
445
- ----------------------------------------------------------------------------
446
-  (0.1ms) rollback transaction
447
-  (0.0ms) begin transaction
448
- -------------------------------------------------------------
449
- ModelTest: test_location_should_be_invalid_when_empty_session
450
- -------------------------------------------------------------
451
-  (0.0ms) rollback transaction
452
-  (0.0ms) begin transaction
453
- ---------------------------------------------------------------------
454
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
455
- ---------------------------------------------------------------------
456
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:24:35 -0300
457
- Processing by Spyme::LocationsController#create as HTML
458
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
459
-  (0.1ms) rollback transaction
460
-  (0.0ms) begin transaction
461
- -------------------------------------------------
462
- SpymeTest: test_post_to_spyme_should_store_coords
463
- -------------------------------------------------
464
-  (0.0ms) rollback transaction
465
-  (0.0ms) begin transaction
466
- ---------------------------------------------------
467
- SpymeTest: test_post_to_spyme_should_return_success
468
- ---------------------------------------------------
469
-  (0.0ms) rollback transaction
470
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
471
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
472
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
473
-  (0.0ms) SELECT sqlite_version(*)
474
-  (11.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
475
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
476
-  (15.8ms) INSERT INTO "schema_migrations" (version) VALUES (0)
477
-  (12.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
478
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
479
-  (0.0ms) begin transaction
480
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:24:48.051889"], ["updated_at", "2018-09-17 19:24:48.051889"]]
481
-  (10.3ms) commit transaction
482
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
483
-  (0.1ms) begin transaction
484
-  (0.0ms) commit transaction
485
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
486
-  (0.0ms) begin transaction
487
- --------------------------------------------------------------
488
- ModelTest: test_location_should_be_valid_at_positive_boundries
489
- --------------------------------------------------------------
490
-  (0.0ms) rollback transaction
491
-  (0.0ms) begin transaction
492
- -------------------------------------------------------------
493
- ModelTest: test_as_a_string_should_give_the_right_query_value
494
- -------------------------------------------------------------
495
-  (0.0ms) rollback transaction
496
-  (0.0ms) begin transaction
497
- --------------------------------------------------------------
498
- ModelTest: test_location_should_be_valid_at_negative_boundries
499
- --------------------------------------------------------------
500
-  (0.0ms) rollback transaction
501
-  (0.0ms) begin transaction
502
- ------------------------------------------------------
503
- ModelTest: test_coords_should_give_the_values_in_array
504
- ------------------------------------------------------
505
-  (0.0ms) rollback transaction
506
-  (0.0ms) begin transaction
507
- ----------------------------------------------------------------
508
- ModelTest: test_location_should_be_invalid_when_empty_attributes
509
- ----------------------------------------------------------------
510
-  (0.1ms) rollback transaction
511
-  (0.0ms) begin transaction
512
- -----------------------------------------------------------------------------
513
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
514
- -----------------------------------------------------------------------------
515
-  (0.0ms) rollback transaction
516
-  (0.0ms) begin transaction
517
- ----------------------------------------------------------------------------
518
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
519
- ----------------------------------------------------------------------------
520
-  (0.0ms) rollback transaction
521
-  (0.0ms) begin transaction
522
- -----------------------------------------------------------------------
523
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
524
- -----------------------------------------------------------------------
525
-  (0.0ms) rollback transaction
526
-  (0.0ms) begin transaction
527
- -------------------------------------------------------------
528
- ModelTest: test_location_should_be_invalid_when_empty_session
529
- -------------------------------------------------------------
530
-  (0.0ms) rollback transaction
531
-  (0.0ms) begin transaction
532
- --------------------------------------------------------
533
- ModelTest: test_to_hash_should_give_the_right_hash_value
534
- --------------------------------------------------------
535
-  (0.0ms) rollback transaction
536
-  (0.0ms) begin transaction
537
- ---------------------------------------------------------------------
538
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
539
- ---------------------------------------------------------------------
540
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:24:48 -0300
541
- Processing by Spyme::LocationsController#create as HTML
542
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
543
-  (0.1ms) rollback transaction
544
-  (0.0ms) begin transaction
545
- ---------------------------------------------------
546
- SpymeTest: test_post_to_spyme_should_return_success
547
- ---------------------------------------------------
548
-  (0.0ms) rollback transaction
549
-  (0.1ms) begin transaction
550
- -------------------------------------------------
551
- SpymeTest: test_post_to_spyme_should_store_coords
552
- -------------------------------------------------
553
-  (0.0ms) rollback transaction
554
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
555
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
556
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
557
-  (0.0ms) SELECT sqlite_version(*)
558
-  (11.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
559
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
560
-  (15.9ms) INSERT INTO "schema_migrations" (version) VALUES (0)
561
-  (10.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
562
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
563
-  (0.0ms) begin transaction
564
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:25:42.683839"], ["updated_at", "2018-09-17 19:25:42.683839"]]
565
-  (11.1ms) commit transaction
566
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
567
-  (0.2ms) begin transaction
568
-  (0.1ms) commit transaction
569
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
570
-  (0.1ms) begin transaction
571
- ---------------------------------------------------------------------
572
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
573
- ---------------------------------------------------------------------
574
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:25:42 -0300
575
- Processing by Spyme::LocationsController#create as HTML
576
- Completed 400 Bad Request in 6ms (ActiveRecord: 0.0ms)
577
-  (0.1ms) rollback transaction
578
-  (0.0ms) begin transaction
579
- ---------------------------------------------------
580
- SpymeTest: test_post_to_spyme_should_return_success
581
- ---------------------------------------------------
582
-  (0.0ms) rollback transaction
583
-  (0.5ms) begin transaction
584
- -------------------------------------------------
585
- SpymeTest: test_post_to_spyme_should_store_coords
586
- -------------------------------------------------
587
-  (0.0ms) rollback transaction
588
-  (0.0ms) begin transaction
589
- --------------------------------------------------------------
590
- ModelTest: test_location_should_be_valid_at_negative_boundries
591
- --------------------------------------------------------------
592
-  (0.0ms) rollback transaction
593
-  (0.0ms) begin transaction
594
- -----------------------------------------------------------------------
595
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
596
- -----------------------------------------------------------------------
597
-  (0.0ms) rollback transaction
598
-  (0.0ms) begin transaction
599
- --------------------------------------------------------
600
- ModelTest: test_to_hash_should_give_the_right_hash_value
601
- --------------------------------------------------------
602
-  (0.0ms) rollback transaction
603
-  (0.0ms) begin transaction
604
- ----------------------------------------------------------------------------
605
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
606
- ----------------------------------------------------------------------------
607
-  (0.0ms) rollback transaction
608
-  (0.0ms) begin transaction
609
- -------------------------------------------------------------
610
- ModelTest: test_as_a_string_should_give_the_right_query_value
611
- -------------------------------------------------------------
612
-  (0.0ms) rollback transaction
613
-  (0.0ms) begin transaction
614
- ------------------------------------------------------
615
- ModelTest: test_coords_should_give_the_values_in_array
616
- ------------------------------------------------------
617
-  (0.1ms) rollback transaction
618
-  (0.0ms) begin transaction
619
- ----------------------------------------------------------------
620
- ModelTest: test_location_should_be_invalid_when_empty_attributes
621
- ----------------------------------------------------------------
622
-  (0.0ms) rollback transaction
623
-  (0.0ms) begin transaction
624
- -------------------------------------------------------------
625
- ModelTest: test_location_should_be_invalid_when_empty_session
626
- -------------------------------------------------------------
627
-  (0.0ms) rollback transaction
628
-  (0.0ms) begin transaction
629
- --------------------------------------------------------------
630
- ModelTest: test_location_should_be_valid_at_positive_boundries
631
- --------------------------------------------------------------
632
-  (0.0ms) rollback transaction
633
-  (0.0ms) begin transaction
634
- -----------------------------------------------------------------------------
635
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
636
- -----------------------------------------------------------------------------
637
-  (0.0ms) rollback transaction
638
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
639
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
640
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
641
-  (0.0ms) SELECT sqlite_version(*)
642
-  (12.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
643
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
644
-  (15.6ms) INSERT INTO "schema_migrations" (version) VALUES (0)
645
-  (11.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
646
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
647
-  (0.0ms) begin transaction
648
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:25:53.481586"], ["updated_at", "2018-09-17 19:25:53.481586"]]
649
-  (9.8ms) commit transaction
650
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
651
-  (0.0ms) begin transaction
652
-  (0.0ms) commit transaction
653
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
654
-  (0.0ms) begin transaction
655
- ------------------------------------------------------
656
- ModelTest: test_coords_should_give_the_values_in_array
657
- ------------------------------------------------------
658
-  (0.0ms) rollback transaction
659
-  (0.0ms) begin transaction
660
- --------------------------------------------------------
661
- ModelTest: test_to_hash_should_give_the_right_hash_value
662
- --------------------------------------------------------
663
-  (0.0ms) rollback transaction
664
-  (0.0ms) begin transaction
665
- -------------------------------------------------------------
666
- ModelTest: test_as_a_string_should_give_the_right_query_value
667
- -------------------------------------------------------------
668
-  (0.0ms) rollback transaction
669
-  (0.0ms) begin transaction
670
- ----------------------------------------------------------------------------
671
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
672
- ----------------------------------------------------------------------------
673
-  (0.0ms) rollback transaction
674
-  (0.0ms) begin transaction
675
- -------------------------------------------------------------
676
- ModelTest: test_location_should_be_invalid_when_empty_session
677
- -------------------------------------------------------------
678
-  (0.1ms) rollback transaction
679
-  (0.0ms) begin transaction
680
- -----------------------------------------------------------------------------
681
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
682
- -----------------------------------------------------------------------------
683
-  (0.0ms) rollback transaction
684
-  (0.0ms) begin transaction
685
- -----------------------------------------------------------------------
686
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
687
- -----------------------------------------------------------------------
688
-  (0.0ms) rollback transaction
689
-  (0.0ms) begin transaction
690
- ----------------------------------------------------------------
691
- ModelTest: test_location_should_be_invalid_when_empty_attributes
692
- ----------------------------------------------------------------
693
-  (0.0ms) rollback transaction
694
-  (0.0ms) begin transaction
695
- --------------------------------------------------------------
696
- ModelTest: test_location_should_be_valid_at_positive_boundries
697
- --------------------------------------------------------------
698
-  (0.0ms) rollback transaction
699
-  (0.0ms) begin transaction
700
- --------------------------------------------------------------
701
- ModelTest: test_location_should_be_valid_at_negative_boundries
702
- --------------------------------------------------------------
703
-  (0.0ms) rollback transaction
704
-  (0.0ms) begin transaction
705
- -------------------------------------------------
706
- SpymeTest: test_post_to_spyme_should_store_coords
707
- -------------------------------------------------
708
-  (0.1ms) rollback transaction
709
-  (0.0ms) begin transaction
710
- ---------------------------------------------------------------------
711
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
712
- ---------------------------------------------------------------------
713
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:25:53 -0300
714
- Processing by Spyme::LocationsController#create as HTML
715
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
716
-  (0.0ms) rollback transaction
717
-  (0.1ms) begin transaction
718
- ---------------------------------------------------
719
- SpymeTest: test_post_to_spyme_should_return_success
720
- ---------------------------------------------------
721
-  (0.0ms) rollback transaction
722
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
723
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
724
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
725
-  (0.0ms) SELECT sqlite_version(*)
726
-  (11.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
727
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
728
-  (16.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
729
-  (11.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
730
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
731
-  (0.1ms) begin transaction
732
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:26:02.599338"], ["updated_at", "2018-09-17 19:26:02.599338"]]
733
-  (10.2ms) commit transaction
734
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
735
-  (0.1ms) begin transaction
736
-  (0.1ms) commit transaction
737
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
738
-  (0.0ms) begin transaction
739
- -------------------------------------------------------------
740
- ModelTest: test_as_a_string_should_give_the_right_query_value
741
- -------------------------------------------------------------
742
-  (0.0ms) rollback transaction
743
-  (0.0ms) begin transaction
744
- ------------------------------------------------------
745
- ModelTest: test_coords_should_give_the_values_in_array
746
- ------------------------------------------------------
747
-  (0.0ms) rollback transaction
748
-  (0.0ms) begin transaction
749
- --------------------------------------------------------------
750
- ModelTest: test_location_should_be_valid_at_positive_boundries
751
- --------------------------------------------------------------
752
-  (0.0ms) rollback transaction
753
-  (0.0ms) begin transaction
754
- ----------------------------------------------------------------
755
- ModelTest: test_location_should_be_invalid_when_empty_attributes
756
- ----------------------------------------------------------------
757
-  (0.0ms) rollback transaction
758
-  (0.0ms) begin transaction
759
- --------------------------------------------------------
760
- ModelTest: test_to_hash_should_give_the_right_hash_value
761
- --------------------------------------------------------
762
-  (0.0ms) rollback transaction
763
-  (0.0ms) begin transaction
764
- -----------------------------------------------------------------------------
765
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
766
- -----------------------------------------------------------------------------
767
-  (0.0ms) rollback transaction
768
-  (0.0ms) begin transaction
769
- ----------------------------------------------------------------------------
770
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
771
- ----------------------------------------------------------------------------
772
-  (0.0ms) rollback transaction
773
-  (0.0ms) begin transaction
774
- --------------------------------------------------------------
775
- ModelTest: test_location_should_be_valid_at_negative_boundries
776
- --------------------------------------------------------------
777
-  (0.0ms) rollback transaction
778
-  (0.0ms) begin transaction
779
- -----------------------------------------------------------------------
780
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
781
- -----------------------------------------------------------------------
782
-  (0.0ms) rollback transaction
783
-  (0.0ms) begin transaction
784
- -------------------------------------------------------------
785
- ModelTest: test_location_should_be_invalid_when_empty_session
786
- -------------------------------------------------------------
787
-  (0.0ms) rollback transaction
788
-  (0.0ms) begin transaction
789
- ---------------------------------------------------
790
- SpymeTest: test_post_to_spyme_should_return_success
791
- ---------------------------------------------------
792
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:26:11 -0300
793
- Processing by Spyme::LocationsController#create as HTML
794
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
795
-  (0.1ms) rollback transaction
796
-  (0.0ms) begin transaction
797
- ---------------------------------------------------------------------
798
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
799
- ---------------------------------------------------------------------
800
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:26:31 -0300
801
- Processing by Spyme::LocationsController#create as HTML
802
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
803
-  (0.0ms) rollback transaction
804
-  (0.0ms) begin transaction
805
- -------------------------------------------------
806
- SpymeTest: test_post_to_spyme_should_store_coords
807
- -------------------------------------------------
808
-  (0.0ms) rollback transaction
809
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
810
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
811
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
812
-  (0.1ms) SELECT sqlite_version(*)
813
-  (11.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
814
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
815
-  (16.8ms) INSERT INTO "schema_migrations" (version) VALUES (0)
816
-  (11.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
817
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
818
-  (0.1ms) begin transaction
819
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:26:42.362148"], ["updated_at", "2018-09-17 19:26:42.362148"]]
820
-  (10.0ms) commit transaction
821
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
822
-  (0.1ms) begin transaction
823
-  (0.0ms) commit transaction
824
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
825
-  (0.1ms) begin transaction
826
- -----------------------------------------------------------------------------
827
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
828
- -----------------------------------------------------------------------------
829
-  (0.0ms) rollback transaction
830
-  (0.0ms) begin transaction
831
- -----------------------------------------------------------------------
832
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
833
- -----------------------------------------------------------------------
834
-  (0.0ms) rollback transaction
835
-  (0.0ms) begin transaction
836
- ----------------------------------------------------------------
837
- ModelTest: test_location_should_be_invalid_when_empty_attributes
838
- ----------------------------------------------------------------
839
-  (0.0ms) rollback transaction
840
-  (0.0ms) begin transaction
841
- --------------------------------------------------------------
842
- ModelTest: test_location_should_be_valid_at_negative_boundries
843
- --------------------------------------------------------------
844
-  (0.0ms) rollback transaction
845
-  (0.0ms) begin transaction
846
- --------------------------------------------------------
847
- ModelTest: test_to_hash_should_give_the_right_hash_value
848
- --------------------------------------------------------
849
-  (0.0ms) rollback transaction
850
-  (0.0ms) begin transaction
851
- ------------------------------------------------------
852
- ModelTest: test_coords_should_give_the_values_in_array
853
- ------------------------------------------------------
854
-  (0.0ms) rollback transaction
855
-  (0.0ms) begin transaction
856
- -------------------------------------------------------------
857
- ModelTest: test_location_should_be_invalid_when_empty_session
858
- -------------------------------------------------------------
859
-  (0.0ms) rollback transaction
860
-  (0.0ms) begin transaction
861
- ----------------------------------------------------------------------------
862
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
863
- ----------------------------------------------------------------------------
864
-  (0.0ms) rollback transaction
865
-  (0.0ms) begin transaction
866
- --------------------------------------------------------------
867
- ModelTest: test_location_should_be_valid_at_positive_boundries
868
- --------------------------------------------------------------
869
-  (0.0ms) rollback transaction
870
-  (0.0ms) begin transaction
871
- -------------------------------------------------------------
872
- ModelTest: test_as_a_string_should_give_the_right_query_value
873
- -------------------------------------------------------------
874
-  (0.0ms) rollback transaction
875
-  (0.0ms) begin transaction
876
- ---------------------------------------------------------------------
877
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
878
- ---------------------------------------------------------------------
879
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:26:42 -0300
880
- Processing by Spyme::LocationsController#create as HTML
881
- Completed 400 Bad Request in 18945ms (ActiveRecord: 0.0ms)
882
-  (0.1ms) rollback transaction
883
-  (0.0ms) begin transaction
884
- -------------------------------------------------
885
- SpymeTest: test_post_to_spyme_should_store_coords
886
- -------------------------------------------------
887
-  (0.1ms) rollback transaction
888
-  (0.0ms) begin transaction
889
- ---------------------------------------------------
890
- SpymeTest: test_post_to_spyme_should_return_success
891
- ---------------------------------------------------
892
-  (0.1ms) rollback transaction
893
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
894
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
895
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
896
-  (0.0ms) SELECT sqlite_version(*)
897
-  (11.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
898
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
899
-  (16.8ms) INSERT INTO "schema_migrations" (version) VALUES (0)
900
-  (10.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
901
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
902
-  (0.1ms) begin transaction
903
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:27:21.091999"], ["updated_at", "2018-09-17 19:27:21.091999"]]
904
-  (10.4ms) commit transaction
905
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
906
-  (0.1ms) begin transaction
907
-  (0.1ms) commit transaction
908
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
909
-  (0.0ms) begin transaction
910
- ---------------------------------------------------
911
- SpymeTest: test_post_to_spyme_should_return_success
912
- ---------------------------------------------------
913
-  (0.1ms) rollback transaction
914
-  (0.0ms) begin transaction
915
- -------------------------------------------------
916
- SpymeTest: test_post_to_spyme_should_store_coords
917
- -------------------------------------------------
918
-  (0.0ms) rollback transaction
919
-  (0.0ms) begin transaction
920
- --------------------------------------------------------------
921
- ModelTest: test_location_should_be_valid_at_negative_boundries
922
- --------------------------------------------------------------
923
-  (0.0ms) rollback transaction
924
-  (0.5ms) begin transaction
925
- -------------------------------------------------------------
926
- ModelTest: test_as_a_string_should_give_the_right_query_value
927
- -------------------------------------------------------------
928
-  (0.0ms) rollback transaction
929
-  (0.0ms) begin transaction
930
- ----------------------------------------------------------------
931
- ModelTest: test_location_should_be_invalid_when_empty_attributes
932
- ----------------------------------------------------------------
933
-  (0.0ms) rollback transaction
934
-  (0.0ms) begin transaction
935
- -------------------------------------------------------------
936
- ModelTest: test_location_should_be_invalid_when_empty_session
937
- -------------------------------------------------------------
938
-  (0.1ms) rollback transaction
939
-  (0.1ms) begin transaction
940
- -----------------------------------------------------------------------
941
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
942
- -----------------------------------------------------------------------
943
-  (0.0ms) rollback transaction
944
-  (0.0ms) begin transaction
945
- ----------------------------------------------------------------------------
946
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
947
- ----------------------------------------------------------------------------
948
-  (0.0ms) rollback transaction
949
-  (0.0ms) begin transaction
950
- --------------------------------------------------------
951
- ModelTest: test_to_hash_should_give_the_right_hash_value
952
- --------------------------------------------------------
953
-  (0.0ms) rollback transaction
954
-  (0.0ms) begin transaction
955
- --------------------------------------------------------------
956
- ModelTest: test_location_should_be_valid_at_positive_boundries
957
- --------------------------------------------------------------
958
-  (0.0ms) rollback transaction
959
-  (0.0ms) begin transaction
960
- ------------------------------------------------------
961
- ModelTest: test_coords_should_give_the_values_in_array
962
- ------------------------------------------------------
963
-  (0.0ms) rollback transaction
964
-  (0.0ms) begin transaction
965
- -----------------------------------------------------------------------------
966
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
967
- -----------------------------------------------------------------------------
968
-  (0.0ms) rollback transaction
969
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
970
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
971
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
972
-  (0.0ms) SELECT sqlite_version(*)
973
-  (11.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
974
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
975
-  (16.3ms) INSERT INTO "schema_migrations" (version) VALUES (0)
976
-  (11.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
977
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
978
-  (0.1ms) begin transaction
979
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:27:57.894995"], ["updated_at", "2018-09-17 19:27:57.894995"]]
980
-  (10.2ms) commit transaction
981
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
982
-  (0.1ms) begin transaction
983
-  (0.1ms) commit transaction
984
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
985
-  (0.0ms) begin transaction
986
- ------------------------------------------------------
987
- ModelTest: test_coords_should_give_the_values_in_array
988
- ------------------------------------------------------
989
-  (0.0ms) rollback transaction
990
-  (0.0ms) begin transaction
991
- --------------------------------------------------------------
992
- ModelTest: test_location_should_be_valid_at_negative_boundries
993
- --------------------------------------------------------------
994
-  (0.0ms) rollback transaction
995
-  (0.0ms) begin transaction
996
- ----------------------------------------------------------------
997
- ModelTest: test_location_should_be_invalid_when_empty_attributes
998
- ----------------------------------------------------------------
999
-  (0.1ms) rollback transaction
1000
-  (0.0ms) begin transaction
1001
- ----------------------------------------------------------------------------
1002
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
1003
- ----------------------------------------------------------------------------
1004
-  (0.0ms) rollback transaction
1005
-  (0.0ms) begin transaction
1006
- --------------------------------------------------------------
1007
- ModelTest: test_location_should_be_valid_at_positive_boundries
1008
- --------------------------------------------------------------
1009
-  (0.0ms) rollback transaction
1010
-  (0.0ms) begin transaction
1011
- -------------------------------------------------------------
1012
- ModelTest: test_as_a_string_should_give_the_right_query_value
1013
- -------------------------------------------------------------
1014
-  (0.0ms) rollback transaction
1015
-  (0.0ms) begin transaction
1016
- -----------------------------------------------------------------------------
1017
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
1018
- -----------------------------------------------------------------------------
1019
-  (0.0ms) rollback transaction
1020
-  (0.0ms) begin transaction
1021
- --------------------------------------------------------
1022
- ModelTest: test_to_hash_should_give_the_right_hash_value
1023
- --------------------------------------------------------
1024
-  (0.0ms) rollback transaction
1025
-  (0.0ms) begin transaction
1026
- -------------------------------------------------------------
1027
- ModelTest: test_location_should_be_invalid_when_empty_session
1028
- -------------------------------------------------------------
1029
-  (0.1ms) rollback transaction
1030
-  (0.0ms) begin transaction
1031
- -----------------------------------------------------------------------
1032
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
1033
- -----------------------------------------------------------------------
1034
-  (0.0ms) rollback transaction
1035
-  (0.0ms) begin transaction
1036
- ---------------------------------------------------------------------
1037
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
1038
- ---------------------------------------------------------------------
1039
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:27:58 -0300
1040
- Processing by Spyme::LocationsController#create as HTML
1041
- Completed 400 Bad Request in 2824ms (ActiveRecord: 0.0ms)
1042
-  (0.1ms) rollback transaction
1043
-  (0.0ms) begin transaction
1044
- ---------------------------------------------------
1045
- SpymeTest: test_post_to_spyme_should_return_success
1046
- ---------------------------------------------------
1047
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:28:00 -0300
1048
- Processing by Spyme::LocationsController#create as HTML
1049
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1050
- Completed 500 Internal Server Error in 1149ms (ActiveRecord: 0.0ms)
1051
-  (0.1ms) rollback transaction
1052
-  (0.0ms) begin transaction
1053
- -------------------------------------------------
1054
- SpymeTest: test_post_to_spyme_should_store_coords
1055
- -------------------------------------------------
1056
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:28:02 -0300
1057
- Processing by Spyme::LocationsController#create as HTML
1058
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1059
- Completed 500 Internal Server Error in 1126ms (ActiveRecord: 0.0ms)
1060
-  (0.1ms) rollback transaction
1061
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1062
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1063
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1064
-  (0.0ms) SELECT sqlite_version(*)
1065
-  (11.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1066
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1067
-  (15.9ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1068
-  (12.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1069
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1070
-  (0.0ms) begin transaction
1071
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:28:36.178038"], ["updated_at", "2018-09-17 19:28:36.178038"]]
1072
-  (10.1ms) commit transaction
1073
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1074
-  (0.0ms) begin transaction
1075
-  (0.0ms) commit transaction
1076
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1077
-  (0.0ms) begin transaction
1078
- ---------------------------------------------------
1079
- SpymeTest: test_post_to_spyme_should_return_success
1080
- ---------------------------------------------------
1081
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:28:36 -0300
1082
- Processing by Spyme::LocationsController#create as HTML
1083
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1084
- Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1085
-  (0.1ms) rollback transaction
1086
-  (0.0ms) begin transaction
1087
- ---------------------------------------------------------------------
1088
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
1089
- ---------------------------------------------------------------------
1090
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:28:36 -0300
1091
- Processing by Spyme::LocationsController#create as HTML
1092
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
1093
-  (0.0ms) rollback transaction
1094
-  (0.0ms) begin transaction
1095
- -------------------------------------------------
1096
- SpymeTest: test_post_to_spyme_should_store_coords
1097
- -------------------------------------------------
1098
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:28:36 -0300
1099
- Processing by Spyme::LocationsController#create as HTML
1100
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1101
- Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1102
-  (0.0ms) rollback transaction
1103
-  (0.0ms) begin transaction
1104
- -----------------------------------------------------------------------
1105
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
1106
- -----------------------------------------------------------------------
1107
-  (0.0ms) rollback transaction
1108
-  (0.0ms) begin transaction
1109
- -------------------------------------------------------------
1110
- ModelTest: test_location_should_be_invalid_when_empty_session
1111
- -------------------------------------------------------------
1112
-  (0.0ms) rollback transaction
1113
-  (0.0ms) begin transaction
1114
- -------------------------------------------------------------
1115
- ModelTest: test_as_a_string_should_give_the_right_query_value
1116
- -------------------------------------------------------------
1117
-  (0.0ms) rollback transaction
1118
-  (0.0ms) begin transaction
1119
- -----------------------------------------------------------------------------
1120
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
1121
- -----------------------------------------------------------------------------
1122
-  (0.0ms) rollback transaction
1123
-  (0.0ms) begin transaction
1124
- ------------------------------------------------------
1125
- ModelTest: test_coords_should_give_the_values_in_array
1126
- ------------------------------------------------------
1127
-  (0.0ms) rollback transaction
1128
-  (0.0ms) begin transaction
1129
- --------------------------------------------------------------
1130
- ModelTest: test_location_should_be_valid_at_positive_boundries
1131
- --------------------------------------------------------------
1132
-  (0.0ms) rollback transaction
1133
-  (0.0ms) begin transaction
1134
- --------------------------------------------------------
1135
- ModelTest: test_to_hash_should_give_the_right_hash_value
1136
- --------------------------------------------------------
1137
-  (0.0ms) rollback transaction
1138
-  (0.0ms) begin transaction
1139
- ----------------------------------------------------------------
1140
- ModelTest: test_location_should_be_invalid_when_empty_attributes
1141
- ----------------------------------------------------------------
1142
-  (0.0ms) rollback transaction
1143
-  (0.0ms) begin transaction
1144
- ----------------------------------------------------------------------------
1145
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
1146
- ----------------------------------------------------------------------------
1147
-  (0.0ms) rollback transaction
1148
-  (0.0ms) begin transaction
1149
- --------------------------------------------------------------
1150
- ModelTest: test_location_should_be_valid_at_negative_boundries
1151
- --------------------------------------------------------------
1152
-  (0.0ms) rollback transaction
1153
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1154
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1155
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1156
-  (0.0ms) SELECT sqlite_version(*)
1157
-  (12.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1158
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1159
-  (15.3ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1160
-  (11.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1161
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1162
-  (0.1ms) begin transaction
1163
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:28:52.057480"], ["updated_at", "2018-09-17 19:28:52.057480"]]
1164
-  (10.4ms) commit transaction
1165
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1166
-  (0.2ms) begin transaction
1167
-  (0.1ms) commit transaction
1168
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1169
-  (0.1ms) begin transaction
1170
- ----------------------------------------------------------------------------
1171
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
1172
- ----------------------------------------------------------------------------
1173
-  (0.0ms) rollback transaction
1174
-  (0.0ms) begin transaction
1175
- ----------------------------------------------------------------
1176
- ModelTest: test_location_should_be_invalid_when_empty_attributes
1177
- ----------------------------------------------------------------
1178
-  (0.0ms) rollback transaction
1179
-  (0.0ms) begin transaction
1180
- ------------------------------------------------------
1181
- ModelTest: test_coords_should_give_the_values_in_array
1182
- ------------------------------------------------------
1183
-  (0.0ms) rollback transaction
1184
-  (0.0ms) begin transaction
1185
- --------------------------------------------------------------
1186
- ModelTest: test_location_should_be_valid_at_negative_boundries
1187
- --------------------------------------------------------------
1188
-  (0.0ms) rollback transaction
1189
-  (0.0ms) begin transaction
1190
- -------------------------------------------------------------
1191
- ModelTest: test_as_a_string_should_give_the_right_query_value
1192
- -------------------------------------------------------------
1193
-  (0.0ms) rollback transaction
1194
-  (0.0ms) begin transaction
1195
- -----------------------------------------------------------------------
1196
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
1197
- -----------------------------------------------------------------------
1198
-  (0.0ms) rollback transaction
1199
-  (0.0ms) begin transaction
1200
- --------------------------------------------------------------
1201
- ModelTest: test_location_should_be_valid_at_positive_boundries
1202
- --------------------------------------------------------------
1203
-  (0.0ms) rollback transaction
1204
-  (0.0ms) begin transaction
1205
- --------------------------------------------------------
1206
- ModelTest: test_to_hash_should_give_the_right_hash_value
1207
- --------------------------------------------------------
1208
-  (0.0ms) rollback transaction
1209
-  (0.0ms) begin transaction
1210
- -----------------------------------------------------------------------------
1211
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
1212
- -----------------------------------------------------------------------------
1213
-  (0.0ms) rollback transaction
1214
-  (0.0ms) begin transaction
1215
- -------------------------------------------------------------
1216
- ModelTest: test_location_should_be_invalid_when_empty_session
1217
- -------------------------------------------------------------
1218
-  (0.0ms) rollback transaction
1219
-  (0.0ms) begin transaction
1220
- ---------------------------------------------------------------------
1221
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
1222
- ---------------------------------------------------------------------
1223
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:28:52 -0300
1224
- Processing by Spyme::LocationsController#create as HTML
1225
- Completed 400 Bad Request in 0ms (ActiveRecord: 0.0ms)
1226
-  (0.1ms) rollback transaction
1227
-  (0.0ms) begin transaction
1228
- -------------------------------------------------
1229
- SpymeTest: test_post_to_spyme_should_store_coords
1230
- -------------------------------------------------
1231
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:28:52 -0300
1232
- Processing by Spyme::LocationsController#create as HTML
1233
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1234
- Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1235
-  (0.0ms) rollback transaction
1236
-  (0.0ms) begin transaction
1237
- ---------------------------------------------------
1238
- SpymeTest: test_post_to_spyme_should_return_success
1239
- ---------------------------------------------------
1240
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:28:52 -0300
1241
- Processing by Spyme::LocationsController#create as HTML
1242
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1243
- Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1244
-  (0.0ms) rollback transaction
1245
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1246
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1247
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1248
-  (0.0ms) SELECT sqlite_version(*)
1249
-  (11.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1250
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1251
-  (13.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1252
-  (11.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1253
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1254
-  (0.0ms) begin transaction
1255
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:29:08.620060"], ["updated_at", "2018-09-17 19:29:08.620060"]]
1256
-  (10.3ms) commit transaction
1257
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1258
-  (0.0ms) begin transaction
1259
-  (0.1ms) commit transaction
1260
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1261
-  (0.0ms) begin transaction
1262
- -------------------------------------------------
1263
- SpymeTest: test_post_to_spyme_should_store_coords
1264
- -------------------------------------------------
1265
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:29:08 -0300
1266
- Processing by Spyme::LocationsController#create as HTML
1267
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1268
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
1269
-  (0.1ms) rollback transaction
1270
-  (0.0ms) begin transaction
1271
- ---------------------------------------------------------------------
1272
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
1273
- ---------------------------------------------------------------------
1274
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:29:08 -0300
1275
- Processing by Spyme::LocationsController#create as HTML
1276
- Completed 400 Bad Request in 0ms (ActiveRecord: 0.0ms)
1277
-  (0.0ms) rollback transaction
1278
-  (0.0ms) begin transaction
1279
- ---------------------------------------------------
1280
- SpymeTest: test_post_to_spyme_should_return_success
1281
- ---------------------------------------------------
1282
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:29:08 -0300
1283
- Processing by Spyme::LocationsController#create as HTML
1284
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1285
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
1286
-  (0.1ms) rollback transaction
1287
-  (0.0ms) begin transaction
1288
- --------------------------------------------------------------
1289
- ModelTest: test_location_should_be_valid_at_negative_boundries
1290
- --------------------------------------------------------------
1291
-  (0.0ms) rollback transaction
1292
-  (0.0ms) begin transaction
1293
- -------------------------------------------------------------
1294
- ModelTest: test_as_a_string_should_give_the_right_query_value
1295
- -------------------------------------------------------------
1296
-  (0.0ms) rollback transaction
1297
-  (0.0ms) begin transaction
1298
- --------------------------------------------------------------
1299
- ModelTest: test_location_should_be_valid_at_positive_boundries
1300
- --------------------------------------------------------------
1301
-  (0.0ms) rollback transaction
1302
-  (0.0ms) begin transaction
1303
- -----------------------------------------------------------------------------
1304
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
1305
- -----------------------------------------------------------------------------
1306
-  (0.0ms) rollback transaction
1307
-  (0.0ms) begin transaction
1308
- -------------------------------------------------------------
1309
- ModelTest: test_location_should_be_invalid_when_empty_session
1310
- -------------------------------------------------------------
1311
-  (0.1ms) rollback transaction
1312
-  (0.0ms) begin transaction
1313
- ------------------------------------------------------
1314
- ModelTest: test_coords_should_give_the_values_in_array
1315
- ------------------------------------------------------
1316
-  (0.0ms) rollback transaction
1317
-  (0.0ms) begin transaction
1318
- ----------------------------------------------------------------
1319
- ModelTest: test_location_should_be_invalid_when_empty_attributes
1320
- ----------------------------------------------------------------
1321
-  (0.0ms) rollback transaction
1322
-  (0.0ms) begin transaction
1323
- --------------------------------------------------------
1324
- ModelTest: test_to_hash_should_give_the_right_hash_value
1325
- --------------------------------------------------------
1326
-  (0.0ms) rollback transaction
1327
-  (0.0ms) begin transaction
1328
- -----------------------------------------------------------------------
1329
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
1330
- -----------------------------------------------------------------------
1331
-  (0.0ms) rollback transaction
1332
-  (0.0ms) begin transaction
1333
- ----------------------------------------------------------------------------
1334
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
1335
- ----------------------------------------------------------------------------
1336
-  (0.0ms) rollback transaction
1337
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1338
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1339
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1340
-  (0.0ms) SELECT sqlite_version(*)
1341
-  (11.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1342
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1343
-  (16.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1344
-  (12.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1345
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1346
-  (0.1ms) begin transaction
1347
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:29:50.261812"], ["updated_at", "2018-09-17 19:29:50.261812"]]
1348
-  (10.6ms) commit transaction
1349
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1350
-  (0.1ms) begin transaction
1351
-  (0.0ms) commit transaction
1352
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1353
-  (0.1ms) begin transaction
1354
- -------------------------------------------------------------
1355
- ModelTest: test_as_a_string_should_give_the_right_query_value
1356
- -------------------------------------------------------------
1357
-  (0.0ms) rollback transaction
1358
-  (0.0ms) begin transaction
1359
- ------------------------------------------------------
1360
- ModelTest: test_coords_should_give_the_values_in_array
1361
- ------------------------------------------------------
1362
-  (0.0ms) rollback transaction
1363
-  (0.0ms) begin transaction
1364
- -------------------------------------------------------------
1365
- ModelTest: test_location_should_be_invalid_when_empty_session
1366
- -------------------------------------------------------------
1367
-  (0.0ms) rollback transaction
1368
-  (0.0ms) begin transaction
1369
- --------------------------------------------------------------
1370
- ModelTest: test_location_should_be_valid_at_positive_boundries
1371
- --------------------------------------------------------------
1372
-  (0.0ms) rollback transaction
1373
-  (0.0ms) begin transaction
1374
- -----------------------------------------------------------------------
1375
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
1376
- -----------------------------------------------------------------------
1377
-  (0.0ms) rollback transaction
1378
-  (0.0ms) begin transaction
1379
- ----------------------------------------------------------------
1380
- ModelTest: test_location_should_be_invalid_when_empty_attributes
1381
- ----------------------------------------------------------------
1382
-  (0.0ms) rollback transaction
1383
-  (0.0ms) begin transaction
1384
- --------------------------------------------------------
1385
- ModelTest: test_to_hash_should_give_the_right_hash_value
1386
- --------------------------------------------------------
1387
-  (0.0ms) rollback transaction
1388
-  (0.0ms) begin transaction
1389
- ----------------------------------------------------------------------------
1390
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
1391
- ----------------------------------------------------------------------------
1392
-  (0.0ms) rollback transaction
1393
-  (0.0ms) begin transaction
1394
- --------------------------------------------------------------
1395
- ModelTest: test_location_should_be_valid_at_negative_boundries
1396
- --------------------------------------------------------------
1397
-  (0.0ms) rollback transaction
1398
-  (0.0ms) begin transaction
1399
- -----------------------------------------------------------------------------
1400
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
1401
- -----------------------------------------------------------------------------
1402
-  (0.0ms) rollback transaction
1403
-  (0.0ms) begin transaction
1404
- ---------------------------------------------------------------------
1405
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
1406
- ---------------------------------------------------------------------
1407
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:29:50 -0300
1408
- Processing by Spyme::LocationsController#create as HTML
1409
- Completed 400 Bad Request in 0ms (ActiveRecord: 0.0ms)
1410
-  (0.1ms) rollback transaction
1411
-  (0.0ms) begin transaction
1412
- ---------------------------------------------------
1413
- SpymeTest: test_post_to_spyme_should_return_success
1414
- ---------------------------------------------------
1415
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:29:50 -0300
1416
- Processing by Spyme::LocationsController#create as HTML
1417
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1418
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
1419
-  (0.0ms) rollback transaction
1420
-  (0.1ms) begin transaction
1421
- -------------------------------------------------
1422
- SpymeTest: test_post_to_spyme_should_store_coords
1423
- -------------------------------------------------
1424
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:29:50 -0300
1425
- Processing by Spyme::LocationsController#create as HTML
1426
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1427
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
1428
-  (0.0ms) rollback transaction
1429
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1430
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1431
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1432
-  (0.0ms) SELECT sqlite_version(*)
1433
-  (11.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1434
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1435
-  (15.4ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1436
-  (11.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1437
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1438
-  (0.1ms) begin transaction
1439
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:30:06.012103"], ["updated_at", "2018-09-17 19:30:06.012103"]]
1440
-  (10.9ms) commit transaction
1441
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1442
-  (0.1ms) begin transaction
1443
-  (0.1ms) commit transaction
1444
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1445
-  (0.1ms) begin transaction
1446
- -------------------------------------------------------------
1447
- ModelTest: test_as_a_string_should_give_the_right_query_value
1448
- -------------------------------------------------------------
1449
-  (0.0ms) rollback transaction
1450
-  (0.0ms) begin transaction
1451
- ----------------------------------------------------------------
1452
- ModelTest: test_location_should_be_invalid_when_empty_attributes
1453
- ----------------------------------------------------------------
1454
-  (0.1ms) rollback transaction
1455
-  (0.0ms) begin transaction
1456
- -------------------------------------------------------------
1457
- ModelTest: test_location_should_be_invalid_when_empty_session
1458
- -------------------------------------------------------------
1459
-  (0.1ms) rollback transaction
1460
-  (0.0ms) begin transaction
1461
- ------------------------------------------------------
1462
- ModelTest: test_coords_should_give_the_values_in_array
1463
- ------------------------------------------------------
1464
-  (0.0ms) rollback transaction
1465
-  (0.0ms) begin transaction
1466
- -----------------------------------------------------------------------
1467
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
1468
- -----------------------------------------------------------------------
1469
-  (0.0ms) rollback transaction
1470
-  (0.0ms) begin transaction
1471
- --------------------------------------------------------------
1472
- ModelTest: test_location_should_be_valid_at_negative_boundries
1473
- --------------------------------------------------------------
1474
-  (0.0ms) rollback transaction
1475
-  (0.0ms) begin transaction
1476
- --------------------------------------------------------
1477
- ModelTest: test_to_hash_should_give_the_right_hash_value
1478
- --------------------------------------------------------
1479
-  (0.0ms) rollback transaction
1480
-  (0.0ms) begin transaction
1481
- --------------------------------------------------------------
1482
- ModelTest: test_location_should_be_valid_at_positive_boundries
1483
- --------------------------------------------------------------
1484
-  (0.0ms) rollback transaction
1485
-  (0.0ms) begin transaction
1486
- -----------------------------------------------------------------------------
1487
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
1488
- -----------------------------------------------------------------------------
1489
-  (0.0ms) rollback transaction
1490
-  (0.0ms) begin transaction
1491
- ----------------------------------------------------------------------------
1492
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
1493
- ----------------------------------------------------------------------------
1494
-  (0.1ms) rollback transaction
1495
-  (0.0ms) begin transaction
1496
- ---------------------------------------------------
1497
- SpymeTest: test_post_to_spyme_should_return_success
1498
- ---------------------------------------------------
1499
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:30:06 -0300
1500
- Processing by Spyme::LocationsController#create as HTML
1501
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1502
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
1503
-  (0.1ms) rollback transaction
1504
-  (0.0ms) begin transaction
1505
- -------------------------------------------------
1506
- SpymeTest: test_post_to_spyme_should_store_coords
1507
- -------------------------------------------------
1508
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:30:06 -0300
1509
- Processing by Spyme::LocationsController#create as HTML
1510
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1511
- Completed 201 Created in 1ms (ActiveRecord: 0.0ms)
1512
-  (0.1ms) rollback transaction
1513
-  (0.0ms) begin transaction
1514
- ---------------------------------------------------------------------
1515
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
1516
- ---------------------------------------------------------------------
1517
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:30:06 -0300
1518
- Processing by Spyme::LocationsController#create as HTML
1519
- Completed 400 Bad Request in 0ms (ActiveRecord: 0.0ms)
1520
-  (0.0ms) rollback transaction
1521
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1522
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1523
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1524
-  (0.0ms) SELECT sqlite_version(*)
1525
-  (11.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1526
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1527
-  (13.8ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1528
-  (12.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1529
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1530
-  (0.0ms) begin transaction
1531
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:31:20.788597"], ["updated_at", "2018-09-17 19:31:20.788597"]]
1532
-  (10.7ms) commit transaction
1533
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1534
-  (0.1ms) begin transaction
1535
-  (0.1ms) commit transaction
1536
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1537
-  (0.1ms) begin transaction
1538
- ----------------------------------------------------------------
1539
- ModelTest: test_location_should_be_invalid_when_empty_attributes
1540
- ----------------------------------------------------------------
1541
-  (0.1ms) rollback transaction
1542
-  (0.0ms) begin transaction
1543
- --------------------------------------------------------------
1544
- ModelTest: test_location_should_be_valid_at_negative_boundries
1545
- --------------------------------------------------------------
1546
-  (0.0ms) rollback transaction
1547
-  (0.0ms) begin transaction
1548
- -------------------------------------------------------------
1549
- ModelTest: test_location_should_be_invalid_when_empty_session
1550
- -------------------------------------------------------------
1551
-  (0.0ms) rollback transaction
1552
-  (0.0ms) begin transaction
1553
- -------------------------------------------------------------
1554
- ModelTest: test_as_a_string_should_give_the_right_query_value
1555
- -------------------------------------------------------------
1556
-  (0.0ms) rollback transaction
1557
-  (0.0ms) begin transaction
1558
- ------------------------------------------------------
1559
- ModelTest: test_coords_should_give_the_values_in_array
1560
- ------------------------------------------------------
1561
-  (0.0ms) rollback transaction
1562
-  (0.0ms) begin transaction
1563
- -----------------------------------------------------------------------------
1564
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
1565
- -----------------------------------------------------------------------------
1566
-  (0.0ms) rollback transaction
1567
-  (0.0ms) begin transaction
1568
- --------------------------------------------------------------
1569
- ModelTest: test_location_should_be_valid_at_positive_boundries
1570
- --------------------------------------------------------------
1571
-  (0.0ms) rollback transaction
1572
-  (0.0ms) begin transaction
1573
- ----------------------------------------------------------------------------
1574
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
1575
- ----------------------------------------------------------------------------
1576
-  (0.0ms) rollback transaction
1577
-  (0.0ms) begin transaction
1578
- -----------------------------------------------------------------------
1579
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
1580
- -----------------------------------------------------------------------
1581
-  (0.0ms) rollback transaction
1582
-  (0.0ms) begin transaction
1583
- --------------------------------------------------------
1584
- ModelTest: test_to_hash_should_give_the_right_hash_value
1585
- --------------------------------------------------------
1586
-  (0.0ms) rollback transaction
1587
-  (0.0ms) begin transaction
1588
- ---------------------------------------------------------------------
1589
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
1590
- ---------------------------------------------------------------------
1591
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:31:20 -0300
1592
- Processing by Spyme::LocationsController#create as HTML
1593
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
1594
-  (0.1ms) rollback transaction
1595
-  (0.1ms) begin transaction
1596
- ---------------------------------------------------
1597
- SpymeTest: test_post_to_spyme_should_return_success
1598
- ---------------------------------------------------
1599
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:31:20 -0300
1600
- Processing by Spyme::LocationsController#create as HTML
1601
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1602
- Unpermitted parameter: :location
1603
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
1604
-  (0.0ms) rollback transaction
1605
-  (0.0ms) begin transaction
1606
- -------------------------------------------------
1607
- SpymeTest: test_post_to_spyme_should_store_coords
1608
- -------------------------------------------------
1609
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:31:20 -0300
1610
- Processing by Spyme::LocationsController#create as HTML
1611
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1612
- Unpermitted parameter: :location
1613
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
1614
-  (0.0ms) rollback transaction
1615
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1616
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1617
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1618
-  (0.0ms) SELECT sqlite_version(*)
1619
-  (11.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1620
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1621
-  (15.2ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1622
-  (12.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1623
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1624
-  (0.1ms) begin transaction
1625
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:32:01.191702"], ["updated_at", "2018-09-17 19:32:01.191702"]]
1626
-  (10.8ms) commit transaction
1627
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1628
-  (0.1ms) begin transaction
1629
-  (0.1ms) commit transaction
1630
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1631
-  (0.0ms) begin transaction
1632
- ---------------------------------------------------------------------
1633
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
1634
- ---------------------------------------------------------------------
1635
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:32:01 -0300
1636
- Processing by Spyme::LocationsController#create as HTML
1637
- Completed 400 Bad Request in 7ms (ActiveRecord: 0.0ms)
1638
-  (0.4ms) rollback transaction
1639
-  (0.0ms) begin transaction
1640
- -------------------------------------------------
1641
- SpymeTest: test_post_to_spyme_should_store_coords
1642
- -------------------------------------------------
1643
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:32:01 -0300
1644
- Processing by Spyme::LocationsController#create as HTML
1645
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1646
- Unpermitted parameter: :location
1647
- Completed 400 Bad Request in 2ms (ActiveRecord: 0.0ms)
1648
-  (0.0ms) rollback transaction
1649
-  (0.0ms) begin transaction
1650
- ---------------------------------------------------
1651
- SpymeTest: test_post_to_spyme_should_return_success
1652
- ---------------------------------------------------
1653
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:32:01 -0300
1654
- Processing by Spyme::LocationsController#create as HTML
1655
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1656
- Unpermitted parameter: :location
1657
- Completed 400 Bad Request in 6ms (ActiveRecord: 0.0ms)
1658
-  (0.1ms) rollback transaction
1659
-  (0.0ms) begin transaction
1660
- -------------------------------------------------------------
1661
- ModelTest: test_location_should_be_invalid_when_empty_session
1662
- -------------------------------------------------------------
1663
-  (0.1ms) rollback transaction
1664
-  (0.0ms) begin transaction
1665
- -------------------------------------------------------------
1666
- ModelTest: test_as_a_string_should_give_the_right_query_value
1667
- -------------------------------------------------------------
1668
-  (0.0ms) rollback transaction
1669
-  (0.0ms) begin transaction
1670
- -----------------------------------------------------------------------
1671
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
1672
- -----------------------------------------------------------------------
1673
-  (0.1ms) rollback transaction
1674
-  (0.0ms) begin transaction
1675
- ----------------------------------------------------------------
1676
- ModelTest: test_location_should_be_invalid_when_empty_attributes
1677
- ----------------------------------------------------------------
1678
-  (0.0ms) rollback transaction
1679
-  (0.0ms) begin transaction
1680
- ------------------------------------------------------
1681
- ModelTest: test_coords_should_give_the_values_in_array
1682
- ------------------------------------------------------
1683
-  (0.0ms) rollback transaction
1684
-  (0.0ms) begin transaction
1685
- ----------------------------------------------------------------------------
1686
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
1687
- ----------------------------------------------------------------------------
1688
-  (0.0ms) rollback transaction
1689
-  (0.0ms) begin transaction
1690
- --------------------------------------------------------
1691
- ModelTest: test_to_hash_should_give_the_right_hash_value
1692
- --------------------------------------------------------
1693
-  (0.1ms) rollback transaction
1694
-  (0.0ms) begin transaction
1695
- --------------------------------------------------------------
1696
- ModelTest: test_location_should_be_valid_at_negative_boundries
1697
- --------------------------------------------------------------
1698
-  (0.0ms) rollback transaction
1699
-  (0.0ms) begin transaction
1700
- --------------------------------------------------------------
1701
- ModelTest: test_location_should_be_valid_at_positive_boundries
1702
- --------------------------------------------------------------
1703
-  (0.0ms) rollback transaction
1704
-  (0.0ms) begin transaction
1705
- -----------------------------------------------------------------------------
1706
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
1707
- -----------------------------------------------------------------------------
1708
-  (0.0ms) rollback transaction
1709
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1710
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1711
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1712
-  (0.0ms) SELECT sqlite_version(*)
1713
-  (12.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1714
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1715
-  (16.0ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1716
-  (10.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1717
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1718
-  (0.1ms) begin transaction
1719
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:32:17.862550"], ["updated_at", "2018-09-17 19:32:17.862550"]]
1720
-  (10.7ms) commit transaction
1721
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1722
-  (0.1ms) begin transaction
1723
-  (0.1ms) commit transaction
1724
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1725
-  (0.0ms) begin transaction
1726
- ---------------------------------------------------
1727
- SpymeTest: test_post_to_spyme_should_return_success
1728
- ---------------------------------------------------
1729
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:32:17 -0300
1730
- Processing by Spyme::LocationsController#create as HTML
1731
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1732
- Unpermitted parameter: :location
1733
- Unpermitted parameter: :location
1734
- Unpermitted parameter: :location
1735
- Completed 400 Bad Request in 10282ms (ActiveRecord: 0.0ms)
1736
-  (0.1ms) rollback transaction
1737
-  (0.0ms) begin transaction
1738
- ---------------------------------------------------------------------
1739
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
1740
- ---------------------------------------------------------------------
1741
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:32:28 -0300
1742
- Processing by Spyme::LocationsController#create as HTML
1743
- Completed 400 Bad Request in 11934ms (ActiveRecord: 0.0ms)
1744
-  (0.1ms) rollback transaction
1745
-  (0.0ms) begin transaction
1746
- -------------------------------------------------
1747
- SpymeTest: test_post_to_spyme_should_store_coords
1748
- -------------------------------------------------
1749
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:32:40 -0300
1750
- Processing by Spyme::LocationsController#create as HTML
1751
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1752
- Unpermitted parameter: :location
1753
- Unpermitted parameter: :location
1754
- Unpermitted parameter: :location
1755
- Completed 400 Bad Request in 34622ms (ActiveRecord: 0.0ms)
1756
-  (0.1ms) rollback transaction
1757
-  (0.0ms) begin transaction
1758
- -----------------------------------------------------------------------
1759
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
1760
- -----------------------------------------------------------------------
1761
-  (0.0ms) rollback transaction
1762
-  (0.0ms) begin transaction
1763
- ----------------------------------------------------------------------------
1764
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
1765
- ----------------------------------------------------------------------------
1766
-  (0.0ms) rollback transaction
1767
-  (0.0ms) begin transaction
1768
- --------------------------------------------------------------
1769
- ModelTest: test_location_should_be_valid_at_positive_boundries
1770
- --------------------------------------------------------------
1771
-  (0.0ms) rollback transaction
1772
-  (0.0ms) begin transaction
1773
- -------------------------------------------------------------
1774
- ModelTest: test_as_a_string_should_give_the_right_query_value
1775
- -------------------------------------------------------------
1776
-  (0.0ms) rollback transaction
1777
-  (0.0ms) begin transaction
1778
- ------------------------------------------------------
1779
- ModelTest: test_coords_should_give_the_values_in_array
1780
- ------------------------------------------------------
1781
-  (0.0ms) rollback transaction
1782
-  (0.0ms) begin transaction
1783
- --------------------------------------------------------
1784
- ModelTest: test_to_hash_should_give_the_right_hash_value
1785
- --------------------------------------------------------
1786
-  (0.0ms) rollback transaction
1787
-  (0.0ms) begin transaction
1788
- -----------------------------------------------------------------------------
1789
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
1790
- -----------------------------------------------------------------------------
1791
-  (0.0ms) rollback transaction
1792
-  (0.0ms) begin transaction
1793
- ----------------------------------------------------------------
1794
- ModelTest: test_location_should_be_invalid_when_empty_attributes
1795
- ----------------------------------------------------------------
1796
-  (0.0ms) rollback transaction
1797
-  (0.1ms) begin transaction
1798
- -------------------------------------------------------------
1799
- ModelTest: test_location_should_be_invalid_when_empty_session
1800
- -------------------------------------------------------------
1801
-  (0.0ms) rollback transaction
1802
-  (0.0ms) begin transaction
1803
- --------------------------------------------------------------
1804
- ModelTest: test_location_should_be_valid_at_negative_boundries
1805
- --------------------------------------------------------------
1806
-  (0.0ms) rollback transaction
1807
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1808
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1809
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1810
-  (0.0ms) SELECT sqlite_version(*)
1811
-  (10.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1812
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1813
-  (16.7ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1814
-  (11.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1815
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1816
-  (0.0ms) begin transaction
1817
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:33:33.874537"], ["updated_at", "2018-09-17 19:33:33.874537"]]
1818
-  (10.1ms) commit transaction
1819
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1820
-  (0.0ms) begin transaction
1821
-  (0.0ms) commit transaction
1822
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1823
-  (0.1ms) begin transaction
1824
- ---------------------------------------------------------------------
1825
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
1826
- ---------------------------------------------------------------------
1827
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:33:33 -0300
1828
- Processing by Spyme::LocationsController#create as HTML
1829
- Completed 400 Bad Request in 3422ms (ActiveRecord: 0.0ms)
1830
-  (0.1ms) rollback transaction
1831
-  (0.0ms) begin transaction
1832
- -------------------------------------------------
1833
- SpymeTest: test_post_to_spyme_should_store_coords
1834
- -------------------------------------------------
1835
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:33:37 -0300
1836
- Processing by Spyme::LocationsController#create as HTML
1837
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1838
- Completed 500 Internal Server Error in 1130ms (ActiveRecord: 0.0ms)
1839
-  (0.1ms) rollback transaction
1840
-  (0.0ms) begin transaction
1841
- ---------------------------------------------------
1842
- SpymeTest: test_post_to_spyme_should_return_success
1843
- ---------------------------------------------------
1844
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:33:38 -0300
1845
- Processing by Spyme::LocationsController#create as HTML
1846
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1847
- Completed 500 Internal Server Error in 1094ms (ActiveRecord: 0.0ms)
1848
-  (0.1ms) rollback transaction
1849
-  (0.0ms) begin transaction
1850
- ------------------------------------------------------
1851
- ModelTest: test_coords_should_give_the_values_in_array
1852
- ------------------------------------------------------
1853
-  (0.0ms) rollback transaction
1854
-  (0.0ms) begin transaction
1855
- ----------------------------------------------------------------
1856
- ModelTest: test_location_should_be_invalid_when_empty_attributes
1857
- ----------------------------------------------------------------
1858
-  (0.0ms) rollback transaction
1859
-  (0.0ms) begin transaction
1860
- -----------------------------------------------------------------------
1861
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
1862
- -----------------------------------------------------------------------
1863
-  (0.0ms) rollback transaction
1864
-  (0.0ms) begin transaction
1865
- ----------------------------------------------------------------------------
1866
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
1867
- ----------------------------------------------------------------------------
1868
-  (0.0ms) rollback transaction
1869
-  (0.0ms) begin transaction
1870
- --------------------------------------------------------------
1871
- ModelTest: test_location_should_be_valid_at_positive_boundries
1872
- --------------------------------------------------------------
1873
-  (0.0ms) rollback transaction
1874
-  (0.0ms) begin transaction
1875
- -------------------------------------------------------------
1876
- ModelTest: test_as_a_string_should_give_the_right_query_value
1877
- -------------------------------------------------------------
1878
-  (0.0ms) rollback transaction
1879
-  (0.0ms) begin transaction
1880
- -----------------------------------------------------------------------------
1881
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
1882
- -----------------------------------------------------------------------------
1883
-  (0.0ms) rollback transaction
1884
-  (0.0ms) begin transaction
1885
- --------------------------------------------------------------
1886
- ModelTest: test_location_should_be_valid_at_negative_boundries
1887
- --------------------------------------------------------------
1888
-  (0.0ms) rollback transaction
1889
-  (0.0ms) begin transaction
1890
- --------------------------------------------------------
1891
- ModelTest: test_to_hash_should_give_the_right_hash_value
1892
- --------------------------------------------------------
1893
-  (0.0ms) rollback transaction
1894
-  (0.0ms) begin transaction
1895
- -------------------------------------------------------------
1896
- ModelTest: test_location_should_be_invalid_when_empty_session
1897
- -------------------------------------------------------------
1898
-  (0.0ms) rollback transaction
1899
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1900
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1901
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1902
-  (0.0ms) SELECT sqlite_version(*)
1903
-  (12.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1904
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1905
-  (15.9ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1906
-  (11.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1907
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1908
-  (0.0ms) begin transaction
1909
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:33:54.055743"], ["updated_at", "2018-09-17 19:33:54.055743"]]
1910
-  (11.1ms) commit transaction
1911
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1912
-  (0.0ms) begin transaction
1913
-  (0.0ms) commit transaction
1914
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1915
-  (0.1ms) begin transaction
1916
- --------------------------------------------------------------
1917
- ModelTest: test_location_should_be_valid_at_positive_boundries
1918
- --------------------------------------------------------------
1919
-  (0.0ms) rollback transaction
1920
-  (0.0ms) begin transaction
1921
- --------------------------------------------------------
1922
- ModelTest: test_to_hash_should_give_the_right_hash_value
1923
- --------------------------------------------------------
1924
-  (0.0ms) rollback transaction
1925
-  (0.0ms) begin transaction
1926
- ----------------------------------------------------------------------------
1927
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
1928
- ----------------------------------------------------------------------------
1929
-  (0.0ms) rollback transaction
1930
-  (0.0ms) begin transaction
1931
- -------------------------------------------------------------
1932
- ModelTest: test_location_should_be_invalid_when_empty_session
1933
- -------------------------------------------------------------
1934
-  (0.0ms) rollback transaction
1935
-  (0.0ms) begin transaction
1936
- --------------------------------------------------------------
1937
- ModelTest: test_location_should_be_valid_at_negative_boundries
1938
- --------------------------------------------------------------
1939
-  (0.0ms) rollback transaction
1940
-  (0.0ms) begin transaction
1941
- ------------------------------------------------------
1942
- ModelTest: test_coords_should_give_the_values_in_array
1943
- ------------------------------------------------------
1944
-  (0.0ms) rollback transaction
1945
-  (0.0ms) begin transaction
1946
- ----------------------------------------------------------------
1947
- ModelTest: test_location_should_be_invalid_when_empty_attributes
1948
- ----------------------------------------------------------------
1949
-  (0.1ms) rollback transaction
1950
-  (0.0ms) begin transaction
1951
- -------------------------------------------------------------
1952
- ModelTest: test_as_a_string_should_give_the_right_query_value
1953
- -------------------------------------------------------------
1954
-  (0.1ms) rollback transaction
1955
-  (0.0ms) begin transaction
1956
- -----------------------------------------------------------------------------
1957
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
1958
- -----------------------------------------------------------------------------
1959
-  (0.0ms) rollback transaction
1960
-  (0.0ms) begin transaction
1961
- -----------------------------------------------------------------------
1962
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
1963
- -----------------------------------------------------------------------
1964
-  (0.0ms) rollback transaction
1965
-  (0.0ms) begin transaction
1966
- -------------------------------------------------
1967
- SpymeTest: test_post_to_spyme_should_store_coords
1968
- -------------------------------------------------
1969
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:33:54 -0300
1970
- Processing by Spyme::LocationsController#create as HTML
1971
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1972
- Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1973
-  (0.1ms) rollback transaction
1974
-  (0.0ms) begin transaction
1975
- ---------------------------------------------------------------------
1976
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
1977
- ---------------------------------------------------------------------
1978
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:33:54 -0300
1979
- Processing by Spyme::LocationsController#create as HTML
1980
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
1981
-  (0.0ms) rollback transaction
1982
-  (0.0ms) begin transaction
1983
- ---------------------------------------------------
1984
- SpymeTest: test_post_to_spyme_should_return_success
1985
- ---------------------------------------------------
1986
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:33:54 -0300
1987
- Processing by Spyme::LocationsController#create as HTML
1988
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
1989
- Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1990
-  (0.0ms) rollback transaction
1991
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1992
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1993
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1994
-  (0.0ms) SELECT sqlite_version(*)
1995
-  (12.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1996
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1997
-  (15.5ms) INSERT INTO "schema_migrations" (version) VALUES (0)
1998
-  (11.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1999
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2000
-  (0.1ms) begin transaction
2001
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:34:32.763017"], ["updated_at", "2018-09-17 19:34:32.763017"]]
2002
-  (10.3ms) commit transaction
2003
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2004
-  (0.1ms) begin transaction
2005
-  (0.0ms) commit transaction
2006
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2007
-  (0.1ms) begin transaction
2008
- --------------------------------------------------------
2009
- ModelTest: test_to_hash_should_give_the_right_hash_value
2010
- --------------------------------------------------------
2011
-  (0.0ms) rollback transaction
2012
-  (0.0ms) begin transaction
2013
- -----------------------------------------------------------------------------
2014
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
2015
- -----------------------------------------------------------------------------
2016
-  (0.0ms) rollback transaction
2017
-  (0.0ms) begin transaction
2018
- -----------------------------------------------------------------------
2019
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
2020
- -----------------------------------------------------------------------
2021
-  (0.0ms) rollback transaction
2022
-  (0.0ms) begin transaction
2023
- ----------------------------------------------------------------
2024
- ModelTest: test_location_should_be_invalid_when_empty_attributes
2025
- ----------------------------------------------------------------
2026
-  (0.0ms) rollback transaction
2027
-  (0.0ms) begin transaction
2028
- ----------------------------------------------------------------------------
2029
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
2030
- ----------------------------------------------------------------------------
2031
-  (0.0ms) rollback transaction
2032
-  (0.0ms) begin transaction
2033
- ------------------------------------------------------
2034
- ModelTest: test_coords_should_give_the_values_in_array
2035
- ------------------------------------------------------
2036
-  (0.0ms) rollback transaction
2037
-  (0.0ms) begin transaction
2038
- -------------------------------------------------------------
2039
- ModelTest: test_location_should_be_invalid_when_empty_session
2040
- -------------------------------------------------------------
2041
-  (0.0ms) rollback transaction
2042
-  (0.0ms) begin transaction
2043
- -------------------------------------------------------------
2044
- ModelTest: test_as_a_string_should_give_the_right_query_value
2045
- -------------------------------------------------------------
2046
-  (0.0ms) rollback transaction
2047
-  (0.0ms) begin transaction
2048
- --------------------------------------------------------------
2049
- ModelTest: test_location_should_be_valid_at_negative_boundries
2050
- --------------------------------------------------------------
2051
-  (0.0ms) rollback transaction
2052
-  (0.0ms) begin transaction
2053
- --------------------------------------------------------------
2054
- ModelTest: test_location_should_be_valid_at_positive_boundries
2055
- --------------------------------------------------------------
2056
-  (0.0ms) rollback transaction
2057
-  (0.0ms) begin transaction
2058
- ---------------------------------------------------------------------
2059
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
2060
- ---------------------------------------------------------------------
2061
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:34:32 -0300
2062
- Processing by Spyme::LocationsController#create as HTML
2063
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
2064
-  (0.1ms) rollback transaction
2065
-  (0.0ms) begin transaction
2066
- ---------------------------------------------------
2067
- SpymeTest: test_post_to_spyme_should_return_success
2068
- ---------------------------------------------------
2069
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:34:32 -0300
2070
- Processing by Spyme::LocationsController#create as HTML
2071
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2072
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
2073
-  (0.0ms) rollback transaction
2074
-  (0.0ms) begin transaction
2075
- -------------------------------------------------
2076
- SpymeTest: test_post_to_spyme_should_store_coords
2077
- -------------------------------------------------
2078
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:34:32 -0300
2079
- Processing by Spyme::LocationsController#create as HTML
2080
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2081
- Completed 201 Created in 1ms (ActiveRecord: 0.0ms)
2082
-  (0.0ms) rollback transaction
2083
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2084
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2085
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2086
-  (0.0ms) SELECT sqlite_version(*)
2087
-  (11.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2088
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2089
-  (15.4ms) INSERT INTO "schema_migrations" (version) VALUES (0)
2090
-  (10.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2091
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2092
-  (0.0ms) begin transaction
2093
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:36:22.010384"], ["updated_at", "2018-09-17 19:36:22.010384"]]
2094
-  (11.6ms) commit transaction
2095
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2096
-  (0.0ms) begin transaction
2097
-  (0.0ms) commit transaction
2098
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2099
-  (0.0ms) begin transaction
2100
- ---------------------------------------------------------------------
2101
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
2102
- ---------------------------------------------------------------------
2103
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:36:22 -0300
2104
- Processing by Spyme::LocationsController#create as HTML
2105
- Completed 400 Bad Request in 0ms (ActiveRecord: 0.0ms)
2106
-  (0.1ms) rollback transaction
2107
-  (0.4ms) begin transaction
2108
- ---------------------------------------------------
2109
- SpymeTest: test_post_to_spyme_should_return_success
2110
- ---------------------------------------------------
2111
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:36:22 -0300
2112
- Processing by Spyme::LocationsController#create as HTML
2113
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2114
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
2115
-  (0.0ms) rollback transaction
2116
-  (0.0ms) begin transaction
2117
- -------------------------------------------------
2118
- SpymeTest: test_post_to_spyme_should_store_coords
2119
- -------------------------------------------------
2120
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:36:22 -0300
2121
- Processing by Spyme::LocationsController#create as HTML
2122
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2123
- Completed 201 Created in 1ms (ActiveRecord: 0.0ms)
2124
-  (0.0ms) rollback transaction
2125
-  (0.0ms) begin transaction
2126
- ----------------------------------------------------------------------------
2127
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
2128
- ----------------------------------------------------------------------------
2129
-  (0.1ms) rollback transaction
2130
-  (0.0ms) begin transaction
2131
- -----------------------------------------------------------------------
2132
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
2133
- -----------------------------------------------------------------------
2134
-  (0.0ms) rollback transaction
2135
-  (0.0ms) begin transaction
2136
- --------------------------------------------------------
2137
- ModelTest: test_to_hash_should_give_the_right_hash_value
2138
- --------------------------------------------------------
2139
-  (0.0ms) rollback transaction
2140
-  (0.0ms) begin transaction
2141
- -----------------------------------------------------------------------------
2142
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
2143
- -----------------------------------------------------------------------------
2144
-  (0.0ms) rollback transaction
2145
-  (0.0ms) begin transaction
2146
- ----------------------------------------------------------------
2147
- ModelTest: test_location_should_be_invalid_when_empty_attributes
2148
- ----------------------------------------------------------------
2149
-  (0.1ms) rollback transaction
2150
-  (0.0ms) begin transaction
2151
- --------------------------------------------------------------
2152
- ModelTest: test_location_should_be_valid_at_negative_boundries
2153
- --------------------------------------------------------------
2154
-  (0.0ms) rollback transaction
2155
-  (0.0ms) begin transaction
2156
- -------------------------------------------------------------
2157
- ModelTest: test_as_a_string_should_give_the_right_query_value
2158
- -------------------------------------------------------------
2159
-  (0.0ms) rollback transaction
2160
-  (0.0ms) begin transaction
2161
- -------------------------------------------------------------
2162
- ModelTest: test_location_should_be_invalid_when_empty_session
2163
- -------------------------------------------------------------
2164
-  (0.0ms) rollback transaction
2165
-  (0.0ms) begin transaction
2166
- --------------------------------------------------------------
2167
- ModelTest: test_location_should_be_valid_at_positive_boundries
2168
- --------------------------------------------------------------
2169
-  (0.0ms) rollback transaction
2170
-  (0.0ms) begin transaction
2171
- ------------------------------------------------------
2172
- ModelTest: test_coords_should_give_the_values_in_array
2173
- ------------------------------------------------------
2174
-  (0.0ms) rollback transaction
2175
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2176
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2177
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2178
-  (0.0ms) SELECT sqlite_version(*)
2179
-  (12.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2180
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2181
-  (15.8ms) INSERT INTO "schema_migrations" (version) VALUES (0)
2182
-  (11.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2183
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2184
-  (0.1ms) begin transaction
2185
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:37:03.425337"], ["updated_at", "2018-09-17 19:37:03.425337"]]
2186
-  (10.7ms) commit transaction
2187
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2188
-  (0.0ms) begin transaction
2189
-  (0.0ms) commit transaction
2190
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2191
-  (0.1ms) begin transaction
2192
- -----------------------------------------------------------------------------
2193
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
2194
- -----------------------------------------------------------------------------
2195
-  (0.0ms) rollback transaction
2196
-  (0.0ms) begin transaction
2197
- ----------------------------------------------------------------------------
2198
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
2199
- ----------------------------------------------------------------------------
2200
-  (0.0ms) rollback transaction
2201
-  (0.0ms) begin transaction
2202
- -------------------------------------------------------------
2203
- ModelTest: test_as_a_string_should_give_the_right_query_value
2204
- -------------------------------------------------------------
2205
-  (0.0ms) rollback transaction
2206
-  (0.0ms) begin transaction
2207
- --------------------------------------------------------------
2208
- ModelTest: test_location_should_be_valid_at_negative_boundries
2209
- --------------------------------------------------------------
2210
-  (0.0ms) rollback transaction
2211
-  (0.0ms) begin transaction
2212
- -----------------------------------------------------------------------
2213
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
2214
- -----------------------------------------------------------------------
2215
-  (0.0ms) rollback transaction
2216
-  (0.0ms) begin transaction
2217
- ----------------------------------------------------------------
2218
- ModelTest: test_location_should_be_invalid_when_empty_attributes
2219
- ----------------------------------------------------------------
2220
-  (0.0ms) rollback transaction
2221
-  (0.0ms) begin transaction
2222
- --------------------------------------------------------
2223
- ModelTest: test_to_hash_should_give_the_right_hash_value
2224
- --------------------------------------------------------
2225
-  (0.0ms) rollback transaction
2226
-  (0.0ms) begin transaction
2227
- ------------------------------------------------------
2228
- ModelTest: test_coords_should_give_the_values_in_array
2229
- ------------------------------------------------------
2230
-  (0.0ms) rollback transaction
2231
-  (0.0ms) begin transaction
2232
- -------------------------------------------------------------
2233
- ModelTest: test_location_should_be_invalid_when_empty_session
2234
- -------------------------------------------------------------
2235
-  (0.0ms) rollback transaction
2236
-  (0.0ms) begin transaction
2237
- --------------------------------------------------------------
2238
- ModelTest: test_location_should_be_valid_at_positive_boundries
2239
- --------------------------------------------------------------
2240
-  (0.0ms) rollback transaction
2241
-  (0.0ms) begin transaction
2242
- ---------------------------------------------------
2243
- SpymeTest: test_post_to_spyme_should_return_success
2244
- ---------------------------------------------------
2245
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:37:03 -0300
2246
- Processing by Spyme::LocationsController#create as HTML
2247
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2248
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
2249
-  (0.1ms) rollback transaction
2250
-  (0.0ms) begin transaction
2251
- -------------------------------------------------
2252
- SpymeTest: test_post_to_spyme_should_store_coords
2253
- -------------------------------------------------
2254
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:37:03 -0300
2255
- Processing by Spyme::LocationsController#create as HTML
2256
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2257
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
2258
-  (0.0ms) rollback transaction
2259
-  (0.0ms) begin transaction
2260
- ---------------------------------------------------------------------
2261
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
2262
- ---------------------------------------------------------------------
2263
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:37:03 -0300
2264
- Processing by Spyme::LocationsController#create as HTML
2265
- Completed 400 Bad Request in 0ms (ActiveRecord: 0.0ms)
2266
-  (0.0ms) rollback transaction
2267
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2268
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2269
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2270
-  (0.0ms) SELECT sqlite_version(*)
2271
-  (11.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2272
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2273
-  (17.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
2274
-  (12.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2275
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2276
-  (0.2ms) begin transaction
2277
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:37:21.630298"], ["updated_at", "2018-09-17 19:37:21.630298"]]
2278
-  (10.6ms) commit transaction
2279
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2280
-  (0.1ms) begin transaction
2281
-  (0.1ms) commit transaction
2282
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2283
-  (0.1ms) begin transaction
2284
- ---------------------------------------------------------------------
2285
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
2286
- ---------------------------------------------------------------------
2287
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:37:21 -0300
2288
- Processing by Spyme::LocationsController#create as HTML
2289
- Completed 400 Bad Request in 8496ms (ActiveRecord: 0.0ms)
2290
-  (0.3ms) rollback transaction
2291
-  (0.1ms) begin transaction
2292
- ---------------------------------------------------
2293
- SpymeTest: test_post_to_spyme_should_return_success
2294
- ---------------------------------------------------
2295
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:37:30 -0300
2296
- Processing by Spyme::LocationsController#create as HTML
2297
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2298
- Completed 201 Created in 2415ms (ActiveRecord: 0.0ms)
2299
-  (0.1ms) rollback transaction
2300
-  (0.0ms) begin transaction
2301
- -------------------------------------------------
2302
- SpymeTest: test_post_to_spyme_should_store_coords
2303
- -------------------------------------------------
2304
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:37:32 -0300
2305
- Processing by Spyme::LocationsController#create as HTML
2306
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2307
- Completed 201 Created in 2253ms (ActiveRecord: 0.0ms)
2308
-  (0.1ms) rollback transaction
2309
-  (0.0ms) begin transaction
2310
- -------------------------------------------------------------
2311
- ModelTest: test_as_a_string_should_give_the_right_query_value
2312
- -------------------------------------------------------------
2313
-  (0.0ms) rollback transaction
2314
-  (0.0ms) begin transaction
2315
- ------------------------------------------------------
2316
- ModelTest: test_coords_should_give_the_values_in_array
2317
- ------------------------------------------------------
2318
-  (0.0ms) rollback transaction
2319
-  (0.0ms) begin transaction
2320
- ----------------------------------------------------------------
2321
- ModelTest: test_location_should_be_invalid_when_empty_attributes
2322
- ----------------------------------------------------------------
2323
-  (0.0ms) rollback transaction
2324
-  (0.0ms) begin transaction
2325
- --------------------------------------------------------------
2326
- ModelTest: test_location_should_be_valid_at_negative_boundries
2327
- --------------------------------------------------------------
2328
-  (0.0ms) rollback transaction
2329
-  (0.0ms) begin transaction
2330
- --------------------------------------------------------------
2331
- ModelTest: test_location_should_be_valid_at_positive_boundries
2332
- --------------------------------------------------------------
2333
-  (0.0ms) rollback transaction
2334
-  (0.1ms) begin transaction
2335
- ----------------------------------------------------------------------------
2336
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
2337
- ----------------------------------------------------------------------------
2338
-  (0.0ms) rollback transaction
2339
-  (0.0ms) begin transaction
2340
- --------------------------------------------------------
2341
- ModelTest: test_to_hash_should_give_the_right_hash_value
2342
- --------------------------------------------------------
2343
-  (0.0ms) rollback transaction
2344
-  (0.0ms) begin transaction
2345
- -----------------------------------------------------------------------
2346
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
2347
- -----------------------------------------------------------------------
2348
-  (0.0ms) rollback transaction
2349
-  (0.0ms) begin transaction
2350
- -----------------------------------------------------------------------------
2351
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
2352
- -----------------------------------------------------------------------------
2353
-  (0.0ms) rollback transaction
2354
-  (0.1ms) begin transaction
2355
- -------------------------------------------------------------
2356
- ModelTest: test_location_should_be_invalid_when_empty_session
2357
- -------------------------------------------------------------
2358
-  (0.0ms) rollback transaction
2359
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2360
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2361
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2362
-  (0.0ms) SELECT sqlite_version(*)
2363
-  (12.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2364
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2365
-  (16.0ms) INSERT INTO "schema_migrations" (version) VALUES (0)
2366
-  (11.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2367
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2368
-  (0.1ms) begin transaction
2369
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:37:38.092049"], ["updated_at", "2018-09-17 19:37:38.092049"]]
2370
-  (10.9ms) commit transaction
2371
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2372
-  (0.1ms) begin transaction
2373
-  (0.1ms) commit transaction
2374
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2375
-  (0.1ms) begin transaction
2376
- ---------------------------------------------------
2377
- SpymeTest: test_post_to_spyme_should_return_success
2378
- ---------------------------------------------------
2379
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:37:38 -0300
2380
- Processing by Spyme::LocationsController#create as HTML
2381
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2382
- Completed 201 Created in 3077ms (ActiveRecord: 0.0ms)
2383
-  (0.1ms) rollback transaction
2384
-  (0.0ms) begin transaction
2385
- -------------------------------------------------
2386
- SpymeTest: test_post_to_spyme_should_store_coords
2387
- -------------------------------------------------
2388
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:37:41 -0300
2389
- Processing by Spyme::LocationsController#create as HTML
2390
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2391
- Completed 201 Created in 2168ms (ActiveRecord: 0.0ms)
2392
-  (0.1ms) rollback transaction
2393
-  (0.0ms) begin transaction
2394
- ---------------------------------------------------------------------
2395
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
2396
- ---------------------------------------------------------------------
2397
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:37:43 -0300
2398
- Processing by Spyme::LocationsController#create as HTML
2399
- Completed 400 Bad Request in 30539ms (ActiveRecord: 0.0ms)
2400
-  (0.1ms) rollback transaction
2401
-  (0.0ms) begin transaction
2402
- ----------------------------------------------------------------
2403
- ModelTest: test_location_should_be_invalid_when_empty_attributes
2404
- ----------------------------------------------------------------
2405
-  (0.0ms) rollback transaction
2406
-  (0.0ms) begin transaction
2407
- -------------------------------------------------------------
2408
- ModelTest: test_location_should_be_invalid_when_empty_session
2409
- -------------------------------------------------------------
2410
-  (0.0ms) rollback transaction
2411
-  (0.0ms) begin transaction
2412
- ------------------------------------------------------
2413
- ModelTest: test_coords_should_give_the_values_in_array
2414
- ------------------------------------------------------
2415
-  (0.0ms) rollback transaction
2416
-  (0.0ms) begin transaction
2417
- -----------------------------------------------------------------------------
2418
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
2419
- -----------------------------------------------------------------------------
2420
-  (0.0ms) rollback transaction
2421
-  (0.0ms) begin transaction
2422
- ----------------------------------------------------------------------------
2423
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
2424
- ----------------------------------------------------------------------------
2425
-  (0.0ms) rollback transaction
2426
-  (0.0ms) begin transaction
2427
- --------------------------------------------------------
2428
- ModelTest: test_to_hash_should_give_the_right_hash_value
2429
- --------------------------------------------------------
2430
-  (0.0ms) rollback transaction
2431
-  (0.0ms) begin transaction
2432
- -------------------------------------------------------------
2433
- ModelTest: test_as_a_string_should_give_the_right_query_value
2434
- -------------------------------------------------------------
2435
-  (0.1ms) rollback transaction
2436
-  (0.0ms) begin transaction
2437
- -----------------------------------------------------------------------
2438
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
2439
- -----------------------------------------------------------------------
2440
-  (0.0ms) rollback transaction
2441
-  (0.0ms) begin transaction
2442
- --------------------------------------------------------------
2443
- ModelTest: test_location_should_be_valid_at_negative_boundries
2444
- --------------------------------------------------------------
2445
-  (0.0ms) rollback transaction
2446
-  (0.0ms) begin transaction
2447
- --------------------------------------------------------------
2448
- ModelTest: test_location_should_be_valid_at_positive_boundries
2449
- --------------------------------------------------------------
2450
-  (0.0ms) rollback transaction
2451
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2452
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2453
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2454
-  (0.0ms) SELECT sqlite_version(*)
2455
-  (11.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2456
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2457
-  (15.6ms) INSERT INTO "schema_migrations" (version) VALUES (0)
2458
-  (12.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2459
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2460
-  (0.1ms) begin transaction
2461
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:38:30.336013"], ["updated_at", "2018-09-17 19:38:30.336013"]]
2462
-  (10.7ms) commit transaction
2463
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2464
-  (0.1ms) begin transaction
2465
-  (0.1ms) commit transaction
2466
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2467
-  (0.1ms) begin transaction
2468
- -----------------------------------------------------------------------
2469
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
2470
- -----------------------------------------------------------------------
2471
-  (0.0ms) rollback transaction
2472
-  (0.0ms) begin transaction
2473
- --------------------------------------------------------------
2474
- ModelTest: test_location_should_be_valid_at_negative_boundries
2475
- --------------------------------------------------------------
2476
-  (0.0ms) rollback transaction
2477
-  (0.0ms) begin transaction
2478
- ------------------------------------------------------
2479
- ModelTest: test_coords_should_give_the_values_in_array
2480
- ------------------------------------------------------
2481
-  (0.0ms) rollback transaction
2482
-  (0.1ms) begin transaction
2483
- --------------------------------------------------------------
2484
- ModelTest: test_location_should_be_valid_at_positive_boundries
2485
- --------------------------------------------------------------
2486
-  (0.0ms) rollback transaction
2487
-  (0.0ms) begin transaction
2488
- -----------------------------------------------------------------------------
2489
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
2490
- -----------------------------------------------------------------------------
2491
-  (0.0ms) rollback transaction
2492
-  (0.0ms) begin transaction
2493
- --------------------------------------------------------
2494
- ModelTest: test_to_hash_should_give_the_right_hash_value
2495
- --------------------------------------------------------
2496
-  (0.0ms) rollback transaction
2497
-  (0.0ms) begin transaction
2498
- -------------------------------------------------------------
2499
- ModelTest: test_location_should_be_invalid_when_empty_session
2500
- -------------------------------------------------------------
2501
-  (0.0ms) rollback transaction
2502
-  (0.0ms) begin transaction
2503
- -------------------------------------------------------------
2504
- ModelTest: test_as_a_string_should_give_the_right_query_value
2505
- -------------------------------------------------------------
2506
-  (0.0ms) rollback transaction
2507
-  (0.0ms) begin transaction
2508
- ----------------------------------------------------------------------------
2509
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
2510
- ----------------------------------------------------------------------------
2511
-  (0.0ms) rollback transaction
2512
-  (0.0ms) begin transaction
2513
- ----------------------------------------------------------------
2514
- ModelTest: test_location_should_be_invalid_when_empty_attributes
2515
- ----------------------------------------------------------------
2516
-  (0.0ms) rollback transaction
2517
-  (0.0ms) begin transaction
2518
- ---------------------------------------------------------------------
2519
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
2520
- ---------------------------------------------------------------------
2521
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:38:30 -0300
2522
- Processing by Spyme::LocationsController#create as HTML
2523
- Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
2524
- Completed 400 Bad Request in 6445ms (ActiveRecord: 0.0ms)
2525
-  (0.1ms) rollback transaction
2526
-  (0.0ms) begin transaction
2527
- ---------------------------------------------------
2528
- SpymeTest: test_post_to_spyme_should_return_success
2529
- ---------------------------------------------------
2530
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:38:36 -0300
2531
- Processing by Spyme::LocationsController#create as HTML
2532
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2533
- Completed 201 Created in 797ms (ActiveRecord: 0.0ms)
2534
-  (0.1ms) rollback transaction
2535
-  (0.0ms) begin transaction
2536
- -------------------------------------------------
2537
- SpymeTest: test_post_to_spyme_should_store_coords
2538
- -------------------------------------------------
2539
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:38:37 -0300
2540
- Processing by Spyme::LocationsController#create as HTML
2541
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2542
- Completed 201 Created in 708ms (ActiveRecord: 0.0ms)
2543
-  (0.1ms) rollback transaction
2544
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2545
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2546
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2547
-  (0.0ms) SELECT sqlite_version(*)
2548
-  (12.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2549
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2550
-  (15.6ms) INSERT INTO "schema_migrations" (version) VALUES (0)
2551
-  (11.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2552
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2553
-  (0.1ms) begin transaction
2554
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:39:27.132207"], ["updated_at", "2018-09-17 19:39:27.132207"]]
2555
-  (10.4ms) commit transaction
2556
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2557
-  (0.1ms) begin transaction
2558
-  (0.1ms) commit transaction
2559
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2560
-  (0.0ms) begin transaction
2561
- -------------------------------------------------
2562
- SpymeTest: test_post_to_spyme_should_store_coords
2563
- -------------------------------------------------
2564
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:39:27 -0300
2565
- Processing by Spyme::LocationsController#create as HTML
2566
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2567
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
2568
-  (0.1ms) rollback transaction
2569
-  (0.0ms) begin transaction
2570
- ---------------------------------------------------------------------
2571
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
2572
- ---------------------------------------------------------------------
2573
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:39:27 -0300
2574
- Processing by Spyme::LocationsController#create as HTML
2575
- Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
2576
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
2577
-  (0.0ms) rollback transaction
2578
-  (0.0ms) begin transaction
2579
- ---------------------------------------------------
2580
- SpymeTest: test_post_to_spyme_should_return_success
2581
- ---------------------------------------------------
2582
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:39:27 -0300
2583
- Processing by Spyme::LocationsController#create as HTML
2584
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2585
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
2586
-  (0.0ms) rollback transaction
2587
-  (0.0ms) begin transaction
2588
- -----------------------------------------------------------------------------
2589
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
2590
- -----------------------------------------------------------------------------
2591
-  (0.0ms) rollback transaction
2592
-  (0.0ms) begin transaction
2593
- --------------------------------------------------------------
2594
- ModelTest: test_location_should_be_valid_at_positive_boundries
2595
- --------------------------------------------------------------
2596
-  (0.1ms) rollback transaction
2597
-  (0.1ms) begin transaction
2598
- ----------------------------------------------------------------------------
2599
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
2600
- ----------------------------------------------------------------------------
2601
-  (0.1ms) rollback transaction
2602
-  (0.0ms) begin transaction
2603
- --------------------------------------------------------------
2604
- ModelTest: test_location_should_be_valid_at_negative_boundries
2605
- --------------------------------------------------------------
2606
-  (0.0ms) rollback transaction
2607
-  (0.0ms) begin transaction
2608
- -------------------------------------------------------------
2609
- ModelTest: test_location_should_be_invalid_when_empty_session
2610
- -------------------------------------------------------------
2611
-  (0.1ms) rollback transaction
2612
-  (0.0ms) begin transaction
2613
- -------------------------------------------------------------
2614
- ModelTest: test_as_a_string_should_give_the_right_query_value
2615
- -------------------------------------------------------------
2616
-  (0.0ms) rollback transaction
2617
-  (0.0ms) begin transaction
2618
- --------------------------------------------------------
2619
- ModelTest: test_to_hash_should_give_the_right_hash_value
2620
- --------------------------------------------------------
2621
-  (0.0ms) rollback transaction
2622
-  (0.0ms) begin transaction
2623
- ------------------------------------------------------
2624
- ModelTest: test_coords_should_give_the_values_in_array
2625
- ------------------------------------------------------
2626
-  (0.0ms) rollback transaction
2627
-  (0.0ms) begin transaction
2628
- -----------------------------------------------------------------------
2629
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
2630
- -----------------------------------------------------------------------
2631
-  (0.0ms) rollback transaction
2632
-  (0.0ms) begin transaction
2633
- ----------------------------------------------------------------
2634
- ModelTest: test_location_should_be_invalid_when_empty_attributes
2635
- ----------------------------------------------------------------
2636
-  (0.0ms) rollback transaction
2637
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2638
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2639
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2640
-  (0.0ms) SELECT sqlite_version(*)
2641
-  (16.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2642
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2643
-  (15.4ms) INSERT INTO "schema_migrations" (version) VALUES (0)
2644
-  (10.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2645
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2646
-  (0.1ms) begin transaction
2647
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:40:10.876855"], ["updated_at", "2018-09-17 19:40:10.876855"]]
2648
-  (10.1ms) commit transaction
2649
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2650
-  (0.1ms) begin transaction
2651
-  (0.1ms) commit transaction
2652
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2653
-  (0.0ms) begin transaction
2654
- --------------------------------------------------------------
2655
- ModelTest: test_location_should_be_valid_at_negative_boundries
2656
- --------------------------------------------------------------
2657
-  (0.0ms) rollback transaction
2658
-  (0.0ms) begin transaction
2659
- ------------------------------------------------------
2660
- ModelTest: test_coords_should_give_the_values_in_array
2661
- ------------------------------------------------------
2662
-  (0.0ms) rollback transaction
2663
-  (0.0ms) begin transaction
2664
- -----------------------------------------------------------------------
2665
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
2666
- -----------------------------------------------------------------------
2667
-  (0.0ms) rollback transaction
2668
-  (0.0ms) begin transaction
2669
- --------------------------------------------------------------
2670
- ModelTest: test_location_should_be_valid_at_positive_boundries
2671
- --------------------------------------------------------------
2672
-  (0.0ms) rollback transaction
2673
-  (0.0ms) begin transaction
2674
- ----------------------------------------------------------------------------
2675
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
2676
- ----------------------------------------------------------------------------
2677
-  (0.0ms) rollback transaction
2678
-  (0.0ms) begin transaction
2679
- --------------------------------------------------------
2680
- ModelTest: test_to_hash_should_give_the_right_hash_value
2681
- --------------------------------------------------------
2682
-  (0.0ms) rollback transaction
2683
-  (0.0ms) begin transaction
2684
- ----------------------------------------------------------------
2685
- ModelTest: test_location_should_be_invalid_when_empty_attributes
2686
- ----------------------------------------------------------------
2687
-  (0.0ms) rollback transaction
2688
-  (0.0ms) begin transaction
2689
- -------------------------------------------------------------
2690
- ModelTest: test_location_should_be_invalid_when_empty_session
2691
- -------------------------------------------------------------
2692
-  (0.0ms) rollback transaction
2693
-  (0.0ms) begin transaction
2694
- -------------------------------------------------------------
2695
- ModelTest: test_as_a_string_should_give_the_right_query_value
2696
- -------------------------------------------------------------
2697
-  (0.0ms) rollback transaction
2698
-  (0.0ms) begin transaction
2699
- -----------------------------------------------------------------------------
2700
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
2701
- -----------------------------------------------------------------------------
2702
-  (0.0ms) rollback transaction
2703
-  (0.0ms) begin transaction
2704
- ---------------------------------------------------------------------
2705
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
2706
- ---------------------------------------------------------------------
2707
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:40:10 -0300
2708
- Processing by Spyme::LocationsController#create as HTML
2709
- Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
2710
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
2711
-  (0.1ms) rollback transaction
2712
-  (0.0ms) begin transaction
2713
- ---------------------------------------------------
2714
- SpymeTest: test_post_to_spyme_should_return_success
2715
- ---------------------------------------------------
2716
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:40:10 -0300
2717
- Processing by Spyme::LocationsController#create as HTML
2718
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2719
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
2720
-  (0.0ms) rollback transaction
2721
-  (0.0ms) begin transaction
2722
- -------------------------------------------------
2723
- SpymeTest: test_post_to_spyme_should_store_coords
2724
- -------------------------------------------------
2725
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:40:10 -0300
2726
- Processing by Spyme::LocationsController#create as HTML
2727
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2728
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
2729
-  (0.0ms) rollback transaction
2730
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2731
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2732
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2733
-  (0.0ms) SELECT sqlite_version(*)
2734
-  (10.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2735
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2736
-  (15.5ms) INSERT INTO "schema_migrations" (version) VALUES (0)
2737
-  (11.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2738
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2739
-  (0.1ms) begin transaction
2740
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:53:38.894445"], ["updated_at", "2018-09-17 19:53:38.894445"]]
2741
-  (9.7ms) commit transaction
2742
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2743
-  (0.1ms) begin transaction
2744
-  (0.1ms) commit transaction
2745
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2746
-  (0.0ms) begin transaction
2747
- ------------------------------------------------------
2748
- ModelTest: test_coords_should_give_the_values_in_array
2749
- ------------------------------------------------------
2750
-  (0.0ms) rollback transaction
2751
-  (0.0ms) begin transaction
2752
- -------------------------------------------------------------
2753
- ModelTest: test_location_should_be_invalid_when_empty_session
2754
- -------------------------------------------------------------
2755
-  (0.1ms) rollback transaction
2756
-  (0.0ms) begin transaction
2757
- --------------------------------------------------------
2758
- ModelTest: test_to_hash_should_give_the_right_hash_value
2759
- --------------------------------------------------------
2760
-  (0.0ms) rollback transaction
2761
-  (0.0ms) begin transaction
2762
- --------------------------------------------------------------
2763
- ModelTest: test_location_should_be_valid_at_negative_boundries
2764
- --------------------------------------------------------------
2765
-  (0.0ms) rollback transaction
2766
-  (0.0ms) begin transaction
2767
- -----------------------------------------------------------------------------
2768
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
2769
- -----------------------------------------------------------------------------
2770
-  (0.0ms) rollback transaction
2771
-  (0.0ms) begin transaction
2772
- -------------------------------------------------------------
2773
- ModelTest: test_as_a_string_should_give_the_right_query_value
2774
- -------------------------------------------------------------
2775
-  (0.0ms) rollback transaction
2776
-  (0.0ms) begin transaction
2777
- -----------------------------------------------------------------------
2778
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
2779
- -----------------------------------------------------------------------
2780
-  (0.0ms) rollback transaction
2781
-  (0.0ms) begin transaction
2782
- ----------------------------------------------------------------
2783
- ModelTest: test_location_should_be_invalid_when_empty_attributes
2784
- ----------------------------------------------------------------
2785
-  (0.0ms) rollback transaction
2786
-  (0.0ms) begin transaction
2787
- ----------------------------------------------------------------------------
2788
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
2789
- ----------------------------------------------------------------------------
2790
-  (0.0ms) rollback transaction
2791
-  (0.0ms) begin transaction
2792
- --------------------------------------------------------------
2793
- ModelTest: test_location_should_be_valid_at_positive_boundries
2794
- --------------------------------------------------------------
2795
-  (0.0ms) rollback transaction
2796
-  (0.0ms) begin transaction
2797
- ---------------------------------------------------------------------
2798
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
2799
- ---------------------------------------------------------------------
2800
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 16:53:39 -0300
2801
- Processing by Spyme::LocationsController#create as HTML
2802
- Completed 400 Bad Request in 0ms (ActiveRecord: 0.0ms)
2803
-  (0.1ms) rollback transaction
2804
-  (0.0ms) begin transaction
2805
- ---------------------------------------------------
2806
- SpymeTest: test_post_to_spyme_should_return_success
2807
- ---------------------------------------------------
2808
-  (0.0ms) rollback transaction
2809
-  (0.0ms) begin transaction
2810
- -------------------------------------------------
2811
- SpymeTest: test_post_to_spyme_should_store_coords
2812
- -------------------------------------------------
2813
-  (0.0ms) rollback transaction
2814
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2815
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2816
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2817
-  (0.1ms) SELECT sqlite_version(*)
2818
-  (12.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2819
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2820
-  (16.4ms) INSERT INTO "schema_migrations" (version) VALUES (0)
2821
-  (12.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2822
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2823
-  (0.0ms) begin transaction
2824
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 20:01:14.181380"], ["updated_at", "2018-09-17 20:01:14.181380"]]
2825
-  (10.6ms) commit transaction
2826
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2827
-  (0.0ms) begin transaction
2828
-  (0.0ms) commit transaction
2829
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2830
-  (0.0ms) begin transaction
2831
- ---------------------------------------------------
2832
- SpymeTest: test_post_to_spyme_should_return_success
2833
- ---------------------------------------------------
2834
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 17:01:14 -0300
2835
- Processing by Spyme::LocationsController#create as HTML
2836
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2837
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
2838
-  (0.1ms) rollback transaction
2839
-  (0.0ms) begin transaction
2840
- ---------------------------------------------------------------------
2841
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
2842
- ---------------------------------------------------------------------
2843
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 17:01:14 -0300
2844
- Processing by Spyme::LocationsController#create as HTML
2845
- Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
2846
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
2847
-  (0.1ms) rollback transaction
2848
-  (0.1ms) begin transaction
2849
- -------------------------------------------------
2850
- SpymeTest: test_post_to_spyme_should_store_coords
2851
- -------------------------------------------------
2852
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 17:01:14 -0300
2853
- Processing by Spyme::LocationsController#create as HTML
2854
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2855
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
2856
-  (0.0ms) rollback transaction
2857
-  (0.0ms) begin transaction
2858
- -----------------------------------------------------------------------
2859
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
2860
- -----------------------------------------------------------------------
2861
-  (0.0ms) rollback transaction
2862
-  (0.1ms) begin transaction
2863
- --------------------------------------------------------
2864
- ModelTest: test_to_hash_should_give_the_right_hash_value
2865
- --------------------------------------------------------
2866
-  (0.0ms) rollback transaction
2867
-  (0.0ms) begin transaction
2868
- -----------------------------------------------------------------------------
2869
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
2870
- -----------------------------------------------------------------------------
2871
-  (0.0ms) rollback transaction
2872
-  (0.1ms) begin transaction
2873
- ------------------------------------------------------
2874
- ModelTest: test_coords_should_give_the_values_in_array
2875
- ------------------------------------------------------
2876
-  (0.1ms) rollback transaction
2877
-  (0.1ms) begin transaction
2878
- --------------------------------------------------------------
2879
- ModelTest: test_location_should_be_valid_at_positive_boundries
2880
- --------------------------------------------------------------
2881
-  (0.0ms) rollback transaction
2882
-  (0.1ms) begin transaction
2883
- --------------------------------------------------------------
2884
- ModelTest: test_location_should_be_valid_at_negative_boundries
2885
- --------------------------------------------------------------
2886
-  (0.2ms) rollback transaction
2887
-  (0.1ms) begin transaction
2888
- -------------------------------------------------------------
2889
- ModelTest: test_as_a_string_should_give_the_right_query_value
2890
- -------------------------------------------------------------
2891
-  (0.1ms) rollback transaction
2892
-  (0.1ms) begin transaction
2893
- ----------------------------------------------------------------
2894
- ModelTest: test_location_should_be_invalid_when_empty_attributes
2895
- ----------------------------------------------------------------
2896
-  (0.0ms) rollback transaction
2897
-  (0.1ms) begin transaction
2898
- -------------------------------------------------------------
2899
- ModelTest: test_location_should_be_invalid_when_empty_session
2900
- -------------------------------------------------------------
2901
-  (0.1ms) rollback transaction
2902
-  (0.1ms) begin transaction
2903
- ----------------------------------------------------------------------------
2904
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
2905
- ----------------------------------------------------------------------------
2906
-  (0.0ms) rollback transaction
2907
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2908
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2909
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2910
-  (0.0ms) SELECT sqlite_version(*)
2911
-  (12.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2912
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2913
-  (16.0ms) INSERT INTO "schema_migrations" (version) VALUES (0)
2914
-  (11.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2915
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2916
-  (0.0ms) begin transaction
2917
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 20:01:21.731543"], ["updated_at", "2018-09-17 20:01:21.731543"]]
2918
-  (11.2ms) commit transaction
2919
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2920
-  (0.0ms) begin transaction
2921
-  (0.0ms) commit transaction
2922
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2923
-  (0.0ms) begin transaction
2924
- -------------------------------------------------
2925
- SpymeTest: test_post_to_spyme_should_store_coords
2926
- -------------------------------------------------
2927
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 17:01:21 -0300
2928
- Processing by Spyme::LocationsController#create as HTML
2929
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2930
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
2931
-  (0.1ms) rollback transaction
2932
-  (0.0ms) begin transaction
2933
- ---------------------------------------------------------------------
2934
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
2935
- ---------------------------------------------------------------------
2936
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 17:01:21 -0300
2937
- Processing by Spyme::LocationsController#create as HTML
2938
- Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
2939
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
2940
-  (0.0ms) rollback transaction
2941
-  (0.0ms) begin transaction
2942
- ---------------------------------------------------
2943
- SpymeTest: test_post_to_spyme_should_return_success
2944
- ---------------------------------------------------
2945
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 17:01:21 -0300
2946
- Processing by Spyme::LocationsController#create as HTML
2947
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
2948
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
2949
-  (0.0ms) rollback transaction
2950
-  (0.0ms) begin transaction
2951
- --------------------------------------------------------
2952
- ModelTest: test_to_hash_should_give_the_right_hash_value
2953
- --------------------------------------------------------
2954
-  (0.0ms) rollback transaction
2955
-  (0.0ms) begin transaction
2956
- -----------------------------------------------------------------------------
2957
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
2958
- -----------------------------------------------------------------------------
2959
-  (0.0ms) rollback transaction
2960
-  (0.0ms) begin transaction
2961
- ------------------------------------------------------
2962
- ModelTest: test_coords_should_give_the_values_in_array
2963
- ------------------------------------------------------
2964
-  (0.0ms) rollback transaction
2965
-  (0.0ms) begin transaction
2966
- ----------------------------------------------------------------
2967
- ModelTest: test_location_should_be_invalid_when_empty_attributes
2968
- ----------------------------------------------------------------
2969
-  (0.0ms) rollback transaction
2970
-  (0.0ms) begin transaction
2971
- -------------------------------------------------------------
2972
- ModelTest: test_location_should_be_invalid_when_empty_session
2973
- -------------------------------------------------------------
2974
-  (0.1ms) rollback transaction
2975
-  (0.0ms) begin transaction
2976
- -----------------------------------------------------------------------
2977
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
2978
- -----------------------------------------------------------------------
2979
-  (0.1ms) rollback transaction
2980
-  (0.0ms) begin transaction
2981
- ----------------------------------------------------------------------------
2982
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
2983
- ----------------------------------------------------------------------------
2984
-  (0.0ms) rollback transaction
2985
-  (0.0ms) begin transaction
2986
- -------------------------------------------------------------
2987
- ModelTest: test_as_a_string_should_give_the_right_query_value
2988
- -------------------------------------------------------------
2989
-  (0.0ms) rollback transaction
2990
-  (0.0ms) begin transaction
2991
- --------------------------------------------------------------
2992
- ModelTest: test_location_should_be_valid_at_negative_boundries
2993
- --------------------------------------------------------------
2994
-  (0.0ms) rollback transaction
2995
-  (0.0ms) begin transaction
2996
- --------------------------------------------------------------
2997
- ModelTest: test_location_should_be_valid_at_positive_boundries
2998
- --------------------------------------------------------------
2999
-  (0.0ms) rollback transaction
3000
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3001
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3002
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3003
-  (0.1ms) SELECT sqlite_version(*)
3004
-  (12.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3005
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3006
-  (15.6ms) INSERT INTO "schema_migrations" (version) VALUES (0)
3007
-  (10.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
3008
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3009
-  (0.0ms) begin transaction
3010
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 20:03:37.715342"], ["updated_at", "2018-09-17 20:03:37.715342"]]
3011
-  (11.9ms) commit transaction
3012
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3013
-  (0.0ms) begin transaction
3014
-  (0.0ms) commit transaction
3015
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3016
-  (0.1ms) begin transaction
3017
- ---------------------------------------------------------------------
3018
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
3019
- ---------------------------------------------------------------------
3020
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 17:03:37 -0300
3021
- Processing by Spyme::LocationsController#create as HTML
3022
- Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
3023
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
3024
-  (0.1ms) rollback transaction
3025
-  (0.0ms) begin transaction
3026
- ---------------------------------------------------
3027
- SpymeTest: test_post_to_spyme_should_return_success
3028
- ---------------------------------------------------
3029
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 17:03:37 -0300
3030
- Processing by Spyme::LocationsController#create as HTML
3031
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3032
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
3033
-  (0.0ms) rollback transaction
3034
-  (0.0ms) begin transaction
3035
- -------------------------------------------------
3036
- SpymeTest: test_post_to_spyme_should_store_coords
3037
- -------------------------------------------------
3038
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-17 17:03:37 -0300
3039
- Processing by Spyme::LocationsController#create as HTML
3040
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3041
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
3042
-  (0.0ms) rollback transaction
3043
-  (0.0ms) begin transaction
3044
- -------------------------------------------------------------
3045
- ModelTest: test_as_a_string_should_give_the_right_query_value
3046
- -------------------------------------------------------------
3047
-  (0.0ms) rollback transaction
3048
-  (0.0ms) begin transaction
3049
- ----------------------------------------------------------------------------
3050
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
3051
- ----------------------------------------------------------------------------
3052
-  (0.0ms) rollback transaction
3053
-  (0.0ms) begin transaction
3054
- ----------------------------------------------------------------
3055
- ModelTest: test_location_should_be_invalid_when_empty_attributes
3056
- ----------------------------------------------------------------
3057
-  (0.0ms) rollback transaction
3058
-  (0.1ms) begin transaction
3059
- --------------------------------------------------------------
3060
- ModelTest: test_location_should_be_valid_at_positive_boundries
3061
- --------------------------------------------------------------
3062
-  (0.0ms) rollback transaction
3063
-  (0.0ms) begin transaction
3064
- ------------------------------------------------------
3065
- ModelTest: test_coords_should_give_the_values_in_array
3066
- ------------------------------------------------------
3067
-  (0.0ms) rollback transaction
3068
-  (0.0ms) begin transaction
3069
- -----------------------------------------------------------------------
3070
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
3071
- -----------------------------------------------------------------------
3072
-  (0.0ms) rollback transaction
3073
-  (0.1ms) begin transaction
3074
- --------------------------------------------------------------
3075
- ModelTest: test_location_should_be_valid_at_negative_boundries
3076
- --------------------------------------------------------------
3077
-  (0.0ms) rollback transaction
3078
-  (0.1ms) begin transaction
3079
- -----------------------------------------------------------------------------
3080
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
3081
- -----------------------------------------------------------------------------
3082
-  (0.0ms) rollback transaction
3083
-  (0.0ms) begin transaction
3084
- -------------------------------------------------------------
3085
- ModelTest: test_location_should_be_invalid_when_empty_session
3086
- -------------------------------------------------------------
3087
-  (0.0ms) rollback transaction
3088
-  (0.0ms) begin transaction
3089
- --------------------------------------------------------
3090
- ModelTest: test_to_hash_should_give_the_right_hash_value
3091
- --------------------------------------------------------
3092
-  (0.0ms) rollback transaction
3093
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3094
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3095
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3096
-  (0.0ms) SELECT sqlite_version(*)
3097
-  (12.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3098
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3099
-  (16.2ms) INSERT INTO "schema_migrations" (version) VALUES (0)
3100
-  (11.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
3101
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3102
-  (0.1ms) begin transaction
3103
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:32:10.150160"], ["updated_at", "2018-09-18 14:32:10.150160"]]
3104
-  (10.1ms) commit transaction
3105
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3106
-  (0.1ms) begin transaction
3107
-  (0.1ms) commit transaction
3108
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3109
-  (0.1ms) begin transaction
3110
- ----------------------------------------------------------------
3111
- ModelTest: test_location_should_be_invalid_when_empty_attributes
3112
- ----------------------------------------------------------------
3113
-  (0.1ms) rollback transaction
3114
-  (0.0ms) begin transaction
3115
- ----------------------------------------------------------------------------
3116
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
3117
- ----------------------------------------------------------------------------
3118
-  (0.0ms) rollback transaction
3119
-  (0.0ms) begin transaction
3120
- -------------------------------------------------------------
3121
- ModelTest: test_as_a_string_should_give_the_right_query_value
3122
- -------------------------------------------------------------
3123
-  (0.0ms) rollback transaction
3124
-  (0.0ms) begin transaction
3125
- -----------------------------------------------------------------------------
3126
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
3127
- -----------------------------------------------------------------------------
3128
-  (0.0ms) rollback transaction
3129
-  (0.0ms) begin transaction
3130
- -----------------------------------------------------------------------
3131
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
3132
- -----------------------------------------------------------------------
3133
-  (0.0ms) rollback transaction
3134
-  (0.0ms) begin transaction
3135
- --------------------------------------------------------------
3136
- ModelTest: test_location_should_be_valid_at_positive_boundries
3137
- --------------------------------------------------------------
3138
-  (0.0ms) rollback transaction
3139
-  (0.0ms) begin transaction
3140
- --------------------------------------------------------
3141
- ModelTest: test_to_hash_should_give_the_right_hash_value
3142
- --------------------------------------------------------
3143
-  (0.0ms) rollback transaction
3144
-  (0.0ms) begin transaction
3145
- ------------------------------------------------------
3146
- ModelTest: test_coords_should_give_the_values_in_array
3147
- ------------------------------------------------------
3148
-  (0.0ms) rollback transaction
3149
-  (0.0ms) begin transaction
3150
- -------------------------------------------------------------
3151
- ModelTest: test_location_should_be_invalid_when_empty_session
3152
- -------------------------------------------------------------
3153
-  (0.0ms) rollback transaction
3154
-  (0.0ms) begin transaction
3155
- --------------------------------------------------------------
3156
- ModelTest: test_location_should_be_valid_at_negative_boundries
3157
- --------------------------------------------------------------
3158
-  (0.0ms) rollback transaction
3159
-  (0.0ms) begin transaction
3160
- ---------------------------------------------------------------------
3161
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
3162
- ---------------------------------------------------------------------
3163
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:32:10 -0300
3164
- Processing by Spyme::LocationsController#create as HTML
3165
- Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
3166
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
3167
-  (0.1ms) rollback transaction
3168
-  (0.0ms) begin transaction
3169
- ---------------------------------------------------
3170
- SpymeTest: test_post_to_spyme_should_return_success
3171
- ---------------------------------------------------
3172
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:32:10 -0300
3173
- Processing by Spyme::LocationsController#create as HTML
3174
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3175
- Completed 201 Created in 2ms (ActiveRecord: 0.0ms)
3176
-  (0.0ms) rollback transaction
3177
-  (0.0ms) begin transaction
3178
- -------------------------------------------------
3179
- SpymeTest: test_post_to_spyme_should_store_coords
3180
- -------------------------------------------------
3181
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:32:10 -0300
3182
- Processing by Spyme::LocationsController#create as HTML
3183
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3184
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
3185
-  (0.0ms) rollback transaction
3186
-  (0.0ms) begin transaction
3187
- -----------------------------------------------------------------------
3188
- ApplicationHelperTest: test_current_location_should_return_the_location
3189
- -----------------------------------------------------------------------
3190
-  (0.0ms) rollback transaction
3191
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3192
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3193
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3194
-  (0.0ms) SELECT sqlite_version(*)
3195
-  (11.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3196
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3197
-  (15.7ms) INSERT INTO "schema_migrations" (version) VALUES (0)
3198
-  (10.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
3199
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3200
-  (0.0ms) begin transaction
3201
- ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:32:30.716955"], ["updated_at", "2018-09-18 14:32:30.716955"]]
3202
-  (12.2ms) commit transaction
3203
- ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3204
-  (0.0ms) begin transaction
3205
-  (0.0ms) commit transaction
3206
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3207
-  (0.1ms) begin transaction
3208
- -------------------------------------------------------------
3209
- ModelTest: test_as_a_string_should_give_the_right_query_value
3210
- -------------------------------------------------------------
3211
-  (0.0ms) rollback transaction
3212
-  (0.0ms) begin transaction
3213
- ------------------------------------------------------
3214
- ModelTest: test_coords_should_give_the_values_in_array
3215
- ------------------------------------------------------
3216
-  (0.0ms) rollback transaction
3217
-  (0.0ms) begin transaction
3218
- -------------------------------------------------------------
3219
- ModelTest: test_location_should_be_invalid_when_empty_session
3220
- -------------------------------------------------------------
3221
-  (0.0ms) rollback transaction
3222
-  (0.0ms) begin transaction
3223
- ----------------------------------------------------------------------------
3224
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
3225
- ----------------------------------------------------------------------------
3226
-  (0.0ms) rollback transaction
3227
-  (0.0ms) begin transaction
3228
- --------------------------------------------------------------
3229
- ModelTest: test_location_should_be_valid_at_negative_boundries
3230
- --------------------------------------------------------------
3231
-  (0.0ms) rollback transaction
3232
-  (0.0ms) begin transaction
3233
- --------------------------------------------------------------
3234
- ModelTest: test_location_should_be_valid_at_positive_boundries
3235
- --------------------------------------------------------------
3236
-  (0.0ms) rollback transaction
3237
-  (0.0ms) begin transaction
3238
- --------------------------------------------------------
3239
- ModelTest: test_to_hash_should_give_the_right_hash_value
3240
- --------------------------------------------------------
3241
-  (0.0ms) rollback transaction
3242
-  (0.0ms) begin transaction
3243
- -----------------------------------------------------------------------------
3244
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
3245
- -----------------------------------------------------------------------------
3246
-  (0.0ms) rollback transaction
3247
-  (0.0ms) begin transaction
3248
- -----------------------------------------------------------------------
3249
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
3250
- -----------------------------------------------------------------------
3251
-  (0.0ms) rollback transaction
3252
-  (0.0ms) begin transaction
3253
- ----------------------------------------------------------------
3254
- ModelTest: test_location_should_be_invalid_when_empty_attributes
3255
- ----------------------------------------------------------------
3256
-  (0.0ms) rollback transaction
3257
-  (0.0ms) begin transaction
3258
- -----------------------------------------------------------------------
3259
- ApplicationHelperTest: test_current_location_should_return_the_location
3260
- -----------------------------------------------------------------------
3261
-  (0.0ms) rollback transaction
3262
-  (0.0ms) begin transaction
3263
- ---------------------------------------------------------------------
3264
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
3265
- ---------------------------------------------------------------------
3266
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:32:30 -0300
3267
- Processing by Spyme::LocationsController#create as HTML
3268
- Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
3269
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
3270
-  (0.1ms) rollback transaction
3271
-  (0.0ms) begin transaction
3272
- ---------------------------------------------------
3273
- SpymeTest: test_post_to_spyme_should_return_success
3274
- ---------------------------------------------------
3275
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:32:30 -0300
3276
- Processing by Spyme::LocationsController#create as HTML
3277
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3278
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
3279
-  (0.0ms) rollback transaction
3280
-  (0.0ms) begin transaction
3281
- -------------------------------------------------
3282
- SpymeTest: test_post_to_spyme_should_store_coords
3283
- -------------------------------------------------
3284
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:32:30 -0300
3285
- Processing by Spyme::LocationsController#create as HTML
3286
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3287
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
3288
-  (0.0ms) rollback transaction
3289
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3290
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3291
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3292
-  (0.0ms) SELECT sqlite_version(*)
3293
-  (12.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3294
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3295
-  (15.8ms) INSERT INTO "schema_migrations" (version) VALUES (0)
3296
-  (12.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
3297
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3298
-  (0.1ms) begin transaction
3299
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:42:17.695818"], ["updated_at", "2018-09-18 14:42:17.695818"]]
3300
-  (10.7ms) commit transaction
3301
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3302
-  (0.1ms) begin transaction
3303
-  (0.1ms) commit transaction
3304
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3305
-  (0.0ms) begin transaction
3306
- ---------------------------------------------------------------------
3307
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
3308
- ---------------------------------------------------------------------
3309
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:42:17 -0300
3310
- Processing by Spyme::LocationsController#create as HTML
3311
- Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
3312
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
3313
-  (0.1ms) rollback transaction
3314
-  (0.0ms) begin transaction
3315
- ---------------------------------------------------
3316
- SpymeTest: test_post_to_spyme_should_return_success
3317
- ---------------------------------------------------
3318
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:42:17 -0300
3319
- Processing by Spyme::LocationsController#create as HTML
3320
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3321
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
3322
-  (0.0ms) rollback transaction
3323
-  (0.0ms) begin transaction
3324
- -------------------------------------------------
3325
- SpymeTest: test_post_to_spyme_should_store_coords
3326
- -------------------------------------------------
3327
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:42:17 -0300
3328
- Processing by Spyme::LocationsController#create as HTML
3329
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3330
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
3331
-  (0.0ms) rollback transaction
3332
-  (0.0ms) begin transaction
3333
- ------------------------------------------------------
3334
- ModelTest: test_coords_should_give_the_values_in_array
3335
- ------------------------------------------------------
3336
-  (0.0ms) rollback transaction
3337
-  (0.0ms) begin transaction
3338
- -------------------------------------------------------------
3339
- ModelTest: test_location_should_be_invalid_when_empty_session
3340
- -------------------------------------------------------------
3341
-  (0.1ms) rollback transaction
3342
-  (0.0ms) begin transaction
3343
- --------------------------------------------------------
3344
- ModelTest: test_to_hash_should_give_the_right_hash_value
3345
- --------------------------------------------------------
3346
-  (0.0ms) rollback transaction
3347
-  (0.0ms) begin transaction
3348
- ----------------------------------------------------------------
3349
- ModelTest: test_location_should_be_invalid_when_empty_attributes
3350
- ----------------------------------------------------------------
3351
-  (0.0ms) rollback transaction
3352
-  (0.0ms) begin transaction
3353
- -----------------------------------------------------------------------
3354
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
3355
- -----------------------------------------------------------------------
3356
-  (0.0ms) rollback transaction
3357
-  (0.0ms) begin transaction
3358
- ----------------------------------------------------------------------------
3359
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
3360
- ----------------------------------------------------------------------------
3361
-  (0.0ms) rollback transaction
3362
-  (0.0ms) begin transaction
3363
- -------------------------------------------------------------
3364
- ModelTest: test_as_a_string_should_give_the_right_query_value
3365
- -------------------------------------------------------------
3366
-  (0.0ms) rollback transaction
3367
-  (0.0ms) begin transaction
3368
- --------------------------------------------------------------
3369
- ModelTest: test_location_should_be_valid_at_negative_boundries
3370
- --------------------------------------------------------------
3371
-  (0.0ms) rollback transaction
3372
-  (0.0ms) begin transaction
3373
- -----------------------------------------------------------------------------
3374
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
3375
- -----------------------------------------------------------------------------
3376
-  (0.0ms) rollback transaction
3377
-  (0.0ms) begin transaction
3378
- --------------------------------------------------------------
3379
- ModelTest: test_location_should_be_valid_at_positive_boundries
3380
- --------------------------------------------------------------
3381
-  (0.0ms) rollback transaction
3382
-  (0.0ms) begin transaction
3383
- ---------------------------------------------------------------------------
3384
- ApplicationControllerTest: test_current_location_should_return_the_location
3385
- ---------------------------------------------------------------------------
3386
-  (0.0ms) rollback transaction
3387
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3388
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3389
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3390
-  (0.0ms) SELECT sqlite_version(*)
3391
-  (11.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3392
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3393
-  (16.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
3394
-  (11.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
3395
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3396
-  (0.1ms) begin transaction
3397
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:42:54.741417"], ["updated_at", "2018-09-18 14:42:54.741417"]]
3398
-  (10.1ms) commit transaction
3399
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3400
-  (0.0ms) begin transaction
3401
-  (0.0ms) commit transaction
3402
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3403
-  (0.0ms) begin transaction
3404
- ----------------------------------------------------------------
3405
- ModelTest: test_location_should_be_invalid_when_empty_attributes
3406
- ----------------------------------------------------------------
3407
-  (0.0ms) rollback transaction
3408
-  (0.0ms) begin transaction
3409
- -----------------------------------------------------------------------------
3410
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
3411
- -----------------------------------------------------------------------------
3412
-  (0.0ms) rollback transaction
3413
-  (0.0ms) begin transaction
3414
- ----------------------------------------------------------------------------
3415
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
3416
- ----------------------------------------------------------------------------
3417
-  (0.0ms) rollback transaction
3418
-  (0.0ms) begin transaction
3419
- -------------------------------------------------------------
3420
- ModelTest: test_location_should_be_invalid_when_empty_session
3421
- -------------------------------------------------------------
3422
-  (0.0ms) rollback transaction
3423
-  (0.0ms) begin transaction
3424
- --------------------------------------------------------------
3425
- ModelTest: test_location_should_be_valid_at_negative_boundries
3426
- --------------------------------------------------------------
3427
-  (0.0ms) rollback transaction
3428
-  (0.0ms) begin transaction
3429
- -----------------------------------------------------------------------
3430
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
3431
- -----------------------------------------------------------------------
3432
-  (0.0ms) rollback transaction
3433
-  (0.0ms) begin transaction
3434
- --------------------------------------------------------------
3435
- ModelTest: test_location_should_be_valid_at_positive_boundries
3436
- --------------------------------------------------------------
3437
-  (0.0ms) rollback transaction
3438
-  (0.0ms) begin transaction
3439
- --------------------------------------------------------
3440
- ModelTest: test_to_hash_should_give_the_right_hash_value
3441
- --------------------------------------------------------
3442
-  (0.0ms) rollback transaction
3443
-  (0.0ms) begin transaction
3444
- ------------------------------------------------------
3445
- ModelTest: test_coords_should_give_the_values_in_array
3446
- ------------------------------------------------------
3447
-  (0.0ms) rollback transaction
3448
-  (0.0ms) begin transaction
3449
- -------------------------------------------------------------
3450
- ModelTest: test_as_a_string_should_give_the_right_query_value
3451
- -------------------------------------------------------------
3452
-  (0.0ms) rollback transaction
3453
-  (0.0ms) begin transaction
3454
- ---------------------------------------------------------------------------
3455
- ApplicationControllerTest: test_current_location_should_return_the_location
3456
- ---------------------------------------------------------------------------
3457
-  (0.0ms) rollback transaction
3458
-  (0.0ms) begin transaction
3459
- ---------------------------------------------------------------------
3460
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
3461
- ---------------------------------------------------------------------
3462
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:42:54 -0300
3463
- Processing by Spyme::LocationsController#create as HTML
3464
- Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
3465
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
3466
-  (0.1ms) rollback transaction
3467
-  (0.0ms) begin transaction
3468
- -------------------------------------------------
3469
- SpymeTest: test_post_to_spyme_should_store_coords
3470
- -------------------------------------------------
3471
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:42:54 -0300
3472
- Processing by Spyme::LocationsController#create as HTML
3473
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3474
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
3475
-  (0.0ms) rollback transaction
3476
-  (0.0ms) begin transaction
3477
- ---------------------------------------------------
3478
- SpymeTest: test_post_to_spyme_should_return_success
3479
- ---------------------------------------------------
3480
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:42:54 -0300
3481
- Processing by Spyme::LocationsController#create as HTML
3482
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3483
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
3484
-  (0.0ms) rollback transaction
3485
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3486
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3487
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3488
-  (0.0ms) SELECT sqlite_version(*)
3489
-  (11.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3490
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3491
-  (15.3ms) INSERT INTO "schema_migrations" (version) VALUES (0)
3492
-  (11.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
3493
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3494
-  (0.0ms) begin transaction
3495
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:43:12.989155"], ["updated_at", "2018-09-18 14:43:12.989155"]]
3496
-  (10.5ms) commit transaction
3497
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3498
-  (0.1ms) begin transaction
3499
-  (0.1ms) commit transaction
3500
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3501
-  (0.0ms) begin transaction
3502
- ---------------------------------------------------------------------
3503
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
3504
- ---------------------------------------------------------------------
3505
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:43:13 -0300
3506
- Processing by Spyme::LocationsController#create as HTML
3507
- Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
3508
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
3509
-  (0.1ms) rollback transaction
3510
-  (0.0ms) begin transaction
3511
- -------------------------------------------------
3512
- SpymeTest: test_post_to_spyme_should_store_coords
3513
- -------------------------------------------------
3514
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:43:13 -0300
3515
- Processing by Spyme::LocationsController#create as HTML
3516
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3517
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
3518
-  (0.0ms) rollback transaction
3519
-  (0.0ms) begin transaction
3520
- ---------------------------------------------------
3521
- SpymeTest: test_post_to_spyme_should_return_success
3522
- ---------------------------------------------------
3523
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:43:13 -0300
3524
- Processing by Spyme::LocationsController#create as HTML
3525
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3526
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
3527
-  (0.0ms) rollback transaction
3528
-  (0.0ms) begin transaction
3529
- ---------------------------------------------------------------------------
3530
- ApplicationControllerTest: test_current_location_should_return_the_location
3531
- ---------------------------------------------------------------------------
3532
-  (0.0ms) rollback transaction
3533
-  (0.0ms) begin transaction
3534
- ----------------------------------------------------------------------------
3535
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
3536
- ----------------------------------------------------------------------------
3537
-  (0.0ms) rollback transaction
3538
-  (0.0ms) begin transaction
3539
- --------------------------------------------------------------
3540
- ModelTest: test_location_should_be_valid_at_positive_boundries
3541
- --------------------------------------------------------------
3542
-  (0.0ms) rollback transaction
3543
-  (0.0ms) begin transaction
3544
- ------------------------------------------------------
3545
- ModelTest: test_coords_should_give_the_values_in_array
3546
- ------------------------------------------------------
3547
-  (0.0ms) rollback transaction
3548
-  (0.0ms) begin transaction
3549
- ----------------------------------------------------------------
3550
- ModelTest: test_location_should_be_invalid_when_empty_attributes
3551
- ----------------------------------------------------------------
3552
-  (0.0ms) rollback transaction
3553
-  (0.0ms) begin transaction
3554
- --------------------------------------------------------------
3555
- ModelTest: test_location_should_be_valid_at_negative_boundries
3556
- --------------------------------------------------------------
3557
-  (0.0ms) rollback transaction
3558
-  (0.0ms) begin transaction
3559
- -------------------------------------------------------------
3560
- ModelTest: test_location_should_be_invalid_when_empty_session
3561
- -------------------------------------------------------------
3562
-  (0.0ms) rollback transaction
3563
-  (0.0ms) begin transaction
3564
- -----------------------------------------------------------------------------
3565
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
3566
- -----------------------------------------------------------------------------
3567
-  (0.0ms) rollback transaction
3568
-  (0.0ms) begin transaction
3569
- -------------------------------------------------------------
3570
- ModelTest: test_as_a_string_should_give_the_right_query_value
3571
- -------------------------------------------------------------
3572
-  (0.0ms) rollback transaction
3573
-  (0.0ms) begin transaction
3574
- --------------------------------------------------------
3575
- ModelTest: test_to_hash_should_give_the_right_hash_value
3576
- --------------------------------------------------------
3577
-  (0.0ms) rollback transaction
3578
-  (0.0ms) begin transaction
3579
- -----------------------------------------------------------------------
3580
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
3581
- -----------------------------------------------------------------------
3582
-  (0.0ms) rollback transaction
3583
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3584
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3585
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3586
-  (0.0ms) SELECT sqlite_version(*)
3587
-  (11.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3588
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3589
-  (15.5ms) INSERT INTO "schema_migrations" (version) VALUES (0)
3590
-  (12.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
3591
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3592
-  (0.1ms) begin transaction
3593
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:43:57.965360"], ["updated_at", "2018-09-18 14:43:57.965360"]]
3594
-  (10.4ms) commit transaction
3595
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3596
-  (0.1ms) begin transaction
3597
-  (0.1ms) commit transaction
3598
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3599
-  (0.0ms) begin transaction
3600
- ---------------------------------------------------
3601
- SpymeTest: test_post_to_spyme_should_return_success
3602
- ---------------------------------------------------
3603
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:43:58 -0300
3604
- Processing by Spyme::LocationsController#create as HTML
3605
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3606
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
3607
-  (0.1ms) rollback transaction
3608
-  (0.0ms) begin transaction
3609
- -------------------------------------------------
3610
- SpymeTest: test_post_to_spyme_should_store_coords
3611
- -------------------------------------------------
3612
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:43:58 -0300
3613
- Processing by Spyme::LocationsController#create as HTML
3614
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3615
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
3616
-  (0.0ms) rollback transaction
3617
-  (0.0ms) begin transaction
3618
- ---------------------------------------------------------------------
3619
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
3620
- ---------------------------------------------------------------------
3621
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:43:58 -0300
3622
- Processing by Spyme::LocationsController#create as HTML
3623
- Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
3624
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
3625
-  (0.0ms) rollback transaction
3626
-  (0.0ms) begin transaction
3627
- ---------------------------------------------------------------------------
3628
- ApplicationControllerTest: test_current_location_should_return_the_location
3629
- ---------------------------------------------------------------------------
3630
-  (0.0ms) rollback transaction
3631
-  (0.0ms) begin transaction
3632
- ----------------------------------------------------------------
3633
- ModelTest: test_location_should_be_invalid_when_empty_attributes
3634
- ----------------------------------------------------------------
3635
-  (0.0ms) rollback transaction
3636
-  (0.0ms) begin transaction
3637
- -------------------------------------------------------------
3638
- ModelTest: test_location_should_be_invalid_when_empty_session
3639
- -------------------------------------------------------------
3640
-  (0.0ms) rollback transaction
3641
-  (0.0ms) begin transaction
3642
- -------------------------------------------------------------
3643
- ModelTest: test_as_a_string_should_give_the_right_query_value
3644
- -------------------------------------------------------------
3645
-  (0.0ms) rollback transaction
3646
-  (0.0ms) begin transaction
3647
- --------------------------------------------------------
3648
- ModelTest: test_to_hash_should_give_the_right_hash_value
3649
- --------------------------------------------------------
3650
-  (0.0ms) rollback transaction
3651
-  (0.0ms) begin transaction
3652
- -----------------------------------------------------------------------
3653
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
3654
- -----------------------------------------------------------------------
3655
-  (0.0ms) rollback transaction
3656
-  (0.0ms) begin transaction
3657
- ----------------------------------------------------------------------------
3658
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
3659
- ----------------------------------------------------------------------------
3660
-  (0.0ms) rollback transaction
3661
-  (0.0ms) begin transaction
3662
- --------------------------------------------------------------
3663
- ModelTest: test_location_should_be_valid_at_negative_boundries
3664
- --------------------------------------------------------------
3665
-  (0.0ms) rollback transaction
3666
-  (0.0ms) begin transaction
3667
- --------------------------------------------------------------
3668
- ModelTest: test_location_should_be_valid_at_positive_boundries
3669
- --------------------------------------------------------------
3670
-  (0.0ms) rollback transaction
3671
-  (0.0ms) begin transaction
3672
- ------------------------------------------------------
3673
- ModelTest: test_coords_should_give_the_values_in_array
3674
- ------------------------------------------------------
3675
-  (0.0ms) rollback transaction
3676
-  (0.0ms) begin transaction
3677
- -----------------------------------------------------------------------------
3678
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
3679
- -----------------------------------------------------------------------------
3680
-  (0.0ms) rollback transaction
3681
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3682
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3683
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3684
-  (0.1ms) SELECT sqlite_version(*)
3685
-  (12.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3686
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3687
-  (15.6ms) INSERT INTO "schema_migrations" (version) VALUES (0)
3688
-  (11.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
3689
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3690
-  (0.1ms) begin transaction
3691
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:44:27.826481"], ["updated_at", "2018-09-18 14:44:27.826481"]]
3692
-  (10.5ms) commit transaction
3693
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3694
-  (0.0ms) begin transaction
3695
-  (0.0ms) commit transaction
3696
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3697
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3698
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3699
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3700
-  (0.0ms) SELECT sqlite_version(*)
3701
-  (33.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3702
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3703
-  (24.3ms) INSERT INTO "schema_migrations" (version) VALUES (0)
3704
-  (12.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
3705
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3706
-  (0.1ms) begin transaction
3707
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:44:47.347770"], ["updated_at", "2018-09-18 14:44:47.347770"]]
3708
-  (10.9ms) commit transaction
3709
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3710
-  (0.1ms) begin transaction
3711
-  (0.1ms) commit transaction
3712
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3713
-  (0.0ms) begin transaction
3714
- --------------------------------------------------------------------------------
3715
- ApplicationControllerTest: test_current_location_should_return_a_location_object
3716
- --------------------------------------------------------------------------------
3717
-  (0.0ms) rollback transaction
3718
-  (0.0ms) begin transaction
3719
- ---------------------------------------------------------------------------
3720
- ApplicationControllerTest: test_current_location_should_return_the_location
3721
- ---------------------------------------------------------------------------
3722
-  (0.0ms) rollback transaction
3723
-  (0.0ms) begin transaction
3724
- -----------------------------------------------------------------------
3725
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
3726
- -----------------------------------------------------------------------
3727
-  (0.0ms) rollback transaction
3728
-  (0.0ms) begin transaction
3729
- --------------------------------------------------------------
3730
- ModelTest: test_location_should_be_valid_at_negative_boundries
3731
- --------------------------------------------------------------
3732
-  (0.0ms) rollback transaction
3733
-  (0.0ms) begin transaction
3734
- ----------------------------------------------------------------
3735
- ModelTest: test_location_should_be_invalid_when_empty_attributes
3736
- ----------------------------------------------------------------
3737
-  (0.0ms) rollback transaction
3738
-  (0.0ms) begin transaction
3739
- ----------------------------------------------------------------------------
3740
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
3741
- ----------------------------------------------------------------------------
3742
-  (0.0ms) rollback transaction
3743
-  (0.0ms) begin transaction
3744
- --------------------------------------------------------
3745
- ModelTest: test_to_hash_should_give_the_right_hash_value
3746
- --------------------------------------------------------
3747
-  (0.0ms) rollback transaction
3748
-  (0.0ms) begin transaction
3749
- -------------------------------------------------------------
3750
- ModelTest: test_as_a_string_should_give_the_right_query_value
3751
- -------------------------------------------------------------
3752
-  (0.0ms) rollback transaction
3753
-  (0.0ms) begin transaction
3754
- --------------------------------------------------------------
3755
- ModelTest: test_location_should_be_valid_at_positive_boundries
3756
- --------------------------------------------------------------
3757
-  (0.0ms) rollback transaction
3758
-  (0.0ms) begin transaction
3759
- -----------------------------------------------------------------------------
3760
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
3761
- -----------------------------------------------------------------------------
3762
-  (0.0ms) rollback transaction
3763
-  (0.0ms) begin transaction
3764
- ------------------------------------------------------
3765
- ModelTest: test_coords_should_give_the_values_in_array
3766
- ------------------------------------------------------
3767
-  (0.0ms) rollback transaction
3768
-  (0.0ms) begin transaction
3769
- -------------------------------------------------------------
3770
- ModelTest: test_location_should_be_invalid_when_empty_session
3771
- -------------------------------------------------------------
3772
-  (0.0ms) rollback transaction
3773
-  (0.0ms) begin transaction
3774
- -------------------------------------------------
3775
- SpymeTest: test_post_to_spyme_should_store_coords
3776
- -------------------------------------------------
3777
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:44:47 -0300
3778
- Processing by Spyme::LocationsController#create as HTML
3779
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3780
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
3781
-  (0.1ms) rollback transaction
3782
-  (0.0ms) begin transaction
3783
- ---------------------------------------------------------------------
3784
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
3785
- ---------------------------------------------------------------------
3786
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:44:47 -0300
3787
- Processing by Spyme::LocationsController#create as HTML
3788
- Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
3789
- Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
3790
-  (0.0ms) rollback transaction
3791
-  (0.0ms) begin transaction
3792
- ---------------------------------------------------
3793
- SpymeTest: test_post_to_spyme_should_return_success
3794
- ---------------------------------------------------
3795
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:44:47 -0300
3796
- Processing by Spyme::LocationsController#create as HTML
3797
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3798
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
3799
-  (0.0ms) rollback transaction
3800
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3801
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3802
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3803
-  (0.0ms) SELECT sqlite_version(*)
3804
-  (11.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3805
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3806
-  (15.8ms) INSERT INTO "schema_migrations" (version) VALUES (0)
3807
-  (12.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
3808
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3809
-  (0.0ms) begin transaction
3810
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:45:57.567154"], ["updated_at", "2018-09-18 14:45:57.567154"]]
3811
-  (10.9ms) commit transaction
3812
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3813
-  (0.0ms) begin transaction
3814
-  (0.0ms) commit transaction
3815
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3816
-  (0.0ms) begin transaction
3817
2
  ---------------------------------------------------------------------
3818
3
  SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
3819
4
  ---------------------------------------------------------------------
3820
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:45:57 -0300
5
+ Started POST "/spyme/locations" for 127.0.0.1 at 2019-02-23 21:19:13 -0300
3821
6
  Processing by Spyme::LocationsController#create as HTML
3822
7
  Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
3823
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
8
+ Completed 400 Bad Request in 5ms (ActiveRecord: 0.0ms)
3824
9
   (0.1ms) rollback transaction
3825
10
   (0.0ms) begin transaction
3826
- ---------------------------------------------------
3827
- SpymeTest: test_post_to_spyme_should_return_success
3828
- ---------------------------------------------------
3829
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:45:57 -0300
11
+ -------------------------------------------------
12
+ SpymeTest: test_post_to_spyme_should_store_coords
13
+ -------------------------------------------------
14
+ Started POST "/spyme/locations" for 127.0.0.1 at 2019-02-23 21:19:13 -0300
3830
15
  Processing by Spyme::LocationsController#create as HTML
3831
16
  Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3832
17
  Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
3833
18
   (0.0ms) rollback transaction
3834
19
   (0.0ms) begin transaction
3835
- -------------------------------------------------
3836
- SpymeTest: test_post_to_spyme_should_store_coords
3837
- -------------------------------------------------
3838
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:45:57 -0300
20
+ ---------------------------------------------------
21
+ SpymeTest: test_post_to_spyme_should_return_success
22
+ ---------------------------------------------------
23
+ Started POST "/spyme/locations" for 127.0.0.1 at 2019-02-23 21:19:13 -0300
3839
24
  Processing by Spyme::LocationsController#create as HTML
3840
25
  Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3841
26
  Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
3842
27
   (0.0ms) rollback transaction
3843
28
   (0.0ms) begin transaction
3844
- ----------------------------------------------------------------------------
3845
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
3846
- ----------------------------------------------------------------------------
3847
-  (0.0ms) rollback transaction
3848
-  (0.0ms) begin transaction
3849
29
  -----------------------------------------------------------------------------
3850
30
  ModelTest: test_initialize_from_session_should_give_correct_number_attributes
3851
31
  -----------------------------------------------------------------------------
3852
32
   (0.0ms) rollback transaction
3853
33
   (0.0ms) begin transaction
3854
- -------------------------------------------------------------
3855
- ModelTest: test_as_a_string_should_give_the_right_query_value
3856
- -------------------------------------------------------------
3857
-  (0.0ms) rollback transaction
3858
-  (0.0ms) begin transaction
3859
34
  -----------------------------------------------------------------------
3860
35
  ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
3861
36
  -----------------------------------------------------------------------
3862
37
   (0.0ms) rollback transaction
3863
38
   (0.0ms) begin transaction
39
+ ----------------------------------------------------------------------------
40
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
41
+ ----------------------------------------------------------------------------
42
+  (0.0ms) rollback transaction
43
+  (0.0ms) begin transaction
3864
44
  --------------------------------------------------------------
3865
45
  ModelTest: test_location_should_be_valid_at_negative_boundries
3866
46
  --------------------------------------------------------------
3867
47
   (0.0ms) rollback transaction
3868
48
   (0.0ms) begin transaction
49
+ -------------------------------------------------------------
50
+ ModelTest: test_as_a_string_should_give_the_right_query_value
51
+ -------------------------------------------------------------
52
+  (0.0ms) rollback transaction
53
+  (0.0ms) begin transaction
3869
54
  ----------------------------------------------------------------
3870
55
  ModelTest: test_location_should_be_invalid_when_empty_attributes
3871
56
  ----------------------------------------------------------------
3872
57
   (0.0ms) rollback transaction
3873
58
   (0.0ms) begin transaction
3874
- --------------------------------------------------------
3875
- ModelTest: test_to_hash_should_give_the_right_hash_value
3876
- --------------------------------------------------------
59
+ --------------------------------------------------------------
60
+ ModelTest: test_location_should_be_valid_at_positive_boundries
61
+ --------------------------------------------------------------
3877
62
   (0.0ms) rollback transaction
3878
63
   (0.0ms) begin transaction
3879
64
  ------------------------------------------------------
@@ -3881,9 +66,9 @@ ModelTest: test_coords_should_give_the_values_in_array
3881
66
  ------------------------------------------------------
3882
67
   (0.0ms) rollback transaction
3883
68
   (0.0ms) begin transaction
3884
- --------------------------------------------------------------
3885
- ModelTest: test_location_should_be_valid_at_positive_boundries
3886
- --------------------------------------------------------------
69
+ --------------------------------------------------------
70
+ ModelTest: test_to_hash_should_give_the_right_hash_value
71
+ --------------------------------------------------------
3887
72
   (0.0ms) rollback transaction
3888
73
   (0.0ms) begin transaction
3889
74
  -------------------------------------------------------------
@@ -3891,32 +76,6 @@ ModelTest: test_location_should_be_invalid_when_empty_session
3891
76
  -------------------------------------------------------------
3892
77
   (0.0ms) rollback transaction
3893
78
   (0.0ms) begin transaction
3894
- ---------------------------------------------------------------------------
3895
- ApplicationControllerTest: test_current_location_should_return_the_location
3896
- ---------------------------------------------------------------------------
3897
-  (0.0ms) rollback transaction
3898
-  (0.0ms) begin transaction
3899
- --------------------------------------------------------------------------------
3900
- ApplicationControllerTest: test_current_location_should_return_a_location_object
3901
- --------------------------------------------------------------------------------
3902
-  (0.0ms) rollback transaction
3903
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3904
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3905
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3906
-  (0.1ms) SELECT sqlite_version(*)
3907
-  (12.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3908
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3909
-  (16.0ms) INSERT INTO "schema_migrations" (version) VALUES (0)
3910
-  (12.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
3911
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3912
-  (0.1ms) begin transaction
3913
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:46:23.275010"], ["updated_at", "2018-09-18 14:46:23.275010"]]
3914
-  (10.5ms) commit transaction
3915
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
3916
-  (0.1ms) begin transaction
3917
-  (0.1ms) commit transaction
3918
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3919
-  (0.0ms) begin transaction
3920
79
  --------------------------------------------------------------------------------
3921
80
  ApplicationControllerTest: test_current_location_should_return_a_location_object
3922
81
  --------------------------------------------------------------------------------
@@ -3927,45 +86,18 @@ ApplicationControllerTest: test_current_location_should_return_the_location
3927
86
  ---------------------------------------------------------------------------
3928
87
   (0.0ms) rollback transaction
3929
88
   (0.0ms) begin transaction
3930
- ---------------------------------------------------------------------
3931
- SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
3932
- ---------------------------------------------------------------------
3933
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:46:23 -0300
3934
- Processing by Spyme::LocationsController#create as HTML
3935
- Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
3936
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
3937
-  (0.1ms) rollback transaction
3938
-  (0.0ms) begin transaction
3939
- ---------------------------------------------------
3940
- SpymeTest: test_post_to_spyme_should_return_success
3941
- ---------------------------------------------------
3942
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:46:23 -0300
3943
- Processing by Spyme::LocationsController#create as HTML
3944
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3945
- Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
3946
-  (0.0ms) rollback transaction
3947
-  (0.0ms) begin transaction
3948
- -------------------------------------------------
3949
- SpymeTest: test_post_to_spyme_should_store_coords
3950
- -------------------------------------------------
3951
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:46:23 -0300
3952
- Processing by Spyme::LocationsController#create as HTML
3953
- Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
3954
- Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
3955
-  (0.0ms) rollback transaction
3956
-  (0.0ms) begin transaction
3957
89
  ----------------------------------------------------------------
3958
90
  ModelTest: test_location_should_be_invalid_when_empty_attributes
3959
91
  ----------------------------------------------------------------
3960
92
   (0.0ms) rollback transaction
3961
93
   (0.0ms) begin transaction
3962
- ------------------------------------------------------
3963
- ModelTest: test_coords_should_give_the_values_in_array
3964
- ------------------------------------------------------
94
+ ----------------------------------------------------------------------------
95
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
96
+ ----------------------------------------------------------------------------
3965
97
   (0.0ms) rollback transaction
3966
-  (0.0ms) begin transaction
98
+  (0.1ms) begin transaction
3967
99
  --------------------------------------------------------------
3968
- ModelTest: test_location_should_be_valid_at_positive_boundries
100
+ ModelTest: test_location_should_be_valid_at_negative_boundries
3969
101
  --------------------------------------------------------------
3970
102
   (0.0ms) rollback transaction
3971
103
   (0.0ms) begin transaction
@@ -3974,24 +106,14 @@ ModelTest: test_as_a_string_should_give_the_right_query_value
3974
106
  -------------------------------------------------------------
3975
107
   (0.0ms) rollback transaction
3976
108
   (0.0ms) begin transaction
3977
- -----------------------------------------------------------------------------
3978
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
3979
- -----------------------------------------------------------------------------
3980
-  (0.0ms) rollback transaction
3981
-  (0.0ms) begin transaction
3982
109
  -------------------------------------------------------------
3983
110
  ModelTest: test_location_should_be_invalid_when_empty_session
3984
111
  -------------------------------------------------------------
3985
112
   (0.0ms) rollback transaction
3986
113
   (0.0ms) begin transaction
3987
- --------------------------------------------------------
3988
- ModelTest: test_to_hash_should_give_the_right_hash_value
3989
- --------------------------------------------------------
3990
-  (0.0ms) rollback transaction
3991
-  (0.0ms) begin transaction
3992
- --------------------------------------------------------------
3993
- ModelTest: test_location_should_be_valid_at_negative_boundries
3994
- --------------------------------------------------------------
114
+ ------------------------------------------------------
115
+ ModelTest: test_coords_should_give_the_values_in_array
116
+ ------------------------------------------------------
3995
117
   (0.0ms) rollback transaction
3996
118
   (0.0ms) begin transaction
3997
119
  -----------------------------------------------------------------------
@@ -3999,81 +121,25 @@ ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
3999
121
  -----------------------------------------------------------------------
4000
122
   (0.0ms) rollback transaction
4001
123
   (0.0ms) begin transaction
4002
- ----------------------------------------------------------------------------
4003
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
4004
- ----------------------------------------------------------------------------
4005
-  (0.0ms) rollback transaction
4006
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4007
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4008
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4009
-  (0.1ms) SELECT sqlite_version(*)
4010
-  (12.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
4011
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4012
-  (15.6ms) INSERT INTO "schema_migrations" (version) VALUES (0)
4013
-  (11.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4014
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
4015
-  (0.1ms) begin transaction
4016
- ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:46:41.366488"], ["updated_at", "2018-09-18 14:46:41.366488"]]
4017
-  (10.6ms) commit transaction
4018
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
4019
-  (0.1ms) begin transaction
4020
-  (0.1ms) commit transaction
4021
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4022
-  (0.1ms) begin transaction
4023
- ------------------------------------------------------
4024
- ModelTest: test_coords_should_give_the_values_in_array
4025
- ------------------------------------------------------
4026
-  (0.1ms) rollback transaction
4027
-  (0.1ms) begin transaction
4028
- --------------------------------------------------------------
4029
- ModelTest: test_location_should_be_valid_at_negative_boundries
4030
- --------------------------------------------------------------
4031
-  (0.1ms) rollback transaction
4032
-  (0.1ms) begin transaction
4033
- ----------------------------------------------------------------------------
4034
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
4035
- ----------------------------------------------------------------------------
4036
-  (0.1ms) rollback transaction
4037
-  (0.1ms) begin transaction
4038
- -------------------------------------------------------------
4039
- ModelTest: test_as_a_string_should_give_the_right_query_value
4040
- -------------------------------------------------------------
4041
-  (0.1ms) rollback transaction
4042
-  (0.1ms) begin transaction
4043
124
  --------------------------------------------------------
4044
125
  ModelTest: test_to_hash_should_give_the_right_hash_value
4045
126
  --------------------------------------------------------
4046
127
   (0.0ms) rollback transaction
4047
128
   (0.0ms) begin transaction
4048
- -------------------------------------------------------------
4049
- ModelTest: test_location_should_be_invalid_when_empty_session
4050
- -------------------------------------------------------------
4051
-  (0.1ms) rollback transaction
4052
-  (0.1ms) begin transaction
4053
- -----------------------------------------------------------------------------
4054
- ModelTest: test_initialize_from_session_should_give_correct_number_attributes
4055
- -----------------------------------------------------------------------------
4056
-  (0.0ms) rollback transaction
4057
-  (0.0ms) begin transaction
4058
- -----------------------------------------------------------------------
4059
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
4060
- -----------------------------------------------------------------------
4061
-  (0.1ms) rollback transaction
4062
-  (0.0ms) begin transaction
4063
129
  --------------------------------------------------------------
4064
130
  ModelTest: test_location_should_be_valid_at_positive_boundries
4065
131
  --------------------------------------------------------------
4066
-  (0.1ms) rollback transaction
132
+  (0.0ms) rollback transaction
4067
133
   (0.0ms) begin transaction
4068
- ----------------------------------------------------------------
4069
- ModelTest: test_location_should_be_invalid_when_empty_attributes
4070
- ----------------------------------------------------------------
4071
-  (0.1ms) rollback transaction
134
+ -----------------------------------------------------------------------------
135
+ ModelTest: test_initialize_from_session_should_give_correct_number_attributes
136
+ -----------------------------------------------------------------------------
137
+  (0.0ms) rollback transaction
4072
138
   (0.0ms) begin transaction
4073
- -------------------------------------------------
4074
- SpymeTest: test_post_to_spyme_should_store_coords
4075
- -------------------------------------------------
4076
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:46:41 -0300
139
+ ---------------------------------------------------
140
+ SpymeTest: test_post_to_spyme_should_return_success
141
+ ---------------------------------------------------
142
+ Started POST "/spyme/locations" for 127.0.0.1 at 2019-02-23 21:19:37 -0300
4077
143
  Processing by Spyme::LocationsController#create as HTML
4078
144
  Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
4079
145
  Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
@@ -4082,16 +148,16 @@ Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
4082
148
  ---------------------------------------------------------------------
4083
149
  SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
4084
150
  ---------------------------------------------------------------------
4085
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:46:41 -0300
151
+ Started POST "/spyme/locations" for 127.0.0.1 at 2019-02-23 21:19:37 -0300
4086
152
  Processing by Spyme::LocationsController#create as HTML
4087
153
  Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
4088
154
  Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)
4089
155
   (0.0ms) rollback transaction
4090
156
   (0.0ms) begin transaction
4091
- ---------------------------------------------------
4092
- SpymeTest: test_post_to_spyme_should_return_success
4093
- ---------------------------------------------------
4094
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:46:41 -0300
157
+ -------------------------------------------------
158
+ SpymeTest: test_post_to_spyme_should_store_coords
159
+ -------------------------------------------------
160
+ Started POST "/spyme/locations" for 127.0.0.1 at 2019-02-23 21:19:37 -0300
4095
161
  Processing by Spyme::LocationsController#create as HTML
4096
162
  Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
4097
163
  Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
@@ -4106,27 +172,24 @@ ApplicationControllerTest: test_current_location_should_return_the_location
4106
172
  ApplicationControllerTest: test_current_location_should_return_a_location_object
4107
173
  --------------------------------------------------------------------------------
4108
174
   (0.0ms) rollback transaction
175
+  (0.1ms) SELECT sqlite_version(*)
176
+  (7.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
4109
177
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4110
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4111
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4112
-  (0.0ms) SELECT sqlite_version(*)
4113
-  (11.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
4114
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
4115
-  (15.4ms) INSERT INTO "schema_migrations" (version) VALUES (0)
4116
-  (11.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4117
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
4118
-  (0.1ms) begin transaction
4119
- ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:48:14.084530"], ["updated_at", "2018-09-18 14:48:14.084530"]]
4120
-  (10.4ms) commit transaction
178
+  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES (0)
179
+  (5.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4121
180
  ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
4122
181
   (0.0ms) begin transaction
4123
-  (0.0ms) commit transaction
4124
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
182
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-02-24 00:20:11.027690"], ["updated_at", "2019-02-24 00:20:11.027690"]]
183
+  (4.3ms) commit transaction
184
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
4125
185
   (0.0ms) begin transaction
186
+  (0.0ms) commit transaction
187
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
188
+  (0.1ms) begin transaction
4126
189
  --------------------------------------------------------------------------------
4127
190
  ApplicationControllerTest: test_current_location_should_return_a_location_object
4128
191
  --------------------------------------------------------------------------------
4129
-  (0.0ms) rollback transaction
192
+  (0.1ms) rollback transaction
4130
193
   (0.0ms) begin transaction
4131
194
  ---------------------------------------------------------------------------
4132
195
  ApplicationControllerTest: test_current_location_should_return_the_location
@@ -4136,16 +199,16 @@ ApplicationControllerTest: test_current_location_should_return_the_location
4136
199
  ---------------------------------------------------------------------
4137
200
  SpymeTest: test_post_to_spyme_should_not_throw_bad_request_when_empty
4138
201
  ---------------------------------------------------------------------
4139
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:48:14 -0300
202
+ Started POST "/spyme/locations" for 127.0.0.1 at 2019-02-23 21:20:11 -0300
4140
203
  Processing by Spyme::LocationsController#create as HTML
4141
204
  Parameters: {"location"=>{"latitude"=>nil, "longitude"=>nil}}
4142
- Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)
205
+ Completed 400 Bad Request in 5ms (ActiveRecord: 0.0ms)
4143
206
   (0.1ms) rollback transaction
4144
207
   (0.0ms) begin transaction
4145
208
  ---------------------------------------------------
4146
209
  SpymeTest: test_post_to_spyme_should_return_success
4147
210
  ---------------------------------------------------
4148
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:48:14 -0300
211
+ Started POST "/spyme/locations" for 127.0.0.1 at 2019-02-23 21:20:11 -0300
4149
212
  Processing by Spyme::LocationsController#create as HTML
4150
213
  Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
4151
214
  Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
@@ -4154,40 +217,45 @@ Completed 201 Created in 3ms (ActiveRecord: 0.0ms)
4154
217
  -------------------------------------------------
4155
218
  SpymeTest: test_post_to_spyme_should_store_coords
4156
219
  -------------------------------------------------
4157
- Started POST "/spyme/locations" for 127.0.0.1 at 2018-09-18 11:48:14 -0300
220
+ Started POST "/spyme/locations" for 127.0.0.1 at 2019-02-23 21:20:11 -0300
4158
221
  Processing by Spyme::LocationsController#create as HTML
4159
222
  Parameters: {"location"=>{"latitude"=>"64.24145", "longitude"=>"75.35536"}}
4160
223
  Completed 201 Created in 0ms (ActiveRecord: 0.0ms)
4161
224
   (0.0ms) rollback transaction
4162
225
   (0.0ms) begin transaction
4163
- ------------------------------------------------------
4164
- ModelTest: test_coords_should_give_the_values_in_array
4165
- ------------------------------------------------------
226
+ --------------------------------------------------------------
227
+ ModelTest: test_location_should_be_valid_at_negative_boundries
228
+ --------------------------------------------------------------
229
+  (0.0ms) rollback transaction
230
+  (0.0ms) begin transaction
231
+ -------------------------------------------------------------
232
+ ModelTest: test_location_should_be_invalid_when_empty_session
233
+ -------------------------------------------------------------
4166
234
   (0.0ms) rollback transaction
4167
235
   (0.0ms) begin transaction
4168
236
  -----------------------------------------------------------------------------
4169
237
  ModelTest: test_initialize_from_session_should_give_correct_number_attributes
4170
238
  -----------------------------------------------------------------------------
4171
-  (0.0ms) rollback transaction
239
+  (0.1ms) rollback transaction
4172
240
   (0.0ms) begin transaction
4173
- --------------------------------------------------------
4174
- ModelTest: test_to_hash_should_give_the_right_hash_value
4175
- --------------------------------------------------------
241
+ ------------------------------------------------------
242
+ ModelTest: test_coords_should_give_the_values_in_array
243
+ ------------------------------------------------------
4176
244
   (0.0ms) rollback transaction
4177
245
   (0.0ms) begin transaction
4178
- -----------------------------------------------------------------------
4179
- ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
4180
- -----------------------------------------------------------------------
246
+ ----------------------------------------------------------------
247
+ ModelTest: test_location_should_be_invalid_when_empty_attributes
248
+ ----------------------------------------------------------------
4181
249
   (0.0ms) rollback transaction
4182
250
   (0.0ms) begin transaction
4183
- -------------------------------------------------------------
4184
- ModelTest: test_location_should_be_invalid_when_empty_session
4185
- -------------------------------------------------------------
251
+ --------------------------------------------------------------
252
+ ModelTest: test_location_should_be_valid_at_positive_boundries
253
+ --------------------------------------------------------------
4186
254
   (0.0ms) rollback transaction
4187
255
   (0.0ms) begin transaction
4188
- ----------------------------------------------------------------------------
4189
- ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
4190
- ----------------------------------------------------------------------------
256
+ --------------------------------------------------------
257
+ ModelTest: test_to_hash_should_give_the_right_hash_value
258
+ --------------------------------------------------------
4191
259
   (0.0ms) rollback transaction
4192
260
   (0.0ms) begin transaction
4193
261
  -------------------------------------------------------------
@@ -4195,17 +263,12 @@ ModelTest: test_as_a_string_should_give_the_right_query_value
4195
263
  -------------------------------------------------------------
4196
264
   (0.0ms) rollback transaction
4197
265
   (0.0ms) begin transaction
4198
- ----------------------------------------------------------------
4199
- ModelTest: test_location_should_be_invalid_when_empty_attributes
4200
- ----------------------------------------------------------------
4201
-  (0.0ms) rollback transaction
4202
-  (0.0ms) begin transaction
4203
- --------------------------------------------------------------
4204
- ModelTest: test_location_should_be_valid_at_negative_boundries
4205
- --------------------------------------------------------------
266
+ -----------------------------------------------------------------------
267
+ ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
268
+ -----------------------------------------------------------------------
4206
269
   (0.0ms) rollback transaction
4207
270
   (0.0ms) begin transaction
4208
- --------------------------------------------------------------
4209
- ModelTest: test_location_should_be_valid_at_positive_boundries
4210
- --------------------------------------------------------------
271
+ ----------------------------------------------------------------------------
272
+ ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
273
+ ----------------------------------------------------------------------------
4211
274
   (0.0ms) rollback transaction