post_pusher 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1008 @@
1
+  (0.1ms) SELECT sqlite_version(*)
2
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3
+  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5
+ Migrating to CreateUser (20150618161222)
6
+  (0.1ms) begin transaction
7
+  (0.4ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL)
8
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618161222"]]
9
+  (0.5ms) commit transaction
10
+ Migrating to CreateSoftDeletables (20151229195418)
11
+  (0.0ms) begin transaction
12
+  (0.2ms) CREATE TABLE "soft_deletables" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "user_deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
13
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151229195418"]]
14
+  (0.5ms) commit transaction
15
+ Migrating to CreatePostPushStatus (20160620190743)
16
+  (0.0ms) begin transaction
17
+  (0.2ms) CREATE TABLE "post_push_statuses" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "task_name" varchar NOT NULL)
18
+  (0.1ms) CREATE INDEX "index_post_push_statuses_on_task_name" ON "post_push_statuses" ("task_name")
19
+ ActiveRecord::SchemaMigration Create (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160620190743"]]
20
+  (0.5ms) commit transaction
21
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
22
+  (0.0ms) begin transaction
23
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-06-28 13:26:48.853070"], ["updated_at", "2018-06-28 13:26:48.853070"]]
24
+  (0.4ms) commit transaction
25
+ ---------------------------------------------------------
26
+ #work: test_0001_should not mark failed tasks as finished
27
+ ---------------------------------------------------------
28
+  (0.7ms) DELETE FROM post_push_statuses
29
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
30
+  (0.2ms) SELECT task_name from post_push_statuses
31
+  (0.9ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
32
+  (0.1ms) SELECT task_name from post_push_statuses
33
+ --------------------------------------------------------------------------------------------------
34
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
35
+ --------------------------------------------------------------------------------------------------
36
+  (0.6ms) DELETE FROM post_push_statuses
37
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
38
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
39
+  (0.1ms) SELECT task_name from post_push_statuses
40
+ ------------------------------------------------------
41
+ happy path: test_0001_should log the rake tasks output
42
+ ------------------------------------------------------
43
+ --------------------------------------------------------------------------
44
+ #runnable_tasks: test_0001_should only return tasks that have not been run
45
+ --------------------------------------------------------------------------
46
+  (0.7ms) DELETE FROM post_push_statuses
47
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
48
+  (0.1ms) SELECT task_name from post_push_statuses
49
+ -----------------------------------------------------------------------
50
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
51
+ -----------------------------------------------------------------------
52
+  (0.6ms) DELETE FROM post_push_statuses
53
+  (0.7ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
54
+  (0.2ms) SELECT task_name from post_push_statuses
55
+ ---------------------------------------------------------------------
56
+ #completed_tasks: test_0001_should return tasks we know are completed
57
+ ---------------------------------------------------------------------
58
+  (0.6ms) DELETE FROM post_push_statuses
59
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
60
+  (0.1ms) SELECT task_name from post_push_statuses
61
+ -------------------------------------------------------------------------------
62
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
63
+ -------------------------------------------------------------------------------
64
+  (0.5ms) DELETE FROM post_push_statuses
65
+  (0.4ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
66
+ ----------------------------------------------------
67
+ broken tasks: test_0001_should also log busted tasks
68
+ ----------------------------------------------------
69
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
70
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
71
+  (0.0ms) begin transaction
72
+  (0.0ms) commit transaction
73
+ --------------------------------------------------------------------------------------------------
74
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
75
+ --------------------------------------------------------------------------------------------------
76
+  (0.9ms) DELETE FROM post_push_statuses
77
+  (0.8ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
78
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
79
+  (0.1ms) SELECT task_name from post_push_statuses
80
+ ---------------------------------------------------------
81
+ #work: test_0001_should not mark failed tasks as finished
82
+ ---------------------------------------------------------
83
+  (0.4ms) DELETE FROM post_push_statuses
84
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
85
+  (0.2ms) SELECT task_name from post_push_statuses
86
+  (1.0ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
87
+  (0.1ms) SELECT task_name from post_push_statuses
88
+ ------------------------------------------------------
89
+ happy path: test_0001_should log the rake tasks output
90
+ ------------------------------------------------------
91
+ ---------------------------------------------------------------------
92
+ #completed_tasks: test_0001_should return tasks we know are completed
93
+ ---------------------------------------------------------------------
94
+  (0.6ms) DELETE FROM post_push_statuses
95
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
96
+  (0.1ms) SELECT task_name from post_push_statuses
97
+ ----------------------------------------------------
98
+ broken tasks: test_0001_should also log busted tasks
99
+ ----------------------------------------------------
100
+ -----------------------------------------------------------------------
101
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
102
+ -----------------------------------------------------------------------
103
+  (2.6ms) DELETE FROM post_push_statuses
104
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
105
+  (0.1ms) SELECT task_name from post_push_statuses
106
+ --------------------------------------------------------------------------
107
+ #runnable_tasks: test_0001_should only return tasks that have not been run
108
+ --------------------------------------------------------------------------
109
+  (0.5ms) DELETE FROM post_push_statuses
110
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
111
+  (0.1ms) SELECT task_name from post_push_statuses
112
+ -------------------------------------------------------------------------------
113
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
114
+ -------------------------------------------------------------------------------
115
+  (0.6ms) DELETE FROM post_push_statuses
116
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
117
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
118
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
119
+  (0.0ms) begin transaction
120
+  (0.0ms) commit transaction
121
+ --------------------------------------------------------------------------------------------------
122
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
123
+ --------------------------------------------------------------------------------------------------
124
+  (0.9ms) DELETE FROM post_push_statuses
125
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
126
+  (0.8ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
127
+  (0.1ms) SELECT task_name from post_push_statuses
128
+ ------------------------------------------------------
129
+ happy path: test_0001_should log the rake tasks output
130
+ ------------------------------------------------------
131
+ ----------------------------------------------------
132
+ broken tasks: test_0001_should also log busted tasks
133
+ ----------------------------------------------------
134
+ -------------------------------------------------------------------------------
135
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
136
+ -------------------------------------------------------------------------------
137
+  (0.8ms) DELETE FROM post_push_statuses
138
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
139
+ --------------------------------------------------------------------------
140
+ #runnable_tasks: test_0001_should only return tasks that have not been run
141
+ --------------------------------------------------------------------------
142
+  (0.7ms) DELETE FROM post_push_statuses
143
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
144
+  (0.2ms) SELECT task_name from post_push_statuses
145
+ -----------------------------------------------------------------------
146
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
147
+ -----------------------------------------------------------------------
148
+  (0.6ms) DELETE FROM post_push_statuses
149
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
150
+  (0.1ms) SELECT task_name from post_push_statuses
151
+ ---------------------------------------------------------
152
+ #work: test_0001_should not mark failed tasks as finished
153
+ ---------------------------------------------------------
154
+  (0.5ms) DELETE FROM post_push_statuses
155
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
156
+  (0.1ms) SELECT task_name from post_push_statuses
157
+  (0.8ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
158
+  (0.1ms) SELECT task_name from post_push_statuses
159
+ ---------------------------------------------------------------------
160
+ #completed_tasks: test_0001_should return tasks we know are completed
161
+ ---------------------------------------------------------------------
162
+  (0.6ms) DELETE FROM post_push_statuses
163
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
164
+  (0.1ms) SELECT task_name from post_push_statuses
165
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
166
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
167
+  (0.0ms) begin transaction
168
+  (0.0ms) commit transaction
169
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
170
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
171
+  (0.0ms) begin transaction
172
+  (0.0ms) commit transaction
173
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
174
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
175
+  (0.0ms) begin transaction
176
+  (0.0ms) commit transaction
177
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
178
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
179
+  (0.0ms) begin transaction
180
+  (0.0ms) commit transaction
181
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
182
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
183
+  (0.1ms) begin transaction
184
+  (0.0ms) commit transaction
185
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
186
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
187
+  (0.1ms) begin transaction
188
+  (0.0ms) commit transaction
189
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
190
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
191
+  (0.1ms) begin transaction
192
+  (0.0ms) commit transaction
193
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
194
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
195
+  (0.0ms) begin transaction
196
+  (0.0ms) commit transaction
197
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
198
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
199
+  (0.0ms) begin transaction
200
+  (0.0ms) commit transaction
201
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
202
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
203
+  (0.0ms) begin transaction
204
+  (0.0ms) commit transaction
205
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
206
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
207
+  (0.0ms) begin transaction
208
+  (0.0ms) commit transaction
209
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
210
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
211
+  (0.0ms) begin transaction
212
+  (0.0ms) commit transaction
213
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
214
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
215
+  (0.0ms) begin transaction
216
+  (0.0ms) commit transaction
217
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
218
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
219
+  (0.0ms) begin transaction
220
+  (0.0ms) commit transaction
221
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
222
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
223
+  (0.0ms) begin transaction
224
+  (0.0ms) commit transaction
225
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
226
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
227
+  (0.0ms) begin transaction
228
+  (0.0ms) commit transaction
229
+ ------------------------------------------------------
230
+ happy path: test_0001_should log the rake tasks output
231
+ ------------------------------------------------------
232
+ ---------------------------------------------------------------------
233
+ #completed_tasks: test_0001_should return tasks we know are completed
234
+ ---------------------------------------------------------------------
235
+  (1.8ms) DELETE FROM post_push_statuses
236
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
237
+  (0.1ms) SELECT task_name from post_push_statuses
238
+ ---------------------------------------------------------
239
+ #work: test_0001_should not mark failed tasks as finished
240
+ ---------------------------------------------------------
241
+  (0.6ms) DELETE FROM post_push_statuses
242
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
243
+  (0.2ms) SELECT task_name from post_push_statuses
244
+  (0.9ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
245
+  (0.1ms) SELECT task_name from post_push_statuses
246
+ --------------------------------------------------------------------------------------------------
247
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
248
+ --------------------------------------------------------------------------------------------------
249
+  (0.5ms) DELETE FROM post_push_statuses
250
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
251
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
252
+  (0.1ms) SELECT task_name from post_push_statuses
253
+ -------------------------------------------------------------------------------
254
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
255
+ -------------------------------------------------------------------------------
256
+  (0.5ms) DELETE FROM post_push_statuses
257
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
258
+ ----------------------------------------------------------------------------------
259
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
260
+ ----------------------------------------------------------------------------------
261
+ --------------------------------------------------------------------------
262
+ #runnable_tasks: test_0001_should only return tasks that have not been run
263
+ --------------------------------------------------------------------------
264
+  (0.6ms) DELETE FROM post_push_statuses
265
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
266
+  (0.1ms) SELECT task_name from post_push_statuses
267
+ -----------------------------------------------------------------------
268
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
269
+ -----------------------------------------------------------------------
270
+  (0.5ms) DELETE FROM post_push_statuses
271
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
272
+  (0.1ms) SELECT task_name from post_push_statuses
273
+ ----------------------------------------------------
274
+ broken tasks: test_0001_should also log busted tasks
275
+ ----------------------------------------------------
276
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
277
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
278
+  (0.0ms) begin transaction
279
+  (0.0ms) commit transaction
280
+ ------------------------------------------------------
281
+ happy path: test_0001_should log the rake tasks output
282
+ ------------------------------------------------------
283
+ ----------------------------------------------------------------------------------
284
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
285
+ ----------------------------------------------------------------------------------
286
+ --------------------------------------------------------------------------------------------------
287
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
288
+ --------------------------------------------------------------------------------------------------
289
+  (0.7ms) DELETE FROM post_push_statuses
290
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
291
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
292
+  (0.2ms) SELECT task_name from post_push_statuses
293
+ ---------------------------------------------------------
294
+ #work: test_0001_should not mark failed tasks as finished
295
+ ---------------------------------------------------------
296
+  (0.5ms) DELETE FROM post_push_statuses
297
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
298
+  (0.2ms) SELECT task_name from post_push_statuses
299
+  (0.9ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
300
+  (0.1ms) SELECT task_name from post_push_statuses
301
+ --------------------------------------------------------------------------
302
+ #runnable_tasks: test_0001_should only return tasks that have not been run
303
+ --------------------------------------------------------------------------
304
+  (0.5ms) DELETE FROM post_push_statuses
305
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
306
+  (0.1ms) SELECT task_name from post_push_statuses
307
+ -----------------------------------------------------------------------
308
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
309
+ -----------------------------------------------------------------------
310
+  (0.6ms) DELETE FROM post_push_statuses
311
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
312
+  (0.1ms) SELECT task_name from post_push_statuses
313
+ ----------------------------------------------------
314
+ broken tasks: test_0001_should also log busted tasks
315
+ ----------------------------------------------------
316
+ -------------------------------------------------------------------------------
317
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
318
+ -------------------------------------------------------------------------------
319
+  (0.8ms) DELETE FROM post_push_statuses
320
+  (0.7ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
321
+ ---------------------------------------------------------------------
322
+ #completed_tasks: test_0001_should return tasks we know are completed
323
+ ---------------------------------------------------------------------
324
+  (0.5ms) DELETE FROM post_push_statuses
325
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
326
+  (0.1ms) SELECT task_name from post_push_statuses
327
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
328
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
329
+  (0.1ms) begin transaction
330
+  (0.1ms) commit transaction
331
+ ---------------------------------------------------------
332
+ #work: test_0001_should not mark failed tasks as finished
333
+ ---------------------------------------------------------
334
+  (1.2ms) DELETE FROM post_push_statuses
335
+  (0.7ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
336
+  (0.2ms) SELECT task_name from post_push_statuses
337
+  (0.9ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
338
+  (0.1ms) SELECT task_name from post_push_statuses
339
+ ---------------------------------------------------------------------
340
+ #completed_tasks: test_0001_should return tasks we know are completed
341
+ ---------------------------------------------------------------------
342
+  (0.4ms) DELETE FROM post_push_statuses
343
+  (0.4ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
344
+  (0.1ms) SELECT task_name from post_push_statuses
345
+ ----------------------------------------------------
346
+ broken tasks: test_0001_should also log busted tasks
347
+ ----------------------------------------------------
348
+ ----------------------------------------------------------------------------------
349
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
350
+ ----------------------------------------------------------------------------------
351
+ --------------------------------------------------------------------------
352
+ #runnable_tasks: test_0001_should only return tasks that have not been run
353
+ --------------------------------------------------------------------------
354
+  (0.8ms) DELETE FROM post_push_statuses
355
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
356
+  (0.1ms) SELECT task_name from post_push_statuses
357
+ -----------------------------------------------------------------------
358
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
359
+ -----------------------------------------------------------------------
360
+  (1.3ms) DELETE FROM post_push_statuses
361
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
362
+  (0.1ms) SELECT task_name from post_push_statuses
363
+ --------------------------------------------------------------------------------------------------
364
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
365
+ --------------------------------------------------------------------------------------------------
366
+  (0.5ms) DELETE FROM post_push_statuses
367
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
368
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
369
+  (0.1ms) SELECT task_name from post_push_statuses
370
+ ------------------------------------------------------
371
+ happy path: test_0001_should log the rake tasks output
372
+ ------------------------------------------------------
373
+ -------------------------------------------------------------------------------
374
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
375
+ -------------------------------------------------------------------------------
376
+  (0.8ms) DELETE FROM post_push_statuses
377
+  (0.7ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
378
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
379
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
380
+  (0.1ms) begin transaction
381
+  (0.0ms) commit transaction
382
+ ------------------------------------------------------
383
+ happy path: test_0001_should log the rake tasks output
384
+ ------------------------------------------------------
385
+ ----------------------------------------------------------------------------------
386
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
387
+ ----------------------------------------------------------------------------------
388
+ -------------------------------------------------------------------------------
389
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
390
+ -------------------------------------------------------------------------------
391
+  (0.9ms) DELETE FROM post_push_statuses
392
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
393
+ ----------------------------------------------------
394
+ broken tasks: test_0001_should also log busted tasks
395
+ ----------------------------------------------------
396
+ --------------------------------------------------------------------------
397
+ #runnable_tasks: test_0001_should only return tasks that have not been run
398
+ --------------------------------------------------------------------------
399
+  (0.9ms) DELETE FROM post_push_statuses
400
+  (0.9ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
401
+  (0.1ms) SELECT task_name from post_push_statuses
402
+ -----------------------------------------------------------------------
403
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
404
+ -----------------------------------------------------------------------
405
+  (0.5ms) DELETE FROM post_push_statuses
406
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
407
+  (0.1ms) SELECT task_name from post_push_statuses
408
+ ---------------------------------------------------------
409
+ #work: test_0001_should not mark failed tasks as finished
410
+ ---------------------------------------------------------
411
+  (0.5ms) DELETE FROM post_push_statuses
412
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
413
+  (0.1ms) SELECT task_name from post_push_statuses
414
+  (0.8ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
415
+  (0.1ms) SELECT task_name from post_push_statuses
416
+ --------------------------------------------------------------------------------------------------
417
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
418
+ --------------------------------------------------------------------------------------------------
419
+  (0.5ms) DELETE FROM post_push_statuses
420
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
421
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
422
+  (0.1ms) SELECT task_name from post_push_statuses
423
+ ---------------------------------------------------------------------
424
+ #completed_tasks: test_0001_should return tasks we know are completed
425
+ ---------------------------------------------------------------------
426
+  (0.5ms) DELETE FROM post_push_statuses
427
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
428
+  (0.1ms) SELECT task_name from post_push_statuses
429
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
430
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
431
+  (0.1ms) begin transaction
432
+  (0.0ms) commit transaction
433
+ -------------------------------------------------------------------------------
434
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
435
+ -------------------------------------------------------------------------------
436
+  (1.6ms) DELETE FROM post_push_statuses
437
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
438
+ ---------------------------------------------------------------------
439
+ #completed_tasks: test_0001_should return tasks we know are completed
440
+ ---------------------------------------------------------------------
441
+  (0.7ms) DELETE FROM post_push_statuses
442
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
443
+  (0.1ms) SELECT task_name from post_push_statuses
444
+ ---------------------------------------------------------
445
+ #work: test_0001_should not mark failed tasks as finished
446
+ ---------------------------------------------------------
447
+  (0.5ms) DELETE FROM post_push_statuses
448
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
449
+  (0.1ms) SELECT task_name from post_push_statuses
450
+  (1.0ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
451
+  (0.2ms) SELECT task_name from post_push_statuses
452
+ ----------------------------------------------------
453
+ broken tasks: test_0001_should also log busted tasks
454
+ ----------------------------------------------------
455
+ ------------------------------------------------------
456
+ happy path: test_0001_should log the rake tasks output
457
+ ------------------------------------------------------
458
+ --------------------------------------------------------------------------------------------------
459
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
460
+ --------------------------------------------------------------------------------------------------
461
+  (0.8ms) DELETE FROM post_push_statuses
462
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
463
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
464
+  (0.1ms) SELECT task_name from post_push_statuses
465
+ ----------------------------------------------------------------------------------
466
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
467
+ ----------------------------------------------------------------------------------
468
+ -----------------------------------------------------------------------
469
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
470
+ -----------------------------------------------------------------------
471
+  (0.7ms) DELETE FROM post_push_statuses
472
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
473
+  (0.1ms) SELECT task_name from post_push_statuses
474
+ --------------------------------------------------------------------------
475
+ #runnable_tasks: test_0001_should only return tasks that have not been run
476
+ --------------------------------------------------------------------------
477
+  (0.6ms) DELETE FROM post_push_statuses
478
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
479
+  (0.1ms) SELECT task_name from post_push_statuses
480
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
481
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
482
+  (0.0ms) begin transaction
483
+  (0.0ms) commit transaction
484
+ ----------------------------------------------------
485
+ broken tasks: test_0001_should also log busted tasks
486
+ ----------------------------------------------------
487
+ ---------------------------------------------------------------------
488
+ #completed_tasks: test_0001_should return tasks we know are completed
489
+ ---------------------------------------------------------------------
490
+  (1.3ms) DELETE FROM post_push_statuses
491
+  (0.7ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
492
+  (0.1ms) SELECT task_name from post_push_statuses
493
+ ----------------------------------------------------------------------------------
494
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
495
+ ----------------------------------------------------------------------------------
496
+ ------------------------------------------------------
497
+ happy path: test_0001_should log the rake tasks output
498
+ ------------------------------------------------------
499
+ --------------------------------------------------------------------------------------------------
500
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
501
+ --------------------------------------------------------------------------------------------------
502
+  (0.8ms) DELETE FROM post_push_statuses
503
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
504
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
505
+  (0.1ms) SELECT task_name from post_push_statuses
506
+ -------------------------------------------------------------------------------
507
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
508
+ -------------------------------------------------------------------------------
509
+  (0.5ms) DELETE FROM post_push_statuses
510
+  (0.4ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
511
+ --------------------------------------------------------------------------
512
+ #runnable_tasks: test_0001_should only return tasks that have not been run
513
+ --------------------------------------------------------------------------
514
+  (0.7ms) DELETE FROM post_push_statuses
515
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
516
+  (0.2ms) SELECT task_name from post_push_statuses
517
+ -----------------------------------------------------------------------
518
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
519
+ -----------------------------------------------------------------------
520
+  (0.6ms) DELETE FROM post_push_statuses
521
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
522
+  (0.1ms) SELECT task_name from post_push_statuses
523
+ ---------------------------------------------------------
524
+ #work: test_0001_should not mark failed tasks as finished
525
+ ---------------------------------------------------------
526
+  (0.6ms) DELETE FROM post_push_statuses
527
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
528
+  (0.1ms) SELECT task_name from post_push_statuses
529
+  (0.8ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
530
+  (0.1ms) SELECT task_name from post_push_statuses
531
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
532
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
533
+  (0.1ms) begin transaction
534
+  (0.1ms) commit transaction
535
+ -------------------------------------------------------------------------------
536
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
537
+ -------------------------------------------------------------------------------
538
+  (1.1ms) DELETE FROM post_push_statuses
539
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
540
+ --------------------------------------------------------------------------------------------------
541
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
542
+ --------------------------------------------------------------------------------------------------
543
+  (0.7ms) DELETE FROM post_push_statuses
544
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
545
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
546
+  (0.1ms) SELECT task_name from post_push_statuses
547
+ ----------------------------------------------------------------------------------
548
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
549
+ ----------------------------------------------------------------------------------
550
+ ------------------------------------------------------
551
+ happy path: test_0001_should log the rake tasks output
552
+ ------------------------------------------------------
553
+ ---------------------------------------------------------------------
554
+ #completed_tasks: test_0001_should return tasks we know are completed
555
+ ---------------------------------------------------------------------
556
+  (0.9ms) DELETE FROM post_push_statuses
557
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
558
+  (0.1ms) SELECT task_name from post_push_statuses
559
+ ---------------------------------------------------------
560
+ #work: test_0001_should not mark failed tasks as finished
561
+ ---------------------------------------------------------
562
+  (0.5ms) DELETE FROM post_push_statuses
563
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
564
+  (0.1ms) SELECT task_name from post_push_statuses
565
+  (0.8ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
566
+  (0.1ms) SELECT task_name from post_push_statuses
567
+ --------------------------------------------------------------------------
568
+ #runnable_tasks: test_0001_should only return tasks that have not been run
569
+ --------------------------------------------------------------------------
570
+  (0.5ms) DELETE FROM post_push_statuses
571
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
572
+  (0.1ms) SELECT task_name from post_push_statuses
573
+ -----------------------------------------------------------------------
574
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
575
+ -----------------------------------------------------------------------
576
+  (0.5ms) DELETE FROM post_push_statuses
577
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
578
+  (0.1ms) SELECT task_name from post_push_statuses
579
+ ----------------------------------------------------
580
+ broken tasks: test_0001_should also log busted tasks
581
+ ----------------------------------------------------
582
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
583
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
584
+  (0.0ms) begin transaction
585
+  (0.0ms) commit transaction
586
+ ----------------------------------------------------------------------------------
587
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
588
+ ----------------------------------------------------------------------------------
589
+ --------------------------------------------------------------------------
590
+ #runnable_tasks: test_0001_should only return tasks that have not been run
591
+ --------------------------------------------------------------------------
592
+  (0.9ms) DELETE FROM post_push_statuses
593
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
594
+  (0.2ms) SELECT task_name from post_push_statuses
595
+ -----------------------------------------------------------------------
596
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
597
+ -----------------------------------------------------------------------
598
+  (0.6ms) DELETE FROM post_push_statuses
599
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
600
+  (0.1ms) SELECT task_name from post_push_statuses
601
+ ---------------------------------------------------------
602
+ #work: test_0001_should not mark failed tasks as finished
603
+ ---------------------------------------------------------
604
+  (0.7ms) DELETE FROM post_push_statuses
605
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
606
+  (0.1ms) SELECT task_name from post_push_statuses
607
+  (0.7ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
608
+  (0.1ms) SELECT task_name from post_push_statuses
609
+ ---------------------------------------------------------------------
610
+ #completed_tasks: test_0001_should return tasks we know are completed
611
+ ---------------------------------------------------------------------
612
+  (0.6ms) DELETE FROM post_push_statuses
613
+  (0.4ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
614
+  (0.1ms) SELECT task_name from post_push_statuses
615
+ -------------------------------------------------------------------------------
616
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
617
+ -------------------------------------------------------------------------------
618
+  (0.4ms) DELETE FROM post_push_statuses
619
+  (0.4ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
620
+ ------------------------------------------------------
621
+ happy path: test_0001_should log the rake tasks output
622
+ ------------------------------------------------------
623
+ --------------------------------------------------------------------------------------------------
624
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
625
+ --------------------------------------------------------------------------------------------------
626
+  (0.6ms) DELETE FROM post_push_statuses
627
+  (0.4ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
628
+  (0.4ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
629
+  (0.1ms) SELECT task_name from post_push_statuses
630
+ ----------------------------------------------------
631
+ broken tasks: test_0001_should also log busted tasks
632
+ ----------------------------------------------------
633
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
634
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
635
+  (0.1ms) begin transaction
636
+  (0.0ms) commit transaction
637
+ -------------------------------------------------------------------------------
638
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
639
+ -------------------------------------------------------------------------------
640
+  (0.9ms) DELETE FROM post_push_statuses
641
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
642
+ --------------------------------------------------------------------------------------------------
643
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
644
+ --------------------------------------------------------------------------------------------------
645
+  (0.9ms) DELETE FROM post_push_statuses
646
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
647
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
648
+  (0.1ms) SELECT task_name from post_push_statuses
649
+ ----------------------------------------------------------------------------------
650
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
651
+ ----------------------------------------------------------------------------------
652
+ ----------------------------------------------------
653
+ broken tasks: test_0001_should also log busted tasks
654
+ ----------------------------------------------------
655
+ --------------------------------------------------------------------------
656
+ #runnable_tasks: test_0001_should only return tasks that have not been run
657
+ --------------------------------------------------------------------------
658
+  (0.8ms) DELETE FROM post_push_statuses
659
+  (0.7ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
660
+  (0.1ms) SELECT task_name from post_push_statuses
661
+ -----------------------------------------------------------------------
662
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
663
+ -----------------------------------------------------------------------
664
+  (1.2ms) DELETE FROM post_push_statuses
665
+  (0.7ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
666
+  (0.1ms) SELECT task_name from post_push_statuses
667
+ ---------------------------------------------------------
668
+ #work: test_0001_should not mark failed tasks as finished
669
+ ---------------------------------------------------------
670
+  (0.6ms) DELETE FROM post_push_statuses
671
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
672
+  (0.1ms) SELECT task_name from post_push_statuses
673
+  (0.7ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
674
+  (0.1ms) SELECT task_name from post_push_statuses
675
+ ---------------------------------------------------------------------
676
+ #completed_tasks: test_0001_should return tasks we know are completed
677
+ ---------------------------------------------------------------------
678
+  (0.5ms) DELETE FROM post_push_statuses
679
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
680
+  (0.1ms) SELECT task_name from post_push_statuses
681
+ ------------------------------------------------------
682
+ happy path: test_0001_should log the rake tasks output
683
+ ------------------------------------------------------
684
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
685
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
686
+  (0.1ms) begin transaction
687
+  (0.0ms) commit transaction
688
+ --------------------------------------------------------------------------------------------------
689
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
690
+ --------------------------------------------------------------------------------------------------
691
+  (1.7ms) DELETE FROM post_push_statuses
692
+  (0.7ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
693
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
694
+  (0.1ms) SELECT task_name from post_push_statuses
695
+ ----------------------------------------------------
696
+ broken tasks: test_0001_should also log busted tasks
697
+ ----------------------------------------------------
698
+ ----------------------------------------------------------------------------------
699
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
700
+ ----------------------------------------------------------------------------------
701
+ ---------------------------------------------------------------------
702
+ #completed_tasks: test_0001_should return tasks we know are completed
703
+ ---------------------------------------------------------------------
704
+  (0.7ms) DELETE FROM post_push_statuses
705
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
706
+  (0.1ms) SELECT task_name from post_push_statuses
707
+ ---------------------------------------------------------
708
+ #work: test_0001_should not mark failed tasks as finished
709
+ ---------------------------------------------------------
710
+  (0.6ms) DELETE FROM post_push_statuses
711
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
712
+  (0.3ms) SELECT task_name from post_push_statuses
713
+  (0.8ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
714
+  (0.1ms) SELECT task_name from post_push_statuses
715
+ --------------------------------------------------------------------------
716
+ #runnable_tasks: test_0001_should only return tasks that have not been run
717
+ --------------------------------------------------------------------------
718
+  (0.5ms) DELETE FROM post_push_statuses
719
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
720
+  (0.1ms) SELECT task_name from post_push_statuses
721
+ -----------------------------------------------------------------------
722
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
723
+ -----------------------------------------------------------------------
724
+  (0.5ms) DELETE FROM post_push_statuses
725
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
726
+  (0.1ms) SELECT task_name from post_push_statuses
727
+ -------------------------------------------------------------------------------
728
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
729
+ -------------------------------------------------------------------------------
730
+  (0.6ms) DELETE FROM post_push_statuses
731
+  (2.2ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
732
+ ------------------------------------------------------
733
+ happy path: test_0001_should log the rake tasks output
734
+ ------------------------------------------------------
735
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
736
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
737
+  (0.0ms) begin transaction
738
+  (0.0ms) commit transaction
739
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
740
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
741
+  (0.0ms) begin transaction
742
+  (0.0ms) commit transaction
743
+ ---------------------------------------------------------------------
744
+ #completed_tasks: test_0001_should return tasks we know are completed
745
+ ---------------------------------------------------------------------
746
+  (1.2ms) DELETE FROM post_push_statuses
747
+  (0.9ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
748
+  (0.1ms) SELECT task_name from post_push_statuses
749
+ ------------------------------------------------------
750
+ happy path: test_0001_should log the rake tasks output
751
+ ------------------------------------------------------
752
+ --------------------------------------------------------------------------------------------------
753
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
754
+ --------------------------------------------------------------------------------------------------
755
+  (0.8ms) DELETE FROM post_push_statuses
756
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
757
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
758
+  (0.1ms) SELECT task_name from post_push_statuses
759
+ ----------------------------------------------------------------------------------
760
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
761
+ ----------------------------------------------------------------------------------
762
+ -----------------------------------------------------------------------------------------------------
763
+ PostPusher::Generators::InstallGeneratorTest: test_0002_skips the migration file if it already exists
764
+ -----------------------------------------------------------------------------------------------------
765
+ -------------------------------------------------------------------------------
766
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
767
+ -------------------------------------------------------------------------------
768
+  (0.6ms) DELETE FROM post_push_statuses
769
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
770
+ --------------------------------------------------------------------------
771
+ #runnable_tasks: test_0001_should only return tasks that have not been run
772
+ --------------------------------------------------------------------------
773
+  (0.7ms) DELETE FROM post_push_statuses
774
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
775
+  (0.1ms) SELECT task_name from post_push_statuses
776
+ -----------------------------------------------------------------------
777
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
778
+ -----------------------------------------------------------------------
779
+  (0.5ms) DELETE FROM post_push_statuses
780
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
781
+  (0.1ms) SELECT task_name from post_push_statuses
782
+ ---------------------------------------------------------
783
+ #work: test_0001_should not mark failed tasks as finished
784
+ ---------------------------------------------------------
785
+  (0.6ms) DELETE FROM post_push_statuses
786
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
787
+  (0.1ms) SELECT task_name from post_push_statuses
788
+  (1.0ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
789
+  (0.1ms) SELECT task_name from post_push_statuses
790
+ ----------------------------------------------------
791
+ broken tasks: test_0001_should also log busted tasks
792
+ ----------------------------------------------------
793
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
794
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
795
+  (0.0ms) begin transaction
796
+  (0.0ms) commit transaction
797
+ ----------------------------------------------------
798
+ broken tasks: test_0001_should also log busted tasks
799
+ ----------------------------------------------------
800
+ ----------------------------------------------------------------------------------
801
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
802
+ ----------------------------------------------------------------------------------
803
+ -----------------------------------------------------------------------------------------------------
804
+ PostPusher::Generators::InstallGeneratorTest: test_0002_skips the migration file if it already exists
805
+ -----------------------------------------------------------------------------------------------------
806
+ --------------------------------------------------------------------------
807
+ #runnable_tasks: test_0001_should only return tasks that have not been run
808
+ --------------------------------------------------------------------------
809
+  (0.9ms) DELETE FROM post_push_statuses
810
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
811
+  (0.3ms) SELECT task_name from post_push_statuses
812
+ -----------------------------------------------------------------------
813
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
814
+ -----------------------------------------------------------------------
815
+  (0.9ms) DELETE FROM post_push_statuses
816
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
817
+  (0.1ms) SELECT task_name from post_push_statuses
818
+ --------------------------------------------------------------------------------------------------
819
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
820
+ --------------------------------------------------------------------------------------------------
821
+  (0.5ms) DELETE FROM post_push_statuses
822
+  (0.4ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
823
+  (0.4ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
824
+  (0.1ms) SELECT task_name from post_push_statuses
825
+ ---------------------------------------------------------
826
+ #work: test_0001_should not mark failed tasks as finished
827
+ ---------------------------------------------------------
828
+  (0.4ms) DELETE FROM post_push_statuses
829
+  (0.4ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
830
+  (0.1ms) SELECT task_name from post_push_statuses
831
+  (0.8ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
832
+  (0.1ms) SELECT task_name from post_push_statuses
833
+ -------------------------------------------------------------------------------
834
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
835
+ -------------------------------------------------------------------------------
836
+  (0.5ms) DELETE FROM post_push_statuses
837
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
838
+ ---------------------------------------------------------------------
839
+ #completed_tasks: test_0001_should return tasks we know are completed
840
+ ---------------------------------------------------------------------
841
+  (0.6ms) DELETE FROM post_push_statuses
842
+  (0.7ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
843
+  (0.1ms) SELECT task_name from post_push_statuses
844
+ ------------------------------------------------------
845
+ happy path: test_0001_should log the rake tasks output
846
+ ------------------------------------------------------
847
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
848
+ ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
849
+  (0.0ms) begin transaction
850
+  (0.0ms) commit transaction
851
+ --------------------------------------------------------------------------------------------------
852
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
853
+ --------------------------------------------------------------------------------------------------
854
+  (0.8ms) DELETE FROM post_push_statuses
855
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
856
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
857
+  (0.1ms) SELECT task_name from post_push_statuses
858
+ ------------------------------------------------------
859
+ happy path: test_0001_should log the rake tasks output
860
+ ------------------------------------------------------
861
+ ---------------------------------------------------------------------
862
+ #completed_tasks: test_0001_should return tasks we know are completed
863
+ ---------------------------------------------------------------------
864
+  (0.7ms) DELETE FROM post_push_statuses
865
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
866
+  (0.1ms) SELECT task_name from post_push_statuses
867
+ ----------------------------------------------------------------------------------
868
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
869
+ ----------------------------------------------------------------------------------
870
+ -----------------------------------------------------------------------------------------------------
871
+ PostPusher::Generators::InstallGeneratorTest: test_0002_skips the migration file if it already exists
872
+ -----------------------------------------------------------------------------------------------------
873
+ ----------------------------------------------------
874
+ broken tasks: test_0001_should also log busted tasks
875
+ ----------------------------------------------------
876
+ ---------------------------------------------------------
877
+ #work: test_0001_should not mark failed tasks as finished
878
+ ---------------------------------------------------------
879
+  (0.8ms) DELETE FROM post_push_statuses
880
+  (1.4ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
881
+  (0.2ms) SELECT task_name from post_push_statuses
882
+  (0.8ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
883
+  (0.1ms) SELECT task_name from post_push_statuses
884
+ --------------------------------------------------------------------------
885
+ #runnable_tasks: test_0001_should only return tasks that have not been run
886
+ --------------------------------------------------------------------------
887
+  (0.5ms) DELETE FROM post_push_statuses
888
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
889
+  (0.1ms) SELECT task_name from post_push_statuses
890
+ -----------------------------------------------------------------------
891
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
892
+ -----------------------------------------------------------------------
893
+  (0.6ms) DELETE FROM post_push_statuses
894
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
895
+  (0.1ms) SELECT task_name from post_push_statuses
896
+ -------------------------------------------------------------------------------
897
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
898
+ -------------------------------------------------------------------------------
899
+  (0.5ms) DELETE FROM post_push_statuses
900
+  (2.2ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
901
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
902
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
903
+  (0.0ms) begin transaction
904
+  (0.0ms) commit transaction
905
+ -------------------------------------------------------------------------------
906
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
907
+ -------------------------------------------------------------------------------
908
+  (0.7ms) DELETE FROM post_push_statuses
909
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
910
+ ---------------------------------------------------------------------
911
+ #completed_tasks: test_0001_should return tasks we know are completed
912
+ ---------------------------------------------------------------------
913
+  (0.8ms) DELETE FROM post_push_statuses
914
+  (0.7ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
915
+  (0.1ms) SELECT task_name from post_push_statuses
916
+ ----------------------------------------------------------------------------------
917
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
918
+ ----------------------------------------------------------------------------------
919
+ -----------------------------------------------------------------------------------------------------
920
+ PostPusher::Generators::InstallGeneratorTest: test_0002_skips the migration file if it already exists
921
+ -----------------------------------------------------------------------------------------------------
922
+ --------------------------------------------------------------------------------------------------
923
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
924
+ --------------------------------------------------------------------------------------------------
925
+  (0.7ms) DELETE FROM post_push_statuses
926
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
927
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
928
+  (0.1ms) SELECT task_name from post_push_statuses
929
+ -----------------------------------------------------------------------
930
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
931
+ -----------------------------------------------------------------------
932
+  (0.4ms) DELETE FROM post_push_statuses
933
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
934
+  (0.1ms) SELECT task_name from post_push_statuses
935
+ --------------------------------------------------------------------------
936
+ #runnable_tasks: test_0001_should only return tasks that have not been run
937
+ --------------------------------------------------------------------------
938
+  (0.5ms) DELETE FROM post_push_statuses
939
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
940
+  (0.1ms) SELECT task_name from post_push_statuses
941
+ ---------------------------------------------------------
942
+ #work: test_0001_should not mark failed tasks as finished
943
+ ---------------------------------------------------------
944
+  (0.5ms) DELETE FROM post_push_statuses
945
+  (0.4ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
946
+  (0.1ms) SELECT task_name from post_push_statuses
947
+  (0.9ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
948
+  (0.1ms) SELECT task_name from post_push_statuses
949
+ ----------------------------------------------------
950
+ broken tasks: test_0001_should also log busted tasks
951
+ ----------------------------------------------------
952
+ ------------------------------------------------------
953
+ happy path: test_0001_should log the rake tasks output
954
+ ------------------------------------------------------
955
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
956
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
957
+  (0.0ms) begin transaction
958
+  (0.0ms) commit transaction
959
+ -----------------------------------------------------------------------------------------------------
960
+ PostPusher::Generators::InstallGeneratorTest: test_0002_skips the migration file if it already exists
961
+ -----------------------------------------------------------------------------------------------------
962
+ ----------------------------------------------------------------------------------
963
+ PostPusher::Generators::InstallGeneratorTest: test_0001_creates the migration file
964
+ ----------------------------------------------------------------------------------
965
+ --------------------------------------------------------------------------
966
+ #runnable_tasks: test_0001_should only return tasks that have not been run
967
+ --------------------------------------------------------------------------
968
+  (0.7ms) DELETE FROM post_push_statuses
969
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
970
+  (0.2ms) SELECT task_name from post_push_statuses
971
+ -----------------------------------------------------------------------
972
+ #runnable_tasks: test_0002_should run the tasks in alphanumerical order
973
+ -----------------------------------------------------------------------
974
+  (0.8ms) DELETE FROM post_push_statuses
975
+  (0.6ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
976
+  (0.2ms) SELECT task_name from post_push_statuses
977
+ --------------------------------------------------------------------------------------------------
978
+ #task_complete!: test_0001_should insert the rake task name into post_push_statuses when completed
979
+ --------------------------------------------------------------------------------------------------
980
+  (0.7ms) DELETE FROM post_push_statuses
981
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
982
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:the_new_rake_task')
983
+  (0.1ms) SELECT task_name from post_push_statuses
984
+ ----------------------------------------------------
985
+ broken tasks: test_0001_should also log busted tasks
986
+ ----------------------------------------------------
987
+ ---------------------------------------------------------
988
+ #work: test_0001_should not mark failed tasks as finished
989
+ ---------------------------------------------------------
990
+  (0.7ms) DELETE FROM post_push_statuses
991
+  (0.4ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
992
+  (0.1ms) SELECT task_name from post_push_statuses
993
+  (1.0ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:3:runnable_task')
994
+  (0.1ms) SELECT task_name from post_push_statuses
995
+ ---------------------------------------------------------------------
996
+ #completed_tasks: test_0001_should return tasks we know are completed
997
+ ---------------------------------------------------------------------
998
+  (0.6ms) DELETE FROM post_push_statuses
999
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')
1000
+  (0.1ms) SELECT task_name from post_push_statuses
1001
+ ------------------------------------------------------
1002
+ happy path: test_0001_should log the rake tasks output
1003
+ ------------------------------------------------------
1004
+ -------------------------------------------------------------------------------
1005
+ #post_push_tasks: test_0001_should only return tasks that start with post_push:
1006
+ -------------------------------------------------------------------------------
1007
+  (0.7ms) DELETE FROM post_push_statuses
1008
+  (0.5ms) INSERT INTO post_push_statuses (task_name) VALUES ('post_push:2:completed_task')