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 +4 -4
- data/lib/spyme/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +4 -36
- data/test/dummy/log/test.log +90 -4027
- metadata +33 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d25222342d4bca7d4899a1df900bd585b378b9c44323558cebbcb3e174e18e4f
|
4
|
+
data.tar.gz: 3289e3cf656d369b9648f057ba6218933fbd25cf19d5159f3f5915d582009750
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6144edb41e9a96a9999f23d2a1640dd2e14ba47386574f8f88f1d64a9097573634eea326bd91a4a3cc91347422f0a579b027fcbff7270ce17439f4d51b4759cf
|
7
|
+
data.tar.gz: 76edffcd5563ef418152a962a71771aaa11cc730bd076b947f9b8bc8fbac923559b5ddb038d46278342d5ef90e55617447f9664f7804a570caee5555cb6d036f
|
data/lib/spyme/version.rb
CHANGED
Binary file
|
data/test/dummy/db/test.sqlite3
CHANGED
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
|
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
16
|
-
[1m[35m (
|
17
|
-
[1m[35m (
|
18
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
19
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
20
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2018-09-17 19:18:05.401218"], ["updated_at", "2018-09-17 19:18:05.401218"]]
|
21
|
-
[1m[35m (10.7ms)[0m [1m[36mcommit transaction[0m
|
22
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
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
|
+
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3
|
+
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
37
4
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
38
5
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
39
|
-
[1m[
|
6
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2019-02-24 00:20:00.254786"], ["updated_at", "2019-02-24 00:20:00.254786"]]
|
7
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
40
8
|
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
data/test/dummy/log/test.log
CHANGED
@@ -1,3879 +1,64 @@
|
|
1
1
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2
|
-
--------------------------------------------------------------
|
3
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
4
|
-
--------------------------------------------------------------
|
5
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
6
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
7
|
-
-----------------------------------------------------------------------
|
8
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
9
|
-
-----------------------------------------------------------------------
|
10
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
12
|
-
--------------------------------------------------------------
|
13
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
14
|
-
--------------------------------------------------------------
|
15
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
16
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
17
|
-
-------------------------------------------------------------
|
18
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
19
|
-
-------------------------------------------------------------
|
20
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
21
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
22
|
-
-----------------------------------------------------------------------------
|
23
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
24
|
-
-----------------------------------------------------------------------------
|
25
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
26
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
27
|
-
----------------------------------------------------------------
|
28
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
29
|
-
----------------------------------------------------------------
|
30
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
31
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
32
|
-
-------------------------------------------------------------
|
33
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
34
|
-
-------------------------------------------------------------
|
35
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
36
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37
|
-
----------------------------------------------------------------------------
|
38
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
39
|
-
----------------------------------------------------------------------------
|
40
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
41
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
42
|
-
------------------------------------------------------
|
43
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
44
|
-
------------------------------------------------------
|
45
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
46
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
47
|
-
--------------------------------------------------------
|
48
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
49
|
-
--------------------------------------------------------
|
50
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
51
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
52
|
-
---------------------------------------------------
|
53
|
-
SpymeTest: test_post_to_spyme_should_return_success
|
54
|
-
---------------------------------------------------
|
55
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
56
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
57
|
-
-------------------------------------------------
|
58
|
-
SpymeTest: test_post_to_spyme_should_store_coords
|
59
|
-
-------------------------------------------------
|
60
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
61
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
69
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
77
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
78
|
-
---------------------------------------------------
|
79
|
-
SpymeTest: test_post_to_spyme_should_return_success
|
80
|
-
---------------------------------------------------
|
81
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
82
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
83
|
-
-------------------------------------------------
|
84
|
-
SpymeTest: test_post_to_spyme_should_store_coords
|
85
|
-
-------------------------------------------------
|
86
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
87
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
88
|
-
-----------------------------------------------------------------------
|
89
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
90
|
-
-----------------------------------------------------------------------
|
91
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
92
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
93
|
-
----------------------------------------------------------------------------
|
94
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
95
|
-
----------------------------------------------------------------------------
|
96
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
97
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
98
|
-
--------------------------------------------------------------
|
99
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
100
|
-
--------------------------------------------------------------
|
101
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
102
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
103
|
-
------------------------------------------------------
|
104
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
105
|
-
------------------------------------------------------
|
106
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
107
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
108
|
-
-------------------------------------------------------------
|
109
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
110
|
-
-------------------------------------------------------------
|
111
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
112
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
113
|
-
-------------------------------------------------------------
|
114
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
115
|
-
-------------------------------------------------------------
|
116
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
117
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
118
|
-
----------------------------------------------------------------
|
119
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
120
|
-
----------------------------------------------------------------
|
121
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
122
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
123
|
-
--------------------------------------------------------------
|
124
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
125
|
-
--------------------------------------------------------------
|
126
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
127
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
128
|
-
-----------------------------------------------------------------------------
|
129
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
130
|
-
-----------------------------------------------------------------------------
|
131
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
132
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
133
|
-
--------------------------------------------------------
|
134
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
135
|
-
--------------------------------------------------------
|
136
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
137
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
138
|
-
[1m[35m (12.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
139
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
140
|
-
[1m[35m (11.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
141
|
-
[1m[35m (12.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
142
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
143
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
144
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:18:19.999632"], ["updated_at", "2018-09-17 19:18:19.999632"]]
|
145
|
-
[1m[35m (9.5ms)[0m [1m[36mcommit transaction[0m
|
146
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
147
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
148
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
149
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
150
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
151
|
-
---------------------------------------------------
|
152
|
-
SpymeTest: test_post_to_spyme_should_return_success
|
153
|
-
---------------------------------------------------
|
154
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
155
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
156
|
-
-------------------------------------------------
|
157
|
-
SpymeTest: test_post_to_spyme_should_store_coords
|
158
|
-
-------------------------------------------------
|
159
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
160
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
168
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
169
|
-
-----------------------------------------------------------------------
|
170
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
171
|
-
-----------------------------------------------------------------------
|
172
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
173
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
174
|
-
-------------------------------------------------------------
|
175
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
176
|
-
-------------------------------------------------------------
|
177
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
178
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
179
|
-
------------------------------------------------------
|
180
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
181
|
-
------------------------------------------------------
|
182
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
183
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
184
|
-
----------------------------------------------------------------
|
185
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
186
|
-
----------------------------------------------------------------
|
187
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
188
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
189
|
-
--------------------------------------------------------------
|
190
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
191
|
-
--------------------------------------------------------------
|
192
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
193
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
194
|
-
--------------------------------------------------------------
|
195
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
196
|
-
--------------------------------------------------------------
|
197
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
198
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
199
|
-
-----------------------------------------------------------------------------
|
200
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
201
|
-
-----------------------------------------------------------------------------
|
202
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
203
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
204
|
-
----------------------------------------------------------------------------
|
205
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
206
|
-
----------------------------------------------------------------------------
|
207
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
208
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
209
|
-
-------------------------------------------------------------
|
210
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
211
|
-
-------------------------------------------------------------
|
212
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
213
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
214
|
-
--------------------------------------------------------
|
215
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
216
|
-
--------------------------------------------------------
|
217
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
218
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
219
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
220
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
221
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
222
|
-
[1m[35m (12.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
223
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
224
|
-
[1m[35m (16.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
225
|
-
[1m[35m (11.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
226
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
227
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
228
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:20:45.228195"], ["updated_at", "2018-09-17 19:20:45.228195"]]
|
229
|
-
[1m[35m (11.1ms)[0m [1m[36mcommit transaction[0m
|
230
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
231
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
232
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
233
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
234
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
235
|
-
-------------------------------------------------
|
236
|
-
SpymeTest: test_post_to_spyme_should_store_coords
|
237
|
-
-------------------------------------------------
|
238
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
239
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
247
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
248
|
-
---------------------------------------------------
|
249
|
-
SpymeTest: test_post_to_spyme_should_return_success
|
250
|
-
---------------------------------------------------
|
251
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
252
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
253
|
-
----------------------------------------------------------------------------
|
254
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
255
|
-
----------------------------------------------------------------------------
|
256
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
257
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
258
|
-
--------------------------------------------------------------
|
259
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
260
|
-
--------------------------------------------------------------
|
261
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
262
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
263
|
-
-------------------------------------------------------------
|
264
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
265
|
-
-------------------------------------------------------------
|
266
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
267
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
268
|
-
-------------------------------------------------------------
|
269
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
270
|
-
-------------------------------------------------------------
|
271
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
272
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
273
|
-
-----------------------------------------------------------------------
|
274
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
275
|
-
-----------------------------------------------------------------------
|
276
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
277
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
278
|
-
-----------------------------------------------------------------------------
|
279
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
280
|
-
-----------------------------------------------------------------------------
|
281
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
282
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
283
|
-
--------------------------------------------------------------
|
284
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
285
|
-
--------------------------------------------------------------
|
286
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
287
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
288
|
-
--------------------------------------------------------
|
289
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
290
|
-
--------------------------------------------------------
|
291
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
292
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
293
|
-
----------------------------------------------------------------
|
294
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
295
|
-
----------------------------------------------------------------
|
296
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
297
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
298
|
-
------------------------------------------------------
|
299
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
300
|
-
------------------------------------------------------
|
301
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
302
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
303
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
304
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
305
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
306
|
-
[1m[35m (11.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
307
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
308
|
-
[1m[35m (15.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
309
|
-
[1m[35m (11.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
310
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
311
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
312
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:23:11.572179"], ["updated_at", "2018-09-17 19:23:11.572179"]]
|
313
|
-
[1m[35m (9.8ms)[0m [1m[36mcommit transaction[0m
|
314
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
315
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
316
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
317
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
318
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
326
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
327
|
-
---------------------------------------------------
|
328
|
-
SpymeTest: test_post_to_spyme_should_return_success
|
329
|
-
---------------------------------------------------
|
330
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
331
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
332
|
-
-------------------------------------------------
|
333
|
-
SpymeTest: test_post_to_spyme_should_store_coords
|
334
|
-
-------------------------------------------------
|
335
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
336
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
337
|
-
----------------------------------------------------------------------------
|
338
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
339
|
-
----------------------------------------------------------------------------
|
340
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
341
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
342
|
-
--------------------------------------------------------
|
343
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
344
|
-
--------------------------------------------------------
|
345
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
346
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
347
|
-
--------------------------------------------------------------
|
348
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
349
|
-
--------------------------------------------------------------
|
350
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
351
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
352
|
-
-------------------------------------------------------------
|
353
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
354
|
-
-------------------------------------------------------------
|
355
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
356
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
357
|
-
-------------------------------------------------------------
|
358
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
359
|
-
-------------------------------------------------------------
|
360
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
361
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
362
|
-
--------------------------------------------------------------
|
363
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
364
|
-
--------------------------------------------------------------
|
365
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
366
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
367
|
-
-----------------------------------------------------------------------
|
368
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
369
|
-
-----------------------------------------------------------------------
|
370
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
371
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
372
|
-
-----------------------------------------------------------------------------
|
373
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
374
|
-
-----------------------------------------------------------------------------
|
375
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
376
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
377
|
-
------------------------------------------------------
|
378
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
379
|
-
------------------------------------------------------
|
380
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
381
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
382
|
-
----------------------------------------------------------------
|
383
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
384
|
-
----------------------------------------------------------------
|
385
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
386
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
387
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
388
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
389
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
390
|
-
[1m[35m (11.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
391
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
392
|
-
[1m[35m (14.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
393
|
-
[1m[35m (11.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
394
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
395
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
396
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:24:35.756223"], ["updated_at", "2018-09-17 19:24:35.756223"]]
|
397
|
-
[1m[35m (10.5ms)[0m [1m[36mcommit transaction[0m
|
398
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
399
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
400
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
401
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
402
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
403
|
-
----------------------------------------------------------------
|
404
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
405
|
-
----------------------------------------------------------------
|
406
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
407
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
408
|
-
--------------------------------------------------------
|
409
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
410
|
-
--------------------------------------------------------
|
411
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
412
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
413
|
-
--------------------------------------------------------------
|
414
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
415
|
-
--------------------------------------------------------------
|
416
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
417
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
418
|
-
--------------------------------------------------------------
|
419
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
420
|
-
--------------------------------------------------------------
|
421
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
422
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
423
|
-
-------------------------------------------------------------
|
424
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
425
|
-
-------------------------------------------------------------
|
426
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
427
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
428
|
-
------------------------------------------------------
|
429
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
430
|
-
------------------------------------------------------
|
431
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
432
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
433
|
-
-----------------------------------------------------------------------
|
434
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
435
|
-
-----------------------------------------------------------------------
|
436
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
437
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
438
|
-
-----------------------------------------------------------------------------
|
439
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
440
|
-
-----------------------------------------------------------------------------
|
441
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
442
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
443
|
-
----------------------------------------------------------------------------
|
444
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
445
|
-
----------------------------------------------------------------------------
|
446
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
447
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
448
|
-
-------------------------------------------------------------
|
449
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
450
|
-
-------------------------------------------------------------
|
451
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
452
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
460
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
461
|
-
-------------------------------------------------
|
462
|
-
SpymeTest: test_post_to_spyme_should_store_coords
|
463
|
-
-------------------------------------------------
|
464
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
465
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
466
|
-
---------------------------------------------------
|
467
|
-
SpymeTest: test_post_to_spyme_should_return_success
|
468
|
-
---------------------------------------------------
|
469
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
470
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
471
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
472
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
473
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
474
|
-
[1m[35m (11.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
475
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
476
|
-
[1m[35m (15.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
477
|
-
[1m[35m (12.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
478
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
479
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
480
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:24:48.051889"], ["updated_at", "2018-09-17 19:24:48.051889"]]
|
481
|
-
[1m[35m (10.3ms)[0m [1m[36mcommit transaction[0m
|
482
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
483
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
484
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
485
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
486
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
487
|
-
--------------------------------------------------------------
|
488
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
489
|
-
--------------------------------------------------------------
|
490
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
491
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
492
|
-
-------------------------------------------------------------
|
493
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
494
|
-
-------------------------------------------------------------
|
495
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
496
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
497
|
-
--------------------------------------------------------------
|
498
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
499
|
-
--------------------------------------------------------------
|
500
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
501
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
502
|
-
------------------------------------------------------
|
503
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
504
|
-
------------------------------------------------------
|
505
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
506
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
507
|
-
----------------------------------------------------------------
|
508
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
509
|
-
----------------------------------------------------------------
|
510
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
511
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
512
|
-
-----------------------------------------------------------------------------
|
513
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
514
|
-
-----------------------------------------------------------------------------
|
515
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
516
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
517
|
-
----------------------------------------------------------------------------
|
518
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
519
|
-
----------------------------------------------------------------------------
|
520
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
521
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
522
|
-
-----------------------------------------------------------------------
|
523
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
524
|
-
-----------------------------------------------------------------------
|
525
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
526
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
527
|
-
-------------------------------------------------------------
|
528
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
529
|
-
-------------------------------------------------------------
|
530
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
531
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
532
|
-
--------------------------------------------------------
|
533
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
534
|
-
--------------------------------------------------------
|
535
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
536
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
544
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
545
|
-
---------------------------------------------------
|
546
|
-
SpymeTest: test_post_to_spyme_should_return_success
|
547
|
-
---------------------------------------------------
|
548
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
549
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
550
|
-
-------------------------------------------------
|
551
|
-
SpymeTest: test_post_to_spyme_should_store_coords
|
552
|
-
-------------------------------------------------
|
553
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
554
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
555
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
556
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
557
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
558
|
-
[1m[35m (11.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
559
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
560
|
-
[1m[35m (15.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
561
|
-
[1m[35m (10.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
562
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
563
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
564
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:25:42.683839"], ["updated_at", "2018-09-17 19:25:42.683839"]]
|
565
|
-
[1m[35m (11.1ms)[0m [1m[36mcommit transaction[0m
|
566
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
567
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
568
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
569
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
570
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
578
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
579
|
-
---------------------------------------------------
|
580
|
-
SpymeTest: test_post_to_spyme_should_return_success
|
581
|
-
---------------------------------------------------
|
582
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
583
|
-
[1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
|
584
|
-
-------------------------------------------------
|
585
|
-
SpymeTest: test_post_to_spyme_should_store_coords
|
586
|
-
-------------------------------------------------
|
587
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
588
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
589
|
-
--------------------------------------------------------------
|
590
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
591
|
-
--------------------------------------------------------------
|
592
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
593
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
594
|
-
-----------------------------------------------------------------------
|
595
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
596
|
-
-----------------------------------------------------------------------
|
597
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
598
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
599
|
-
--------------------------------------------------------
|
600
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
601
|
-
--------------------------------------------------------
|
602
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
603
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
604
|
-
----------------------------------------------------------------------------
|
605
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
606
|
-
----------------------------------------------------------------------------
|
607
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
608
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
609
|
-
-------------------------------------------------------------
|
610
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
611
|
-
-------------------------------------------------------------
|
612
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
613
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
614
|
-
------------------------------------------------------
|
615
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
616
|
-
------------------------------------------------------
|
617
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
618
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
619
|
-
----------------------------------------------------------------
|
620
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
621
|
-
----------------------------------------------------------------
|
622
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
623
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
624
|
-
-------------------------------------------------------------
|
625
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
626
|
-
-------------------------------------------------------------
|
627
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
628
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
629
|
-
--------------------------------------------------------------
|
630
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
631
|
-
--------------------------------------------------------------
|
632
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
633
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
634
|
-
-----------------------------------------------------------------------------
|
635
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
636
|
-
-----------------------------------------------------------------------------
|
637
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
638
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
639
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
640
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
641
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
642
|
-
[1m[35m (12.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
643
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
644
|
-
[1m[35m (15.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
645
|
-
[1m[35m (11.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
646
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
647
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
648
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:25:53.481586"], ["updated_at", "2018-09-17 19:25:53.481586"]]
|
649
|
-
[1m[35m (9.8ms)[0m [1m[36mcommit transaction[0m
|
650
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
651
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
652
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
653
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
654
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
655
|
-
------------------------------------------------------
|
656
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
657
|
-
------------------------------------------------------
|
658
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
659
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
660
|
-
--------------------------------------------------------
|
661
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
662
|
-
--------------------------------------------------------
|
663
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
664
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
665
|
-
-------------------------------------------------------------
|
666
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
667
|
-
-------------------------------------------------------------
|
668
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
669
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
670
|
-
----------------------------------------------------------------------------
|
671
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
672
|
-
----------------------------------------------------------------------------
|
673
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
674
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
675
|
-
-------------------------------------------------------------
|
676
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
677
|
-
-------------------------------------------------------------
|
678
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
679
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
680
|
-
-----------------------------------------------------------------------------
|
681
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
682
|
-
-----------------------------------------------------------------------------
|
683
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
684
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
685
|
-
-----------------------------------------------------------------------
|
686
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
687
|
-
-----------------------------------------------------------------------
|
688
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
689
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
690
|
-
----------------------------------------------------------------
|
691
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
692
|
-
----------------------------------------------------------------
|
693
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
694
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
695
|
-
--------------------------------------------------------------
|
696
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
697
|
-
--------------------------------------------------------------
|
698
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
699
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
700
|
-
--------------------------------------------------------------
|
701
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
702
|
-
--------------------------------------------------------------
|
703
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
704
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
705
|
-
-------------------------------------------------
|
706
|
-
SpymeTest: test_post_to_spyme_should_store_coords
|
707
|
-
-------------------------------------------------
|
708
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
709
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
717
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
718
|
-
---------------------------------------------------
|
719
|
-
SpymeTest: test_post_to_spyme_should_return_success
|
720
|
-
---------------------------------------------------
|
721
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
722
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
723
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
724
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
725
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
726
|
-
[1m[35m (11.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
727
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
728
|
-
[1m[35m (16.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
729
|
-
[1m[35m (11.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
730
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
731
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
732
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:26:02.599338"], ["updated_at", "2018-09-17 19:26:02.599338"]]
|
733
|
-
[1m[35m (10.2ms)[0m [1m[36mcommit transaction[0m
|
734
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
735
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
736
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
737
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
738
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
739
|
-
-------------------------------------------------------------
|
740
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
741
|
-
-------------------------------------------------------------
|
742
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
743
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
744
|
-
------------------------------------------------------
|
745
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
746
|
-
------------------------------------------------------
|
747
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
748
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
749
|
-
--------------------------------------------------------------
|
750
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
751
|
-
--------------------------------------------------------------
|
752
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
753
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
754
|
-
----------------------------------------------------------------
|
755
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
756
|
-
----------------------------------------------------------------
|
757
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
758
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
759
|
-
--------------------------------------------------------
|
760
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
761
|
-
--------------------------------------------------------
|
762
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
763
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
764
|
-
-----------------------------------------------------------------------------
|
765
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
766
|
-
-----------------------------------------------------------------------------
|
767
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
768
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
769
|
-
----------------------------------------------------------------------------
|
770
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
771
|
-
----------------------------------------------------------------------------
|
772
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
773
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
774
|
-
--------------------------------------------------------------
|
775
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
776
|
-
--------------------------------------------------------------
|
777
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
778
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
779
|
-
-----------------------------------------------------------------------
|
780
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
781
|
-
-----------------------------------------------------------------------
|
782
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
783
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
784
|
-
-------------------------------------------------------------
|
785
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
786
|
-
-------------------------------------------------------------
|
787
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
788
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
796
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
804
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
805
|
-
-------------------------------------------------
|
806
|
-
SpymeTest: test_post_to_spyme_should_store_coords
|
807
|
-
-------------------------------------------------
|
808
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
809
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
810
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
811
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
812
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
813
|
-
[1m[35m (11.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
814
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
815
|
-
[1m[35m (16.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
816
|
-
[1m[35m (11.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
817
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
818
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
819
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:26:42.362148"], ["updated_at", "2018-09-17 19:26:42.362148"]]
|
820
|
-
[1m[35m (10.0ms)[0m [1m[36mcommit transaction[0m
|
821
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
822
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
823
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
824
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
825
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
826
|
-
-----------------------------------------------------------------------------
|
827
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
828
|
-
-----------------------------------------------------------------------------
|
829
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
830
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
831
|
-
-----------------------------------------------------------------------
|
832
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
833
|
-
-----------------------------------------------------------------------
|
834
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
835
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
836
|
-
----------------------------------------------------------------
|
837
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
838
|
-
----------------------------------------------------------------
|
839
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
840
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
841
|
-
--------------------------------------------------------------
|
842
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
843
|
-
--------------------------------------------------------------
|
844
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
845
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
846
|
-
--------------------------------------------------------
|
847
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
848
|
-
--------------------------------------------------------
|
849
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
850
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
851
|
-
------------------------------------------------------
|
852
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
853
|
-
------------------------------------------------------
|
854
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
855
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
856
|
-
-------------------------------------------------------------
|
857
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
858
|
-
-------------------------------------------------------------
|
859
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
860
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
861
|
-
----------------------------------------------------------------------------
|
862
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
863
|
-
----------------------------------------------------------------------------
|
864
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
865
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
866
|
-
--------------------------------------------------------------
|
867
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
868
|
-
--------------------------------------------------------------
|
869
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
870
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
871
|
-
-------------------------------------------------------------
|
872
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
873
|
-
-------------------------------------------------------------
|
874
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
875
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
883
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
884
|
-
-------------------------------------------------
|
885
|
-
SpymeTest: test_post_to_spyme_should_store_coords
|
886
|
-
-------------------------------------------------
|
887
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
888
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
889
|
-
---------------------------------------------------
|
890
|
-
SpymeTest: test_post_to_spyme_should_return_success
|
891
|
-
---------------------------------------------------
|
892
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
893
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
894
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
895
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
896
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
897
|
-
[1m[35m (11.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
898
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
899
|
-
[1m[35m (16.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
900
|
-
[1m[35m (10.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
901
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
902
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
903
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:27:21.091999"], ["updated_at", "2018-09-17 19:27:21.091999"]]
|
904
|
-
[1m[35m (10.4ms)[0m [1m[36mcommit transaction[0m
|
905
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
906
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
907
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
908
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
909
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
910
|
-
---------------------------------------------------
|
911
|
-
SpymeTest: test_post_to_spyme_should_return_success
|
912
|
-
---------------------------------------------------
|
913
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
914
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
915
|
-
-------------------------------------------------
|
916
|
-
SpymeTest: test_post_to_spyme_should_store_coords
|
917
|
-
-------------------------------------------------
|
918
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
919
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
920
|
-
--------------------------------------------------------------
|
921
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
922
|
-
--------------------------------------------------------------
|
923
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
924
|
-
[1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
|
925
|
-
-------------------------------------------------------------
|
926
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
927
|
-
-------------------------------------------------------------
|
928
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
929
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
930
|
-
----------------------------------------------------------------
|
931
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
932
|
-
----------------------------------------------------------------
|
933
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
934
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
935
|
-
-------------------------------------------------------------
|
936
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
937
|
-
-------------------------------------------------------------
|
938
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
939
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
940
|
-
-----------------------------------------------------------------------
|
941
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
942
|
-
-----------------------------------------------------------------------
|
943
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
944
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
945
|
-
----------------------------------------------------------------------------
|
946
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
947
|
-
----------------------------------------------------------------------------
|
948
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
949
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
950
|
-
--------------------------------------------------------
|
951
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
952
|
-
--------------------------------------------------------
|
953
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
954
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
955
|
-
--------------------------------------------------------------
|
956
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
957
|
-
--------------------------------------------------------------
|
958
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
959
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
960
|
-
------------------------------------------------------
|
961
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
962
|
-
------------------------------------------------------
|
963
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
964
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
965
|
-
-----------------------------------------------------------------------------
|
966
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
967
|
-
-----------------------------------------------------------------------------
|
968
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
969
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
970
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
971
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
972
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
973
|
-
[1m[35m (11.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
974
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
975
|
-
[1m[35m (16.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
976
|
-
[1m[35m (11.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
977
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
978
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
979
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:27:57.894995"], ["updated_at", "2018-09-17 19:27:57.894995"]]
|
980
|
-
[1m[35m (10.2ms)[0m [1m[36mcommit transaction[0m
|
981
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
982
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
983
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
984
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
985
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
986
|
-
------------------------------------------------------
|
987
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
988
|
-
------------------------------------------------------
|
989
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
990
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
991
|
-
--------------------------------------------------------------
|
992
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
993
|
-
--------------------------------------------------------------
|
994
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
995
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
996
|
-
----------------------------------------------------------------
|
997
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
998
|
-
----------------------------------------------------------------
|
999
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1000
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1001
|
-
----------------------------------------------------------------------------
|
1002
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
1003
|
-
----------------------------------------------------------------------------
|
1004
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1005
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1006
|
-
--------------------------------------------------------------
|
1007
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
1008
|
-
--------------------------------------------------------------
|
1009
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1010
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1011
|
-
-------------------------------------------------------------
|
1012
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
1013
|
-
-------------------------------------------------------------
|
1014
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1015
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1016
|
-
-----------------------------------------------------------------------------
|
1017
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
1018
|
-
-----------------------------------------------------------------------------
|
1019
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1020
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1021
|
-
--------------------------------------------------------
|
1022
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
1023
|
-
--------------------------------------------------------
|
1024
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1025
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1026
|
-
-------------------------------------------------------------
|
1027
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
1028
|
-
-------------------------------------------------------------
|
1029
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1030
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1031
|
-
-----------------------------------------------------------------------
|
1032
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
1033
|
-
-----------------------------------------------------------------------
|
1034
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1035
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1043
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1052
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1061
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1062
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1063
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1064
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1065
|
-
[1m[35m (11.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1066
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1067
|
-
[1m[35m (15.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1068
|
-
[1m[35m (12.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1069
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1070
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1071
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:28:36.178038"], ["updated_at", "2018-09-17 19:28:36.178038"]]
|
1072
|
-
[1m[35m (10.1ms)[0m [1m[36mcommit transaction[0m
|
1073
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1074
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1075
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1076
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1077
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1086
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1094
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1103
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1104
|
-
-----------------------------------------------------------------------
|
1105
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
1106
|
-
-----------------------------------------------------------------------
|
1107
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1108
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1109
|
-
-------------------------------------------------------------
|
1110
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
1111
|
-
-------------------------------------------------------------
|
1112
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1113
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1114
|
-
-------------------------------------------------------------
|
1115
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
1116
|
-
-------------------------------------------------------------
|
1117
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1118
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1119
|
-
-----------------------------------------------------------------------------
|
1120
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
1121
|
-
-----------------------------------------------------------------------------
|
1122
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1123
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1124
|
-
------------------------------------------------------
|
1125
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
1126
|
-
------------------------------------------------------
|
1127
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1128
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1129
|
-
--------------------------------------------------------------
|
1130
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
1131
|
-
--------------------------------------------------------------
|
1132
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1133
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1134
|
-
--------------------------------------------------------
|
1135
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
1136
|
-
--------------------------------------------------------
|
1137
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1138
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1139
|
-
----------------------------------------------------------------
|
1140
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
1141
|
-
----------------------------------------------------------------
|
1142
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1143
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1144
|
-
----------------------------------------------------------------------------
|
1145
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
1146
|
-
----------------------------------------------------------------------------
|
1147
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1148
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1149
|
-
--------------------------------------------------------------
|
1150
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
1151
|
-
--------------------------------------------------------------
|
1152
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1153
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1154
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1155
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1156
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1157
|
-
[1m[35m (12.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1158
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1159
|
-
[1m[35m (15.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1160
|
-
[1m[35m (11.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1161
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1162
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1163
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:28:52.057480"], ["updated_at", "2018-09-17 19:28:52.057480"]]
|
1164
|
-
[1m[35m (10.4ms)[0m [1m[36mcommit transaction[0m
|
1165
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1166
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1167
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1168
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1169
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1170
|
-
----------------------------------------------------------------------------
|
1171
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
1172
|
-
----------------------------------------------------------------------------
|
1173
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1174
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1175
|
-
----------------------------------------------------------------
|
1176
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
1177
|
-
----------------------------------------------------------------
|
1178
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1179
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1180
|
-
------------------------------------------------------
|
1181
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
1182
|
-
------------------------------------------------------
|
1183
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1184
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1185
|
-
--------------------------------------------------------------
|
1186
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
1187
|
-
--------------------------------------------------------------
|
1188
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1189
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1190
|
-
-------------------------------------------------------------
|
1191
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
1192
|
-
-------------------------------------------------------------
|
1193
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1194
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1195
|
-
-----------------------------------------------------------------------
|
1196
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
1197
|
-
-----------------------------------------------------------------------
|
1198
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1199
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1200
|
-
--------------------------------------------------------------
|
1201
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
1202
|
-
--------------------------------------------------------------
|
1203
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1204
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1205
|
-
--------------------------------------------------------
|
1206
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
1207
|
-
--------------------------------------------------------
|
1208
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1209
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1210
|
-
-----------------------------------------------------------------------------
|
1211
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
1212
|
-
-----------------------------------------------------------------------------
|
1213
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1214
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1215
|
-
-------------------------------------------------------------
|
1216
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
1217
|
-
-------------------------------------------------------------
|
1218
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1219
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1227
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1236
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1245
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1246
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1247
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1248
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1249
|
-
[1m[35m (11.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1250
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1251
|
-
[1m[35m (13.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1252
|
-
[1m[35m (11.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1253
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1254
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1255
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:29:08.620060"], ["updated_at", "2018-09-17 19:29:08.620060"]]
|
1256
|
-
[1m[35m (10.3ms)[0m [1m[36mcommit transaction[0m
|
1257
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1258
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1259
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1260
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1261
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1270
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1278
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1287
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1288
|
-
--------------------------------------------------------------
|
1289
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
1290
|
-
--------------------------------------------------------------
|
1291
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1292
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1293
|
-
-------------------------------------------------------------
|
1294
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
1295
|
-
-------------------------------------------------------------
|
1296
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1297
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1298
|
-
--------------------------------------------------------------
|
1299
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
1300
|
-
--------------------------------------------------------------
|
1301
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1302
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1303
|
-
-----------------------------------------------------------------------------
|
1304
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
1305
|
-
-----------------------------------------------------------------------------
|
1306
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1307
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1308
|
-
-------------------------------------------------------------
|
1309
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
1310
|
-
-------------------------------------------------------------
|
1311
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1312
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1313
|
-
------------------------------------------------------
|
1314
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
1315
|
-
------------------------------------------------------
|
1316
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1317
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1318
|
-
----------------------------------------------------------------
|
1319
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
1320
|
-
----------------------------------------------------------------
|
1321
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1322
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1323
|
-
--------------------------------------------------------
|
1324
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
1325
|
-
--------------------------------------------------------
|
1326
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1327
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1328
|
-
-----------------------------------------------------------------------
|
1329
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
1330
|
-
-----------------------------------------------------------------------
|
1331
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1332
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1333
|
-
----------------------------------------------------------------------------
|
1334
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
1335
|
-
----------------------------------------------------------------------------
|
1336
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1337
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1338
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1339
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1340
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1341
|
-
[1m[35m (11.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1342
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1343
|
-
[1m[35m (16.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1344
|
-
[1m[35m (12.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1345
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1346
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1347
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:29:50.261812"], ["updated_at", "2018-09-17 19:29:50.261812"]]
|
1348
|
-
[1m[35m (10.6ms)[0m [1m[36mcommit transaction[0m
|
1349
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1350
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1351
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1352
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1353
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1354
|
-
-------------------------------------------------------------
|
1355
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
1356
|
-
-------------------------------------------------------------
|
1357
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1358
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1359
|
-
------------------------------------------------------
|
1360
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
1361
|
-
------------------------------------------------------
|
1362
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1363
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1364
|
-
-------------------------------------------------------------
|
1365
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
1366
|
-
-------------------------------------------------------------
|
1367
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1368
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1369
|
-
--------------------------------------------------------------
|
1370
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
1371
|
-
--------------------------------------------------------------
|
1372
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1373
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1374
|
-
-----------------------------------------------------------------------
|
1375
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
1376
|
-
-----------------------------------------------------------------------
|
1377
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1378
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1379
|
-
----------------------------------------------------------------
|
1380
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
1381
|
-
----------------------------------------------------------------
|
1382
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1383
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1384
|
-
--------------------------------------------------------
|
1385
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
1386
|
-
--------------------------------------------------------
|
1387
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1388
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1389
|
-
----------------------------------------------------------------------------
|
1390
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
1391
|
-
----------------------------------------------------------------------------
|
1392
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1393
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1394
|
-
--------------------------------------------------------------
|
1395
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
1396
|
-
--------------------------------------------------------------
|
1397
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1398
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1399
|
-
-----------------------------------------------------------------------------
|
1400
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
1401
|
-
-----------------------------------------------------------------------------
|
1402
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1403
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1411
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1420
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1429
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1430
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1431
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1432
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1433
|
-
[1m[35m (11.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1434
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1435
|
-
[1m[35m (15.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1436
|
-
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1437
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1438
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1439
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:30:06.012103"], ["updated_at", "2018-09-17 19:30:06.012103"]]
|
1440
|
-
[1m[35m (10.9ms)[0m [1m[36mcommit transaction[0m
|
1441
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1442
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1443
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1444
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1445
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1446
|
-
-------------------------------------------------------------
|
1447
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
1448
|
-
-------------------------------------------------------------
|
1449
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1450
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1451
|
-
----------------------------------------------------------------
|
1452
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
1453
|
-
----------------------------------------------------------------
|
1454
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1455
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1456
|
-
-------------------------------------------------------------
|
1457
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
1458
|
-
-------------------------------------------------------------
|
1459
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1460
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1461
|
-
------------------------------------------------------
|
1462
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
1463
|
-
------------------------------------------------------
|
1464
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1465
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1466
|
-
-----------------------------------------------------------------------
|
1467
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
1468
|
-
-----------------------------------------------------------------------
|
1469
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1470
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1471
|
-
--------------------------------------------------------------
|
1472
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
1473
|
-
--------------------------------------------------------------
|
1474
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1475
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1476
|
-
--------------------------------------------------------
|
1477
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
1478
|
-
--------------------------------------------------------
|
1479
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1480
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1481
|
-
--------------------------------------------------------------
|
1482
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
1483
|
-
--------------------------------------------------------------
|
1484
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1485
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1486
|
-
-----------------------------------------------------------------------------
|
1487
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
1488
|
-
-----------------------------------------------------------------------------
|
1489
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1490
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1491
|
-
----------------------------------------------------------------------------
|
1492
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
1493
|
-
----------------------------------------------------------------------------
|
1494
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1495
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1504
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1513
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1521
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1522
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1523
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1524
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1525
|
-
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1526
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1527
|
-
[1m[35m (13.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1528
|
-
[1m[35m (12.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1529
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1530
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1531
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:31:20.788597"], ["updated_at", "2018-09-17 19:31:20.788597"]]
|
1532
|
-
[1m[35m (10.7ms)[0m [1m[36mcommit transaction[0m
|
1533
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1534
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1535
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1536
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1537
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1538
|
-
----------------------------------------------------------------
|
1539
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
1540
|
-
----------------------------------------------------------------
|
1541
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1542
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1543
|
-
--------------------------------------------------------------
|
1544
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
1545
|
-
--------------------------------------------------------------
|
1546
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1547
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1548
|
-
-------------------------------------------------------------
|
1549
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
1550
|
-
-------------------------------------------------------------
|
1551
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1552
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1553
|
-
-------------------------------------------------------------
|
1554
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
1555
|
-
-------------------------------------------------------------
|
1556
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1557
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1558
|
-
------------------------------------------------------
|
1559
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
1560
|
-
------------------------------------------------------
|
1561
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1562
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1563
|
-
-----------------------------------------------------------------------------
|
1564
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
1565
|
-
-----------------------------------------------------------------------------
|
1566
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1567
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1568
|
-
--------------------------------------------------------------
|
1569
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
1570
|
-
--------------------------------------------------------------
|
1571
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1572
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1573
|
-
----------------------------------------------------------------------------
|
1574
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
1575
|
-
----------------------------------------------------------------------------
|
1576
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1577
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1578
|
-
-----------------------------------------------------------------------
|
1579
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
1580
|
-
-----------------------------------------------------------------------
|
1581
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1582
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1583
|
-
--------------------------------------------------------
|
1584
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
1585
|
-
--------------------------------------------------------
|
1586
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1587
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1595
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1605
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1615
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1616
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1617
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1618
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1619
|
-
[1m[35m (11.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1620
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1621
|
-
[1m[35m (15.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1622
|
-
[1m[35m (12.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1623
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1624
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1625
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:32:01.191702"], ["updated_at", "2018-09-17 19:32:01.191702"]]
|
1626
|
-
[1m[35m (10.8ms)[0m [1m[36mcommit transaction[0m
|
1627
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1628
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1629
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1630
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1631
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
1639
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1649
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1659
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1660
|
-
-------------------------------------------------------------
|
1661
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
1662
|
-
-------------------------------------------------------------
|
1663
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1664
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1665
|
-
-------------------------------------------------------------
|
1666
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
1667
|
-
-------------------------------------------------------------
|
1668
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1669
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1670
|
-
-----------------------------------------------------------------------
|
1671
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
1672
|
-
-----------------------------------------------------------------------
|
1673
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1674
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1675
|
-
----------------------------------------------------------------
|
1676
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
1677
|
-
----------------------------------------------------------------
|
1678
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1679
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1680
|
-
------------------------------------------------------
|
1681
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
1682
|
-
------------------------------------------------------
|
1683
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1684
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1685
|
-
----------------------------------------------------------------------------
|
1686
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
1687
|
-
----------------------------------------------------------------------------
|
1688
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1689
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1690
|
-
--------------------------------------------------------
|
1691
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
1692
|
-
--------------------------------------------------------
|
1693
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1694
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1695
|
-
--------------------------------------------------------------
|
1696
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
1697
|
-
--------------------------------------------------------------
|
1698
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1699
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1700
|
-
--------------------------------------------------------------
|
1701
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
1702
|
-
--------------------------------------------------------------
|
1703
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1704
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1705
|
-
-----------------------------------------------------------------------------
|
1706
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
1707
|
-
-----------------------------------------------------------------------------
|
1708
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1709
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1710
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1711
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1712
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1713
|
-
[1m[35m (12.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1714
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1715
|
-
[1m[35m (16.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1716
|
-
[1m[35m (10.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1717
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1718
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1719
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:32:17.862550"], ["updated_at", "2018-09-17 19:32:17.862550"]]
|
1720
|
-
[1m[35m (10.7ms)[0m [1m[36mcommit transaction[0m
|
1721
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1722
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1723
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1724
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1725
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1737
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1745
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1757
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1758
|
-
-----------------------------------------------------------------------
|
1759
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
1760
|
-
-----------------------------------------------------------------------
|
1761
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1762
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1763
|
-
----------------------------------------------------------------------------
|
1764
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
1765
|
-
----------------------------------------------------------------------------
|
1766
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1767
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1768
|
-
--------------------------------------------------------------
|
1769
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
1770
|
-
--------------------------------------------------------------
|
1771
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1772
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1773
|
-
-------------------------------------------------------------
|
1774
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
1775
|
-
-------------------------------------------------------------
|
1776
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1777
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1778
|
-
------------------------------------------------------
|
1779
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
1780
|
-
------------------------------------------------------
|
1781
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1782
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1783
|
-
--------------------------------------------------------
|
1784
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
1785
|
-
--------------------------------------------------------
|
1786
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1787
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1788
|
-
-----------------------------------------------------------------------------
|
1789
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
1790
|
-
-----------------------------------------------------------------------------
|
1791
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1792
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1793
|
-
----------------------------------------------------------------
|
1794
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
1795
|
-
----------------------------------------------------------------
|
1796
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1797
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1798
|
-
-------------------------------------------------------------
|
1799
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
1800
|
-
-------------------------------------------------------------
|
1801
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1802
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1803
|
-
--------------------------------------------------------------
|
1804
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
1805
|
-
--------------------------------------------------------------
|
1806
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1807
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1808
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1809
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1810
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1811
|
-
[1m[35m (10.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1812
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1813
|
-
[1m[35m (16.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1814
|
-
[1m[35m (11.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1815
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1816
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1817
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:33:33.874537"], ["updated_at", "2018-09-17 19:33:33.874537"]]
|
1818
|
-
[1m[35m (10.1ms)[0m [1m[36mcommit transaction[0m
|
1819
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1820
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1821
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1822
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1823
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1831
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1840
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1849
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1850
|
-
------------------------------------------------------
|
1851
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
1852
|
-
------------------------------------------------------
|
1853
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1854
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1855
|
-
----------------------------------------------------------------
|
1856
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
1857
|
-
----------------------------------------------------------------
|
1858
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1859
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1860
|
-
-----------------------------------------------------------------------
|
1861
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
1862
|
-
-----------------------------------------------------------------------
|
1863
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1864
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1865
|
-
----------------------------------------------------------------------------
|
1866
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
1867
|
-
----------------------------------------------------------------------------
|
1868
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1869
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1870
|
-
--------------------------------------------------------------
|
1871
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
1872
|
-
--------------------------------------------------------------
|
1873
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1874
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1875
|
-
-------------------------------------------------------------
|
1876
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
1877
|
-
-------------------------------------------------------------
|
1878
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1879
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1880
|
-
-----------------------------------------------------------------------------
|
1881
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
1882
|
-
-----------------------------------------------------------------------------
|
1883
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1884
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1885
|
-
--------------------------------------------------------------
|
1886
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
1887
|
-
--------------------------------------------------------------
|
1888
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1889
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1890
|
-
--------------------------------------------------------
|
1891
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
1892
|
-
--------------------------------------------------------
|
1893
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1894
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1895
|
-
-------------------------------------------------------------
|
1896
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
1897
|
-
-------------------------------------------------------------
|
1898
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1899
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1900
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1901
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1902
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1903
|
-
[1m[35m (12.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1904
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1905
|
-
[1m[35m (15.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1906
|
-
[1m[35m (11.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1907
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1908
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1909
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:33:54.055743"], ["updated_at", "2018-09-17 19:33:54.055743"]]
|
1910
|
-
[1m[35m (11.1ms)[0m [1m[36mcommit transaction[0m
|
1911
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1912
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1913
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1914
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1915
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1916
|
-
--------------------------------------------------------------
|
1917
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
1918
|
-
--------------------------------------------------------------
|
1919
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1920
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1921
|
-
--------------------------------------------------------
|
1922
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
1923
|
-
--------------------------------------------------------
|
1924
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1925
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1926
|
-
----------------------------------------------------------------------------
|
1927
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
1928
|
-
----------------------------------------------------------------------------
|
1929
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1930
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1931
|
-
-------------------------------------------------------------
|
1932
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
1933
|
-
-------------------------------------------------------------
|
1934
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1935
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1936
|
-
--------------------------------------------------------------
|
1937
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
1938
|
-
--------------------------------------------------------------
|
1939
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1940
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1941
|
-
------------------------------------------------------
|
1942
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
1943
|
-
------------------------------------------------------
|
1944
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1945
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1946
|
-
----------------------------------------------------------------
|
1947
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
1948
|
-
----------------------------------------------------------------
|
1949
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1950
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1951
|
-
-------------------------------------------------------------
|
1952
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
1953
|
-
-------------------------------------------------------------
|
1954
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1955
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1956
|
-
-----------------------------------------------------------------------------
|
1957
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
1958
|
-
-----------------------------------------------------------------------------
|
1959
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1960
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1961
|
-
-----------------------------------------------------------------------
|
1962
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
1963
|
-
-----------------------------------------------------------------------
|
1964
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1965
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1974
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1982
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1991
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1992
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1993
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1994
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1995
|
-
[1m[35m (12.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1996
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1997
|
-
[1m[35m (15.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1998
|
-
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1999
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2000
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2001
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:34:32.763017"], ["updated_at", "2018-09-17 19:34:32.763017"]]
|
2002
|
-
[1m[35m (10.3ms)[0m [1m[36mcommit transaction[0m
|
2003
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2004
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2005
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2006
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2007
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2008
|
-
--------------------------------------------------------
|
2009
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
2010
|
-
--------------------------------------------------------
|
2011
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2012
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2013
|
-
-----------------------------------------------------------------------------
|
2014
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
2015
|
-
-----------------------------------------------------------------------------
|
2016
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2017
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2018
|
-
-----------------------------------------------------------------------
|
2019
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
2020
|
-
-----------------------------------------------------------------------
|
2021
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2022
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2023
|
-
----------------------------------------------------------------
|
2024
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
2025
|
-
----------------------------------------------------------------
|
2026
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2027
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2028
|
-
----------------------------------------------------------------------------
|
2029
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
2030
|
-
----------------------------------------------------------------------------
|
2031
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2032
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2033
|
-
------------------------------------------------------
|
2034
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
2035
|
-
------------------------------------------------------
|
2036
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2037
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2038
|
-
-------------------------------------------------------------
|
2039
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
2040
|
-
-------------------------------------------------------------
|
2041
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2042
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2043
|
-
-------------------------------------------------------------
|
2044
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
2045
|
-
-------------------------------------------------------------
|
2046
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2047
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2048
|
-
--------------------------------------------------------------
|
2049
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
2050
|
-
--------------------------------------------------------------
|
2051
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2052
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2053
|
-
--------------------------------------------------------------
|
2054
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
2055
|
-
--------------------------------------------------------------
|
2056
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2057
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2065
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2074
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2083
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2084
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2085
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2086
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2087
|
-
[1m[35m (11.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2088
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2089
|
-
[1m[35m (15.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2090
|
-
[1m[35m (10.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2091
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2092
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2093
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:36:22.010384"], ["updated_at", "2018-09-17 19:36:22.010384"]]
|
2094
|
-
[1m[35m (11.6ms)[0m [1m[36mcommit transaction[0m
|
2095
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2096
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2097
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2098
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2099
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2107
|
-
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2116
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2125
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2126
|
-
----------------------------------------------------------------------------
|
2127
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
2128
|
-
----------------------------------------------------------------------------
|
2129
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2130
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2131
|
-
-----------------------------------------------------------------------
|
2132
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
2133
|
-
-----------------------------------------------------------------------
|
2134
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2135
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2136
|
-
--------------------------------------------------------
|
2137
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
2138
|
-
--------------------------------------------------------
|
2139
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2140
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2141
|
-
-----------------------------------------------------------------------------
|
2142
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
2143
|
-
-----------------------------------------------------------------------------
|
2144
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2145
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2146
|
-
----------------------------------------------------------------
|
2147
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
2148
|
-
----------------------------------------------------------------
|
2149
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2150
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2151
|
-
--------------------------------------------------------------
|
2152
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
2153
|
-
--------------------------------------------------------------
|
2154
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2155
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2156
|
-
-------------------------------------------------------------
|
2157
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
2158
|
-
-------------------------------------------------------------
|
2159
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2160
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2161
|
-
-------------------------------------------------------------
|
2162
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
2163
|
-
-------------------------------------------------------------
|
2164
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2165
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2166
|
-
--------------------------------------------------------------
|
2167
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
2168
|
-
--------------------------------------------------------------
|
2169
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2170
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2171
|
-
------------------------------------------------------
|
2172
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
2173
|
-
------------------------------------------------------
|
2174
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2175
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2176
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2177
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2178
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2179
|
-
[1m[35m (12.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2180
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2181
|
-
[1m[35m (15.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2182
|
-
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2183
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2184
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2185
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:37:03.425337"], ["updated_at", "2018-09-17 19:37:03.425337"]]
|
2186
|
-
[1m[35m (10.7ms)[0m [1m[36mcommit transaction[0m
|
2187
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2188
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2189
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2190
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2191
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2192
|
-
-----------------------------------------------------------------------------
|
2193
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
2194
|
-
-----------------------------------------------------------------------------
|
2195
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2196
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2197
|
-
----------------------------------------------------------------------------
|
2198
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
2199
|
-
----------------------------------------------------------------------------
|
2200
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2201
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2202
|
-
-------------------------------------------------------------
|
2203
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
2204
|
-
-------------------------------------------------------------
|
2205
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2206
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2207
|
-
--------------------------------------------------------------
|
2208
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
2209
|
-
--------------------------------------------------------------
|
2210
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2211
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2212
|
-
-----------------------------------------------------------------------
|
2213
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
2214
|
-
-----------------------------------------------------------------------
|
2215
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2216
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2217
|
-
----------------------------------------------------------------
|
2218
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
2219
|
-
----------------------------------------------------------------
|
2220
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2221
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2222
|
-
--------------------------------------------------------
|
2223
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
2224
|
-
--------------------------------------------------------
|
2225
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2226
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2227
|
-
------------------------------------------------------
|
2228
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
2229
|
-
------------------------------------------------------
|
2230
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2231
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2232
|
-
-------------------------------------------------------------
|
2233
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
2234
|
-
-------------------------------------------------------------
|
2235
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2236
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2237
|
-
--------------------------------------------------------------
|
2238
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
2239
|
-
--------------------------------------------------------------
|
2240
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2241
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2250
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2259
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2267
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2268
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2269
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2270
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2271
|
-
[1m[35m (11.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2272
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2273
|
-
[1m[35m (17.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2274
|
-
[1m[35m (12.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2275
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2276
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
2277
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:37:21.630298"], ["updated_at", "2018-09-17 19:37:21.630298"]]
|
2278
|
-
[1m[35m (10.6ms)[0m [1m[36mcommit transaction[0m
|
2279
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2280
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2281
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2282
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2283
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
2291
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2300
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2309
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2310
|
-
-------------------------------------------------------------
|
2311
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
2312
|
-
-------------------------------------------------------------
|
2313
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2314
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2315
|
-
------------------------------------------------------
|
2316
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
2317
|
-
------------------------------------------------------
|
2318
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2319
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2320
|
-
----------------------------------------------------------------
|
2321
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
2322
|
-
----------------------------------------------------------------
|
2323
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2324
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2325
|
-
--------------------------------------------------------------
|
2326
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
2327
|
-
--------------------------------------------------------------
|
2328
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2329
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2330
|
-
--------------------------------------------------------------
|
2331
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
2332
|
-
--------------------------------------------------------------
|
2333
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2334
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2335
|
-
----------------------------------------------------------------------------
|
2336
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
2337
|
-
----------------------------------------------------------------------------
|
2338
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2339
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2340
|
-
--------------------------------------------------------
|
2341
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
2342
|
-
--------------------------------------------------------
|
2343
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2344
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2345
|
-
-----------------------------------------------------------------------
|
2346
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
2347
|
-
-----------------------------------------------------------------------
|
2348
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2349
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2350
|
-
-----------------------------------------------------------------------------
|
2351
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
2352
|
-
-----------------------------------------------------------------------------
|
2353
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2354
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2355
|
-
-------------------------------------------------------------
|
2356
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
2357
|
-
-------------------------------------------------------------
|
2358
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2359
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2360
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2361
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2362
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2363
|
-
[1m[35m (12.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2364
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2365
|
-
[1m[35m (16.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2366
|
-
[1m[35m (11.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2367
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2368
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2369
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:37:38.092049"], ["updated_at", "2018-09-17 19:37:38.092049"]]
|
2370
|
-
[1m[35m (10.9ms)[0m [1m[36mcommit transaction[0m
|
2371
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2372
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2373
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2374
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2375
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2384
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2393
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2401
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2402
|
-
----------------------------------------------------------------
|
2403
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
2404
|
-
----------------------------------------------------------------
|
2405
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2406
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2407
|
-
-------------------------------------------------------------
|
2408
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
2409
|
-
-------------------------------------------------------------
|
2410
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2411
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2412
|
-
------------------------------------------------------
|
2413
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
2414
|
-
------------------------------------------------------
|
2415
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2416
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2417
|
-
-----------------------------------------------------------------------------
|
2418
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
2419
|
-
-----------------------------------------------------------------------------
|
2420
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2421
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2422
|
-
----------------------------------------------------------------------------
|
2423
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
2424
|
-
----------------------------------------------------------------------------
|
2425
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2426
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2427
|
-
--------------------------------------------------------
|
2428
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
2429
|
-
--------------------------------------------------------
|
2430
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2431
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2432
|
-
-------------------------------------------------------------
|
2433
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
2434
|
-
-------------------------------------------------------------
|
2435
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2436
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2437
|
-
-----------------------------------------------------------------------
|
2438
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
2439
|
-
-----------------------------------------------------------------------
|
2440
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2441
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2442
|
-
--------------------------------------------------------------
|
2443
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
2444
|
-
--------------------------------------------------------------
|
2445
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2446
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2447
|
-
--------------------------------------------------------------
|
2448
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
2449
|
-
--------------------------------------------------------------
|
2450
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2451
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2452
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2453
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2454
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2455
|
-
[1m[35m (11.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2456
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2457
|
-
[1m[35m (15.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2458
|
-
[1m[35m (12.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2459
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2460
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2461
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:38:30.336013"], ["updated_at", "2018-09-17 19:38:30.336013"]]
|
2462
|
-
[1m[35m (10.7ms)[0m [1m[36mcommit transaction[0m
|
2463
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2464
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2465
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2466
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2467
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2468
|
-
-----------------------------------------------------------------------
|
2469
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
2470
|
-
-----------------------------------------------------------------------
|
2471
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2472
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2473
|
-
--------------------------------------------------------------
|
2474
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
2475
|
-
--------------------------------------------------------------
|
2476
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2477
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2478
|
-
------------------------------------------------------
|
2479
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
2480
|
-
------------------------------------------------------
|
2481
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2482
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2483
|
-
--------------------------------------------------------------
|
2484
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
2485
|
-
--------------------------------------------------------------
|
2486
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2487
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2488
|
-
-----------------------------------------------------------------------------
|
2489
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
2490
|
-
-----------------------------------------------------------------------------
|
2491
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2492
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2493
|
-
--------------------------------------------------------
|
2494
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
2495
|
-
--------------------------------------------------------
|
2496
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2497
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2498
|
-
-------------------------------------------------------------
|
2499
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
2500
|
-
-------------------------------------------------------------
|
2501
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2502
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2503
|
-
-------------------------------------------------------------
|
2504
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
2505
|
-
-------------------------------------------------------------
|
2506
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2507
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2508
|
-
----------------------------------------------------------------------------
|
2509
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
2510
|
-
----------------------------------------------------------------------------
|
2511
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2512
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2513
|
-
----------------------------------------------------------------
|
2514
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
2515
|
-
----------------------------------------------------------------
|
2516
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2517
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2526
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2535
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2544
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2545
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2546
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2547
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2548
|
-
[1m[35m (12.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2549
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2550
|
-
[1m[35m (15.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2551
|
-
[1m[35m (11.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2552
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2553
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2554
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:39:27.132207"], ["updated_at", "2018-09-17 19:39:27.132207"]]
|
2555
|
-
[1m[35m (10.4ms)[0m [1m[36mcommit transaction[0m
|
2556
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2557
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2558
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2559
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2560
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2569
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2578
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2587
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2588
|
-
-----------------------------------------------------------------------------
|
2589
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
2590
|
-
-----------------------------------------------------------------------------
|
2591
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2592
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2593
|
-
--------------------------------------------------------------
|
2594
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
2595
|
-
--------------------------------------------------------------
|
2596
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2597
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2598
|
-
----------------------------------------------------------------------------
|
2599
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
2600
|
-
----------------------------------------------------------------------------
|
2601
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2602
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2603
|
-
--------------------------------------------------------------
|
2604
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
2605
|
-
--------------------------------------------------------------
|
2606
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2607
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2608
|
-
-------------------------------------------------------------
|
2609
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
2610
|
-
-------------------------------------------------------------
|
2611
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2612
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2613
|
-
-------------------------------------------------------------
|
2614
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
2615
|
-
-------------------------------------------------------------
|
2616
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2617
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2618
|
-
--------------------------------------------------------
|
2619
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
2620
|
-
--------------------------------------------------------
|
2621
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2622
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2623
|
-
------------------------------------------------------
|
2624
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
2625
|
-
------------------------------------------------------
|
2626
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2627
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2628
|
-
-----------------------------------------------------------------------
|
2629
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
2630
|
-
-----------------------------------------------------------------------
|
2631
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2632
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2633
|
-
----------------------------------------------------------------
|
2634
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
2635
|
-
----------------------------------------------------------------
|
2636
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2637
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2638
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2639
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2640
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2641
|
-
[1m[35m (16.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2642
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2643
|
-
[1m[35m (15.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2644
|
-
[1m[35m (10.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2645
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2646
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2647
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:40:10.876855"], ["updated_at", "2018-09-17 19:40:10.876855"]]
|
2648
|
-
[1m[35m (10.1ms)[0m [1m[36mcommit transaction[0m
|
2649
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2650
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2651
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2652
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2653
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2654
|
-
--------------------------------------------------------------
|
2655
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
2656
|
-
--------------------------------------------------------------
|
2657
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2658
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2659
|
-
------------------------------------------------------
|
2660
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
2661
|
-
------------------------------------------------------
|
2662
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2663
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2664
|
-
-----------------------------------------------------------------------
|
2665
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
2666
|
-
-----------------------------------------------------------------------
|
2667
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2668
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2669
|
-
--------------------------------------------------------------
|
2670
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
2671
|
-
--------------------------------------------------------------
|
2672
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2673
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2674
|
-
----------------------------------------------------------------------------
|
2675
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
2676
|
-
----------------------------------------------------------------------------
|
2677
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2678
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2679
|
-
--------------------------------------------------------
|
2680
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
2681
|
-
--------------------------------------------------------
|
2682
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2683
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2684
|
-
----------------------------------------------------------------
|
2685
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
2686
|
-
----------------------------------------------------------------
|
2687
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2688
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2689
|
-
-------------------------------------------------------------
|
2690
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
2691
|
-
-------------------------------------------------------------
|
2692
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2693
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2694
|
-
-------------------------------------------------------------
|
2695
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
2696
|
-
-------------------------------------------------------------
|
2697
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2698
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2699
|
-
-----------------------------------------------------------------------------
|
2700
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
2701
|
-
-----------------------------------------------------------------------------
|
2702
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2703
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2712
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2721
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2730
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2731
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2732
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2733
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2734
|
-
[1m[35m (10.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2735
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2736
|
-
[1m[35m (15.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2737
|
-
[1m[35m (11.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2738
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2739
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2740
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 19:53:38.894445"], ["updated_at", "2018-09-17 19:53:38.894445"]]
|
2741
|
-
[1m[35m (9.7ms)[0m [1m[36mcommit transaction[0m
|
2742
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2743
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2744
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2745
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2746
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2747
|
-
------------------------------------------------------
|
2748
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
2749
|
-
------------------------------------------------------
|
2750
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2751
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2752
|
-
-------------------------------------------------------------
|
2753
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
2754
|
-
-------------------------------------------------------------
|
2755
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2756
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2757
|
-
--------------------------------------------------------
|
2758
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
2759
|
-
--------------------------------------------------------
|
2760
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2761
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2762
|
-
--------------------------------------------------------------
|
2763
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
2764
|
-
--------------------------------------------------------------
|
2765
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2766
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2767
|
-
-----------------------------------------------------------------------------
|
2768
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
2769
|
-
-----------------------------------------------------------------------------
|
2770
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2771
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2772
|
-
-------------------------------------------------------------
|
2773
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
2774
|
-
-------------------------------------------------------------
|
2775
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2776
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2777
|
-
-----------------------------------------------------------------------
|
2778
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
2779
|
-
-----------------------------------------------------------------------
|
2780
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2781
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2782
|
-
----------------------------------------------------------------
|
2783
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
2784
|
-
----------------------------------------------------------------
|
2785
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2786
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2787
|
-
----------------------------------------------------------------------------
|
2788
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
2789
|
-
----------------------------------------------------------------------------
|
2790
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2791
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2792
|
-
--------------------------------------------------------------
|
2793
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
2794
|
-
--------------------------------------------------------------
|
2795
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2796
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2804
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2805
|
-
---------------------------------------------------
|
2806
|
-
SpymeTest: test_post_to_spyme_should_return_success
|
2807
|
-
---------------------------------------------------
|
2808
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2809
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2810
|
-
-------------------------------------------------
|
2811
|
-
SpymeTest: test_post_to_spyme_should_store_coords
|
2812
|
-
-------------------------------------------------
|
2813
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2814
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2815
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2816
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2817
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2818
|
-
[1m[35m (12.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2819
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2820
|
-
[1m[35m (16.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2821
|
-
[1m[35m (12.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2822
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2823
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2824
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 20:01:14.181380"], ["updated_at", "2018-09-17 20:01:14.181380"]]
|
2825
|
-
[1m[35m (10.6ms)[0m [1m[36mcommit transaction[0m
|
2826
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2827
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2828
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2829
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2830
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2839
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2848
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2857
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2858
|
-
-----------------------------------------------------------------------
|
2859
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
2860
|
-
-----------------------------------------------------------------------
|
2861
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2862
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2863
|
-
--------------------------------------------------------
|
2864
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
2865
|
-
--------------------------------------------------------
|
2866
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2867
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2868
|
-
-----------------------------------------------------------------------------
|
2869
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
2870
|
-
-----------------------------------------------------------------------------
|
2871
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2872
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2873
|
-
------------------------------------------------------
|
2874
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
2875
|
-
------------------------------------------------------
|
2876
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2877
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2878
|
-
--------------------------------------------------------------
|
2879
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
2880
|
-
--------------------------------------------------------------
|
2881
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2882
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2883
|
-
--------------------------------------------------------------
|
2884
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
2885
|
-
--------------------------------------------------------------
|
2886
|
-
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
2887
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2888
|
-
-------------------------------------------------------------
|
2889
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
2890
|
-
-------------------------------------------------------------
|
2891
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2892
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2893
|
-
----------------------------------------------------------------
|
2894
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
2895
|
-
----------------------------------------------------------------
|
2896
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2897
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2898
|
-
-------------------------------------------------------------
|
2899
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
2900
|
-
-------------------------------------------------------------
|
2901
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2902
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2903
|
-
----------------------------------------------------------------------------
|
2904
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
2905
|
-
----------------------------------------------------------------------------
|
2906
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2907
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2908
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2909
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2910
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2911
|
-
[1m[35m (12.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2912
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2913
|
-
[1m[35m (16.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2914
|
-
[1m[35m (11.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2915
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2916
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2917
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 20:01:21.731543"], ["updated_at", "2018-09-17 20:01:21.731543"]]
|
2918
|
-
[1m[35m (11.2ms)[0m [1m[36mcommit transaction[0m
|
2919
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2920
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2921
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2922
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2923
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2932
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2941
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2950
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2951
|
-
--------------------------------------------------------
|
2952
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
2953
|
-
--------------------------------------------------------
|
2954
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2955
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2956
|
-
-----------------------------------------------------------------------------
|
2957
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
2958
|
-
-----------------------------------------------------------------------------
|
2959
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2960
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2961
|
-
------------------------------------------------------
|
2962
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
2963
|
-
------------------------------------------------------
|
2964
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2965
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2966
|
-
----------------------------------------------------------------
|
2967
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
2968
|
-
----------------------------------------------------------------
|
2969
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2970
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2971
|
-
-------------------------------------------------------------
|
2972
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
2973
|
-
-------------------------------------------------------------
|
2974
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2975
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2976
|
-
-----------------------------------------------------------------------
|
2977
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
2978
|
-
-----------------------------------------------------------------------
|
2979
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2980
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2981
|
-
----------------------------------------------------------------------------
|
2982
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
2983
|
-
----------------------------------------------------------------------------
|
2984
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2985
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2986
|
-
-------------------------------------------------------------
|
2987
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
2988
|
-
-------------------------------------------------------------
|
2989
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2990
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2991
|
-
--------------------------------------------------------------
|
2992
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
2993
|
-
--------------------------------------------------------------
|
2994
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2995
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2996
|
-
--------------------------------------------------------------
|
2997
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
2998
|
-
--------------------------------------------------------------
|
2999
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3000
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3001
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3002
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3003
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3004
|
-
[1m[35m (12.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3005
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3006
|
-
[1m[35m (15.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
3007
|
-
[1m[35m (10.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3008
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3009
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3010
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-17 20:03:37.715342"], ["updated_at", "2018-09-17 20:03:37.715342"]]
|
3011
|
-
[1m[35m (11.9ms)[0m [1m[36mcommit transaction[0m
|
3012
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3013
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3014
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3015
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3016
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3025
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3034
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3043
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3044
|
-
-------------------------------------------------------------
|
3045
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
3046
|
-
-------------------------------------------------------------
|
3047
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3048
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3049
|
-
----------------------------------------------------------------------------
|
3050
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
3051
|
-
----------------------------------------------------------------------------
|
3052
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3053
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3054
|
-
----------------------------------------------------------------
|
3055
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
3056
|
-
----------------------------------------------------------------
|
3057
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3058
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3059
|
-
--------------------------------------------------------------
|
3060
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
3061
|
-
--------------------------------------------------------------
|
3062
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3063
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3064
|
-
------------------------------------------------------
|
3065
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
3066
|
-
------------------------------------------------------
|
3067
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3068
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3069
|
-
-----------------------------------------------------------------------
|
3070
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
3071
|
-
-----------------------------------------------------------------------
|
3072
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3073
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3074
|
-
--------------------------------------------------------------
|
3075
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
3076
|
-
--------------------------------------------------------------
|
3077
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3078
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3079
|
-
-----------------------------------------------------------------------------
|
3080
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
3081
|
-
-----------------------------------------------------------------------------
|
3082
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3083
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3084
|
-
-------------------------------------------------------------
|
3085
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
3086
|
-
-------------------------------------------------------------
|
3087
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3088
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3089
|
-
--------------------------------------------------------
|
3090
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
3091
|
-
--------------------------------------------------------
|
3092
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3093
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3094
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3095
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3096
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3097
|
-
[1m[35m (12.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3098
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3099
|
-
[1m[35m (16.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
3100
|
-
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3101
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3102
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3103
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:32:10.150160"], ["updated_at", "2018-09-18 14:32:10.150160"]]
|
3104
|
-
[1m[35m (10.1ms)[0m [1m[36mcommit transaction[0m
|
3105
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3106
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3107
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
3108
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3109
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3110
|
-
----------------------------------------------------------------
|
3111
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
3112
|
-
----------------------------------------------------------------
|
3113
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3114
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3115
|
-
----------------------------------------------------------------------------
|
3116
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
3117
|
-
----------------------------------------------------------------------------
|
3118
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3119
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3120
|
-
-------------------------------------------------------------
|
3121
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
3122
|
-
-------------------------------------------------------------
|
3123
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3124
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3125
|
-
-----------------------------------------------------------------------------
|
3126
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
3127
|
-
-----------------------------------------------------------------------------
|
3128
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3129
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3130
|
-
-----------------------------------------------------------------------
|
3131
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
3132
|
-
-----------------------------------------------------------------------
|
3133
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3134
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3135
|
-
--------------------------------------------------------------
|
3136
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
3137
|
-
--------------------------------------------------------------
|
3138
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3139
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3140
|
-
--------------------------------------------------------
|
3141
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
3142
|
-
--------------------------------------------------------
|
3143
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3144
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3145
|
-
------------------------------------------------------
|
3146
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
3147
|
-
------------------------------------------------------
|
3148
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3149
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3150
|
-
-------------------------------------------------------------
|
3151
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
3152
|
-
-------------------------------------------------------------
|
3153
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3154
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3155
|
-
--------------------------------------------------------------
|
3156
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
3157
|
-
--------------------------------------------------------------
|
3158
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3159
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3168
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3177
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3186
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3187
|
-
-----------------------------------------------------------------------
|
3188
|
-
ApplicationHelperTest: test_current_location_should_return_the_location
|
3189
|
-
-----------------------------------------------------------------------
|
3190
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3191
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3192
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3193
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3194
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3195
|
-
[1m[35m (11.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3196
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3197
|
-
[1m[35m (15.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
3198
|
-
[1m[35m (10.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3199
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3200
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3201
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:32:30.716955"], ["updated_at", "2018-09-18 14:32:30.716955"]]
|
3202
|
-
[1m[35m (12.2ms)[0m [1m[36mcommit transaction[0m
|
3203
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3204
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3205
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3206
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3207
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3208
|
-
-------------------------------------------------------------
|
3209
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
3210
|
-
-------------------------------------------------------------
|
3211
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3212
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3213
|
-
------------------------------------------------------
|
3214
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
3215
|
-
------------------------------------------------------
|
3216
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3217
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3218
|
-
-------------------------------------------------------------
|
3219
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
3220
|
-
-------------------------------------------------------------
|
3221
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3222
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3223
|
-
----------------------------------------------------------------------------
|
3224
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
3225
|
-
----------------------------------------------------------------------------
|
3226
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3227
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3228
|
-
--------------------------------------------------------------
|
3229
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
3230
|
-
--------------------------------------------------------------
|
3231
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3232
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3233
|
-
--------------------------------------------------------------
|
3234
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
3235
|
-
--------------------------------------------------------------
|
3236
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3237
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3238
|
-
--------------------------------------------------------
|
3239
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
3240
|
-
--------------------------------------------------------
|
3241
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3242
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3243
|
-
-----------------------------------------------------------------------------
|
3244
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
3245
|
-
-----------------------------------------------------------------------------
|
3246
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3247
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3248
|
-
-----------------------------------------------------------------------
|
3249
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
3250
|
-
-----------------------------------------------------------------------
|
3251
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3252
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3253
|
-
----------------------------------------------------------------
|
3254
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
3255
|
-
----------------------------------------------------------------
|
3256
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3257
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3258
|
-
-----------------------------------------------------------------------
|
3259
|
-
ApplicationHelperTest: test_current_location_should_return_the_location
|
3260
|
-
-----------------------------------------------------------------------
|
3261
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3262
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3271
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3280
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3289
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3290
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3291
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3292
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3293
|
-
[1m[35m (12.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3294
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3295
|
-
[1m[35m (15.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
3296
|
-
[1m[35m (12.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3297
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3298
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3299
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:42:17.695818"], ["updated_at", "2018-09-18 14:42:17.695818"]]
|
3300
|
-
[1m[35m (10.7ms)[0m [1m[36mcommit transaction[0m
|
3301
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3302
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3303
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
3304
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3305
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3314
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3323
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3332
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3333
|
-
------------------------------------------------------
|
3334
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
3335
|
-
------------------------------------------------------
|
3336
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3337
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3338
|
-
-------------------------------------------------------------
|
3339
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
3340
|
-
-------------------------------------------------------------
|
3341
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3342
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3343
|
-
--------------------------------------------------------
|
3344
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
3345
|
-
--------------------------------------------------------
|
3346
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3347
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3348
|
-
----------------------------------------------------------------
|
3349
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
3350
|
-
----------------------------------------------------------------
|
3351
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3352
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3353
|
-
-----------------------------------------------------------------------
|
3354
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
3355
|
-
-----------------------------------------------------------------------
|
3356
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3357
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3358
|
-
----------------------------------------------------------------------------
|
3359
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
3360
|
-
----------------------------------------------------------------------------
|
3361
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3362
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3363
|
-
-------------------------------------------------------------
|
3364
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
3365
|
-
-------------------------------------------------------------
|
3366
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3367
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3368
|
-
--------------------------------------------------------------
|
3369
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
3370
|
-
--------------------------------------------------------------
|
3371
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3372
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3373
|
-
-----------------------------------------------------------------------------
|
3374
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
3375
|
-
-----------------------------------------------------------------------------
|
3376
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3377
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3378
|
-
--------------------------------------------------------------
|
3379
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
3380
|
-
--------------------------------------------------------------
|
3381
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3382
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3383
|
-
---------------------------------------------------------------------------
|
3384
|
-
ApplicationControllerTest: test_current_location_should_return_the_location
|
3385
|
-
---------------------------------------------------------------------------
|
3386
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3387
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3388
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3389
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3390
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3391
|
-
[1m[35m (11.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3392
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3393
|
-
[1m[35m (16.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
3394
|
-
[1m[35m (11.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3395
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3396
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3397
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:42:54.741417"], ["updated_at", "2018-09-18 14:42:54.741417"]]
|
3398
|
-
[1m[35m (10.1ms)[0m [1m[36mcommit transaction[0m
|
3399
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3400
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3401
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3402
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3403
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3404
|
-
----------------------------------------------------------------
|
3405
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
3406
|
-
----------------------------------------------------------------
|
3407
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3408
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3409
|
-
-----------------------------------------------------------------------------
|
3410
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
3411
|
-
-----------------------------------------------------------------------------
|
3412
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3413
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3414
|
-
----------------------------------------------------------------------------
|
3415
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
3416
|
-
----------------------------------------------------------------------------
|
3417
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3418
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3419
|
-
-------------------------------------------------------------
|
3420
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
3421
|
-
-------------------------------------------------------------
|
3422
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3423
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3424
|
-
--------------------------------------------------------------
|
3425
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
3426
|
-
--------------------------------------------------------------
|
3427
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3428
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3429
|
-
-----------------------------------------------------------------------
|
3430
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
3431
|
-
-----------------------------------------------------------------------
|
3432
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3433
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3434
|
-
--------------------------------------------------------------
|
3435
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
3436
|
-
--------------------------------------------------------------
|
3437
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3438
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3439
|
-
--------------------------------------------------------
|
3440
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
3441
|
-
--------------------------------------------------------
|
3442
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3443
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3444
|
-
------------------------------------------------------
|
3445
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
3446
|
-
------------------------------------------------------
|
3447
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3448
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3449
|
-
-------------------------------------------------------------
|
3450
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
3451
|
-
-------------------------------------------------------------
|
3452
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3453
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3454
|
-
---------------------------------------------------------------------------
|
3455
|
-
ApplicationControllerTest: test_current_location_should_return_the_location
|
3456
|
-
---------------------------------------------------------------------------
|
3457
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3458
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3467
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3476
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3485
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3486
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3487
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3488
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3489
|
-
[1m[35m (11.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3490
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3491
|
-
[1m[35m (15.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
3492
|
-
[1m[35m (11.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3493
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3494
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3495
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:43:12.989155"], ["updated_at", "2018-09-18 14:43:12.989155"]]
|
3496
|
-
[1m[35m (10.5ms)[0m [1m[36mcommit transaction[0m
|
3497
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3498
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3499
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
3500
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3501
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3510
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3519
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3528
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3529
|
-
---------------------------------------------------------------------------
|
3530
|
-
ApplicationControllerTest: test_current_location_should_return_the_location
|
3531
|
-
---------------------------------------------------------------------------
|
3532
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3533
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3534
|
-
----------------------------------------------------------------------------
|
3535
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
3536
|
-
----------------------------------------------------------------------------
|
3537
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3538
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3539
|
-
--------------------------------------------------------------
|
3540
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
3541
|
-
--------------------------------------------------------------
|
3542
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3543
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3544
|
-
------------------------------------------------------
|
3545
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
3546
|
-
------------------------------------------------------
|
3547
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3548
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3549
|
-
----------------------------------------------------------------
|
3550
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
3551
|
-
----------------------------------------------------------------
|
3552
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3553
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3554
|
-
--------------------------------------------------------------
|
3555
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
3556
|
-
--------------------------------------------------------------
|
3557
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3558
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3559
|
-
-------------------------------------------------------------
|
3560
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
3561
|
-
-------------------------------------------------------------
|
3562
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3563
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3564
|
-
-----------------------------------------------------------------------------
|
3565
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
3566
|
-
-----------------------------------------------------------------------------
|
3567
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3568
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3569
|
-
-------------------------------------------------------------
|
3570
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
3571
|
-
-------------------------------------------------------------
|
3572
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3573
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3574
|
-
--------------------------------------------------------
|
3575
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
3576
|
-
--------------------------------------------------------
|
3577
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3578
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3579
|
-
-----------------------------------------------------------------------
|
3580
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
3581
|
-
-----------------------------------------------------------------------
|
3582
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3583
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3584
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3585
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3586
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3587
|
-
[1m[35m (11.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3588
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3589
|
-
[1m[35m (15.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
3590
|
-
[1m[35m (12.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3591
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3592
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3593
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:43:57.965360"], ["updated_at", "2018-09-18 14:43:57.965360"]]
|
3594
|
-
[1m[35m (10.4ms)[0m [1m[36mcommit transaction[0m
|
3595
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3596
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3597
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
3598
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3599
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3608
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3617
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3626
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3627
|
-
---------------------------------------------------------------------------
|
3628
|
-
ApplicationControllerTest: test_current_location_should_return_the_location
|
3629
|
-
---------------------------------------------------------------------------
|
3630
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3631
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3632
|
-
----------------------------------------------------------------
|
3633
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
3634
|
-
----------------------------------------------------------------
|
3635
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3636
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3637
|
-
-------------------------------------------------------------
|
3638
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
3639
|
-
-------------------------------------------------------------
|
3640
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3641
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3642
|
-
-------------------------------------------------------------
|
3643
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
3644
|
-
-------------------------------------------------------------
|
3645
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3646
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3647
|
-
--------------------------------------------------------
|
3648
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
3649
|
-
--------------------------------------------------------
|
3650
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3651
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3652
|
-
-----------------------------------------------------------------------
|
3653
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
3654
|
-
-----------------------------------------------------------------------
|
3655
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3656
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3657
|
-
----------------------------------------------------------------------------
|
3658
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
3659
|
-
----------------------------------------------------------------------------
|
3660
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3661
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3662
|
-
--------------------------------------------------------------
|
3663
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
3664
|
-
--------------------------------------------------------------
|
3665
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3666
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3667
|
-
--------------------------------------------------------------
|
3668
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
3669
|
-
--------------------------------------------------------------
|
3670
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3671
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3672
|
-
------------------------------------------------------
|
3673
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
3674
|
-
------------------------------------------------------
|
3675
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3676
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3677
|
-
-----------------------------------------------------------------------------
|
3678
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
3679
|
-
-----------------------------------------------------------------------------
|
3680
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3681
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3682
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3683
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3684
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3685
|
-
[1m[35m (12.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3686
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3687
|
-
[1m[35m (15.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
3688
|
-
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3689
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3690
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3691
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:44:27.826481"], ["updated_at", "2018-09-18 14:44:27.826481"]]
|
3692
|
-
[1m[35m (10.5ms)[0m [1m[36mcommit transaction[0m
|
3693
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3694
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3695
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3696
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3697
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3698
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3699
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3700
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3701
|
-
[1m[35m (33.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3702
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3703
|
-
[1m[35m (24.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
3704
|
-
[1m[35m (12.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3705
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3706
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3707
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:44:47.347770"], ["updated_at", "2018-09-18 14:44:47.347770"]]
|
3708
|
-
[1m[35m (10.9ms)[0m [1m[36mcommit transaction[0m
|
3709
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3710
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3711
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
3712
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3713
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3714
|
-
--------------------------------------------------------------------------------
|
3715
|
-
ApplicationControllerTest: test_current_location_should_return_a_location_object
|
3716
|
-
--------------------------------------------------------------------------------
|
3717
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3718
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3719
|
-
---------------------------------------------------------------------------
|
3720
|
-
ApplicationControllerTest: test_current_location_should_return_the_location
|
3721
|
-
---------------------------------------------------------------------------
|
3722
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3723
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3724
|
-
-----------------------------------------------------------------------
|
3725
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
3726
|
-
-----------------------------------------------------------------------
|
3727
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3728
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3729
|
-
--------------------------------------------------------------
|
3730
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
3731
|
-
--------------------------------------------------------------
|
3732
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3733
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3734
|
-
----------------------------------------------------------------
|
3735
|
-
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
3736
|
-
----------------------------------------------------------------
|
3737
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3738
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3739
|
-
----------------------------------------------------------------------------
|
3740
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
3741
|
-
----------------------------------------------------------------------------
|
3742
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3743
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3744
|
-
--------------------------------------------------------
|
3745
|
-
ModelTest: test_to_hash_should_give_the_right_hash_value
|
3746
|
-
--------------------------------------------------------
|
3747
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3748
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3749
|
-
-------------------------------------------------------------
|
3750
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
3751
|
-
-------------------------------------------------------------
|
3752
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3753
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3754
|
-
--------------------------------------------------------------
|
3755
|
-
ModelTest: test_location_should_be_valid_at_positive_boundries
|
3756
|
-
--------------------------------------------------------------
|
3757
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3758
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3759
|
-
-----------------------------------------------------------------------------
|
3760
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
3761
|
-
-----------------------------------------------------------------------------
|
3762
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3763
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3764
|
-
------------------------------------------------------
|
3765
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
3766
|
-
------------------------------------------------------
|
3767
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3768
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3769
|
-
-------------------------------------------------------------
|
3770
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
3771
|
-
-------------------------------------------------------------
|
3772
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3773
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3782
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3791
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3800
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3801
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3802
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3803
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3804
|
-
[1m[35m (11.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3805
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3806
|
-
[1m[35m (15.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
3807
|
-
[1m[35m (12.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3808
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3809
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3810
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:45:57.567154"], ["updated_at", "2018-09-18 14:45:57.567154"]]
|
3811
|
-
[1m[35m (10.9ms)[0m [1m[36mcommit transaction[0m
|
3812
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3813
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3814
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
3815
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3816
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
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
|
8
|
+
Completed 400 Bad Request in 5ms (ActiveRecord: 0.0ms)
|
3824
9
|
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3825
10
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3826
|
-
|
3827
|
-
SpymeTest:
|
3828
|
-
|
3829
|
-
Started POST "/spyme/locations" for 127.0.0.1 at
|
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
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3834
19
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3835
|
-
|
3836
|
-
SpymeTest:
|
3837
|
-
|
3838
|
-
Started POST "/spyme/locations" for 127.0.0.1 at
|
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
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3843
28
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3844
|
-
----------------------------------------------------------------------------
|
3845
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
3846
|
-
----------------------------------------------------------------------------
|
3847
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3848
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3849
29
|
-----------------------------------------------------------------------------
|
3850
30
|
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
3851
31
|
-----------------------------------------------------------------------------
|
3852
32
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3853
33
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3854
|
-
-------------------------------------------------------------
|
3855
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
3856
|
-
-------------------------------------------------------------
|
3857
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3858
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3859
34
|
-----------------------------------------------------------------------
|
3860
35
|
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
3861
36
|
-----------------------------------------------------------------------
|
3862
37
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3863
38
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
39
|
+
----------------------------------------------------------------------------
|
40
|
+
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
41
|
+
----------------------------------------------------------------------------
|
42
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
43
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3864
44
|
--------------------------------------------------------------
|
3865
45
|
ModelTest: test_location_should_be_valid_at_negative_boundries
|
3866
46
|
--------------------------------------------------------------
|
3867
47
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3868
48
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
49
|
+
-------------------------------------------------------------
|
50
|
+
ModelTest: test_as_a_string_should_give_the_right_query_value
|
51
|
+
-------------------------------------------------------------
|
52
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
53
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3869
54
|
----------------------------------------------------------------
|
3870
55
|
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
3871
56
|
----------------------------------------------------------------
|
3872
57
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3873
58
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3874
|
-
|
3875
|
-
ModelTest:
|
3876
|
-
|
59
|
+
--------------------------------------------------------------
|
60
|
+
ModelTest: test_location_should_be_valid_at_positive_boundries
|
61
|
+
--------------------------------------------------------------
|
3877
62
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3878
63
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3879
64
|
------------------------------------------------------
|
@@ -3881,9 +66,9 @@ ModelTest: test_coords_should_give_the_values_in_array
|
|
3881
66
|
------------------------------------------------------
|
3882
67
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3883
68
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3884
|
-
|
3885
|
-
ModelTest:
|
3886
|
-
|
69
|
+
--------------------------------------------------------
|
70
|
+
ModelTest: test_to_hash_should_give_the_right_hash_value
|
71
|
+
--------------------------------------------------------
|
3887
72
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3888
73
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3889
74
|
-------------------------------------------------------------
|
@@ -3891,32 +76,6 @@ ModelTest: test_location_should_be_invalid_when_empty_session
|
|
3891
76
|
-------------------------------------------------------------
|
3892
77
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3893
78
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3894
|
-
---------------------------------------------------------------------------
|
3895
|
-
ApplicationControllerTest: test_current_location_should_return_the_location
|
3896
|
-
---------------------------------------------------------------------------
|
3897
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3898
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3899
|
-
--------------------------------------------------------------------------------
|
3900
|
-
ApplicationControllerTest: test_current_location_should_return_a_location_object
|
3901
|
-
--------------------------------------------------------------------------------
|
3902
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3903
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3904
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3905
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3906
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3907
|
-
[1m[35m (12.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3908
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3909
|
-
[1m[35m (16.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
3910
|
-
[1m[35m (12.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3911
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3912
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3913
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:46:23.275010"], ["updated_at", "2018-09-18 14:46:23.275010"]]
|
3914
|
-
[1m[35m (10.5ms)[0m [1m[36mcommit transaction[0m
|
3915
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
3916
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3917
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
3918
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3919
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3929
88
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3938
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3947
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3956
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3957
89
|
----------------------------------------------------------------
|
3958
90
|
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
3959
91
|
----------------------------------------------------------------
|
3960
92
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3961
93
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3962
|
-
|
3963
|
-
ModelTest:
|
3964
|
-
|
94
|
+
----------------------------------------------------------------------------
|
95
|
+
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
96
|
+
----------------------------------------------------------------------------
|
3965
97
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3966
|
-
[1m[35m (0.
|
98
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3967
99
|
--------------------------------------------------------------
|
3968
|
-
ModelTest:
|
100
|
+
ModelTest: test_location_should_be_valid_at_negative_boundries
|
3969
101
|
--------------------------------------------------------------
|
3970
102
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3971
103
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
@@ -3974,24 +106,14 @@ ModelTest: test_as_a_string_should_give_the_right_query_value
|
|
3974
106
|
-------------------------------------------------------------
|
3975
107
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3976
108
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3977
|
-
-----------------------------------------------------------------------------
|
3978
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
3979
|
-
-----------------------------------------------------------------------------
|
3980
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3981
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3982
109
|
-------------------------------------------------------------
|
3983
110
|
ModelTest: test_location_should_be_invalid_when_empty_session
|
3984
111
|
-------------------------------------------------------------
|
3985
112
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3986
113
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3987
|
-
|
3988
|
-
ModelTest:
|
3989
|
-
|
3990
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3991
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
3996
118
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3997
119
|
-----------------------------------------------------------------------
|
@@ -3999,81 +121,25 @@ ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
|
3999
121
|
-----------------------------------------------------------------------
|
4000
122
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4001
123
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4002
|
-
----------------------------------------------------------------------------
|
4003
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
4004
|
-
----------------------------------------------------------------------------
|
4005
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4006
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
4007
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
4008
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
4009
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
4010
|
-
[1m[35m (12.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
4011
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
4012
|
-
[1m[35m (15.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
4013
|
-
[1m[35m (11.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
4014
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
4015
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
4016
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:46:41.366488"], ["updated_at", "2018-09-18 14:46:41.366488"]]
|
4017
|
-
[1m[35m (10.6ms)[0m [1m[36mcommit transaction[0m
|
4018
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
4019
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
4020
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
4021
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
4022
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
4023
|
-
------------------------------------------------------
|
4024
|
-
ModelTest: test_coords_should_give_the_values_in_array
|
4025
|
-
------------------------------------------------------
|
4026
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
4027
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
4028
|
-
--------------------------------------------------------------
|
4029
|
-
ModelTest: test_location_should_be_valid_at_negative_boundries
|
4030
|
-
--------------------------------------------------------------
|
4031
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
4032
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
4033
|
-
----------------------------------------------------------------------------
|
4034
|
-
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
4035
|
-
----------------------------------------------------------------------------
|
4036
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
4037
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
4038
|
-
-------------------------------------------------------------
|
4039
|
-
ModelTest: test_as_a_string_should_give_the_right_query_value
|
4040
|
-
-------------------------------------------------------------
|
4041
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
4042
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
4043
124
|
--------------------------------------------------------
|
4044
125
|
ModelTest: test_to_hash_should_give_the_right_hash_value
|
4045
126
|
--------------------------------------------------------
|
4046
127
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4047
128
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4048
|
-
-------------------------------------------------------------
|
4049
|
-
ModelTest: test_location_should_be_invalid_when_empty_session
|
4050
|
-
-------------------------------------------------------------
|
4051
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
4052
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
4053
|
-
-----------------------------------------------------------------------------
|
4054
|
-
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
4055
|
-
-----------------------------------------------------------------------------
|
4056
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4057
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4058
|
-
-----------------------------------------------------------------------
|
4059
|
-
ModelTest: test_location_should_be_invalid_exceeding_negative_boundries
|
4060
|
-
-----------------------------------------------------------------------
|
4061
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
4062
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4063
129
|
--------------------------------------------------------------
|
4064
130
|
ModelTest: test_location_should_be_valid_at_positive_boundries
|
4065
131
|
--------------------------------------------------------------
|
4066
|
-
[1m[35m (0.
|
132
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4067
133
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4068
|
-
|
4069
|
-
ModelTest:
|
4070
|
-
|
4071
|
-
[1m[35m (0.
|
134
|
+
-----------------------------------------------------------------------------
|
135
|
+
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
136
|
+
-----------------------------------------------------------------------------
|
137
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4072
138
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4073
|
-
|
4074
|
-
SpymeTest:
|
4075
|
-
|
4076
|
-
Started POST "/spyme/locations" for 127.0.0.1 at
|
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
|
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
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4090
156
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4091
|
-
|
4092
|
-
SpymeTest:
|
4093
|
-
|
4094
|
-
Started POST "/spyme/locations" for 127.0.0.1 at
|
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
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
175
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
176
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
4109
177
|
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
4110
|
-
[1m[35m (
|
4111
|
-
[1m[35m (
|
4112
|
-
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
4113
|
-
[1m[35m (11.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
4114
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
4115
|
-
[1m[35m (15.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
4116
|
-
[1m[35m (11.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
4117
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
4118
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
4119
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-09-18 14:48:14.084530"], ["updated_at", "2018-09-18 14:48:14.084530"]]
|
4120
|
-
[1m[35m (10.4ms)[0m [1m[36mcommit transaction[0m
|
178
|
+
[1m[35m (4.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
179
|
+
[1m[35m (5.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
4121
180
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
4122
181
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4123
|
-
[1m[
|
4124
|
-
[1m[35m (
|
182
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-02-24 00:20:11.027690"], ["updated_at", "2019-02-24 00:20:11.027690"]]
|
183
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
184
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
4125
185
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
186
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
187
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
188
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
4126
189
|
--------------------------------------------------------------------------------
|
4127
190
|
ApplicationControllerTest: test_current_location_should_return_a_location_object
|
4128
191
|
--------------------------------------------------------------------------------
|
4129
|
-
[1m[35m (0.
|
192
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
4130
193
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
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
|
205
|
+
Completed 400 Bad Request in 5ms (ActiveRecord: 0.0ms)
|
4143
206
|
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
4144
207
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
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
|
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
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4162
225
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4163
|
-
|
4164
|
-
ModelTest:
|
4165
|
-
|
226
|
+
--------------------------------------------------------------
|
227
|
+
ModelTest: test_location_should_be_valid_at_negative_boundries
|
228
|
+
--------------------------------------------------------------
|
229
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
230
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
231
|
+
-------------------------------------------------------------
|
232
|
+
ModelTest: test_location_should_be_invalid_when_empty_session
|
233
|
+
-------------------------------------------------------------
|
4166
234
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4167
235
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4168
236
|
-----------------------------------------------------------------------------
|
4169
237
|
ModelTest: test_initialize_from_session_should_give_correct_number_attributes
|
4170
238
|
-----------------------------------------------------------------------------
|
4171
|
-
[1m[35m (0.
|
239
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
4172
240
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4173
|
-
|
4174
|
-
ModelTest:
|
4175
|
-
|
241
|
+
------------------------------------------------------
|
242
|
+
ModelTest: test_coords_should_give_the_values_in_array
|
243
|
+
------------------------------------------------------
|
4176
244
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4177
245
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4178
|
-
|
4179
|
-
ModelTest:
|
4180
|
-
|
246
|
+
----------------------------------------------------------------
|
247
|
+
ModelTest: test_location_should_be_invalid_when_empty_attributes
|
248
|
+
----------------------------------------------------------------
|
4181
249
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4182
250
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4183
|
-
|
4184
|
-
ModelTest:
|
4185
|
-
|
251
|
+
--------------------------------------------------------------
|
252
|
+
ModelTest: test_location_should_be_valid_at_positive_boundries
|
253
|
+
--------------------------------------------------------------
|
4186
254
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4187
255
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4188
|
-
|
4189
|
-
ModelTest:
|
4190
|
-
|
256
|
+
--------------------------------------------------------
|
257
|
+
ModelTest: test_to_hash_should_give_the_right_hash_value
|
258
|
+
--------------------------------------------------------
|
4191
259
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4192
260
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4193
261
|
-------------------------------------------------------------
|
@@ -4195,17 +263,12 @@ ModelTest: test_as_a_string_should_give_the_right_query_value
|
|
4195
263
|
-------------------------------------------------------------
|
4196
264
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4197
265
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4198
|
-
|
4199
|
-
ModelTest:
|
4200
|
-
|
4201
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4202
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
4207
270
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
4208
|
-
|
4209
|
-
ModelTest:
|
4210
|
-
|
271
|
+
----------------------------------------------------------------------------
|
272
|
+
ModelTest: test_location_should_be_invalid_when_empty_latitude_and_longitude
|
273
|
+
----------------------------------------------------------------------------
|
4211
274
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|