blogy 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +37 -0
- data/app/controllers/blogy/application_controller.rb +4 -0
- data/app/controllers/blogy/posts_controller.rb +58 -0
- data/app/models/blogy/post/translation.rb +7 -0
- data/app/models/blogy/post.rb +15 -0
- data/app/serializers/blogy/post_serializer.rb +5 -0
- data/config/routes.rb +4 -0
- data/db/migrate/20150211002506_create_blogy_posts.rb +12 -0
- data/db/migrate/20150211205643_create_blogy_post_translations.rb +15 -0
- data/lib/blogy/engine.rb +15 -0
- data/lib/blogy/version.rb +3 -0
- data/lib/blogy.rb +8 -0
- data/lib/tasks/blogy_tasks.rake +4 -0
- data/test/blogy_test.rb +7 -0
- data/test/controllers/blogy/posts_controller_test.rb +62 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +7 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config/application.rb +26 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/schema.rb +39 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +66 -0
- data/test/dummy/log/test.log +1310 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/fixtures/blogy/post/translations.yml +15 -0
- data/test/fixtures/blogy/posts.yml +13 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/models/blogy/post/translation_test.rb +9 -0
- data/test/models/blogy/post_test.rb +9 -0
- data/test/support/factories.rb +9 -0
- data/test/test_helper.rb +25 -0
- metadata +251 -0
@@ -0,0 +1,1310 @@
|
|
1
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
+
Migrating to CreateBlogyPosts (20150211002506)
|
6
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "blogy_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "draft" boolean, "ilustration" varchar, "ilustration_tmp" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
8
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150211002506"]]
|
9
|
+
[1m[35m (1.2ms)[0m commit transaction
|
10
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
12
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13
|
+
-----------------------------------------------
|
14
|
+
Blogy::PostsControllerTest: test_should_get_new
|
15
|
+
-----------------------------------------------
|
16
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
17
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18
|
+
----------------------------------------------------
|
19
|
+
Blogy::PostsControllerTest: test_should_destroy_post
|
20
|
+
----------------------------------------------------
|
21
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
22
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23
|
+
---------------------------------------------------
|
24
|
+
Blogy::PostsControllerTest: test_should_create_post
|
25
|
+
---------------------------------------------------
|
26
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
27
|
+
[1m[35m (0.0ms)[0m begin transaction
|
28
|
+
------------------------------------------------
|
29
|
+
Blogy::PostsControllerTest: test_should_get_edit
|
30
|
+
------------------------------------------------
|
31
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32
|
+
[1m[35m (0.1ms)[0m begin transaction
|
33
|
+
-------------------------------------------------
|
34
|
+
Blogy::PostsControllerTest: test_should_show_post
|
35
|
+
-------------------------------------------------
|
36
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38
|
+
-------------------------------------------------
|
39
|
+
Blogy::PostsControllerTest: test_should_get_index
|
40
|
+
-------------------------------------------------
|
41
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43
|
+
---------------------------------------------------
|
44
|
+
Blogy::PostsControllerTest: test_should_update_post
|
45
|
+
---------------------------------------------------
|
46
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
47
|
+
[1m[35m (0.1ms)[0m begin transaction
|
48
|
+
---------------------
|
49
|
+
BlogyTest: test_truth
|
50
|
+
---------------------
|
51
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
52
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
54
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
55
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
56
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
57
|
+
[1m[35m (0.1ms)[0m begin transaction
|
58
|
+
------------------------------------------------------
|
59
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
60
|
+
------------------------------------------------------
|
61
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
62
|
+
[1m[35m (0.1ms)[0m begin transaction
|
63
|
+
--------------------------------------------------------
|
64
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
65
|
+
--------------------------------------------------------
|
66
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68
|
+
---------------------------------------------------------
|
69
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
70
|
+
---------------------------------------------------------
|
71
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "blogy_posts"[0m
|
72
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
73
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
74
|
+
--------------------------------------------------------
|
75
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
76
|
+
--------------------------------------------------------
|
77
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "blogy_posts"
|
78
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
79
|
+
[1m[35m (0.1ms)[0m begin transaction
|
80
|
+
------------------------------------------------------
|
81
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
82
|
+
------------------------------------------------------
|
83
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
84
|
+
[1m[35m (0.1ms)[0m begin transaction
|
85
|
+
-----------------------------------------------------
|
86
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
87
|
+
-----------------------------------------------------
|
88
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89
|
+
[1m[35m (0.1ms)[0m begin transaction
|
90
|
+
----------------------------------------------------
|
91
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
92
|
+
----------------------------------------------------
|
93
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
94
|
+
[1m[35m (0.1ms)[0m begin transaction
|
95
|
+
--------------------------
|
96
|
+
BlogyTest: test_0001_truth
|
97
|
+
--------------------------
|
98
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
99
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
100
|
+
[1m[35m (0.2ms)[0m begin transaction
|
101
|
+
--------------------------
|
102
|
+
BlogyTest: test_0001_truth
|
103
|
+
--------------------------
|
104
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
105
|
+
[1m[35m (0.1ms)[0m begin transaction
|
106
|
+
----------------------------------------------------
|
107
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
108
|
+
----------------------------------------------------
|
109
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
110
|
+
[1m[35m (0.1ms)[0m begin transaction
|
111
|
+
--------------------------------------------------------
|
112
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
113
|
+
--------------------------------------------------------
|
114
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
115
|
+
[1m[35m (0.1ms)[0m begin transaction
|
116
|
+
------------------------------------------------------
|
117
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
118
|
+
------------------------------------------------------
|
119
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
120
|
+
[1m[35m (0.1ms)[0m begin transaction
|
121
|
+
--------------------------------------------------------
|
122
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
123
|
+
--------------------------------------------------------
|
124
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
125
|
+
[1m[35m (0.2ms)[0m begin transaction
|
126
|
+
-----------------------------------------------------
|
127
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
128
|
+
-----------------------------------------------------
|
129
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
130
|
+
[1m[35m (0.1ms)[0m begin transaction
|
131
|
+
------------------------------------------------------
|
132
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
133
|
+
------------------------------------------------------
|
134
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
135
|
+
[1m[35m (0.1ms)[0m begin transaction
|
136
|
+
---------------------------------------------------------
|
137
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
138
|
+
---------------------------------------------------------
|
139
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
140
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
141
|
+
[1m[35m (0.1ms)[0m begin transaction
|
142
|
+
--------------------------
|
143
|
+
BlogyTest: test_0001_truth
|
144
|
+
--------------------------
|
145
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
146
|
+
[1m[35m (0.1ms)[0m begin transaction
|
147
|
+
-----------------------------------------------------
|
148
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
149
|
+
-----------------------------------------------------
|
150
|
+
Processing by Blogy::PostsController#edit as HTML
|
151
|
+
Parameters: {"id"=>"1001"}
|
152
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1[0m [["id", 1001]]
|
153
|
+
Completed 404 Not Found in 12ms
|
154
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
155
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
156
|
+
----------------------------------------------------
|
157
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
158
|
+
----------------------------------------------------
|
159
|
+
Processing by Blogy::PostsController#new as HTML
|
160
|
+
Completed 500 Internal Server Error in 13ms
|
161
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
162
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
163
|
+
--------------------------------------------------------
|
164
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
165
|
+
--------------------------------------------------------
|
166
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "blogy_posts"
|
167
|
+
Processing by Blogy::PostsController#create as HTML
|
168
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}}
|
169
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
170
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "blogy_posts" ("published", "draft", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["published", "t"], ["draft", "f"], ["created_at", "2015-02-11 00:36:04.157997"], ["updated_at", "2015-02-11 00:36:04.157997"]]
|
171
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
172
|
+
Redirected to http://test.host/blogy/posts/1
|
173
|
+
Completed 302 Found in 17ms (ActiveRecord: 1.0ms)
|
174
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "blogy_posts"
|
175
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
176
|
+
[1m[35m (0.1ms)[0m begin transaction
|
177
|
+
------------------------------------------------------
|
178
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
179
|
+
------------------------------------------------------
|
180
|
+
Processing by Blogy::PostsController#show as HTML
|
181
|
+
Parameters: {"id"=>"1004"}
|
182
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1[0m [["id", 1004]]
|
183
|
+
Completed 404 Not Found in 1ms
|
184
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
185
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
186
|
+
------------------------------------------------------
|
187
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
188
|
+
------------------------------------------------------
|
189
|
+
Processing by Blogy::PostsController#index as HTML
|
190
|
+
Completed 500 Internal Server Error in 2ms
|
191
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
192
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
193
|
+
--------------------------------------------------------
|
194
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
195
|
+
--------------------------------------------------------
|
196
|
+
Processing by Blogy::PostsController#update as HTML
|
197
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}, "id"=>"1006"}
|
198
|
+
[1m[35mBlogy::Post Load (0.1ms)[0m SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1006]]
|
199
|
+
Completed 404 Not Found in 1ms
|
200
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
201
|
+
[1m[35m (0.1ms)[0m begin transaction
|
202
|
+
---------------------------------------------------------
|
203
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
204
|
+
---------------------------------------------------------
|
205
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "blogy_posts"[0m
|
206
|
+
Processing by Blogy::PostsController#destroy as HTML
|
207
|
+
Parameters: {"id"=>"1007"}
|
208
|
+
[1m[35mBlogy::Post Load (0.1ms)[0m SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1007]]
|
209
|
+
Completed 404 Not Found in 1ms
|
210
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
211
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
212
|
+
[1m[35m (0.1ms)[0m begin transaction
|
213
|
+
--------------------------
|
214
|
+
BlogyTest: test_0001_truth
|
215
|
+
--------------------------
|
216
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
217
|
+
[1m[35m (0.1ms)[0m begin transaction
|
218
|
+
---------------------------------------------------------
|
219
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
220
|
+
---------------------------------------------------------
|
221
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "blogy_posts"[0m
|
222
|
+
Processing by Blogy::PostsController#destroy as HTML
|
223
|
+
Parameters: {"id"=>"1001"}
|
224
|
+
Completed 500 Internal Server Error in 1ms
|
225
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
227
|
+
------------------------------------------------------
|
228
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
229
|
+
------------------------------------------------------
|
230
|
+
Processing by Blogy::PostsController#show as HTML
|
231
|
+
Parameters: {"id"=>"1002"}
|
232
|
+
Completed 500 Internal Server Error in 12ms
|
233
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
235
|
+
--------------------------------------------------------
|
236
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
237
|
+
--------------------------------------------------------
|
238
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "blogy_posts"
|
239
|
+
Processing by Blogy::PostsController#create as HTML
|
240
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}}
|
241
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
242
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "blogy_posts" ("published", "draft", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["published", "t"], ["draft", "f"], ["created_at", "2015-02-11 00:37:23.382832"], ["updated_at", "2015-02-11 00:37:23.382832"]]
|
243
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
244
|
+
Redirected to http://test.host/blogy/posts/1
|
245
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.8ms)
|
246
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "blogy_posts"
|
247
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
248
|
+
[1m[35m (0.1ms)[0m begin transaction
|
249
|
+
-----------------------------------------------------
|
250
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
251
|
+
-----------------------------------------------------
|
252
|
+
Processing by Blogy::PostsController#edit as HTML
|
253
|
+
Parameters: {"id"=>"1004"}
|
254
|
+
Completed 500 Internal Server Error in 2ms
|
255
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
256
|
+
[1m[35m (0.1ms)[0m begin transaction
|
257
|
+
--------------------------------------------------------
|
258
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
259
|
+
--------------------------------------------------------
|
260
|
+
Processing by Blogy::PostsController#update as HTML
|
261
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}, "id"=>"1005"}
|
262
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
263
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
264
|
+
Completed 500 Internal Server Error in 2ms
|
265
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
266
|
+
[1m[35m (0.1ms)[0m begin transaction
|
267
|
+
----------------------------------------------------
|
268
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
269
|
+
----------------------------------------------------
|
270
|
+
Processing by Blogy::PostsController#new as HTML
|
271
|
+
Completed 500 Internal Server Error in 1ms
|
272
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
273
|
+
[1m[35m (0.1ms)[0m begin transaction
|
274
|
+
------------------------------------------------------
|
275
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
276
|
+
------------------------------------------------------
|
277
|
+
Processing by Blogy::PostsController#index as HTML
|
278
|
+
Completed 500 Internal Server Error in 1ms
|
279
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
280
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
281
|
+
[1m[35m (0.1ms)[0m begin transaction
|
282
|
+
--------------------------
|
283
|
+
BlogyTest: test_0001_truth
|
284
|
+
--------------------------
|
285
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
286
|
+
[1m[35m (0.1ms)[0m begin transaction
|
287
|
+
------------------------------------------------------
|
288
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
289
|
+
------------------------------------------------------
|
290
|
+
Processing by Blogy::PostsController#index as JSON
|
291
|
+
Completed 500 Internal Server Error in 11ms
|
292
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
293
|
+
[1m[35m (0.1ms)[0m begin transaction
|
294
|
+
--------------------------------------------------------
|
295
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
296
|
+
--------------------------------------------------------
|
297
|
+
Processing by Blogy::PostsController#update as JSON
|
298
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}, "id"=>"1002"}
|
299
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
300
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
301
|
+
Completed 500 Internal Server Error in 2ms
|
302
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
303
|
+
[1m[35m (0.4ms)[0m begin transaction
|
304
|
+
-----------------------------------------------------
|
305
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
306
|
+
-----------------------------------------------------
|
307
|
+
Processing by Blogy::PostsController#edit as JSON
|
308
|
+
Parameters: {"id"=>"1003"}
|
309
|
+
Completed 500 Internal Server Error in 1ms
|
310
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
311
|
+
[1m[35m (0.1ms)[0m begin transaction
|
312
|
+
------------------------------------------------------
|
313
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
314
|
+
------------------------------------------------------
|
315
|
+
Processing by Blogy::PostsController#show as JSON
|
316
|
+
Parameters: {"id"=>"1004"}
|
317
|
+
Completed 500 Internal Server Error in 1ms
|
318
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
319
|
+
[1m[35m (0.1ms)[0m begin transaction
|
320
|
+
----------------------------------------------------
|
321
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
322
|
+
----------------------------------------------------
|
323
|
+
Processing by Blogy::PostsController#new as JSON
|
324
|
+
Completed 500 Internal Server Error in 2ms
|
325
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
326
|
+
[1m[35m (0.1ms)[0m begin transaction
|
327
|
+
--------------------------------------------------------
|
328
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
329
|
+
--------------------------------------------------------
|
330
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "blogy_posts"[0m
|
331
|
+
Processing by Blogy::PostsController#create as JSON
|
332
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}}
|
333
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
334
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "blogy_posts" ("published", "draft", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["published", "t"], ["draft", "f"], ["created_at", "2015-02-11 00:38:12.476466"], ["updated_at", "2015-02-11 00:38:12.476466"]]
|
335
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
336
|
+
Redirected to http://test.host/blogy/posts/1
|
337
|
+
Completed 302 Found in 13ms (ActiveRecord: 0.7ms)
|
338
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "blogy_posts"[0m
|
339
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
340
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
341
|
+
---------------------------------------------------------
|
342
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
343
|
+
---------------------------------------------------------
|
344
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "blogy_posts"
|
345
|
+
Processing by Blogy::PostsController#destroy as JSON
|
346
|
+
Parameters: {"id"=>"1007"}
|
347
|
+
Completed 500 Internal Server Error in 0ms
|
348
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
349
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
350
|
+
[1m[35m (0.2ms)[0m begin transaction
|
351
|
+
------------------------------------------------------
|
352
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
353
|
+
------------------------------------------------------
|
354
|
+
Processing by Blogy::PostsController#index as JSON
|
355
|
+
Completed 500 Internal Server Error in 11ms
|
356
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
357
|
+
[1m[35m (0.1ms)[0m begin transaction
|
358
|
+
--------------------------------------------------------
|
359
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
360
|
+
--------------------------------------------------------
|
361
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "blogy_posts"[0m
|
362
|
+
Processing by Blogy::PostsController#create as JSON
|
363
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}}
|
364
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
365
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "blogy_posts" ("published", "draft", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["published", "t"], ["draft", "f"], ["created_at", "2015-02-11 00:40:32.799187"], ["updated_at", "2015-02-11 00:40:32.799187"]]
|
366
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
367
|
+
Redirected to http://test.host/blogy/posts/1
|
368
|
+
Completed 302 Found in 14ms (ActiveRecord: 0.7ms)
|
369
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "blogy_posts"[0m
|
370
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
371
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
372
|
+
------------------------------------------------------
|
373
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
374
|
+
------------------------------------------------------
|
375
|
+
Processing by Blogy::PostsController#show as JSON
|
376
|
+
Parameters: {"id"=>"1003"}
|
377
|
+
Completed 500 Internal Server Error in 2ms
|
378
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
379
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
380
|
+
---------------------------------------------------------
|
381
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
382
|
+
---------------------------------------------------------
|
383
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "blogy_posts"
|
384
|
+
Processing by Blogy::PostsController#destroy as JSON
|
385
|
+
Parameters: {"id"=>"1004"}
|
386
|
+
Completed 500 Internal Server Error in 0ms
|
387
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
388
|
+
[1m[35m (0.1ms)[0m begin transaction
|
389
|
+
--------------------------------------------------------
|
390
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
391
|
+
--------------------------------------------------------
|
392
|
+
Processing by Blogy::PostsController#update as JSON
|
393
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}, "id"=>"1005"}
|
394
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
395
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
396
|
+
Completed 500 Internal Server Error in 2ms
|
397
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
398
|
+
[1m[35m (0.1ms)[0m begin transaction
|
399
|
+
----------------------------------------------------
|
400
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
401
|
+
----------------------------------------------------
|
402
|
+
Processing by Blogy::PostsController#new as JSON
|
403
|
+
Completed 500 Internal Server Error in 2ms
|
404
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
405
|
+
[1m[35m (0.1ms)[0m begin transaction
|
406
|
+
-----------------------------------------------------
|
407
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
408
|
+
-----------------------------------------------------
|
409
|
+
Processing by Blogy::PostsController#edit as JSON
|
410
|
+
Parameters: {"id"=>"1007"}
|
411
|
+
Completed 500 Internal Server Error in 2ms
|
412
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
413
|
+
[1m[35m (0.1ms)[0m begin transaction
|
414
|
+
--------------------------
|
415
|
+
BlogyTest: test_0001_truth
|
416
|
+
--------------------------
|
417
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
418
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
419
|
+
[1m[35m (0.5ms)[0m begin transaction
|
420
|
+
--------------------------
|
421
|
+
BlogyTest: test_0001_truth
|
422
|
+
--------------------------
|
423
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
424
|
+
[1m[35m (0.1ms)[0m begin transaction
|
425
|
+
--------------------------------------------------------
|
426
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
427
|
+
--------------------------------------------------------
|
428
|
+
Processing by Blogy::PostsController#update as JSON
|
429
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}, "id"=>"1001"}
|
430
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
431
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
432
|
+
Completed 500 Internal Server Error in 2ms
|
433
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
434
|
+
[1m[35m (0.1ms)[0m begin transaction
|
435
|
+
------------------------------------------------------
|
436
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
437
|
+
------------------------------------------------------
|
438
|
+
Processing by Blogy::PostsController#index as JSON
|
439
|
+
Completed 500 Internal Server Error in 18ms
|
440
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
441
|
+
[1m[35m (0.1ms)[0m begin transaction
|
442
|
+
---------------------------------------------------------
|
443
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
444
|
+
---------------------------------------------------------
|
445
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "blogy_posts"[0m
|
446
|
+
Processing by Blogy::PostsController#destroy as JSON
|
447
|
+
Parameters: {"id"=>"1003"}
|
448
|
+
Completed 500 Internal Server Error in 0ms
|
449
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
450
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
451
|
+
--------------------------------------------------------
|
452
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
453
|
+
--------------------------------------------------------
|
454
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "blogy_posts"
|
455
|
+
Processing by Blogy::PostsController#create as JSON
|
456
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}}
|
457
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
458
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "blogy_posts" ("published", "draft", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["published", "t"], ["draft", "f"], ["created_at", "2015-02-11 00:42:51.596702"], ["updated_at", "2015-02-11 00:42:51.596702"]]
|
459
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
460
|
+
Redirected to http://test.host/blogy/posts/1
|
461
|
+
Completed 302 Found in 18ms (ActiveRecord: 0.7ms)
|
462
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "blogy_posts"
|
463
|
+
[1m[36m (2.3ms)[0m [1mrollback transaction[0m
|
464
|
+
[1m[35m (0.1ms)[0m begin transaction
|
465
|
+
------------------------------------------------------
|
466
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
467
|
+
------------------------------------------------------
|
468
|
+
Processing by Blogy::PostsController#show as JSON
|
469
|
+
Parameters: {"id"=>"1005"}
|
470
|
+
Completed 500 Internal Server Error in 2ms
|
471
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
472
|
+
[1m[35m (0.1ms)[0m begin transaction
|
473
|
+
----------------------------------------------------
|
474
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
475
|
+
----------------------------------------------------
|
476
|
+
Processing by Blogy::PostsController#new as JSON
|
477
|
+
Completed 500 Internal Server Error in 2ms
|
478
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
479
|
+
[1m[35m (0.1ms)[0m begin transaction
|
480
|
+
-----------------------------------------------------
|
481
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
482
|
+
-----------------------------------------------------
|
483
|
+
Processing by Blogy::PostsController#edit as JSON
|
484
|
+
Parameters: {"id"=>"1007"}
|
485
|
+
Completed 500 Internal Server Error in 2ms
|
486
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
487
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
488
|
+
[1m[35m (0.1ms)[0m begin transaction
|
489
|
+
------------------------------------------------------
|
490
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
491
|
+
------------------------------------------------------
|
492
|
+
Processing by Blogy::PostsController#show as JSON
|
493
|
+
Parameters: {"id"=>"1001"}
|
494
|
+
Completed 500 Internal Server Error in 18ms
|
495
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
496
|
+
[1m[35m (0.1ms)[0m begin transaction
|
497
|
+
----------------------------------------------------
|
498
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
499
|
+
----------------------------------------------------
|
500
|
+
Processing by Blogy::PostsController#new as JSON
|
501
|
+
Completed 500 Internal Server Error in 2ms
|
502
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
503
|
+
[1m[35m (0.1ms)[0m begin transaction
|
504
|
+
---------------------------------------------------------
|
505
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
506
|
+
---------------------------------------------------------
|
507
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "blogy_posts"[0m
|
508
|
+
Processing by Blogy::PostsController#destroy as JSON
|
509
|
+
Parameters: {"id"=>"1003"}
|
510
|
+
Completed 500 Internal Server Error in 0ms
|
511
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
512
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
513
|
+
--------------------------------------------------------
|
514
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
515
|
+
--------------------------------------------------------
|
516
|
+
[1m[35m (2.9ms)[0m SELECT COUNT(*) FROM "blogy_posts"
|
517
|
+
Processing by Blogy::PostsController#create as JSON
|
518
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}}
|
519
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
520
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "blogy_posts" ("published", "draft", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["published", "t"], ["draft", "f"], ["created_at", "2015-02-11 00:43:18.685171"], ["updated_at", "2015-02-11 00:43:18.685171"]]
|
521
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
522
|
+
Redirected to http://test.host/blogy/posts/1
|
523
|
+
Completed 302 Found in 19ms (ActiveRecord: 0.7ms)
|
524
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "blogy_posts"
|
525
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
526
|
+
[1m[35m (0.1ms)[0m begin transaction
|
527
|
+
--------------------------------------------------------
|
528
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
529
|
+
--------------------------------------------------------
|
530
|
+
Processing by Blogy::PostsController#update as JSON
|
531
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}, "id"=>"1005"}
|
532
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
533
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
534
|
+
Completed 500 Internal Server Error in 2ms
|
535
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
536
|
+
[1m[35m (0.1ms)[0m begin transaction
|
537
|
+
-----------------------------------------------------
|
538
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
539
|
+
-----------------------------------------------------
|
540
|
+
Processing by Blogy::PostsController#edit as JSON
|
541
|
+
Parameters: {"id"=>"1006"}
|
542
|
+
Completed 500 Internal Server Error in 2ms
|
543
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
544
|
+
[1m[35m (0.1ms)[0m begin transaction
|
545
|
+
------------------------------------------------------
|
546
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
547
|
+
------------------------------------------------------
|
548
|
+
Processing by Blogy::PostsController#index as JSON
|
549
|
+
Completed 500 Internal Server Error in 3ms
|
550
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
551
|
+
[1m[35m (0.1ms)[0m begin transaction
|
552
|
+
--------------------------
|
553
|
+
BlogyTest: test_0001_truth
|
554
|
+
--------------------------
|
555
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
556
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
557
|
+
[1m[35m (0.1ms)[0m begin transaction
|
558
|
+
--------------------------
|
559
|
+
BlogyTest: test_0001_truth
|
560
|
+
--------------------------
|
561
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
562
|
+
[1m[35m (0.1ms)[0m begin transaction
|
563
|
+
--------------------------------------------------------
|
564
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
565
|
+
--------------------------------------------------------
|
566
|
+
Processing by Blogy::PostsController#update as JSON
|
567
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}, "id"=>"1001"}
|
568
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
569
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
570
|
+
Completed 500 Internal Server Error in 2ms
|
571
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
572
|
+
[1m[35m (0.1ms)[0m begin transaction
|
573
|
+
------------------------------------------------------
|
574
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
575
|
+
------------------------------------------------------
|
576
|
+
Processing by Blogy::PostsController#index as JSON
|
577
|
+
Completed 500 Internal Server Error in 0ms
|
578
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
579
|
+
[1m[35m (0.1ms)[0m begin transaction
|
580
|
+
--------------------------------------------------------
|
581
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
582
|
+
--------------------------------------------------------
|
583
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "blogy_posts"[0m
|
584
|
+
Processing by Blogy::PostsController#create as JSON
|
585
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}}
|
586
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
587
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "blogy_posts" ("published", "draft", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["published", "t"], ["draft", "f"], ["created_at", "2015-02-11 00:44:53.612838"], ["updated_at", "2015-02-11 00:44:53.612838"]]
|
588
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
589
|
+
Completed 500 Internal Server Error in 10ms
|
590
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
591
|
+
[1m[35m (0.1ms)[0m begin transaction
|
592
|
+
------------------------------------------------------
|
593
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
594
|
+
------------------------------------------------------
|
595
|
+
Processing by Blogy::PostsController#show as JSON
|
596
|
+
Parameters: {"id"=>"1004"}
|
597
|
+
Completed 500 Internal Server Error in 0ms
|
598
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
599
|
+
[1m[35m (0.1ms)[0m begin transaction
|
600
|
+
---------------------------------------------------------
|
601
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
602
|
+
---------------------------------------------------------
|
603
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "blogy_posts"[0m
|
604
|
+
Processing by Blogy::PostsController#destroy as JSON
|
605
|
+
Parameters: {"id"=>"1005"}
|
606
|
+
Completed 500 Internal Server Error in 0ms
|
607
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
608
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
609
|
+
----------------------------------------------------
|
610
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
611
|
+
----------------------------------------------------
|
612
|
+
Processing by Blogy::PostsController#new as JSON
|
613
|
+
Completed 500 Internal Server Error in 1ms
|
614
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
615
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
616
|
+
-----------------------------------------------------
|
617
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
618
|
+
-----------------------------------------------------
|
619
|
+
Processing by Blogy::PostsController#edit as JSON
|
620
|
+
Parameters: {"id"=>"1007"}
|
621
|
+
Completed 500 Internal Server Error in 0ms
|
622
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
623
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
624
|
+
[1m[35m (0.1ms)[0m begin transaction
|
625
|
+
--------------------------------------------------------
|
626
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
627
|
+
--------------------------------------------------------
|
628
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "blogy_posts"[0m
|
629
|
+
Processing by Blogy::PostsController#create as JSON
|
630
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}}
|
631
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
632
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "blogy_posts" ("published", "draft", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["published", "t"], ["draft", "f"], ["created_at", "2015-02-11 00:45:36.738427"], ["updated_at", "2015-02-11 00:45:36.738427"]]
|
633
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
634
|
+
Completed 201 Created in 31ms (Views: 7.3ms | ActiveRecord: 0.7ms)
|
635
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "blogy_posts"[0m
|
636
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
637
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
638
|
+
----------------------------------------------------
|
639
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
640
|
+
----------------------------------------------------
|
641
|
+
Processing by Blogy::PostsController#new as JSON
|
642
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
643
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
644
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
645
|
+
-----------------------------------------------------
|
646
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
647
|
+
-----------------------------------------------------
|
648
|
+
Processing by Blogy::PostsController#edit as JSON
|
649
|
+
Parameters: {"id"=>"1003"}
|
650
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
651
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
652
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
653
|
+
------------------------------------------------------
|
654
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
655
|
+
------------------------------------------------------
|
656
|
+
Processing by Blogy::PostsController#index as JSON
|
657
|
+
[1m[35mBlogy::Post Load (0.3ms)[0m SELECT "blogy_posts".* FROM "blogy_posts"
|
658
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms)
|
659
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
660
|
+
[1m[35m (0.1ms)[0m begin transaction
|
661
|
+
------------------------------------------------------
|
662
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
663
|
+
------------------------------------------------------
|
664
|
+
Processing by Blogy::PostsController#show as JSON
|
665
|
+
Parameters: {"id"=>"1005"}
|
666
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
667
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
668
|
+
[1m[35m (0.1ms)[0m begin transaction
|
669
|
+
--------------------------------------------------------
|
670
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
671
|
+
--------------------------------------------------------
|
672
|
+
Processing by Blogy::PostsController#update as JSON
|
673
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}, "id"=>"1006"}
|
674
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
675
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
676
|
+
Completed 500 Internal Server Error in 2ms
|
677
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
678
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679
|
+
---------------------------------------------------------
|
680
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
681
|
+
---------------------------------------------------------
|
682
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "blogy_posts"[0m
|
683
|
+
Processing by Blogy::PostsController#destroy as JSON
|
684
|
+
Parameters: {"id"=>"1007"}
|
685
|
+
Completed 500 Internal Server Error in 0ms
|
686
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
687
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
688
|
+
--------------------------
|
689
|
+
BlogyTest: test_0001_truth
|
690
|
+
--------------------------
|
691
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
692
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
693
|
+
[1m[35m (0.1ms)[0m begin transaction
|
694
|
+
----------------------------------------------------
|
695
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
696
|
+
----------------------------------------------------
|
697
|
+
Processing by Blogy::PostsController#new as JSON
|
698
|
+
Completed 200 OK in 14ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
699
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
700
|
+
[1m[35m (0.1ms)[0m begin transaction
|
701
|
+
------------------------------------------------------
|
702
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
703
|
+
------------------------------------------------------
|
704
|
+
Processing by Blogy::PostsController#index as JSON
|
705
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
706
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
707
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
708
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
709
|
+
------------------------------------------------------
|
710
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
711
|
+
------------------------------------------------------
|
712
|
+
Processing by Blogy::PostsController#show as JSON
|
713
|
+
Parameters: {"id"=>"1003"}
|
714
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
715
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
716
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
717
|
+
--------------------------------------------------------
|
718
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
719
|
+
--------------------------------------------------------
|
720
|
+
Processing by Blogy::PostsController#create as JSON
|
721
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}}
|
722
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
723
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "blogy_posts" ("published", "draft", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["published", "t"], ["draft", "f"], ["created_at", "2015-02-11 00:49:50.189493"], ["updated_at", "2015-02-11 00:49:50.189493"]]
|
724
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
725
|
+
Completed 201 Created in 19ms (Views: 6.4ms | ActiveRecord: 0.7ms)
|
726
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
727
|
+
[1m[35m (0.1ms)[0m begin transaction
|
728
|
+
---------------------------------------------------------
|
729
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
730
|
+
---------------------------------------------------------
|
731
|
+
Processing by Blogy::PostsController#destroy as JSON
|
732
|
+
Parameters: {"id"=>"1005"}
|
733
|
+
Completed 500 Internal Server Error in 0ms
|
734
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
735
|
+
[1m[35m (0.1ms)[0m begin transaction
|
736
|
+
--------------------------------------------------------
|
737
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
738
|
+
--------------------------------------------------------
|
739
|
+
Processing by Blogy::PostsController#update as JSON
|
740
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}, "id"=>"1006"}
|
741
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
742
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
743
|
+
Completed 500 Internal Server Error in 2ms
|
744
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
745
|
+
[1m[35m (0.1ms)[0m begin transaction
|
746
|
+
-----------------------------------------------------
|
747
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
748
|
+
-----------------------------------------------------
|
749
|
+
Processing by Blogy::PostsController#edit as JSON
|
750
|
+
Parameters: {"id"=>"1007"}
|
751
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
752
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
753
|
+
[1m[35m (0.1ms)[0m begin transaction
|
754
|
+
--------------------------
|
755
|
+
BlogyTest: test_0001_truth
|
756
|
+
--------------------------
|
757
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
758
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
759
|
+
[1m[35m (0.1ms)[0m begin transaction
|
760
|
+
--------------------------
|
761
|
+
BlogyTest: test_0001_truth
|
762
|
+
--------------------------
|
763
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
764
|
+
[1m[35m (0.1ms)[0m begin transaction
|
765
|
+
---------------------------------------------------------
|
766
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
767
|
+
---------------------------------------------------------
|
768
|
+
Processing by Blogy::PostsController#destroy as JSON
|
769
|
+
Parameters: {"id"=>"1001"}
|
770
|
+
Completed 500 Internal Server Error in 1ms
|
771
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
772
|
+
[1m[35m (0.1ms)[0m begin transaction
|
773
|
+
-----------------------------------------------------
|
774
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
775
|
+
-----------------------------------------------------
|
776
|
+
Processing by Blogy::PostsController#edit as JSON
|
777
|
+
Parameters: {"id"=>"1002"}
|
778
|
+
Completed 200 OK in 13ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
779
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
780
|
+
[1m[35m (0.1ms)[0m begin transaction
|
781
|
+
--------------------------------------------------------
|
782
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
783
|
+
--------------------------------------------------------
|
784
|
+
Processing by Blogy::PostsController#update as JSON
|
785
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}, "id"=>"1003"}
|
786
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
787
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
788
|
+
Completed 500 Internal Server Error in 2ms
|
789
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
790
|
+
[1m[35m (0.1ms)[0m begin transaction
|
791
|
+
--------------------------------------------------------
|
792
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
793
|
+
--------------------------------------------------------
|
794
|
+
Processing by Blogy::PostsController#create as JSON
|
795
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}}
|
796
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
797
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "blogy_posts" ("published", "draft", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["published", "t"], ["draft", "f"], ["created_at", "2015-02-11 00:50:58.368955"], ["updated_at", "2015-02-11 00:50:58.368955"]]
|
798
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
799
|
+
Completed 201 Created in 18ms (Views: 5.9ms | ActiveRecord: 0.8ms)
|
800
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
801
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
802
|
+
----------------------------------------------------
|
803
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
804
|
+
----------------------------------------------------
|
805
|
+
Processing by Blogy::PostsController#new as JSON
|
806
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
807
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
808
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
809
|
+
------------------------------------------------------
|
810
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
811
|
+
------------------------------------------------------
|
812
|
+
Processing by Blogy::PostsController#show as JSON
|
813
|
+
Parameters: {"id"=>"1006"}
|
814
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
815
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
816
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
817
|
+
------------------------------------------------------
|
818
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
819
|
+
------------------------------------------------------
|
820
|
+
Processing by Blogy::PostsController#index as JSON
|
821
|
+
[1m[35mBlogy::Post Load (0.2ms)[0m SELECT "blogy_posts".* FROM "blogy_posts"
|
822
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
823
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
824
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
825
|
+
[1m[35m (0.1ms)[0m begin transaction
|
826
|
+
--------------------------------------------------------
|
827
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
828
|
+
--------------------------------------------------------
|
829
|
+
Processing by Blogy::PostsController#create as JSON
|
830
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}}
|
831
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
832
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "blogy_posts" ("published", "draft", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["published", "t"], ["draft", "f"], ["created_at", "2015-02-11 00:51:33.904239"], ["updated_at", "2015-02-11 00:51:33.904239"]]
|
833
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
834
|
+
Completed 201 Created in 40ms (Views: 12.5ms | ActiveRecord: 0.7ms)
|
835
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
836
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
837
|
+
----------------------------------------------------
|
838
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
839
|
+
----------------------------------------------------
|
840
|
+
Processing by Blogy::PostsController#new as JSON
|
841
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
842
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
843
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
844
|
+
------------------------------------------------------
|
845
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
846
|
+
------------------------------------------------------
|
847
|
+
Processing by Blogy::PostsController#show as JSON
|
848
|
+
Parameters: {"id"=>"1003"}
|
849
|
+
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
850
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
851
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
852
|
+
-----------------------------------------------------
|
853
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
854
|
+
-----------------------------------------------------
|
855
|
+
Processing by Blogy::PostsController#edit as JSON
|
856
|
+
Parameters: {"id"=>"1004"}
|
857
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
858
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
859
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
860
|
+
--------------------------------------------------------
|
861
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
862
|
+
--------------------------------------------------------
|
863
|
+
Processing by Blogy::PostsController#update as JSON
|
864
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}, "id"=>"1005"}
|
865
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
866
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
867
|
+
Completed 500 Internal Server Error in 2ms
|
868
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
869
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
870
|
+
---------------------------------------------------------
|
871
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
872
|
+
---------------------------------------------------------
|
873
|
+
Processing by Blogy::PostsController#destroy as JSON
|
874
|
+
Parameters: {"id"=>"1006"}
|
875
|
+
Completed 500 Internal Server Error in 0ms
|
876
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
877
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
878
|
+
------------------------------------------------------
|
879
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
880
|
+
------------------------------------------------------
|
881
|
+
Processing by Blogy::PostsController#index as JSON
|
882
|
+
[1m[35mBlogy::Post Load (0.3ms)[0m SELECT "blogy_posts".* FROM "blogy_posts"
|
883
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
|
884
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
885
|
+
[1m[35m (0.1ms)[0m begin transaction
|
886
|
+
--------------------------
|
887
|
+
BlogyTest: test_0001_truth
|
888
|
+
--------------------------
|
889
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
890
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
891
|
+
[1m[35m (0.1ms)[0m begin transaction
|
892
|
+
------------------------------------------------------
|
893
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
894
|
+
------------------------------------------------------
|
895
|
+
Processing by Blogy::PostsController#index as JSON
|
896
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
897
|
+
Completed 200 OK in 13ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
898
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
900
|
+
-----------------------------------------------------
|
901
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
902
|
+
-----------------------------------------------------
|
903
|
+
Processing by Blogy::PostsController#edit as JSON
|
904
|
+
Parameters: {"id"=>"1002"}
|
905
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
906
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
907
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
908
|
+
----------------------------------------------------
|
909
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
910
|
+
----------------------------------------------------
|
911
|
+
Processing by Blogy::PostsController#new as JSON
|
912
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
913
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
914
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
915
|
+
--------------------------------------------------------
|
916
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
917
|
+
--------------------------------------------------------
|
918
|
+
Processing by Blogy::PostsController#update as JSON
|
919
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}, "id"=>"1004"}
|
920
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
921
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
922
|
+
Completed 500 Internal Server Error in 2ms
|
923
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
924
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
925
|
+
------------------------------------------------------
|
926
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
927
|
+
------------------------------------------------------
|
928
|
+
Processing by Blogy::PostsController#show as JSON
|
929
|
+
Parameters: {"id"=>"1005"}
|
930
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
931
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
932
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
933
|
+
---------------------------------------------------------
|
934
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
935
|
+
---------------------------------------------------------
|
936
|
+
Processing by Blogy::PostsController#destroy as JSON
|
937
|
+
Parameters: {"id"=>"1006"}
|
938
|
+
Completed 500 Internal Server Error in 0ms
|
939
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
940
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
941
|
+
--------------------------------------------------------
|
942
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
943
|
+
--------------------------------------------------------
|
944
|
+
Processing by Blogy::PostsController#create as JSON
|
945
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}}
|
946
|
+
Completed 201 Created in 10ms (Views: 5.8ms | ActiveRecord: 0.0ms)
|
947
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
948
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
949
|
+
--------------------------
|
950
|
+
BlogyTest: test_0001_truth
|
951
|
+
--------------------------
|
952
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
953
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
954
|
+
[1m[35m (0.1ms)[0m begin transaction
|
955
|
+
--------------------------
|
956
|
+
BlogyTest: test_0001_truth
|
957
|
+
--------------------------
|
958
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
959
|
+
[1m[35m (0.1ms)[0m begin transaction
|
960
|
+
----------------------------------------------------
|
961
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
962
|
+
----------------------------------------------------
|
963
|
+
Processing by Blogy::PostsController#new as JSON
|
964
|
+
Completed 200 OK in 15ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
965
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
966
|
+
[1m[35m (0.1ms)[0m begin transaction
|
967
|
+
------------------------------------------------------
|
968
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
969
|
+
------------------------------------------------------
|
970
|
+
Processing by Blogy::PostsController#index as JSON
|
971
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
972
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
973
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
974
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
975
|
+
---------------------------------------------------------
|
976
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
977
|
+
---------------------------------------------------------
|
978
|
+
Processing by Blogy::PostsController#destroy as JSON
|
979
|
+
Parameters: {"id"=>"1003"}
|
980
|
+
Completed 204 No Content in 5ms (ActiveRecord: 0.0ms)
|
981
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
982
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
983
|
+
--------------------------------------------------------
|
984
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
985
|
+
--------------------------------------------------------
|
986
|
+
Processing by Blogy::PostsController#update as JSON
|
987
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}, "id"=>"1004"}
|
988
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
989
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
990
|
+
Completed 204 No Content in 4ms (ActiveRecord: 0.2ms)
|
991
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
992
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
993
|
+
-----------------------------------------------------
|
994
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
995
|
+
-----------------------------------------------------
|
996
|
+
Processing by Blogy::PostsController#edit as JSON
|
997
|
+
Parameters: {"id"=>"1005"}
|
998
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
999
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1000
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1001
|
+
--------------------------------------------------------
|
1002
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
1003
|
+
--------------------------------------------------------
|
1004
|
+
Processing by Blogy::PostsController#create as JSON
|
1005
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}}
|
1006
|
+
Completed 201 Created in 8ms (Views: 5.9ms | ActiveRecord: 0.0ms)
|
1007
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1008
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1009
|
+
------------------------------------------------------
|
1010
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
1011
|
+
------------------------------------------------------
|
1012
|
+
Processing by Blogy::PostsController#show as JSON
|
1013
|
+
Parameters: {"id"=>"1007"}
|
1014
|
+
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
1015
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1016
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1017
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1018
|
+
--------------------------
|
1019
|
+
BlogyTest: test_0001_truth
|
1020
|
+
--------------------------
|
1021
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1022
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1023
|
+
-----------------------------------------------------
|
1024
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
1025
|
+
-----------------------------------------------------
|
1026
|
+
Processing by Blogy::PostsController#edit as JSON
|
1027
|
+
Parameters: {"id"=>"1001"}
|
1028
|
+
Completed 200 OK in 14ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1029
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1030
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1031
|
+
---------------------------------------------------------
|
1032
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
1033
|
+
---------------------------------------------------------
|
1034
|
+
Processing by Blogy::PostsController#destroy as JSON
|
1035
|
+
Parameters: {"id"=>"1002"}
|
1036
|
+
Completed 204 No Content in 4ms (ActiveRecord: 0.0ms)
|
1037
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1038
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1039
|
+
----------------------------------------------------
|
1040
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
1041
|
+
----------------------------------------------------
|
1042
|
+
Processing by Blogy::PostsController#new as JSON
|
1043
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
1044
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1045
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1046
|
+
------------------------------------------------------
|
1047
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
1048
|
+
------------------------------------------------------
|
1049
|
+
Processing by Blogy::PostsController#show as JSON
|
1050
|
+
Parameters: {"id"=>"1004"}
|
1051
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1052
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1053
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1054
|
+
--------------------------------------------------------
|
1055
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
1056
|
+
--------------------------------------------------------
|
1057
|
+
Processing by Blogy::PostsController#create as JSON
|
1058
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}}
|
1059
|
+
Completed 201 Created in 8ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
1060
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1061
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1062
|
+
------------------------------------------------------
|
1063
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
1064
|
+
------------------------------------------------------
|
1065
|
+
Processing by Blogy::PostsController#index as JSON
|
1066
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
1067
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
1068
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1069
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1070
|
+
--------------------------------------------------------
|
1071
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
1072
|
+
--------------------------------------------------------
|
1073
|
+
Processing by Blogy::PostsController#update as JSON
|
1074
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "ilustration_tmp"=>nil, "published"=>true}, "id"=>"1007"}
|
1075
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1076
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1077
|
+
Completed 204 No Content in 4ms (ActiveRecord: 0.2ms)
|
1078
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1079
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1080
|
+
[1m[35m (3.8ms)[0m select sqlite_version(*)
|
1081
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")[0m
|
1082
|
+
[1m[35m (0.6ms)[0m SELECT sql
|
1083
|
+
FROM sqlite_master
|
1084
|
+
WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
|
1085
|
+
UNION ALL
|
1086
|
+
SELECT sql
|
1087
|
+
FROM sqlite_temp_master
|
1088
|
+
WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
|
1089
|
+
|
1090
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")[0m
|
1091
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1092
|
+
FROM sqlite_master
|
1093
|
+
WHERE name='index_blogy_post_translations_on_locale' AND type='index'
|
1094
|
+
UNION ALL
|
1095
|
+
SELECT sql
|
1096
|
+
FROM sqlite_temp_master
|
1097
|
+
WHERE name='index_blogy_post_translations_on_locale' AND type='index'
|
1098
|
+
|
1099
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1100
|
+
FROM sqlite_master
|
1101
|
+
WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
|
1102
|
+
UNION ALL
|
1103
|
+
SELECT sql
|
1104
|
+
FROM sqlite_temp_master
|
1105
|
+
WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
|
1106
|
+
[0m
|
1107
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
|
1108
|
+
[1m[36m (5.7ms)[0m [1mCREATE TABLE "blogy_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "draft" boolean, "ilustration" varchar, "ilustration_tmp" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1109
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
1110
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1111
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
1112
|
+
[1m[36m (6.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150211205643')[0m
|
1113
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1114
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1115
|
+
Migrating to CreateBlogyPosts (20150211002506)
|
1116
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1117
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "blogy_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "draft" boolean, "ilustration" varchar, "ilustration_tmp" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1118
|
+
SQLite3::SQLException: table "blogy_posts" already exists: CREATE TABLE "blogy_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "draft" boolean, "ilustration" varchar, "ilustration_tmp" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1119
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1120
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1121
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1122
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1123
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1124
|
+
Migrating to CreateBlogyPosts (20150211002506)
|
1125
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1126
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "blogy_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "draft" boolean, "ilustration" varchar, "ilustration_tmp" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1127
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150211002506"]]
|
1128
|
+
[1m[35m (1.3ms)[0m commit transaction
|
1129
|
+
Migrating to CreateBlogyPostTranslations (20150211205643)
|
1130
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1131
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1132
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")[0m
|
1133
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1134
|
+
FROM sqlite_master
|
1135
|
+
WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
|
1136
|
+
UNION ALL
|
1137
|
+
SELECT sql
|
1138
|
+
FROM sqlite_temp_master
|
1139
|
+
WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
|
1140
|
+
|
1141
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")[0m
|
1142
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1143
|
+
FROM sqlite_master
|
1144
|
+
WHERE name='index_blogy_post_translations_on_locale' AND type='index'
|
1145
|
+
UNION ALL
|
1146
|
+
SELECT sql
|
1147
|
+
FROM sqlite_temp_master
|
1148
|
+
WHERE name='index_blogy_post_translations_on_locale' AND type='index'
|
1149
|
+
|
1150
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1151
|
+
FROM sqlite_master
|
1152
|
+
WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
|
1153
|
+
UNION ALL
|
1154
|
+
SELECT sql
|
1155
|
+
FROM sqlite_temp_master
|
1156
|
+
WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
|
1157
|
+
[0m
|
1158
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
|
1159
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150211205643"]]
|
1160
|
+
[1m[35m (1.0ms)[0m commit transaction
|
1161
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1162
|
+
[1m[35m (0.4ms)[0m SELECT sql
|
1163
|
+
FROM sqlite_master
|
1164
|
+
WHERE name='index_blogy_post_translations_on_slug' AND type='index'
|
1165
|
+
UNION ALL
|
1166
|
+
SELECT sql
|
1167
|
+
FROM sqlite_temp_master
|
1168
|
+
WHERE name='index_blogy_post_translations_on_slug' AND type='index'
|
1169
|
+
|
1170
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
1171
|
+
FROM sqlite_master
|
1172
|
+
WHERE name='index_blogy_post_translations_on_locale' AND type='index'
|
1173
|
+
UNION ALL
|
1174
|
+
SELECT sql
|
1175
|
+
FROM sqlite_temp_master
|
1176
|
+
WHERE name='index_blogy_post_translations_on_locale' AND type='index'
|
1177
|
+
[0m
|
1178
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
1179
|
+
FROM sqlite_master
|
1180
|
+
WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
|
1181
|
+
UNION ALL
|
1182
|
+
SELECT sql
|
1183
|
+
FROM sqlite_temp_master
|
1184
|
+
WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
|
1185
|
+
|
1186
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1187
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1188
|
+
------------------------------------------------------
|
1189
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
1190
|
+
------------------------------------------------------
|
1191
|
+
Processing by Blogy::PostsController#show as JSON
|
1192
|
+
Parameters: {"id"=>"1001"}
|
1193
|
+
Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
1194
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1195
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1196
|
+
----------------------------------------------------
|
1197
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
1198
|
+
----------------------------------------------------
|
1199
|
+
Processing by Blogy::PostsController#new as JSON
|
1200
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1201
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1202
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1203
|
+
------------------------------------------------------
|
1204
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
1205
|
+
------------------------------------------------------
|
1206
|
+
Processing by Blogy::PostsController#index as JSON
|
1207
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
1208
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
1209
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1210
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1211
|
+
--------------------------------------------------------
|
1212
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
1213
|
+
--------------------------------------------------------
|
1214
|
+
Processing by Blogy::PostsController#update as JSON
|
1215
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1004"}
|
1216
|
+
Completed 400 Bad Request in 0ms
|
1217
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1218
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1219
|
+
---------------------------------------------------------
|
1220
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
1221
|
+
---------------------------------------------------------
|
1222
|
+
Processing by Blogy::PostsController#destroy as JSON
|
1223
|
+
Parameters: {"id"=>"1005"}
|
1224
|
+
Completed 204 No Content in 7ms (ActiveRecord: 0.0ms)
|
1225
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1227
|
+
-----------------------------------------------------
|
1228
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
1229
|
+
-----------------------------------------------------
|
1230
|
+
Processing by Blogy::PostsController#edit as JSON
|
1231
|
+
Parameters: {"id"=>"1006"}
|
1232
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
1233
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1235
|
+
--------------------------------------------------------
|
1236
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
1237
|
+
--------------------------------------------------------
|
1238
|
+
Processing by Blogy::PostsController#create as JSON
|
1239
|
+
Parameters: {"post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
|
1240
|
+
Completed 400 Bad Request in 0ms
|
1241
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1242
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1243
|
+
--------------------------
|
1244
|
+
BlogyTest: test_0001_truth
|
1245
|
+
--------------------------
|
1246
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1247
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1248
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1249
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1250
|
+
--------------------------------------------------------
|
1251
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
1252
|
+
--------------------------------------------------------
|
1253
|
+
Processing by Blogy::PostsController#update as JSON
|
1254
|
+
Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1001"}
|
1255
|
+
[1m[36m (0.7ms)[0m [1mSAVEPOINT active_record_1[0m
|
1256
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1257
|
+
Completed 204 No Content in 24ms (ActiveRecord: 0.7ms)
|
1258
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1259
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1260
|
+
-----------------------------------------------------
|
1261
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
1262
|
+
-----------------------------------------------------
|
1263
|
+
Processing by Blogy::PostsController#edit as JSON
|
1264
|
+
Parameters: {"id"=>"1002"}
|
1265
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1266
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1267
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1268
|
+
------------------------------------------------------
|
1269
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
1270
|
+
------------------------------------------------------
|
1271
|
+
Processing by Blogy::PostsController#show as JSON
|
1272
|
+
Parameters: {"id"=>"1003"}
|
1273
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1274
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1275
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1276
|
+
------------------------------------------------------
|
1277
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
1278
|
+
------------------------------------------------------
|
1279
|
+
Processing by Blogy::PostsController#index as JSON
|
1280
|
+
[1m[36mBlogy::Post Load (0.3ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
1281
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)
|
1282
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1283
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1284
|
+
---------------------------------------------------------
|
1285
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
1286
|
+
---------------------------------------------------------
|
1287
|
+
Processing by Blogy::PostsController#destroy as JSON
|
1288
|
+
Parameters: {"id"=>"1005"}
|
1289
|
+
Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
|
1290
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1291
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1292
|
+
----------------------------------------------------
|
1293
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
1294
|
+
----------------------------------------------------
|
1295
|
+
Processing by Blogy::PostsController#new as JSON
|
1296
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
1297
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1298
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1299
|
+
--------------------------------------------------------
|
1300
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
1301
|
+
--------------------------------------------------------
|
1302
|
+
Processing by Blogy::PostsController#create as JSON
|
1303
|
+
Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
|
1304
|
+
Completed 201 Created in 11ms (Views: 8.8ms | ActiveRecord: 0.0ms)
|
1305
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1306
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1307
|
+
--------------------------
|
1308
|
+
BlogyTest: test_0001_truth
|
1309
|
+
--------------------------
|
1310
|
+
[1m[35m (0.1ms)[0m rollback transaction
|