acts_as_ruintsti 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +32 -0
  4. data/lib/acts_as_ruintsti/version.rb +3 -0
  5. data/lib/acts_as_ruintsti.rb +26 -0
  6. data/test/acts_as_ruintsti_test.rb +45 -0
  7. data/test/dummy/README.rdoc +28 -0
  8. data/test/dummy/Rakefile +6 -0
  9. data/test/dummy/app/assets/javascripts/application.js +13 -0
  10. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  11. data/test/dummy/app/controllers/application_controller.rb +5 -0
  12. data/test/dummy/app/helpers/application_helper.rb +2 -0
  13. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  14. data/test/dummy/bin/bundle +3 -0
  15. data/test/dummy/bin/rails +4 -0
  16. data/test/dummy/bin/rake +4 -0
  17. data/test/dummy/config/application.rb +23 -0
  18. data/test/dummy/config/boot.rb +5 -0
  19. data/test/dummy/config/database.yml +25 -0
  20. data/test/dummy/config/environment.rb +5 -0
  21. data/test/dummy/config/environments/development.rb +29 -0
  22. data/test/dummy/config/environments/production.rb +80 -0
  23. data/test/dummy/config/environments/test.rb +36 -0
  24. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  25. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  26. data/test/dummy/config/initializers/inflections.rb +16 -0
  27. data/test/dummy/config/initializers/mime_types.rb +5 -0
  28. data/test/dummy/config/initializers/secret_token.rb +12 -0
  29. data/test/dummy/config/initializers/session_store.rb +3 -0
  30. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  31. data/test/dummy/config/locales/en.yml +23 -0
  32. data/test/dummy/config/routes.rb +56 -0
  33. data/test/dummy/config.ru +4 -0
  34. data/test/dummy/db/schema.rb +7 -0
  35. data/test/dummy/db/test.sqlite3 +0 -0
  36. data/test/dummy/log/development.log +9 -0
  37. data/test/dummy/log/test.log +821 -0
  38. data/test/dummy/public/404.html +58 -0
  39. data/test/dummy/public/422.html +58 -0
  40. data/test/dummy/public/500.html +57 -0
  41. data/test/dummy/public/favicon.ico +0 -0
  42. data/test/test_helper.rb +15 -0
  43. metadata +149 -0
@@ -0,0 +1,821 @@
1
+  (0.2ms) begin transaction
2
+ ------------------------------
3
+ ActsAsRuintstiTest: test_truth
4
+ ------------------------------
5
+  (0.0ms) rollback transaction
6
+  (0.3ms) begin transaction
7
+ ------------------------------
8
+ ActsAsRuintstiTest: test_truth
9
+ ------------------------------
10
+  (0.1ms) rollback transaction
11
+  (0.3ms) begin transaction
12
+ -----------------------------
13
+ ActsAsRuintstiTest: test_test
14
+ -----------------------------
15
+  (0.0ms) rollback transaction
16
+  (0.0ms) begin transaction
17
+ ------------------------------
18
+ ActsAsRuintstiTest: test_truth
19
+ ------------------------------
20
+  (0.0ms) rollback transaction
21
+  (2.7ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
22
+  (0.1ms) begin transaction
23
+ -----------------------------
24
+ ActsAsRuintstiTest: test_test
25
+ -----------------------------
26
+  (0.1ms) SAVEPOINT active_record_1
27
+ SQL (4.6ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
28
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29
+  (0.1ms) SAVEPOINT active_record_1
30
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
31
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32
+ SQL (0.2ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
33
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
34
+  (1.2ms) rollback transaction
35
+  (3.1ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
36
+  (0.1ms) begin transaction
37
+ -----------------------------
38
+ ActsAsRuintstiTest: test_test
39
+ -----------------------------
40
+  (0.0ms) SAVEPOINT active_record_1
41
+ SQL (2.1ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
42
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43
+  (0.0ms) SAVEPOINT active_record_1
44
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
45
+  (0.1ms) RELEASE SAVEPOINT active_record_1
46
+ SQL (0.2ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
47
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
48
+  (0.7ms) rollback transaction
49
+  (0.3ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
50
+ SQLite3::SQLException: table blocks already exists: CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
51
+  (0.2ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
52
+ SQLite3::SQLException: table blocks already exists: CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
53
+  (0.1ms) begin transaction
54
+ -----------------------------
55
+ ActsAsRuintstiTest: test_test
56
+ -----------------------------
57
+  (0.0ms) SAVEPOINT active_record_1
58
+ SQL (1.9ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
59
+  (0.1ms) RELEASE SAVEPOINT active_record_1
60
+  (0.0ms) SAVEPOINT active_record_1
61
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
62
+  (0.1ms) RELEASE SAVEPOINT active_record_1
63
+ SQL (0.2ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
64
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
65
+  (2.6ms) rollback transaction
66
+  (0.2ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
67
+ SQLite3::SQLException: table blocks already exists: CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
68
+  (0.1ms) begin transaction
69
+ -----------------------------
70
+ ActsAsRuintstiTest: test_test
71
+ -----------------------------
72
+  (0.1ms) SAVEPOINT active_record_1
73
+ SQL (2.4ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
74
+  (0.1ms) RELEASE SAVEPOINT active_record_1
75
+  (0.1ms) SAVEPOINT active_record_1
76
+ SQL (0.4ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
77
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78
+ SQL (0.2ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
79
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
80
+  (2.5ms) rollback transaction
81
+  (0.3ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
82
+ SQLite3::SQLException: table blocks already exists: CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
83
+  (0.1ms) begin transaction
84
+ -----------------------------
85
+ ActsAsRuintstiTest: test_test
86
+ -----------------------------
87
+  (0.0ms) SAVEPOINT active_record_1
88
+ SQL (2.1ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
89
+  (0.1ms) RELEASE SAVEPOINT active_record_1
90
+  (0.1ms) SAVEPOINT active_record_1
91
+ SQL (0.4ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
92
+  (0.1ms) RELEASE SAVEPOINT active_record_1
93
+ SQL (0.3ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
94
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
95
+  (0.7ms) rollback transaction
96
+  (0.3ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
97
+ SQLite3::SQLException: table blocks already exists: CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
98
+  (0.2ms) begin transaction
99
+ ----------------------------------------------
100
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
101
+ ----------------------------------------------
102
+  (0.0ms) SAVEPOINT active_record_1
103
+ SQL (1.9ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
104
+  (0.1ms) RELEASE SAVEPOINT active_record_1
105
+  (0.1ms) SAVEPOINT active_record_1
106
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
108
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
109
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
110
+  (2.0ms) rollback transaction
111
+  (0.1ms) begin transaction
112
+ ---------------------------------------------
113
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
114
+ ---------------------------------------------
115
+  (0.0ms) SAVEPOINT active_record_1
116
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
117
+  (0.0ms) RELEASE SAVEPOINT active_record_1
118
+  (0.0ms) SAVEPOINT active_record_1
119
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
121
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
122
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
123
+  (0.6ms) rollback transaction
124
+  (0.3ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
125
+ SQLite3::SQLException: table blocks already exists: CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
126
+  (0.1ms) begin transaction
127
+ ----------------------------------------------
128
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
129
+ ----------------------------------------------
130
+  (0.0ms) SAVEPOINT active_record_1
131
+ SQL (2.1ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
133
+  (0.0ms) SAVEPOINT active_record_1
134
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
136
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
137
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
138
+  (2.3ms) rollback transaction
139
+  (0.1ms) begin transaction
140
+ ---------------------------------------------
141
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
142
+ ---------------------------------------------
143
+  (0.1ms) SAVEPOINT active_record_1
144
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
145
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146
+  (0.0ms) SAVEPOINT active_record_1
147
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
150
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
151
+  (0.6ms) rollback transaction
152
+  (0.2ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
153
+ SQLite3::SQLException: table blocks already exists: CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
154
+  (0.1ms) begin transaction
155
+ -------------------------
156
+ ActsAsRuintstiTest: test_
157
+ -------------------------
158
+  (0.0ms) SAVEPOINT active_record_1
159
+ SQL (2.0ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
161
+  (0.0ms) SAVEPOINT active_record_1
162
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
164
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
165
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
166
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
167
+  (2.5ms) rollback transaction
168
+  (0.1ms) begin transaction
169
+ ----------------------------------------------
170
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
171
+ ----------------------------------------------
172
+  (0.0ms) SAVEPOINT active_record_1
173
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
175
+  (0.0ms) SAVEPOINT active_record_1
176
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
177
+  (0.0ms) RELEASE SAVEPOINT active_record_1
178
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
179
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
180
+  (0.5ms) rollback transaction
181
+  (0.0ms) begin transaction
182
+ ---------------------------------------------
183
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
184
+ ---------------------------------------------
185
+  (0.0ms) SAVEPOINT active_record_1
186
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
187
+  (0.0ms) RELEASE SAVEPOINT active_record_1
188
+  (0.0ms) SAVEPOINT active_record_1
189
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
191
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
192
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
193
+  (0.7ms) rollback transaction
194
+  (0.2ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
195
+ SQLite3::SQLException: table blocks already exists: CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
196
+  (0.1ms) begin transaction
197
+ ----------------------------------------------
198
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
199
+ ----------------------------------------------
200
+  (0.0ms) SAVEPOINT active_record_1
201
+ SQL (2.1ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
202
+  (0.1ms) RELEASE SAVEPOINT active_record_1
203
+  (0.0ms) SAVEPOINT active_record_1
204
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
205
+  (0.1ms) RELEASE SAVEPOINT active_record_1
206
+ Block Load (0.2ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
207
+ SQL (0.2ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
208
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
209
+  (0.5ms) rollback transaction
210
+  (0.1ms) begin transaction
211
+ ---------------------------------------------
212
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
213
+ ---------------------------------------------
214
+  (0.1ms) SAVEPOINT active_record_1
215
+ SQL (0.4ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
216
+  (0.1ms) RELEASE SAVEPOINT active_record_1
217
+  (0.1ms) SAVEPOINT active_record_1
218
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
219
+  (0.1ms) RELEASE SAVEPOINT active_record_1
220
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
221
+ SQL (0.2ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
222
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
223
+  (0.6ms) rollback transaction
224
+  (0.3ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
225
+ SQLite3::SQLException: table blocks already exists: CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
226
+  (0.1ms) begin transaction
227
+ ----------------------------------------------
228
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
229
+ ----------------------------------------------
230
+  (0.0ms) SAVEPOINT active_record_1
231
+ SQL (2.0ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
232
+  (0.1ms) RELEASE SAVEPOINT active_record_1
233
+  (0.0ms) SAVEPOINT active_record_1
234
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
236
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
237
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
238
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
239
+  (1.7ms) rollback transaction
240
+  (0.0ms) begin transaction
241
+ ---------------------------------------------
242
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
243
+ ---------------------------------------------
244
+  (0.0ms) SAVEPOINT active_record_1
245
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
246
+  (0.0ms) RELEASE SAVEPOINT active_record_1
247
+  (0.0ms) SAVEPOINT active_record_1
248
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
251
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
252
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
253
+  (0.6ms) rollback transaction
254
+  (0.2ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
255
+ SQLite3::SQLException: table blocks already exists: CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
256
+  (0.1ms) begin transaction
257
+ ----------------------------------------------
258
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
259
+ ----------------------------------------------
260
+  (0.0ms) SAVEPOINT active_record_1
261
+ SQL (2.0ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
263
+  (0.0ms) SAVEPOINT active_record_1
264
+ SQL (0.4ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
265
+  (0.1ms) RELEASE SAVEPOINT active_record_1
266
+ Block Load (0.2ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
267
+ SQL (0.2ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
268
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
269
+  (2.4ms) rollback transaction
270
+  (0.1ms) begin transaction
271
+ ---------------------------------------------
272
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
273
+ ---------------------------------------------
274
+  (0.0ms) SAVEPOINT active_record_1
275
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
277
+  (0.0ms) SAVEPOINT active_record_1
278
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
279
+  (0.0ms) RELEASE SAVEPOINT active_record_1
280
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
281
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
282
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
283
+  (0.8ms) rollback transaction
284
+  (0.0ms) begin transaction
285
+ ----------------------------------------
286
+ ActsAsRuintstiTest: test_RedBlock_is_hot
287
+ ----------------------------------------
288
+  (0.0ms) SAVEPOINT active_record_1
289
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
290
+  (0.1ms) RELEASE SAVEPOINT active_record_1
291
+  (0.0ms) SAVEPOINT active_record_1
292
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
293
+  (0.0ms) RELEASE SAVEPOINT active_record_1
294
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
295
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
296
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
297
+  (0.7ms) rollback transaction
298
+  (0.2ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
299
+ SQLite3::SQLException: table blocks already exists: CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
300
+  (0.1ms) begin transaction
301
+ ----------------------------------------------
302
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
303
+ ----------------------------------------------
304
+  (0.0ms) SAVEPOINT active_record_1
305
+ SQL (2.0ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
306
+  (0.1ms) RELEASE SAVEPOINT active_record_1
307
+  (0.0ms) SAVEPOINT active_record_1
308
+ SQL (0.4ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
310
+ Block Load (0.2ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
311
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
312
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
313
+  (1.9ms) rollback transaction
314
+  (0.1ms) begin transaction
315
+ -------------------------------------
316
+ ActsAsRuintstiTest: test_Blue_is_cool
317
+ -------------------------------------
318
+  (0.0ms) SAVEPOINT active_record_1
319
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321
+  (0.0ms) SAVEPOINT active_record_1
322
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
323
+  (0.0ms) RELEASE SAVEPOINT active_record_1
324
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
325
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
326
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
327
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
328
+  (0.4ms) rollback transaction
329
+  (0.0ms) begin transaction
330
+ ---------------------------------------------
331
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
332
+ ---------------------------------------------
333
+  (0.0ms) SAVEPOINT active_record_1
334
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
335
+  (0.0ms) RELEASE SAVEPOINT active_record_1
336
+  (0.0ms) SAVEPOINT active_record_1
337
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
339
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
340
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
341
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
342
+  (0.6ms) rollback transaction
343
+  (0.1ms) begin transaction
344
+ -----------------------------------
345
+ ActsAsRuintstiTest: test_Red_is_hot
346
+ -----------------------------------
347
+  (0.0ms) SAVEPOINT active_record_1
348
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
349
+  (0.1ms) RELEASE SAVEPOINT active_record_1
350
+  (0.0ms) SAVEPOINT active_record_1
351
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
352
+  (0.1ms) RELEASE SAVEPOINT active_record_1
353
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
354
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
355
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
356
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
357
+  (0.6ms) rollback transaction
358
+  (0.3ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
359
+ SQLite3::SQLException: table blocks already exists: CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
360
+  (0.1ms) begin transaction
361
+ ----------------------------------------------
362
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
363
+ ----------------------------------------------
364
+  (0.0ms) SAVEPOINT active_record_1
365
+ SQL (2.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
367
+  (0.1ms) SAVEPOINT active_record_1
368
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
369
+  (0.1ms) RELEASE SAVEPOINT active_record_1
370
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
371
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
372
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
373
+  (2.3ms) rollback transaction
374
+  (0.1ms) begin transaction
375
+ -------------------------------------
376
+ ActsAsRuintstiTest: test_Blue_is_cool
377
+ -------------------------------------
378
+  (0.0ms) SAVEPOINT active_record_1
379
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
381
+  (0.0ms) SAVEPOINT active_record_1
382
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
383
+  (0.0ms) RELEASE SAVEPOINT active_record_1
384
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
385
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
386
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
387
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
388
+  (0.6ms) rollback transaction
389
+  (0.1ms) begin transaction
390
+ ---------------------------------------------
391
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
392
+ ---------------------------------------------
393
+  (0.0ms) SAVEPOINT active_record_1
394
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
395
+  (0.1ms) RELEASE SAVEPOINT active_record_1
396
+  (0.0ms) SAVEPOINT active_record_1
397
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
399
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
400
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
401
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
402
+  (0.6ms) rollback transaction
403
+  (0.0ms) begin transaction
404
+ -----------------------------------
405
+ ActsAsRuintstiTest: test_Red_is_hot
406
+ -----------------------------------
407
+  (0.0ms) SAVEPOINT active_record_1
408
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
409
+  (0.0ms) RELEASE SAVEPOINT active_record_1
410
+  (0.0ms) SAVEPOINT active_record_1
411
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
413
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
414
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
415
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
416
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
417
+  (0.5ms) rollback transaction
418
+  (0.3ms) CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
419
+ SQLite3::SQLException: table blocks already exists: CREATE TABLE blocks (id INTEGER NOT NULL PRIMARY KEY, type INTEGER)
420
+  (0.1ms) begin transaction
421
+ ----------------------------------------------
422
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
423
+ ----------------------------------------------
424
+  (0.1ms) SAVEPOINT active_record_1
425
+ SQL (2.9ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
426
+  (0.1ms) RELEASE SAVEPOINT active_record_1
427
+  (0.1ms) SAVEPOINT active_record_1
428
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
429
+  (0.1ms) RELEASE SAVEPOINT active_record_1
430
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
431
+ SQL (0.2ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
432
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
433
+  (0.5ms) rollback transaction
434
+  (0.1ms) begin transaction
435
+ -------------------------------------
436
+ ActsAsRuintstiTest: test_Blue_is_cool
437
+ -------------------------------------
438
+  (0.0ms) SAVEPOINT active_record_1
439
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
440
+  (0.0ms) RELEASE SAVEPOINT active_record_1
441
+  (0.0ms) SAVEPOINT active_record_1
442
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
444
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
445
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
446
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
447
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
448
+  (0.7ms) rollback transaction
449
+  (0.1ms) begin transaction
450
+ ---------------------------------------------
451
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
452
+ ---------------------------------------------
453
+  (0.1ms) SAVEPOINT active_record_1
454
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
455
+  (0.0ms) RELEASE SAVEPOINT active_record_1
456
+  (0.0ms) SAVEPOINT active_record_1
457
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
458
+  (0.0ms) RELEASE SAVEPOINT active_record_1
459
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
460
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
461
+ SQL (0.2ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
462
+  (0.5ms) rollback transaction
463
+  (0.0ms) begin transaction
464
+ -----------------------------------
465
+ ActsAsRuintstiTest: test_Red_is_hot
466
+ -----------------------------------
467
+  (0.0ms) SAVEPOINT active_record_1
468
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
469
+  (0.0ms) RELEASE SAVEPOINT active_record_1
470
+  (0.0ms) SAVEPOINT active_record_1
471
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
472
+  (0.0ms) RELEASE SAVEPOINT active_record_1
473
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
474
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
475
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
476
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
477
+  (0.5ms) rollback transaction
478
+  (0.3ms) begin transaction
479
+ ----------------------------------------------
480
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
481
+ ----------------------------------------------
482
+  (0.1ms) rollback transaction
483
+  (0.1ms) begin transaction
484
+ -------------------------------------
485
+ ActsAsRuintstiTest: test_Blue_is_cool
486
+ -------------------------------------
487
+  (0.0ms) rollback transaction
488
+  (0.0ms) begin transaction
489
+ ---------------------------------------------
490
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
491
+ ---------------------------------------------
492
+  (0.0ms) rollback transaction
493
+  (0.0ms) begin transaction
494
+ -----------------------------------
495
+ ActsAsRuintstiTest: test_Red_is_hot
496
+ -----------------------------------
497
+  (0.0ms) rollback transaction
498
+  (0.3ms) begin transaction
499
+ ----------------------------------------------
500
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
501
+ ----------------------------------------------
502
+  (0.1ms) rollback transaction
503
+  (0.0ms) begin transaction
504
+ -------------------------------------
505
+ ActsAsRuintstiTest: test_Blue_is_cool
506
+ -------------------------------------
507
+  (0.0ms) rollback transaction
508
+  (0.0ms) begin transaction
509
+ ---------------------------------------------
510
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
511
+ ---------------------------------------------
512
+  (0.0ms) rollback transaction
513
+  (0.0ms) begin transaction
514
+ -----------------------------------
515
+ ActsAsRuintstiTest: test_Red_is_hot
516
+ -----------------------------------
517
+  (0.0ms) rollback transaction
518
+  (0.3ms) begin transaction
519
+ ----------------------------------------------
520
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
521
+ ----------------------------------------------
522
+  (0.1ms) rollback transaction
523
+  (0.0ms) begin transaction
524
+ -------------------------------------
525
+ ActsAsRuintstiTest: test_Blue_is_cool
526
+ -------------------------------------
527
+  (0.0ms) rollback transaction
528
+  (0.0ms) begin transaction
529
+ ---------------------------------------------
530
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
531
+ ---------------------------------------------
532
+  (0.0ms) rollback transaction
533
+  (0.0ms) begin transaction
534
+ -----------------------------------
535
+ ActsAsRuintstiTest: test_Red_is_hot
536
+ -----------------------------------
537
+  (0.0ms) rollback transaction
538
+  (0.3ms) begin transaction
539
+ ----------------------------------------------
540
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
541
+ ----------------------------------------------
542
+  (0.0ms) SAVEPOINT active_record_1
543
+ SQL (2.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
544
+  (0.1ms) RELEASE SAVEPOINT active_record_1
545
+  (0.0ms) SAVEPOINT active_record_1
546
+ SQL (0.4ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
547
+  (0.1ms) RELEASE SAVEPOINT active_record_1
548
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
549
+ SQL (0.2ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
550
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
551
+  (2.3ms) rollback transaction
552
+  (0.1ms) begin transaction
553
+ -------------------------------------
554
+ ActsAsRuintstiTest: test_Blue_is_cool
555
+ -------------------------------------
556
+  (0.0ms) SAVEPOINT active_record_1
557
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
559
+  (0.0ms) SAVEPOINT active_record_1
560
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
562
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
563
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
564
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
565
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
566
+  (0.7ms) rollback transaction
567
+  (0.0ms) begin transaction
568
+ ---------------------------------------------
569
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
570
+ ---------------------------------------------
571
+  (0.0ms) SAVEPOINT active_record_1
572
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
574
+  (0.0ms) SAVEPOINT active_record_1
575
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
577
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
578
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
579
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
580
+  (0.6ms) rollback transaction
581
+  (0.0ms) begin transaction
582
+ -----------------------------------
583
+ ActsAsRuintstiTest: test_Red_is_hot
584
+ -----------------------------------
585
+  (0.0ms) SAVEPOINT active_record_1
586
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
587
+  (0.0ms) RELEASE SAVEPOINT active_record_1
588
+  (0.0ms) SAVEPOINT active_record_1
589
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
590
+  (0.0ms) RELEASE SAVEPOINT active_record_1
591
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
592
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
593
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
594
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
595
+  (0.5ms) rollback transaction
596
+  (0.3ms) begin transaction
597
+ ----------------------------------------------
598
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
599
+ ----------------------------------------------
600
+  (0.0ms) SAVEPOINT active_record_1
601
+ SQL (3.5ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
602
+  (0.1ms) RELEASE SAVEPOINT active_record_1
603
+  (0.1ms) SAVEPOINT active_record_1
604
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
605
+  (0.1ms) RELEASE SAVEPOINT active_record_1
606
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
607
+ SQL (0.2ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
608
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
609
+  (1.9ms) rollback transaction
610
+  (0.1ms) begin transaction
611
+ -------------------------------------
612
+ ActsAsRuintstiTest: test_Blue_is_cool
613
+ -------------------------------------
614
+  (0.0ms) SAVEPOINT active_record_1
615
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
617
+  (0.0ms) SAVEPOINT active_record_1
618
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
620
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
621
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
622
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
623
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
624
+  (0.6ms) rollback transaction
625
+  (0.1ms) begin transaction
626
+ ---------------------------------------------
627
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
628
+ ---------------------------------------------
629
+  (0.0ms) SAVEPOINT active_record_1
630
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
632
+  (0.0ms) SAVEPOINT active_record_1
633
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
634
+  (0.0ms) RELEASE SAVEPOINT active_record_1
635
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
636
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
637
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
638
+  (0.7ms) rollback transaction
639
+  (0.0ms) begin transaction
640
+ -----------------------------------
641
+ ActsAsRuintstiTest: test_Red_is_hot
642
+ -----------------------------------
643
+  (0.0ms) SAVEPOINT active_record_1
644
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
645
+  (0.0ms) RELEASE SAVEPOINT active_record_1
646
+  (0.0ms) SAVEPOINT active_record_1
647
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
648
+  (0.0ms) RELEASE SAVEPOINT active_record_1
649
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
650
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
651
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
652
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
653
+  (0.5ms) rollback transaction
654
+  (0.3ms) begin transaction
655
+ ----------------------------------------------
656
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
657
+ ----------------------------------------------
658
+  (0.1ms) SAVEPOINT active_record_1
659
+ SQL (2.8ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
660
+  (0.1ms) RELEASE SAVEPOINT active_record_1
661
+  (0.1ms) SAVEPOINT active_record_1
662
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
663
+  (0.1ms) RELEASE SAVEPOINT active_record_1
664
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
665
+ SQL (0.2ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
666
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
667
+  (1.7ms) rollback transaction
668
+  (0.1ms) begin transaction
669
+ -------------------------------------
670
+ ActsAsRuintstiTest: test_Blue_is_cool
671
+ -------------------------------------
672
+  (0.1ms) SAVEPOINT active_record_1
673
+ SQL (0.4ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
675
+  (0.0ms) SAVEPOINT active_record_1
676
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
678
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
679
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
680
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
681
+  (0.6ms) rollback transaction
682
+  (0.0ms) begin transaction
683
+ ---------------------------------------------
684
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
685
+ ---------------------------------------------
686
+  (0.0ms) SAVEPOINT active_record_1
687
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
688
+  (0.0ms) RELEASE SAVEPOINT active_record_1
689
+  (0.0ms) SAVEPOINT active_record_1
690
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
691
+  (0.0ms) RELEASE SAVEPOINT active_record_1
692
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
693
+ SQL (0.2ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
694
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
695
+  (0.6ms) rollback transaction
696
+  (0.0ms) begin transaction
697
+ -----------------------------------
698
+ ActsAsRuintstiTest: test_Red_is_hot
699
+ -----------------------------------
700
+  (0.0ms) SAVEPOINT active_record_1
701
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
702
+  (0.0ms) RELEASE SAVEPOINT active_record_1
703
+  (0.0ms) SAVEPOINT active_record_1
704
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
705
+  (0.0ms) RELEASE SAVEPOINT active_record_1
706
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
707
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
708
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
709
+  (0.6ms) rollback transaction
710
+  (0.3ms) begin transaction
711
+ ----------------------------------------------
712
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
713
+ ----------------------------------------------
714
+  (0.0ms) SAVEPOINT active_record_1
715
+ SQL (2.7ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
716
+  (0.1ms) RELEASE SAVEPOINT active_record_1
717
+  (0.0ms) SAVEPOINT active_record_1
718
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
719
+  (0.1ms) RELEASE SAVEPOINT active_record_1
720
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
721
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
722
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
723
+  (2.1ms) rollback transaction
724
+  (0.1ms) begin transaction
725
+ ---------------------------------------------
726
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
727
+ ---------------------------------------------
728
+  (0.0ms) SAVEPOINT active_record_1
729
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
731
+  (0.0ms) SAVEPOINT active_record_1
732
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
733
+  (0.0ms) RELEASE SAVEPOINT active_record_1
734
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
735
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
736
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
737
+  (0.6ms) rollback transaction
738
+  (0.1ms) begin transaction
739
+ --------------------------------------------------------------
740
+ ActsAsRuintstiTest: test_loaded_BlueBlock's_class_is_BlueBlock
741
+ --------------------------------------------------------------
742
+  (0.0ms) SAVEPOINT active_record_1
743
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
744
+  (0.0ms) RELEASE SAVEPOINT active_record_1
745
+  (0.0ms) SAVEPOINT active_record_1
746
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
747
+  (0.0ms) RELEASE SAVEPOINT active_record_1
748
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
749
+ SQL (0.2ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
750
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
751
+  (0.6ms) rollback transaction
752
+  (0.0ms) begin transaction
753
+ ------------------------------------------------------------
754
+ ActsAsRuintstiTest: test_loaded_RedBlock's_class_is_RedBlock
755
+ ------------------------------------------------------------
756
+  (0.0ms) SAVEPOINT active_record_1
757
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
758
+  (0.0ms) RELEASE SAVEPOINT active_record_1
759
+  (0.0ms) SAVEPOINT active_record_1
760
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
762
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
763
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
764
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
765
+  (0.7ms) rollback transaction
766
+  (0.3ms) begin transaction
767
+ ----------------------------------------------
768
+ ActsAsRuintstiTest: test_BlueBlock's_type_is_2
769
+ ----------------------------------------------
770
+  (0.0ms) SAVEPOINT active_record_1
771
+ SQL (3.0ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
772
+  (0.1ms) RELEASE SAVEPOINT active_record_1
773
+  (0.0ms) SAVEPOINT active_record_1
774
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
776
+ Block Load (0.1ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
777
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
778
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
779
+  (1.9ms) rollback transaction
780
+  (0.1ms) begin transaction
781
+ ---------------------------------------------
782
+ ActsAsRuintstiTest: test_RedBlock's_type_is_1
783
+ ---------------------------------------------
784
+  (0.0ms) SAVEPOINT active_record_1
785
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
786
+  (0.0ms) RELEASE SAVEPOINT active_record_1
787
+  (0.0ms) SAVEPOINT active_record_1
788
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
790
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
791
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
792
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
793
+  (0.5ms) rollback transaction
794
+  (0.0ms) begin transaction
795
+ --------------------------------------------------------------
796
+ ActsAsRuintstiTest: test_loaded_BlueBlock's_class_is_BlueBlock
797
+ --------------------------------------------------------------
798
+  (0.0ms) SAVEPOINT active_record_1
799
+ SQL (0.3ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
800
+  (0.0ms) RELEASE SAVEPOINT active_record_1
801
+  (0.0ms) SAVEPOINT active_record_1
802
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
803
+  (0.1ms) RELEASE SAVEPOINT active_record_1
804
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 2]]
805
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
806
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
807
+  (0.6ms) rollback transaction
808
+  (0.0ms) begin transaction
809
+ ------------------------------------------------------------
810
+ ActsAsRuintstiTest: test_loaded_RedBlock's_class_is_RedBlock
811
+ ------------------------------------------------------------
812
+  (0.1ms) SAVEPOINT active_record_1
813
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 1]]
814
+  (0.0ms) RELEASE SAVEPOINT active_record_1
815
+  (0.0ms) SAVEPOINT active_record_1
816
+ SQL (0.2ms) INSERT INTO "blocks" ("type") VALUES (?) [["type", 2]]
817
+  (0.0ms) RELEASE SAVEPOINT active_record_1
818
+ Block Load (0.0ms) SELECT "blocks".* FROM "blocks" WHERE "blocks"."id" = ? LIMIT 1 [["id", 1]]
819
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (1) AND "blocks"."id" = 1
820
+ SQL (0.1ms) DELETE FROM "blocks" WHERE "blocks"."type" IN (2) AND "blocks"."id" = 2
821
+  (0.6ms) rollback transaction