abilities 0.1.2 → 4.0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +31 -44
  4. data/Rakefile +1 -14
  5. data/lib/abilities.rb +9 -18
  6. data/lib/abilities/definitions.rb +38 -29
  7. data/lib/abilities/extensions/action_controller/base.rb +28 -0
  8. data/lib/abilities/proxy.rb +6 -7
  9. data/lib/abilities/railtie.rb +4 -3
  10. data/lib/abilities/version.rb +1 -1
  11. data/lib/generators/abilities/install/install_generator.rb +15 -0
  12. data/lib/generators/abilities/{templates/abilities.rb → install/templates/configuration.rb} +0 -0
  13. data/test/dummy/Rakefile +0 -1
  14. data/test/dummy/app/assets/javascripts/application.js +2 -2
  15. data/test/dummy/app/assets/stylesheets/application.css +1 -1
  16. data/test/dummy/app/controllers/products_controller.rb +10 -0
  17. data/test/dummy/app/models/product.rb +2 -0
  18. data/test/dummy/app/models/user.rb +0 -1
  19. data/test/dummy/app/views/layouts/application.html.erb +9 -11
  20. data/test/dummy/app/views/products/show.html.erb +6 -0
  21. data/test/dummy/bin/bundle +1 -0
  22. data/test/dummy/bin/rails +2 -1
  23. data/test/dummy/bin/rake +1 -0
  24. data/test/dummy/bin/setup +30 -0
  25. data/test/dummy/config.ru +1 -1
  26. data/test/dummy/config/abilities.rb +6 -7
  27. data/test/dummy/config/application.rb +3 -0
  28. data/test/dummy/config/database.yml +4 -22
  29. data/test/dummy/config/database.yml.travis +3 -0
  30. data/test/dummy/config/environments/development.rb +6 -2
  31. data/test/dummy/config/environments/production.rb +16 -24
  32. data/test/dummy/config/environments/test.rb +7 -12
  33. data/test/dummy/config/initializers/assets.rb +11 -0
  34. data/test/dummy/config/initializers/mime_types.rb +1 -1
  35. data/test/dummy/config/routes.rb +1 -54
  36. data/test/dummy/config/secrets.yml +3 -3
  37. data/test/dummy/db/migrate/20140629203344_create_users.rb +1 -3
  38. data/test/dummy/db/migrate/20140629203412_create_products.rb +7 -0
  39. data/test/dummy/db/schema.rb +9 -9
  40. data/test/dummy/log/development.log +78 -0
  41. data/test/dummy/log/test.log +1465 -246
  42. data/test/dummy/public/404.html +57 -63
  43. data/test/dummy/public/422.html +57 -63
  44. data/test/dummy/public/500.html +56 -62
  45. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2b/2bzOr5XdBQAg_ZBDeXY157jGXLRL6qjEoFZBTPyLFwM.cache +0 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v3.0/48/48oV_bpl6OaHjWm9j-I1uNUp5m7SbkTgYjW6NaNnTfU.cache +0 -0
  47. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +2 -0
  49. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SG/SGNGr7AZfBE1q7ev2-YM1G-o0XAZ0pKqbsS3NvHtRcA.cache +1 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fG/fG_uaNK13wisQiji91xNsGecGxX9QhMCF2eSX_aR0G0.cache +1 -0
  51. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gb/gbunrAFVOHPwl2npUgKv_C3f_qiJnZDd9zG5-h3jrpo.cache +1 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +2 -0
  53. data/test/dummy/tmp/cache/assets/sprockets/v3.0/j0/j06P5zp022n2VUoAPi5fqCp_UbS7OaCD8XtVtEbHy58.cache +0 -0
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mv/mvqN6PphkrOOC8zbUEhpC_9E_4ybdO25MRy_gG6dq3Y.cache +1 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nm/nmcUZlKAIwyJ_35Nm9P8pukLeRX5aApP6NFj5MpNPgc.cache +1 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +2 -0
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sB/sB6xWxBmgzVC0Co9__ANYrE58lr4WPwiwFa9mswooWM.cache +0 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/va/vaNrIny9hchHD9eIJxAicyYLC7qeV4PTh4Nh40_Y6Vg.cache +1 -0
  59. data/test/dummy/tmp/cache/assets/sprockets/v3.0/x6/x6W7JXRDHOmqATQMRSTLu17o8EcA-ietA1qm_PMPjbo.cache +0 -0
  60. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xd/xdBKQyhEAlDIstGvXw945PWJoEWi23rKuY7elOcWqHc.cache +1 -0
  61. data/test/generator_test.rb +4 -4
  62. data/test/policy_test.rb +62 -0
  63. data/test/test_helper.rb +5 -16
  64. data/test/view_test.rb +6 -17
  65. metadata +63 -32
  66. data/lib/abilities/action_controller/base.rb +0 -20
  67. data/lib/abilities/action_view/base.rb +0 -14
  68. data/lib/abilities/concern.rb +0 -12
  69. data/lib/abilities/configuration.rb +0 -13
  70. data/lib/generators/abilities/install_generator.rb +0 -13
  71. data/test/changes_test.rb +0 -12
  72. data/test/checking_test.rb +0 -64
  73. data/test/controller_test.rb +0 -38
  74. data/test/dummy/README.rdoc +0 -28
  75. data/test/dummy/app/models/post.rb +0 -3
  76. data/test/dummy/config/initializers/abilities.rb +0 -7
  77. data/test/dummy/config/initializers/secret_token.rb +0 -1
  78. data/test/dummy/db/migrate/20140629203412_create_posts.rb +0 -10
@@ -0,0 +1,78 @@
1
+  (25.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreateUsers (20140629203344)
5
+  (0.2ms) BEGIN
6
+ DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/Matt/Documents/Github/abilities/test/dummy/db/migrate/20140629203344_create_users.rb:6)
7
+  (7.7ms) CREATE TABLE "users" ("id" serial primary key, "admin" boolean, "created_at" timestamp, "updated_at" timestamp) 
8
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140629203344"]]
9
+  (11.1ms) COMMIT
10
+ Migrating to CreateProducts (20140629203412)
11
+  (6.1ms) BEGIN
12
+ DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/Matt/Documents/Github/abilities/test/dummy/db/migrate/20140629203412_create_products.rb:6)
13
+  (7.6ms) CREATE TABLE "products" ("id" serial primary key, "user_id" integer, "created_at" timestamp, "updated_at" timestamp) 
14
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140629203412"]]
15
+  (6.4ms) COMMIT
16
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
+  (1.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
18
+ FROM pg_constraint c
19
+ JOIN pg_class t1 ON c.conrelid = t1.oid
20
+ JOIN pg_class t2 ON c.confrelid = t2.oid
21
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
22
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
23
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
24
+ WHERE c.contype = 'f'
25
+ AND t1.relname = 'products'
26
+ AND t3.nspname = ANY (current_schemas(false))
27
+ ORDER BY c.conname
28
+ 
29
+  (1.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
30
+ FROM pg_constraint c
31
+ JOIN pg_class t1 ON c.conrelid = t1.oid
32
+ JOIN pg_class t2 ON c.confrelid = t2.oid
33
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
34
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
35
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
36
+ WHERE c.contype = 'f'
37
+ AND t1.relname = 'users'
38
+ AND t3.nspname = ANY (current_schemas(false))
39
+ ORDER BY c.conname
40
+
41
+  (2.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
42
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
43
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
44
+ Migrating to CreateUsers (20140629203344)
45
+  (0.2ms) BEGIN
46
+  (2.7ms) CREATE TABLE "users" ("id" serial primary key, "admin" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
47
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140629203344"]]
48
+  (0.5ms) COMMIT
49
+ Migrating to CreateProducts (20140629203412)
50
+  (0.2ms) BEGIN
51
+  (1.5ms) CREATE TABLE "products" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
52
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140629203412"]]
53
+  (0.5ms) COMMIT
54
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
55
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
56
+ FROM pg_constraint c
57
+ JOIN pg_class t1 ON c.conrelid = t1.oid
58
+ JOIN pg_class t2 ON c.confrelid = t2.oid
59
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
60
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
61
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
62
+ WHERE c.contype = 'f'
63
+ AND t1.relname = 'products'
64
+ AND t3.nspname = ANY (current_schemas(false))
65
+ ORDER BY c.conname
66
+ 
67
+  (1.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
68
+ FROM pg_constraint c
69
+ JOIN pg_class t1 ON c.conrelid = t1.oid
70
+ JOIN pg_class t2 ON c.confrelid = t2.oid
71
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
72
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
73
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
74
+ WHERE c.contype = 'f'
75
+ AND t1.relname = 'users'
76
+ AND t3.nspname = ANY (current_schemas(false))
77
+ ORDER BY c.conname
78
+
@@ -1,246 +1,1465 @@
1
-  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "created_at" datetime, "updated_at" datetime) 
2
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "admin" boolean, "created_at" datetime, "updated_at" datetime)
3
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
4
-  (0.4ms) select sqlite_version(*)
5
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6
-  (0.0ms) SELECT version FROM "schema_migrations"
7
-  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140629203412')
8
-  (0.1ms) begin transaction
9
- -------------------------
10
- ViewTest: test_can_helper
11
- -------------------------
12
-  (0.0ms) rollback transaction
13
-  (0.0ms) begin transaction
14
- ----------------------------
15
- ViewTest: test_cannot_helper
16
- ----------------------------
17
-  (0.0ms) rollback transaction
18
-  (0.1ms) begin transaction
19
- ------------------------------------
20
- CheckingTest: test_cannot_definition
21
- ------------------------------------
22
-  (0.0ms) rollback transaction
23
-  (0.0ms) begin transaction
24
- -------------------------------------
25
- CheckingTest: test_ability_conditions
26
- -------------------------------------
27
-  (0.0ms) rollback transaction
28
-  (0.0ms) begin transaction
29
- ---------------------------------------
30
- CheckingTest: test_undefined_definition
31
- ---------------------------------------
32
-  (0.0ms) rollback transaction
33
-  (0.0ms) begin transaction
34
- ------------------------------
35
- CheckingTest: test_all_subject
36
- ------------------------------
37
-  (0.0ms) rollback transaction
38
-  (0.0ms) begin transaction
39
- -----------------------------------------------
40
- CheckingTest: test_can_definition_with_instance
41
- -----------------------------------------------
42
-  (0.0ms) rollback transaction
43
-  (0.0ms) begin transaction
44
- --------------------------------
45
- CheckingTest: test_manage_action
46
- --------------------------------
47
-  (0.0ms) rollback transaction
48
-  (0.0ms) begin transaction
49
- --------------------------------
50
- CheckingTest: test_ability_block
51
- --------------------------------
52
-  (0.1ms) rollback transaction
53
-  (0.0ms) begin transaction
54
- --------------------------------------------
55
- CheckingTest: test_can_definition_with_model
56
- --------------------------------------------
57
-  (0.0ms) rollback transaction
58
-  (0.0ms) begin transaction
59
- --------------------------------
60
- ChangesTest: test_record_changes
61
- --------------------------------
62
-  (0.0ms) rollback transaction
63
-  (0.0ms) begin transaction
64
- -------------------------------------
65
- ControllerTest: test_authorize_helper
66
- -------------------------------------
67
-  (0.0ms) rollback transaction
68
-  (0.0ms) begin transaction
69
- -------------------------------
70
- ControllerTest: test_can_helper
71
- -------------------------------
72
-  (0.0ms) rollback transaction
73
-  (0.0ms) begin transaction
74
- ----------------------------------
75
- ControllerTest: test_cannot_helper
76
- ----------------------------------
77
-  (0.0ms) rollback transaction
78
-  (0.0ms) begin transaction
79
- ------------------------------------------
80
- GeneratorsTest: test_initializer_generator
81
- ------------------------------------------
82
-  (0.1ms) rollback transaction
83
-  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "created_at" datetime, "updated_at" datetime) 
84
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "admin" boolean, "created_at" datetime, "updated_at" datetime)
85
-  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
86
-  (0.0ms) select sqlite_version(*)
87
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
88
-  (0.0ms) SELECT version FROM "schema_migrations"
89
-  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140629203412')
90
-  (0.1ms) begin transaction
91
- -------------------------
92
- ViewTest: test_can_helper
93
- -------------------------
94
-  (0.1ms) rollback transaction
95
-  (0.0ms) begin transaction
96
- ----------------------------
97
- ViewTest: test_cannot_helper
98
- ----------------------------
99
-  (0.0ms) rollback transaction
100
-  (0.0ms) begin transaction
101
- -------------------------------------
102
- ControllerTest: test_authorize_helper
103
- -------------------------------------
104
-  (0.0ms) rollback transaction
105
-  (0.0ms) begin transaction
106
- -------------------------------
107
- ControllerTest: test_can_helper
108
- -------------------------------
109
-  (0.0ms) rollback transaction
110
-  (0.0ms) begin transaction
111
- ----------------------------------
112
- ControllerTest: test_cannot_helper
113
- ----------------------------------
114
-  (0.0ms) rollback transaction
115
-  (0.0ms) begin transaction
116
- --------------------------------
117
- ChangesTest: test_record_changes
118
- --------------------------------
119
-  (0.0ms) rollback transaction
120
-  (0.0ms) begin transaction
121
- ---------------------------------------
122
- CheckingTest: test_undefined_definition
123
- ---------------------------------------
124
-  (0.0ms) rollback transaction
125
-  (0.0ms) begin transaction
126
- -------------------------------------
127
- CheckingTest: test_ability_conditions
128
- -------------------------------------
129
-  (0.0ms) rollback transaction
130
-  (0.0ms) begin transaction
131
- ------------------------------
132
- CheckingTest: test_all_subject
133
- ------------------------------
134
-  (0.0ms) rollback transaction
135
-  (0.0ms) begin transaction
136
- --------------------------------
137
- CheckingTest: test_ability_block
138
- --------------------------------
139
-  (0.0ms) rollback transaction
140
-  (0.0ms) begin transaction
141
- --------------------------------
142
- CheckingTest: test_manage_action
143
- --------------------------------
144
-  (0.0ms) rollback transaction
145
-  (0.0ms) begin transaction
146
- --------------------------------------------
147
- CheckingTest: test_can_definition_with_model
148
- --------------------------------------------
149
-  (0.0ms) rollback transaction
150
-  (0.0ms) begin transaction
151
- ------------------------------------
152
- CheckingTest: test_cannot_definition
153
- ------------------------------------
154
-  (0.0ms) rollback transaction
155
-  (0.0ms) begin transaction
156
- -----------------------------------------------
157
- CheckingTest: test_can_definition_with_instance
158
- -----------------------------------------------
159
-  (0.0ms) rollback transaction
160
-  (0.0ms) begin transaction
161
- ------------------------------------------
162
- GeneratorsTest: test_initializer_generator
163
- ------------------------------------------
164
-  (0.1ms) rollback transaction
165
-  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "user_id" integer, "created_at" datetime, "updated_at" datetime) 
166
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "admin" boolean, "created_at" datetime, "updated_at" datetime)
167
-  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
168
-  (0.1ms) select sqlite_version(*)
169
-  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
170
-  (0.0ms) SELECT version FROM "schema_migrations"
171
-  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140629203412')
172
-  (0.1ms) begin transaction
173
- -------------------------
174
- ViewTest: test_can_helper
175
- -------------------------
176
-  (0.0ms) rollback transaction
177
-  (0.1ms) begin transaction
178
- ----------------------------
179
- ViewTest: test_cannot_helper
180
- ----------------------------
181
-  (0.0ms) rollback transaction
182
-  (0.0ms) begin transaction
183
- -----------------------------------------------
184
- CheckingTest: test_can_definition_with_instance
185
- -----------------------------------------------
186
-  (0.0ms) rollback transaction
187
-  (0.0ms) begin transaction
188
- --------------------------------
189
- CheckingTest: test_manage_action
190
- --------------------------------
191
-  (0.0ms) rollback transaction
192
-  (0.1ms) begin transaction
193
- ------------------------------------
194
- CheckingTest: test_cannot_definition
195
- ------------------------------------
196
-  (0.0ms) rollback transaction
197
-  (0.0ms) begin transaction
198
- ---------------------------------------
199
- CheckingTest: test_undefined_definition
200
- ---------------------------------------
201
-  (0.0ms) rollback transaction
202
-  (0.0ms) begin transaction
203
- --------------------------------------------
204
- CheckingTest: test_can_definition_with_model
205
- --------------------------------------------
206
-  (0.0ms) rollback transaction
207
-  (0.0ms) begin transaction
208
- --------------------------------
209
- CheckingTest: test_ability_block
210
- --------------------------------
211
-  (0.0ms) rollback transaction
212
-  (0.0ms) begin transaction
213
- -------------------------------------
214
- CheckingTest: test_ability_conditions
215
- -------------------------------------
216
-  (0.0ms) rollback transaction
217
-  (0.0ms) begin transaction
218
- ------------------------------
219
- CheckingTest: test_all_subject
220
- ------------------------------
221
-  (0.0ms) rollback transaction
222
-  (0.0ms) begin transaction
223
- --------------------------------
224
- ChangesTest: test_record_changes
225
- --------------------------------
226
-  (0.0ms) rollback transaction
227
-  (0.0ms) begin transaction
228
- -------------------------------------
229
- ControllerTest: test_authorize_helper
230
- -------------------------------------
231
-  (0.0ms) rollback transaction
232
-  (0.0ms) begin transaction
233
- -------------------------------
234
- ControllerTest: test_can_helper
235
- -------------------------------
236
-  (0.0ms) rollback transaction
237
-  (0.0ms) begin transaction
238
- ----------------------------------
239
- ControllerTest: test_cannot_helper
240
- ----------------------------------
241
-  (0.1ms) rollback transaction
242
-  (0.0ms) begin transaction
243
- ------------------------------------------
244
- GeneratorsTest: test_initializer_generator
245
- ------------------------------------------
246
-  (0.1ms) rollback transaction
1
+  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreateUsers (20140629203344)
5
+  (0.2ms) BEGIN
6
+  (1.8ms) CREATE TABLE "users" ("id" serial primary key, "admin" boolean, "created_at" timestamp, "updated_at" timestamp) 
7
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140629203344"]]
8
+  (0.5ms) COMMIT
9
+ Migrating to CreateProducts (20140629203412)
10
+  (0.2ms) BEGIN
11
+  (1.3ms) CREATE TABLE "products" ("id" serial primary key, "user_id" integer, "created_at" timestamp, "updated_at" timestamp) 
12
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140629203412"]]
13
+  (0.5ms) COMMIT
14
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
15
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
16
+ FROM pg_constraint c
17
+ JOIN pg_class t1 ON c.conrelid = t1.oid
18
+ JOIN pg_class t2 ON c.confrelid = t2.oid
19
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
20
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
21
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
22
+ WHERE c.contype = 'f'
23
+ AND t1.relname = 'products'
24
+ AND t3.nspname = ANY (current_schemas(false))
25
+ ORDER BY c.conname
26
+ 
27
+  (1.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
28
+ FROM pg_constraint c
29
+ JOIN pg_class t1 ON c.conrelid = t1.oid
30
+ JOIN pg_class t2 ON c.confrelid = t2.oid
31
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
32
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
33
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
34
+ WHERE c.contype = 'f'
35
+ AND t1.relname = 'users'
36
+ AND t3.nspname = ANY (current_schemas(false))
37
+ ORDER BY c.conname
38
+
39
+  (2.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
40
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
41
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
42
+ Migrating to CreateUsers (20140629203344)
43
+  (0.1ms) BEGIN
44
+  (1.6ms) CREATE TABLE "users" ("id" serial primary key, "admin" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
45
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140629203344"]]
46
+  (0.5ms) COMMIT
47
+ Migrating to CreateProducts (20140629203412)
48
+  (0.2ms) BEGIN
49
+  (1.5ms) CREATE TABLE "products" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
50
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140629203412"]]
51
+  (0.4ms) COMMIT
52
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
53
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
54
+ FROM pg_constraint c
55
+ JOIN pg_class t1 ON c.conrelid = t1.oid
56
+ JOIN pg_class t2 ON c.confrelid = t2.oid
57
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
58
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
59
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
60
+ WHERE c.contype = 'f'
61
+ AND t1.relname = 'products'
62
+ AND t3.nspname = ANY (current_schemas(false))
63
+ ORDER BY c.conname
64
+ 
65
+  (1.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
66
+ FROM pg_constraint c
67
+ JOIN pg_class t1 ON c.conrelid = t1.oid
68
+ JOIN pg_class t2 ON c.confrelid = t2.oid
69
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
70
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
71
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
72
+ WHERE c.contype = 'f'
73
+ AND t1.relname = 'users'
74
+ AND t3.nspname = ANY (current_schemas(false))
75
+ ORDER BY c.conname
76
+
77
+  (180.1ms) DROP DATABASE IF EXISTS "abilities_test"
78
+  (352.6ms) CREATE DATABASE "abilities_test" ENCODING = 'utf8'
79
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
80
+  (3.0ms) CREATE TABLE "products" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
81
+  (1.6ms) CREATE TABLE "users" ("id" serial primary key, "admin" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
82
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
83
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
84
+  (0.2ms) SELECT version FROM "schema_migrations"
85
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140629203412')
86
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140629203344')
87
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
88
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
89
+  (0.2ms) BEGIN
90
+ ----------------------------
91
+ GeneratorsTest: test_install
92
+ ----------------------------
93
+  (0.2ms) ROLLBACK
94
+  (0.2ms) BEGIN
95
+ --------------------------
96
+ AbilitiesTest: test_cannot
97
+ --------------------------
98
+  (0.2ms) ROLLBACK
99
+  (0.2ms) BEGIN
100
+ ------------------------------
101
+ AbilitiesTest: test_conditions
102
+ ------------------------------
103
+  (0.1ms) ROLLBACK
104
+  (0.2ms) BEGIN
105
+ -----------------------
106
+ AbilitiesTest: test_all
107
+ -----------------------
108
+  (0.1ms) ROLLBACK
109
+  (0.1ms) BEGIN
110
+ -----------------------------
111
+ AbilitiesTest: test_undefined
112
+ -----------------------------
113
+  (0.2ms) ROLLBACK
114
+  (0.1ms) BEGIN
115
+ --------------------------
116
+ AbilitiesTest: test_manage
117
+ --------------------------
118
+  (0.2ms) ROLLBACK
119
+  (0.1ms) BEGIN
120
+ -----------------------------
121
+ AbilitiesTest: test_authorize
122
+ -----------------------------
123
+  (0.1ms) ROLLBACK
124
+  (0.1ms) BEGIN
125
+ -------------------------
126
+ AbilitiesTest: test_block
127
+ -------------------------
128
+  (0.1ms) ROLLBACK
129
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
130
+  (0.2ms) BEGIN
131
+ ----------------------------
132
+ GeneratorsTest: test_install
133
+ ----------------------------
134
+  (0.3ms) ROLLBACK
135
+  (0.2ms) BEGIN
136
+ -----------------------
137
+ AbilitiesTest: test_all
138
+ -----------------------
139
+  (0.2ms) ROLLBACK
140
+  (0.1ms) BEGIN
141
+ ------------------------------
142
+ AbilitiesTest: test_conditions
143
+ ------------------------------
144
+  (0.1ms) ROLLBACK
145
+  (0.1ms) BEGIN
146
+ --------------------------
147
+ AbilitiesTest: test_manage
148
+ --------------------------
149
+  (0.2ms) ROLLBACK
150
+  (0.1ms) BEGIN
151
+ -----------------------------
152
+ AbilitiesTest: test_authorize
153
+ -----------------------------
154
+  (0.1ms) ROLLBACK
155
+  (0.1ms) BEGIN
156
+ --------------------------
157
+ AbilitiesTest: test_cannot
158
+ --------------------------
159
+  (0.1ms) ROLLBACK
160
+  (0.1ms) BEGIN
161
+ -----------------------------
162
+ AbilitiesTest: test_undefined
163
+ -----------------------------
164
+  (0.1ms) ROLLBACK
165
+  (0.1ms) BEGIN
166
+ -------------------------
167
+ AbilitiesTest: test_block
168
+ -------------------------
169
+  (0.1ms) ROLLBACK
170
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
171
+  (0.2ms) BEGIN
172
+ ----------------------------
173
+ GeneratorsTest: test_install
174
+ ----------------------------
175
+  (0.2ms) ROLLBACK
176
+  (0.1ms) BEGIN
177
+ -----------------------------
178
+ AbilitiesTest: test_authorize
179
+ -----------------------------
180
+  (0.1ms) ROLLBACK
181
+  (0.1ms) BEGIN
182
+ -----------------------------
183
+ AbilitiesTest: test_undefined
184
+ -----------------------------
185
+  (0.1ms) ROLLBACK
186
+  (0.2ms) BEGIN
187
+ -------------------------
188
+ AbilitiesTest: test_block
189
+ -------------------------
190
+  (0.2ms) ROLLBACK
191
+  (0.1ms) BEGIN
192
+ -----------------------
193
+ AbilitiesTest: test_all
194
+ -----------------------
195
+  (0.1ms) ROLLBACK
196
+  (0.1ms) BEGIN
197
+ ------------------------------
198
+ AbilitiesTest: test_conditions
199
+ ------------------------------
200
+  (0.1ms) ROLLBACK
201
+  (0.1ms) BEGIN
202
+ --------------------------
203
+ AbilitiesTest: test_cannot
204
+ --------------------------
205
+  (0.1ms) ROLLBACK
206
+  (0.1ms) BEGIN
207
+ --------------------------
208
+ AbilitiesTest: test_manage
209
+ --------------------------
210
+  (0.1ms) ROLLBACK
211
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
212
+  (0.2ms) BEGIN
213
+ ------------------------------
214
+ AbilitiesTest: test_conditions
215
+ ------------------------------
216
+  (0.1ms) ROLLBACK
217
+  (0.1ms) BEGIN
218
+ -------------------------
219
+ AbilitiesTest: test_block
220
+ -------------------------
221
+  (0.2ms) ROLLBACK
222
+  (0.1ms) BEGIN
223
+ --------------------------
224
+ AbilitiesTest: test_manage
225
+ --------------------------
226
+  (0.1ms) ROLLBACK
227
+  (0.1ms) BEGIN
228
+ -----------------------------
229
+ AbilitiesTest: test_undefined
230
+ -----------------------------
231
+  (0.1ms) ROLLBACK
232
+  (0.1ms) BEGIN
233
+ -----------------------
234
+ AbilitiesTest: test_all
235
+ -----------------------
236
+  (0.1ms) ROLLBACK
237
+  (0.1ms) BEGIN
238
+ --------------------------
239
+ AbilitiesTest: test_cannot
240
+ --------------------------
241
+  (0.1ms) ROLLBACK
242
+  (0.1ms) BEGIN
243
+ -----------------------------
244
+ AbilitiesTest: test_authorize
245
+ -----------------------------
246
+  (0.1ms) ROLLBACK
247
+  (0.1ms) BEGIN
248
+ ----------------------------
249
+ GeneratorsTest: test_install
250
+ ----------------------------
251
+  (0.3ms) ROLLBACK
252
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
253
+  (0.2ms) BEGIN
254
+ ----------------------------
255
+ GeneratorsTest: test_install
256
+ ----------------------------
257
+  (0.2ms) ROLLBACK
258
+  (0.1ms) BEGIN
259
+ -----------------------
260
+ AbilitiesTest: test_all
261
+ -----------------------
262
+  (0.2ms) ROLLBACK
263
+  (0.1ms) BEGIN
264
+ --------------------------
265
+ AbilitiesTest: test_cannot
266
+ --------------------------
267
+  (0.2ms) ROLLBACK
268
+  (0.1ms) BEGIN
269
+ -------------------------
270
+ AbilitiesTest: test_block
271
+ -------------------------
272
+  (0.1ms) ROLLBACK
273
+  (0.1ms) BEGIN
274
+ -----------------------------
275
+ AbilitiesTest: test_authorize
276
+ -----------------------------
277
+  (0.1ms) ROLLBACK
278
+  (0.1ms) BEGIN
279
+ ------------------------------
280
+ AbilitiesTest: test_conditions
281
+ ------------------------------
282
+  (0.1ms) ROLLBACK
283
+  (0.1ms) BEGIN
284
+ --------------------------
285
+ AbilitiesTest: test_manage
286
+ --------------------------
287
+  (0.2ms) ROLLBACK
288
+  (0.1ms) BEGIN
289
+ -----------------------------
290
+ AbilitiesTest: test_undefined
291
+ -----------------------------
292
+  (0.1ms) ROLLBACK
293
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
294
+  (0.2ms) BEGIN
295
+ ----------------------------
296
+ GeneratorsTest: test_install
297
+ ----------------------------
298
+  (0.3ms) ROLLBACK
299
+  (0.1ms) BEGIN
300
+ -----------------------------
301
+ AbilitiesTest: test_authorize
302
+ -----------------------------
303
+  (0.2ms) ROLLBACK
304
+  (0.1ms) BEGIN
305
+ -----------------------
306
+ AbilitiesTest: test_all
307
+ -----------------------
308
+  (0.2ms) ROLLBACK
309
+  (0.2ms) BEGIN
310
+ -------------------------
311
+ AbilitiesTest: test_block
312
+ -------------------------
313
+  (0.2ms) ROLLBACK
314
+  (0.2ms) BEGIN
315
+ -----------------------------
316
+ AbilitiesTest: test_undefined
317
+ -----------------------------
318
+  (0.1ms) ROLLBACK
319
+  (0.1ms) BEGIN
320
+ --------------------------
321
+ AbilitiesTest: test_cannot
322
+ --------------------------
323
+  (0.1ms) ROLLBACK
324
+  (0.1ms) BEGIN
325
+ ------------------------------
326
+ AbilitiesTest: test_conditions
327
+ ------------------------------
328
+  (0.2ms) ROLLBACK
329
+  (0.1ms) BEGIN
330
+ --------------------------
331
+ AbilitiesTest: test_manage
332
+ --------------------------
333
+  (0.2ms) ROLLBACK
334
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
335
+  (0.2ms) BEGIN
336
+ ------------------------------
337
+ AbilitiesTest: test_conditions
338
+ ------------------------------
339
+  (0.2ms) ROLLBACK
340
+  (0.1ms) BEGIN
341
+ -----------------------
342
+ AbilitiesTest: test_all
343
+ -----------------------
344
+  (0.2ms) ROLLBACK
345
+  (0.1ms) BEGIN
346
+ -----------------------------
347
+ AbilitiesTest: test_undefined
348
+ -----------------------------
349
+  (0.1ms) ROLLBACK
350
+  (0.1ms) BEGIN
351
+ -------------------------
352
+ AbilitiesTest: test_block
353
+ -------------------------
354
+  (0.2ms) ROLLBACK
355
+  (0.1ms) BEGIN
356
+ --------------------------
357
+ AbilitiesTest: test_cannot
358
+ --------------------------
359
+  (0.1ms) ROLLBACK
360
+  (0.1ms) BEGIN
361
+ --------------------------
362
+ AbilitiesTest: test_manage
363
+ --------------------------
364
+  (0.1ms) ROLLBACK
365
+  (0.1ms) BEGIN
366
+ -----------------------------
367
+ AbilitiesTest: test_authorize
368
+ -----------------------------
369
+  (0.1ms) ROLLBACK
370
+  (0.2ms) BEGIN
371
+ ----------------------------
372
+ GeneratorsTest: test_install
373
+ ----------------------------
374
+  (0.2ms) ROLLBACK
375
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
376
+  (0.2ms) BEGIN
377
+ ----------------------------
378
+ GeneratorsTest: test_install
379
+ ----------------------------
380
+  (0.3ms) ROLLBACK
381
+  (0.2ms) BEGIN
382
+ --------------------------
383
+ AbilitiesTest: test_cannot
384
+ --------------------------
385
+  (0.1ms) ROLLBACK
386
+  (0.1ms) BEGIN
387
+ -----------------------------
388
+ AbilitiesTest: test_authorize
389
+ -----------------------------
390
+  (0.1ms) ROLLBACK
391
+  (0.1ms) BEGIN
392
+ -------------------------
393
+ AbilitiesTest: test_block
394
+ -------------------------
395
+  (0.1ms) ROLLBACK
396
+  (0.1ms) BEGIN
397
+ -----------------------
398
+ AbilitiesTest: test_all
399
+ -----------------------
400
+  (0.1ms) ROLLBACK
401
+  (0.1ms) BEGIN
402
+ --------------------------
403
+ AbilitiesTest: test_manage
404
+ --------------------------
405
+  (0.1ms) ROLLBACK
406
+  (0.1ms) BEGIN
407
+ -----------------------------
408
+ AbilitiesTest: test_undefined
409
+ -----------------------------
410
+  (0.1ms) ROLLBACK
411
+  (0.1ms) BEGIN
412
+ ------------------------------
413
+ AbilitiesTest: test_conditions
414
+ ------------------------------
415
+  (0.1ms) ROLLBACK
416
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
417
+  (0.2ms) BEGIN
418
+ ----------------------------
419
+ GeneratorsTest: test_install
420
+ ----------------------------
421
+  (0.3ms) ROLLBACK
422
+  (0.2ms) BEGIN
423
+ -----------------------
424
+ AbilitiesTest: test_all
425
+ -----------------------
426
+  (0.2ms) ROLLBACK
427
+  (0.1ms) BEGIN
428
+ -------------------------
429
+ AbilitiesTest: test_block
430
+ -------------------------
431
+  (0.1ms) ROLLBACK
432
+  (0.1ms) BEGIN
433
+ --------------------------
434
+ AbilitiesTest: test_cannot
435
+ --------------------------
436
+  (0.1ms) ROLLBACK
437
+  (0.1ms) BEGIN
438
+ -----------------------------
439
+ AbilitiesTest: test_authorize
440
+ -----------------------------
441
+  (0.1ms) ROLLBACK
442
+  (0.1ms) BEGIN
443
+ ------------------------------
444
+ AbilitiesTest: test_conditions
445
+ ------------------------------
446
+  (0.1ms) ROLLBACK
447
+  (0.1ms) BEGIN
448
+ --------------------------
449
+ AbilitiesTest: test_manage
450
+ --------------------------
451
+  (0.1ms) ROLLBACK
452
+  (0.1ms) BEGIN
453
+ -----------------------------
454
+ AbilitiesTest: test_undefined
455
+ -----------------------------
456
+  (0.1ms) ROLLBACK
457
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
458
+  (0.2ms) BEGIN
459
+ ----------------------------
460
+ GeneratorsTest: test_install
461
+ ----------------------------
462
+  (0.2ms) ROLLBACK
463
+  (0.1ms) BEGIN
464
+ --------------------------
465
+ AbilitiesTest: test_manage
466
+ --------------------------
467
+  (0.3ms) ROLLBACK
468
+  (0.1ms) BEGIN
469
+ -----------------------------
470
+ AbilitiesTest: test_undefined
471
+ -----------------------------
472
+  (0.2ms) ROLLBACK
473
+  (0.1ms) BEGIN
474
+ -----------------------
475
+ AbilitiesTest: test_all
476
+ -----------------------
477
+  (0.1ms) ROLLBACK
478
+  (0.1ms) BEGIN
479
+ ------------------------------
480
+ AbilitiesTest: test_conditions
481
+ ------------------------------
482
+  (0.2ms) ROLLBACK
483
+  (0.2ms) BEGIN
484
+ -----------------------------
485
+ AbilitiesTest: test_authorize
486
+ -----------------------------
487
+  (0.1ms) ROLLBACK
488
+  (0.1ms) BEGIN
489
+ --------------------------
490
+ AbilitiesTest: test_cannot
491
+ --------------------------
492
+  (0.2ms) ROLLBACK
493
+  (0.1ms) BEGIN
494
+ -------------------------
495
+ AbilitiesTest: test_block
496
+ -------------------------
497
+  (0.2ms) ROLLBACK
498
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
499
+  (0.2ms) BEGIN
500
+ -----------------------------
501
+ AbilitiesTest: test_authorize
502
+ -----------------------------
503
+  (0.2ms) ROLLBACK
504
+  (0.1ms) BEGIN
505
+ --------------------------
506
+ AbilitiesTest: test_manage
507
+ --------------------------
508
+  (0.1ms) ROLLBACK
509
+  (0.1ms) BEGIN
510
+ -----------------------------
511
+ AbilitiesTest: test_undefined
512
+ -----------------------------
513
+  (0.1ms) ROLLBACK
514
+  (0.2ms) BEGIN
515
+ -------------------------
516
+ AbilitiesTest: test_block
517
+ -------------------------
518
+  (0.2ms) ROLLBACK
519
+  (0.2ms) BEGIN
520
+ -----------------------
521
+ AbilitiesTest: test_all
522
+ -----------------------
523
+  (0.2ms) ROLLBACK
524
+  (0.1ms) BEGIN
525
+ ------------------------------
526
+ AbilitiesTest: test_conditions
527
+ ------------------------------
528
+  (0.1ms) ROLLBACK
529
+  (0.2ms) BEGIN
530
+ --------------------------
531
+ AbilitiesTest: test_cannot
532
+ --------------------------
533
+  (0.2ms) ROLLBACK
534
+  (0.1ms) BEGIN
535
+ ----------------------------
536
+ GeneratorsTest: test_install
537
+ ----------------------------
538
+  (0.2ms) ROLLBACK
539
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
540
+  (0.2ms) BEGIN
541
+ -----------------------------
542
+ AbilitiesTest: test_undefined
543
+ -----------------------------
544
+  (0.1ms) ROLLBACK
545
+  (0.1ms) BEGIN
546
+ --------------------------
547
+ AbilitiesTest: test_manage
548
+ --------------------------
549
+  (0.2ms) ROLLBACK
550
+  (0.1ms) BEGIN
551
+ -----------------------
552
+ AbilitiesTest: test_any
553
+ -----------------------
554
+  (0.1ms) ROLLBACK
555
+  (0.2ms) BEGIN
556
+ --------------------------
557
+ AbilitiesTest: test_cannot
558
+ --------------------------
559
+  (0.1ms) ROLLBACK
560
+  (0.1ms) BEGIN
561
+ -----------------------------
562
+ AbilitiesTest: test_authorize
563
+ -----------------------------
564
+  (0.2ms) ROLLBACK
565
+  (0.1ms) BEGIN
566
+ -------------------------
567
+ AbilitiesTest: test_block
568
+ -------------------------
569
+  (0.2ms) ROLLBACK
570
+  (0.1ms) BEGIN
571
+ ----------------------------
572
+ GeneratorsTest: test_install
573
+ ----------------------------
574
+  (0.3ms) ROLLBACK
575
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
576
+  (0.2ms) BEGIN
577
+ -------------------------
578
+ AbilitiesTest: test_block
579
+ -------------------------
580
+  (0.2ms) ROLLBACK
581
+  (0.2ms) BEGIN
582
+ --------------------------
583
+ AbilitiesTest: test_cannot
584
+ --------------------------
585
+  (0.2ms) ROLLBACK
586
+  (0.1ms) BEGIN
587
+ --------------------------
588
+ AbilitiesTest: test_manage
589
+ --------------------------
590
+  (0.1ms) ROLLBACK
591
+  (0.1ms) BEGIN
592
+ -----------------------
593
+ AbilitiesTest: test_any
594
+ -----------------------
595
+  (0.1ms) ROLLBACK
596
+  (0.1ms) BEGIN
597
+ -----------------------------
598
+ AbilitiesTest: test_authorize
599
+ -----------------------------
600
+  (0.1ms) ROLLBACK
601
+  (0.1ms) BEGIN
602
+ -----------------------------
603
+ AbilitiesTest: test_undefined
604
+ -----------------------------
605
+  (0.1ms) ROLLBACK
606
+  (0.1ms) BEGIN
607
+ ----------------------------
608
+ GeneratorsTest: test_install
609
+ ----------------------------
610
+  (0.2ms) ROLLBACK
611
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
612
+  (0.2ms) BEGIN
613
+ ----------------------------
614
+ GeneratorsTest: test_install
615
+ ----------------------------
616
+  (0.2ms) ROLLBACK
617
+  (0.1ms) BEGIN
618
+ -----------------------
619
+ AbilitiesTest: test_any
620
+ -----------------------
621
+  (0.1ms) ROLLBACK
622
+  (0.1ms) BEGIN
623
+ --------------------------
624
+ AbilitiesTest: test_manage
625
+ --------------------------
626
+  (0.2ms) ROLLBACK
627
+  (0.2ms) BEGIN
628
+ -----------------------------
629
+ AbilitiesTest: test_authorize
630
+ -----------------------------
631
+  (0.1ms) ROLLBACK
632
+  (0.2ms) BEGIN
633
+ -------------------------
634
+ AbilitiesTest: test_block
635
+ -------------------------
636
+  (0.2ms) ROLLBACK
637
+  (0.1ms) BEGIN
638
+ --------------------------
639
+ AbilitiesTest: test_cannot
640
+ --------------------------
641
+  (0.1ms) ROLLBACK
642
+  (0.1ms) BEGIN
643
+ -----------------------------
644
+ AbilitiesTest: test_undefined
645
+ -----------------------------
646
+  (0.2ms) ROLLBACK
647
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
648
+  (0.2ms) BEGIN
649
+ -----------------------
650
+ AbilitiesTest: test_any
651
+ -----------------------
652
+  (0.1ms) ROLLBACK
653
+  (0.1ms) BEGIN
654
+ -----------------------------
655
+ AbilitiesTest: test_undefined
656
+ -----------------------------
657
+  (0.1ms) ROLLBACK
658
+  (0.1ms) BEGIN
659
+ -------------------------
660
+ AbilitiesTest: test_block
661
+ -------------------------
662
+  (0.1ms) ROLLBACK
663
+  (0.1ms) BEGIN
664
+ --------------------------
665
+ AbilitiesTest: test_cannot
666
+ --------------------------
667
+  (0.2ms) ROLLBACK
668
+  (0.1ms) BEGIN
669
+ -----------------------------
670
+ AbilitiesTest: test_authorize
671
+ -----------------------------
672
+  (0.2ms) ROLLBACK
673
+  (0.2ms) BEGIN
674
+ --------------------------
675
+ AbilitiesTest: test_manage
676
+ --------------------------
677
+  (0.2ms) ROLLBACK
678
+  (0.2ms) BEGIN
679
+ ----------------------------
680
+ GeneratorsTest: test_install
681
+ ----------------------------
682
+  (0.2ms) ROLLBACK
683
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
684
+  (0.2ms) BEGIN
685
+ ----------------------------
686
+ GeneratorsTest: test_install
687
+ ----------------------------
688
+  (0.3ms) ROLLBACK
689
+  (0.1ms) BEGIN
690
+ -----------------------------
691
+ AbilitiesTest: test_authorize
692
+ -----------------------------
693
+  (0.1ms) ROLLBACK
694
+  (0.1ms) BEGIN
695
+ -------------------------
696
+ AbilitiesTest: test_block
697
+ -------------------------
698
+  (0.2ms) ROLLBACK
699
+  (0.1ms) BEGIN
700
+ -----------------------------
701
+ AbilitiesTest: test_undefined
702
+ -----------------------------
703
+  (0.2ms) ROLLBACK
704
+  (0.1ms) BEGIN
705
+ -----------------------
706
+ AbilitiesTest: test_any
707
+ -----------------------
708
+  (0.2ms) ROLLBACK
709
+  (0.1ms) BEGIN
710
+ --------------------------
711
+ AbilitiesTest: test_cannot
712
+ --------------------------
713
+  (0.1ms) ROLLBACK
714
+  (0.1ms) BEGIN
715
+ --------------------------
716
+ AbilitiesTest: test_manage
717
+ --------------------------
718
+  (0.1ms) ROLLBACK
719
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
720
+  (0.2ms) BEGIN
721
+ -------------------------
722
+ AbilitiesTest: test_block
723
+ -------------------------
724
+  (0.1ms) ROLLBACK
725
+  (0.1ms) BEGIN
726
+ -----------------------------
727
+ AbilitiesTest: test_undefined
728
+ -----------------------------
729
+  (0.1ms) ROLLBACK
730
+  (0.1ms) BEGIN
731
+ -----------------------------
732
+ AbilitiesTest: test_authorize
733
+ -----------------------------
734
+  (0.2ms) ROLLBACK
735
+  (0.1ms) BEGIN
736
+ -----------------------
737
+ AbilitiesTest: test_any
738
+ -----------------------
739
+  (0.1ms) ROLLBACK
740
+  (0.1ms) BEGIN
741
+ --------------------------
742
+ AbilitiesTest: test_manage
743
+ --------------------------
744
+  (0.2ms) ROLLBACK
745
+  (0.1ms) BEGIN
746
+ --------------------------
747
+ AbilitiesTest: test_cannot
748
+ --------------------------
749
+  (0.1ms) ROLLBACK
750
+  (0.1ms) BEGIN
751
+ ----------------------------
752
+ GeneratorsTest: test_install
753
+ ----------------------------
754
+  (0.3ms) ROLLBACK
755
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
756
+  (0.2ms) BEGIN
757
+ ----------------------------
758
+ GeneratorsTest: test_install
759
+ ----------------------------
760
+  (0.2ms) ROLLBACK
761
+  (0.2ms) BEGIN
762
+ -------------------------
763
+ AbilitiesTest: test_block
764
+ -------------------------
765
+  (0.1ms) ROLLBACK
766
+  (0.1ms) BEGIN
767
+ --------------------------
768
+ AbilitiesTest: test_cannot
769
+ --------------------------
770
+  (0.1ms) ROLLBACK
771
+  (0.1ms) BEGIN
772
+ -----------------------------
773
+ AbilitiesTest: test_undefined
774
+ -----------------------------
775
+  (0.2ms) ROLLBACK
776
+  (0.1ms) BEGIN
777
+ --------------------------
778
+ AbilitiesTest: test_manage
779
+ --------------------------
780
+  (0.1ms) ROLLBACK
781
+  (0.1ms) BEGIN
782
+ -----------------------
783
+ AbilitiesTest: test_any
784
+ -----------------------
785
+  (0.2ms) ROLLBACK
786
+  (0.1ms) BEGIN
787
+ -----------------------------
788
+ AbilitiesTest: test_authorize
789
+ -----------------------------
790
+  (0.1ms) ROLLBACK
791
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
792
+  (0.2ms) BEGIN
793
+ -----------------------------
794
+ AbilitiesTest: test_authorize
795
+ -----------------------------
796
+  (0.2ms) ROLLBACK
797
+  (0.1ms) BEGIN
798
+ --------------------------
799
+ AbilitiesTest: test_cannot
800
+ --------------------------
801
+  (0.1ms) ROLLBACK
802
+  (0.2ms) BEGIN
803
+ -----------------------------
804
+ AbilitiesTest: test_undefined
805
+ -----------------------------
806
+  (0.1ms) ROLLBACK
807
+  (0.2ms) BEGIN
808
+ -------------------------
809
+ AbilitiesTest: test_block
810
+ -------------------------
811
+  (0.1ms) ROLLBACK
812
+  (0.2ms) BEGIN
813
+ -----------------------
814
+ AbilitiesTest: test_any
815
+ -----------------------
816
+  (0.1ms) ROLLBACK
817
+  (0.1ms) BEGIN
818
+ --------------------------
819
+ AbilitiesTest: test_manage
820
+ --------------------------
821
+  (0.1ms) ROLLBACK
822
+  (0.1ms) BEGIN
823
+ ----------------------------
824
+ GeneratorsTest: test_install
825
+ ----------------------------
826
+  (0.3ms) ROLLBACK
827
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
828
+  (0.2ms) BEGIN
829
+ -----------------------------
830
+ AbilitiesTest: test_undefined
831
+ -----------------------------
832
+  (0.2ms) ROLLBACK
833
+  (0.1ms) BEGIN
834
+ -----------------------
835
+ AbilitiesTest: test_any
836
+ -----------------------
837
+  (0.1ms) ROLLBACK
838
+  (0.2ms) BEGIN
839
+ -------------------------
840
+ AbilitiesTest: test_block
841
+ -------------------------
842
+  (0.2ms) ROLLBACK
843
+  (0.2ms) BEGIN
844
+ --------------------------
845
+ AbilitiesTest: test_manage
846
+ --------------------------
847
+  (0.2ms) ROLLBACK
848
+  (0.1ms) BEGIN
849
+ -----------------------------
850
+ AbilitiesTest: test_authorize
851
+ -----------------------------
852
+  (0.1ms) ROLLBACK
853
+  (0.2ms) BEGIN
854
+ --------------------------
855
+ AbilitiesTest: test_cannot
856
+ --------------------------
857
+  (0.2ms) ROLLBACK
858
+  (0.1ms) BEGIN
859
+ ----------------------------
860
+ GeneratorsTest: test_install
861
+ ----------------------------
862
+  (0.2ms) ROLLBACK
863
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
864
+  (0.2ms) BEGIN
865
+ --------------------------
866
+ AbilitiesTest: test_manage
867
+ --------------------------
868
+  (0.2ms) ROLLBACK
869
+  (0.1ms) BEGIN
870
+ -----------------------
871
+ AbilitiesTest: test_any
872
+ -----------------------
873
+  (0.2ms) ROLLBACK
874
+  (0.2ms) BEGIN
875
+ --------------------------
876
+ AbilitiesTest: test_cannot
877
+ --------------------------
878
+  (0.1ms) ROLLBACK
879
+  (0.1ms) BEGIN
880
+ -----------------------------
881
+ AbilitiesTest: test_undefined
882
+ -----------------------------
883
+  (0.1ms) ROLLBACK
884
+  (0.2ms) BEGIN
885
+ -----------------------------
886
+ AbilitiesTest: test_authorize
887
+ -----------------------------
888
+  (0.1ms) ROLLBACK
889
+  (0.1ms) BEGIN
890
+ ----------------------------
891
+ AbilitiesTest: test_multiple
892
+ ----------------------------
893
+  (0.1ms) ROLLBACK
894
+  (0.1ms) BEGIN
895
+ ----------------------------
896
+ GeneratorsTest: test_install
897
+ ----------------------------
898
+  (0.3ms) ROLLBACK
899
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
900
+  (0.2ms) BEGIN
901
+ ----------------------------
902
+ GeneratorsTest: test_install
903
+ ----------------------------
904
+  (0.3ms) ROLLBACK
905
+  (0.2ms) BEGIN
906
+ --------------------------
907
+ AbilitiesTest: test_cannot
908
+ --------------------------
909
+  (0.2ms) ROLLBACK
910
+  (0.2ms) BEGIN
911
+ -----------------------
912
+ AbilitiesTest: test_any
913
+ -----------------------
914
+  (0.2ms) ROLLBACK
915
+  (0.1ms) BEGIN
916
+ -----------------------------
917
+ AbilitiesTest: test_authorize
918
+ -----------------------------
919
+  (0.2ms) ROLLBACK
920
+  (0.1ms) BEGIN
921
+ --------------------------
922
+ AbilitiesTest: test_manage
923
+ --------------------------
924
+  (0.1ms) ROLLBACK
925
+  (0.1ms) BEGIN
926
+ ----------------------------
927
+ AbilitiesTest: test_multiple
928
+ ----------------------------
929
+  (0.2ms) ROLLBACK
930
+  (0.2ms) BEGIN
931
+ -----------------------------
932
+ AbilitiesTest: test_undefined
933
+ -----------------------------
934
+  (0.2ms) ROLLBACK
935
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
936
+  (0.3ms) BEGIN
937
+ ----------------------------
938
+ GeneratorsTest: test_install
939
+ ----------------------------
940
+  (0.3ms) ROLLBACK
941
+  (0.2ms) BEGIN
942
+ ----------------------------
943
+ AbilitiesTest: test_multiple
944
+ ----------------------------
945
+  (0.2ms) ROLLBACK
946
+  (0.1ms) BEGIN
947
+ -----------------------
948
+ AbilitiesTest: test_any
949
+ -----------------------
950
+  (0.1ms) ROLLBACK
951
+  (0.1ms) BEGIN
952
+ -----------------------------
953
+ AbilitiesTest: test_authorize
954
+ -----------------------------
955
+  (0.1ms) ROLLBACK
956
+  (0.1ms) BEGIN
957
+ --------------------------
958
+ AbilitiesTest: test_cannot
959
+ --------------------------
960
+  (0.1ms) ROLLBACK
961
+  (0.1ms) BEGIN
962
+ -----------------------------
963
+ AbilitiesTest: test_undefined
964
+ -----------------------------
965
+  (0.1ms) ROLLBACK
966
+  (0.1ms) BEGIN
967
+ --------------------------
968
+ AbilitiesTest: test_manage
969
+ --------------------------
970
+  (0.1ms) ROLLBACK
971
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
972
+  (0.2ms) BEGIN
973
+ ----------------------------
974
+ GeneratorsTest: test_install
975
+ ----------------------------
976
+  (0.2ms) ROLLBACK
977
+  (0.1ms) BEGIN
978
+ -----------------------------
979
+ AbilitiesTest: test_undefined
980
+ -----------------------------
981
+  (0.2ms) ROLLBACK
982
+  (0.1ms) BEGIN
983
+ -----------------------------
984
+ AbilitiesTest: test_authorize
985
+ -----------------------------
986
+  (0.1ms) ROLLBACK
987
+  (0.1ms) BEGIN
988
+ --------------------------
989
+ AbilitiesTest: test_manage
990
+ --------------------------
991
+  (0.1ms) ROLLBACK
992
+  (0.1ms) BEGIN
993
+ -----------------------
994
+ AbilitiesTest: test_any
995
+ -----------------------
996
+  (0.1ms) ROLLBACK
997
+  (0.1ms) BEGIN
998
+ --------------------------
999
+ AbilitiesTest: test_cannot
1000
+ --------------------------
1001
+  (0.1ms) ROLLBACK
1002
+  (0.1ms) BEGIN
1003
+ ----------------------------
1004
+ AbilitiesTest: test_multiple
1005
+ ----------------------------
1006
+  (0.1ms) ROLLBACK
1007
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1008
+  (0.2ms) BEGIN
1009
+ ----------------------------
1010
+ GeneratorsTest: test_install
1011
+ ----------------------------
1012
+  (0.3ms) ROLLBACK
1013
+  (0.1ms) BEGIN
1014
+ -----------------------------
1015
+ AbilitiesTest: test_authorize
1016
+ -----------------------------
1017
+  (0.1ms) ROLLBACK
1018
+  (0.1ms) BEGIN
1019
+ --------------------------
1020
+ AbilitiesTest: test_cannot
1021
+ --------------------------
1022
+  (0.2ms) ROLLBACK
1023
+  (0.1ms) BEGIN
1024
+ ----------------------------
1025
+ AbilitiesTest: test_multiple
1026
+ ----------------------------
1027
+  (0.1ms) ROLLBACK
1028
+  (0.1ms) BEGIN
1029
+ --------------------------
1030
+ AbilitiesTest: test_manage
1031
+ --------------------------
1032
+  (0.2ms) ROLLBACK
1033
+  (0.2ms) BEGIN
1034
+ -----------------------
1035
+ AbilitiesTest: test_any
1036
+ -----------------------
1037
+  (0.1ms) ROLLBACK
1038
+  (0.1ms) BEGIN
1039
+ -----------------------------
1040
+ AbilitiesTest: test_undefined
1041
+ -----------------------------
1042
+  (0.1ms) ROLLBACK
1043
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1044
+  (0.2ms) BEGIN
1045
+ ----------------------------
1046
+ GeneratorsTest: test_install
1047
+ ----------------------------
1048
+  (0.3ms) ROLLBACK
1049
+  (0.2ms) BEGIN
1050
+ -----------------------------
1051
+ AbilitiesTest: test_authorize
1052
+ -----------------------------
1053
+  (0.2ms) ROLLBACK
1054
+  (0.1ms) BEGIN
1055
+ ----------------------------
1056
+ AbilitiesTest: test_multiple
1057
+ ----------------------------
1058
+  (0.1ms) ROLLBACK
1059
+  (0.1ms) BEGIN
1060
+ -----------------------------
1061
+ AbilitiesTest: test_undefined
1062
+ -----------------------------
1063
+  (0.1ms) ROLLBACK
1064
+  (0.1ms) BEGIN
1065
+ --------------------------
1066
+ AbilitiesTest: test_cannot
1067
+ --------------------------
1068
+  (0.2ms) ROLLBACK
1069
+  (0.1ms) BEGIN
1070
+ -----------------------
1071
+ AbilitiesTest: test_any
1072
+ -----------------------
1073
+  (0.2ms) ROLLBACK
1074
+  (0.1ms) BEGIN
1075
+ --------------------------
1076
+ AbilitiesTest: test_manage
1077
+ --------------------------
1078
+  (0.2ms) ROLLBACK
1079
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1080
+  (0.3ms) BEGIN
1081
+ ----------------------------
1082
+ GeneratorsTest: test_install
1083
+ ----------------------------
1084
+  (0.3ms) ROLLBACK
1085
+  (0.1ms) BEGIN
1086
+ ----------------------------
1087
+ AbilitiesTest: test_multiple
1088
+ ----------------------------
1089
+  (0.2ms) ROLLBACK
1090
+  (0.1ms) BEGIN
1091
+ --------------------------
1092
+ AbilitiesTest: test_cannot
1093
+ --------------------------
1094
+  (0.1ms) ROLLBACK
1095
+  (0.1ms) BEGIN
1096
+ --------------------------
1097
+ AbilitiesTest: test_manage
1098
+ --------------------------
1099
+  (0.1ms) ROLLBACK
1100
+  (0.1ms) BEGIN
1101
+ -----------------------------
1102
+ AbilitiesTest: test_undefined
1103
+ -----------------------------
1104
+  (0.1ms) ROLLBACK
1105
+  (0.1ms) BEGIN
1106
+ -----------------------
1107
+ AbilitiesTest: test_any
1108
+ -----------------------
1109
+  (0.2ms) ROLLBACK
1110
+  (0.1ms) BEGIN
1111
+ -----------------------------
1112
+ AbilitiesTest: test_authorize
1113
+ -----------------------------
1114
+  (0.1ms) ROLLBACK
1115
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1116
+  (0.2ms) BEGIN
1117
+ --------------------------
1118
+ AbilitiesTest: test_cannot
1119
+ --------------------------
1120
+  (0.2ms) ROLLBACK
1121
+  (0.1ms) BEGIN
1122
+ ----------------------------
1123
+ AbilitiesTest: test_multiple
1124
+ ----------------------------
1125
+  (0.1ms) ROLLBACK
1126
+  (0.1ms) BEGIN
1127
+ -----------------------------
1128
+ AbilitiesTest: test_undefined
1129
+ -----------------------------
1130
+  (0.2ms) ROLLBACK
1131
+  (0.1ms) BEGIN
1132
+ -----------------------
1133
+ AbilitiesTest: test_any
1134
+ -----------------------
1135
+  (0.1ms) ROLLBACK
1136
+  (0.2ms) BEGIN
1137
+ --------------------------
1138
+ AbilitiesTest: test_manage
1139
+ --------------------------
1140
+  (0.1ms) ROLLBACK
1141
+  (0.1ms) BEGIN
1142
+ -----------------------------
1143
+ AbilitiesTest: test_authorize
1144
+ -----------------------------
1145
+  (0.1ms) ROLLBACK
1146
+  (0.1ms) BEGIN
1147
+ ----------------------------
1148
+ GeneratorsTest: test_install
1149
+ ----------------------------
1150
+  (0.2ms) ROLLBACK
1151
+  (0.1ms) BEGIN
1152
+ ----------------------
1153
+ ViewTest: test_helpers
1154
+ ----------------------
1155
+ Started GET "/product" for 127.0.0.1 at 2016-12-01 18:57:21 -0300
1156
+  (0.2ms) ROLLBACK
1157
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1158
+  (0.2ms) BEGIN
1159
+ ----------------------------
1160
+ GeneratorsTest: test_install
1161
+ ----------------------------
1162
+  (0.2ms) ROLLBACK
1163
+  (0.1ms) BEGIN
1164
+ -----------------------------
1165
+ AbilitiesTest: test_authorize
1166
+ -----------------------------
1167
+  (0.2ms) ROLLBACK
1168
+  (0.1ms) BEGIN
1169
+ --------------------------
1170
+ AbilitiesTest: test_cannot
1171
+ --------------------------
1172
+  (0.2ms) ROLLBACK
1173
+  (0.1ms) BEGIN
1174
+ -----------------------
1175
+ AbilitiesTest: test_any
1176
+ -----------------------
1177
+  (0.2ms) ROLLBACK
1178
+  (0.1ms) BEGIN
1179
+ ----------------------------
1180
+ AbilitiesTest: test_multiple
1181
+ ----------------------------
1182
+  (0.1ms) ROLLBACK
1183
+  (0.1ms) BEGIN
1184
+ --------------------------
1185
+ AbilitiesTest: test_manage
1186
+ --------------------------
1187
+  (0.2ms) ROLLBACK
1188
+  (0.1ms) BEGIN
1189
+ -----------------------------
1190
+ AbilitiesTest: test_undefined
1191
+ -----------------------------
1192
+  (0.2ms) ROLLBACK
1193
+  (0.1ms) BEGIN
1194
+ ----------------------
1195
+ ViewTest: test_helpers
1196
+ ----------------------
1197
+ Started GET "/product" for 127.0.0.1 at 2016-12-01 18:57:34 -0300
1198
+ Processing by ProductsController#show as HTML
1199
+ Rendered products/show.html.erb within layouts/application (1.5ms)
1200
+ Completed 200 OK in 179ms (Views: 178.6ms | ActiveRecord: 0.0ms)
1201
+  (0.2ms) ROLLBACK
1202
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1203
+  (0.2ms) BEGIN
1204
+ --------------------------
1205
+ AbilitiesTest: test_manage
1206
+ --------------------------
1207
+  (0.2ms) ROLLBACK
1208
+  (0.1ms) BEGIN
1209
+ -----------------------------
1210
+ AbilitiesTest: test_authorize
1211
+ -----------------------------
1212
+  (0.2ms) ROLLBACK
1213
+  (0.1ms) BEGIN
1214
+ -----------------------
1215
+ AbilitiesTest: test_any
1216
+ -----------------------
1217
+  (0.1ms) ROLLBACK
1218
+  (0.1ms) BEGIN
1219
+ --------------------------
1220
+ AbilitiesTest: test_cannot
1221
+ --------------------------
1222
+  (0.2ms) ROLLBACK
1223
+  (0.1ms) BEGIN
1224
+ -----------------------------
1225
+ AbilitiesTest: test_undefined
1226
+ -----------------------------
1227
+  (0.1ms) ROLLBACK
1228
+  (0.1ms) BEGIN
1229
+ ----------------------------
1230
+ AbilitiesTest: test_multiple
1231
+ ----------------------------
1232
+  (0.1ms) ROLLBACK
1233
+  (0.1ms) BEGIN
1234
+ ----------------------
1235
+ ViewTest: test_helpers
1236
+ ----------------------
1237
+ Started GET "/product" for 127.0.0.1 at 2016-12-01 18:58:04 -0300
1238
+ Processing by ProductsController#show as HTML
1239
+ Rendered products/show.html.erb within layouts/application (1.0ms)
1240
+ Completed 200 OK in 166ms (Views: 165.2ms | ActiveRecord: 0.0ms)
1241
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1242
+  (0.2ms) BEGIN
1243
+ ----------------------
1244
+ ViewTest: test_helpers
1245
+ ----------------------
1246
+ Started GET "/product" for 127.0.0.1 at 2016-12-01 18:59:53 -0300
1247
+ Processing by ProductsController#show as HTML
1248
+ Rendered products/show.html.erb within layouts/application (1.1ms)
1249
+ Completed 200 OK in 173ms (Views: 165.0ms | ActiveRecord: 2.8ms)
1250
+  (0.3ms) ROLLBACK
1251
+  (0.1ms) BEGIN
1252
+ -----------------------
1253
+ AbilitiesTest: test_any
1254
+ -----------------------
1255
+  (0.2ms) ROLLBACK
1256
+  (0.1ms) BEGIN
1257
+ -----------------------------
1258
+ AbilitiesTest: test_authorize
1259
+ -----------------------------
1260
+  (0.1ms) ROLLBACK
1261
+  (0.2ms) BEGIN
1262
+ -----------------------------
1263
+ AbilitiesTest: test_undefined
1264
+ -----------------------------
1265
+  (0.2ms) ROLLBACK
1266
+  (0.1ms) BEGIN
1267
+ --------------------------
1268
+ AbilitiesTest: test_cannot
1269
+ --------------------------
1270
+  (0.2ms) ROLLBACK
1271
+  (0.1ms) BEGIN
1272
+ ----------------------------
1273
+ AbilitiesTest: test_multiple
1274
+ ----------------------------
1275
+  (0.2ms) ROLLBACK
1276
+  (0.2ms) BEGIN
1277
+ --------------------------
1278
+ AbilitiesTest: test_manage
1279
+ --------------------------
1280
+  (0.1ms) ROLLBACK
1281
+  (0.1ms) BEGIN
1282
+ ----------------------------
1283
+ GeneratorsTest: test_install
1284
+ ----------------------------
1285
+  (0.3ms) ROLLBACK
1286
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1287
+  (0.2ms) BEGIN
1288
+ ----------------------------
1289
+ GeneratorsTest: test_install
1290
+ ----------------------------
1291
+  (0.3ms) ROLLBACK
1292
+  (0.2ms) BEGIN
1293
+ ----------------------
1294
+ ViewTest: test_helpers
1295
+ ----------------------
1296
+ Started GET "/product" for 127.0.0.1 at 2016-12-01 19:00:13 -0300
1297
+ Processing by ProductsController#show as HTML
1298
+ Rendered products/show.html.erb within layouts/application (2.2ms)
1299
+ Completed 200 OK in 181ms (Views: 172.8ms | ActiveRecord: 3.0ms)
1300
+  (0.3ms) ROLLBACK
1301
+  (0.2ms) BEGIN
1302
+ -----------------------
1303
+ AbilitiesTest: test_any
1304
+ -----------------------
1305
+  (0.2ms) ROLLBACK
1306
+  (0.1ms) BEGIN
1307
+ ----------------------------
1308
+ AbilitiesTest: test_multiple
1309
+ ----------------------------
1310
+  (0.1ms) ROLLBACK
1311
+  (0.1ms) BEGIN
1312
+ -----------------------------
1313
+ AbilitiesTest: test_undefined
1314
+ -----------------------------
1315
+  (0.1ms) ROLLBACK
1316
+  (0.1ms) BEGIN
1317
+ -----------------------------
1318
+ AbilitiesTest: test_authorize
1319
+ -----------------------------
1320
+  (0.1ms) ROLLBACK
1321
+  (0.1ms) BEGIN
1322
+ --------------------------
1323
+ AbilitiesTest: test_cannot
1324
+ --------------------------
1325
+  (0.1ms) ROLLBACK
1326
+  (0.1ms) BEGIN
1327
+ --------------------------
1328
+ AbilitiesTest: test_manage
1329
+ --------------------------
1330
+  (0.2ms) ROLLBACK
1331
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1332
+  (0.2ms) BEGIN
1333
+ ----------------------
1334
+ ViewTest: test_helpers
1335
+ ----------------------
1336
+ Started GET "/product" for 127.0.0.1 at 2016-12-01 19:02:08 -0300
1337
+ Processing by ProductsController#show as HTML
1338
+ Rendered products/show.html.erb within layouts/application (1.5ms)
1339
+ Completed 200 OK in 176ms (Views: 168.2ms | ActiveRecord: 2.7ms)
1340
+  (0.2ms) ROLLBACK
1341
+  (0.2ms) BEGIN
1342
+ -----------------------------
1343
+ AbilitiesTest: test_authorize
1344
+ -----------------------------
1345
+  (0.2ms) ROLLBACK
1346
+  (0.1ms) BEGIN
1347
+ -----------------------------
1348
+ AbilitiesTest: test_undefined
1349
+ -----------------------------
1350
+  (0.2ms) ROLLBACK
1351
+  (0.1ms) BEGIN
1352
+ --------------------------
1353
+ AbilitiesTest: test_manage
1354
+ --------------------------
1355
+  (0.2ms) ROLLBACK
1356
+  (0.2ms) BEGIN
1357
+ --------------------------
1358
+ AbilitiesTest: test_cannot
1359
+ --------------------------
1360
+  (0.2ms) ROLLBACK
1361
+  (0.1ms) BEGIN
1362
+ ----------------------------
1363
+ AbilitiesTest: test_multiple
1364
+ ----------------------------
1365
+  (0.1ms) ROLLBACK
1366
+  (0.2ms) BEGIN
1367
+ -----------------------
1368
+ AbilitiesTest: test_any
1369
+ -----------------------
1370
+  (0.2ms) ROLLBACK
1371
+  (0.1ms) BEGIN
1372
+ ----------------------------
1373
+ GeneratorsTest: test_install
1374
+ ----------------------------
1375
+  (0.2ms) ROLLBACK
1376
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1377
+  (0.2ms) BEGIN
1378
+ ----------------------
1379
+ ViewTest: test_helpers
1380
+ ----------------------
1381
+ Started GET "/product" for 127.0.0.1 at 2016-12-01 19:02:18 -0300
1382
+ Processing by ProductsController#show as HTML
1383
+ Rendered products/show.html.erb within layouts/application (1.1ms)
1384
+ Completed 200 OK in 179ms (Views: 170.6ms | ActiveRecord: 3.0ms)
1385
+  (0.2ms) ROLLBACK
1386
+  (0.1ms) BEGIN
1387
+ -----------------------
1388
+ AbilitiesTest: test_any
1389
+ -----------------------
1390
+  (0.1ms) ROLLBACK
1391
+  (0.1ms) BEGIN
1392
+ -----------------------------
1393
+ AbilitiesTest: test_undefined
1394
+ -----------------------------
1395
+  (0.1ms) ROLLBACK
1396
+  (0.1ms) BEGIN
1397
+ --------------------------
1398
+ AbilitiesTest: test_manage
1399
+ --------------------------
1400
+  (0.2ms) ROLLBACK
1401
+  (0.1ms) BEGIN
1402
+ -----------------------------
1403
+ AbilitiesTest: test_authorize
1404
+ -----------------------------
1405
+  (0.1ms) ROLLBACK
1406
+  (0.1ms) BEGIN
1407
+ --------------------------
1408
+ AbilitiesTest: test_cannot
1409
+ --------------------------
1410
+  (0.2ms) ROLLBACK
1411
+  (0.1ms) BEGIN
1412
+ ----------------------------
1413
+ AbilitiesTest: test_multiple
1414
+ ----------------------------
1415
+  (0.2ms) ROLLBACK
1416
+  (0.2ms) BEGIN
1417
+ ----------------------------
1418
+ GeneratorsTest: test_install
1419
+ ----------------------------
1420
+  (0.3ms) ROLLBACK
1421
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1422
+  (0.2ms) BEGIN
1423
+ ----------------------------
1424
+ GeneratorsTest: test_install
1425
+ ----------------------------
1426
+  (0.2ms) ROLLBACK
1427
+  (0.2ms) BEGIN
1428
+ -----------------------------
1429
+ AbilitiesTest: test_undefined
1430
+ -----------------------------
1431
+  (0.1ms) ROLLBACK
1432
+  (0.1ms) BEGIN
1433
+ ----------------------------
1434
+ AbilitiesTest: test_multiple
1435
+ ----------------------------
1436
+  (0.1ms) ROLLBACK
1437
+  (0.1ms) BEGIN
1438
+ --------------------------
1439
+ AbilitiesTest: test_cannot
1440
+ --------------------------
1441
+  (0.2ms) ROLLBACK
1442
+  (0.1ms) BEGIN
1443
+ -----------------------
1444
+ AbilitiesTest: test_any
1445
+ -----------------------
1446
+  (0.1ms) ROLLBACK
1447
+  (0.1ms) BEGIN
1448
+ -----------------------------
1449
+ AbilitiesTest: test_authorize
1450
+ -----------------------------
1451
+  (0.1ms) ROLLBACK
1452
+  (0.1ms) BEGIN
1453
+ --------------------------
1454
+ AbilitiesTest: test_manage
1455
+ --------------------------
1456
+  (0.1ms) ROLLBACK
1457
+  (0.1ms) BEGIN
1458
+ ----------------------
1459
+ ViewTest: test_helpers
1460
+ ----------------------
1461
+ Started GET "/product" for 127.0.0.1 at 2016-12-02 09:45:05 -0300
1462
+ Processing by ProductsController#show as HTML
1463
+ Rendered products/show.html.erb within layouts/application (1.5ms)
1464
+ Completed 200 OK in 169ms (Views: 169.2ms | ActiveRecord: 0.0ms)
1465
+  (0.2ms) ROLLBACK