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