push_type_wysiwyg 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20150824095220_create_push_type_users.push_type.rb → 20150928114738_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150824095221_create_push_type_nodes.push_type.rb → 20150928114739_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150824095222_create_push_type_node_hierarchies.push_type.rb → 20150928114740_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150824095223_create_push_type_assets.push_type.rb → 20150928114741_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150824095224_create_push_type_taxonomies.push_type.rb → 20150928114742_create_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150824095225_create_push_type_taxonomy_hierarchies.push_type.rb → 20150928114743_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20150824095226_add_field_store_default_values.push_type.rb → 20150928114744_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +665 -665
- metadata +20 -20
data/test/dummy/log/test.log
CHANGED
@@ -1,54 +1,54 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (13.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
3
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
-
Migrating to CreatePushTypeUsers (
|
4
|
+
Migrating to CreatePushTypeUsers (20150928114738)
|
5
5
|
[1m[35m (0.1ms)[0m BEGIN
|
6
6
|
[1m[36mSQL (1.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
7
|
-
[1m[35m (2.
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
7
|
+
[1m[35m (2.0ms)[0m CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying, "email" character varying, "field_store" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
8
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150928114738"]]
|
9
9
|
[1m[35m (0.7ms)[0m COMMIT
|
10
|
-
Migrating to CreatePushTypeNodes (
|
10
|
+
Migrating to CreatePushTypeNodes (20150928114739)
|
11
11
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
12
12
|
[1m[35m (1.8ms)[0m CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "field_store" jsonb, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
|
13
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
14
|
-
[1m[35m (0.
|
15
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
13
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150928114739"]]
|
14
|
+
[1m[35m (0.4ms)[0m COMMIT
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20150928114740)
|
16
16
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
17
17
|
[1m[35m (0.4ms)[0m CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
|
18
|
-
[1m[36m (0.
|
19
|
-
[1m[35m (0.
|
20
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
18
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
19
|
+
[1m[35m (0.4ms)[0m CREATE INDEX "node_desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150928114740"]]
|
21
21
|
[1m[35m (0.4ms)[0m COMMIT
|
22
|
-
Migrating to CreatePushTypeAssets (
|
22
|
+
Migrating to CreatePushTypeAssets (20150928114741)
|
23
23
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
24
|
-
[1m[35m (1.
|
25
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
24
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying, "file_name" character varying, "file_size" integer, "file_ext" character varying, "mime_type" character varying, "description" character varying, "uploader_id" uuid, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
|
25
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150928114741"]]
|
26
26
|
[1m[35m (0.4ms)[0m COMMIT
|
27
|
-
Migrating to CreatePushTypeTaxonomies (
|
27
|
+
Migrating to CreatePushTypeTaxonomies (20150928114742)
|
28
28
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
29
|
-
[1m[35m (1.
|
29
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "push_type_taxonomies" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying, "title" character varying, "slug" character varying, "parent_id" uuid, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
30
30
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_assets" ADD "tags" character varying[][0m
|
31
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
32
|
-
[1m[36m (0.
|
33
|
-
Migrating to CreatePushTypeTaxonomyHierarchies (
|
31
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150928114742"]]
|
32
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
33
|
+
Migrating to CreatePushTypeTaxonomyHierarchies (20150928114743)
|
34
34
|
[1m[35m (0.1ms)[0m BEGIN
|
35
|
-
[1m[36m (0.
|
36
|
-
[1m[35m (0.
|
35
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "push_type_taxonomy_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) [0m
|
36
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
|
37
37
|
[1m[36m (0.5ms)[0m [1mCREATE INDEX "taxonomy_desc_idx" ON "push_type_taxonomy_hierarchies" ("descendant_id")[0m
|
38
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
39
|
-
[1m[36m (0.
|
40
|
-
Migrating to AddFieldStoreDefaultValues (
|
38
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150928114743"]]
|
39
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
40
|
+
Migrating to AddFieldStoreDefaultValues (20150928114744)
|
41
41
|
[1m[35m (0.1ms)[0m BEGIN
|
42
42
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" TYPE jsonb[0m
|
43
43
|
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_nodes" ALTER COLUMN "field_store" SET DEFAULT '{}'
|
44
44
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
45
45
|
[1m[35m (0.1ms)[0m ALTER TABLE "push_type_nodes" ALTER "field_store" SET NOT NULL
|
46
|
-
[1m[36m (0.
|
46
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb[0m
|
47
47
|
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_users" ALTER COLUMN "field_store" SET DEFAULT '{}'
|
48
48
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_users" SET "field_store"='{}' WHERE "field_store" IS NULL[0m
|
49
|
-
[1m[35m (0.
|
50
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
51
|
-
[1m[35m (0.
|
49
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "push_type_users" ALTER "field_store" SET NOT NULL
|
50
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150928114744"]]
|
51
|
+
[1m[35m (0.5ms)[0m COMMIT
|
52
52
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53
53
|
[1m[35m (1.7ms)[0m 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
54
|
FROM pg_constraint c
|
@@ -62,7 +62,7 @@ WHERE c.contype = 'f'
|
|
62
62
|
AND t3.nspname = ANY (current_schemas(false))
|
63
63
|
ORDER BY c.conname
|
64
64
|
|
65
|
-
[1m[36m (1.
|
65
|
+
[1m[36m (1.2ms)[0m [1mSELECT 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
66
|
FROM pg_constraint c
|
67
67
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
68
68
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -110,7 +110,7 @@ WHERE c.contype = 'f'
|
|
110
110
|
AND t3.nspname = ANY (current_schemas(false))
|
111
111
|
ORDER BY c.conname
|
112
112
|
|
113
|
-
[1m[36m (1.
|
113
|
+
[1m[36m (1.2ms)[0m [1mSELECT 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
|
114
114
|
FROM pg_constraint c
|
115
115
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
116
116
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
@@ -122,8 +122,8 @@ WHERE c.contype = 'f'
|
|
122
122
|
AND t3.nspname = ANY (current_schemas(false))
|
123
123
|
ORDER BY c.conname
|
124
124
|
[0m
|
125
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
126
|
-
[1m[35m (0.
|
125
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
126
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" DISABLE TRIGGER ALL
|
127
127
|
[1m[36m (0.9ms)[0m [1m SELECT schemaname || '.' || tablename
|
128
128
|
FROM pg_tables
|
129
129
|
WHERE
|
@@ -131,1237 +131,1237 @@ ORDER BY c.conname
|
|
131
131
|
tablename <> 'schema_migrations' AND
|
132
132
|
schemaname = ANY (current_schemas(false))
|
133
133
|
[0m
|
134
|
-
[1m[35m (
|
135
|
-
[1m[36m (
|
134
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
135
|
+
[1m[36m (7.5ms)[0m [1mTRUNCATE TABLE "public"."push_type_users", "public"."push_type_nodes", "public"."push_type_node_hierarchies", "public"."push_type_taxonomies", "public"."push_type_assets", "public"."push_type_taxonomy_hierarchies" RESTART IDENTITY CASCADE;[0m
|
136
136
|
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_taxonomy_hierarchies" ENABLE TRIGGER ALL
|
137
137
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138
|
-
|
139
|
-
PushType::WysiwygMediaHelperTest::#
|
140
|
-
|
138
|
+
--------------------------------------------------------------------------
|
139
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0004_anonymous
|
140
|
+
--------------------------------------------------------------------------
|
141
141
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
142
142
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
143
143
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
144
144
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
145
|
-
[1m[35mSQL (0.7ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "1"], ["created_at", "2015-
|
146
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
147
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
148
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2015-08-24 09:52:25.875696"], ["updated_at", "2015-08-24 09:52:25.875696"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
149
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
150
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
151
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "3"], ["created_at", "2015-08-24 09:52:25.877936"], ["updated_at", "2015-08-24 09:52:25.877936"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
145
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "1"], ["created_at", "2015-09-28 11:47:43.951662"], ["updated_at", "2015-09-28 11:47:43.951662"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
152
146
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
153
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
154
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "4"], ["created_at", "2015-08-24 09:52:25.907953"], ["updated_at", "2015-08-24 09:52:25.907953"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
155
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
156
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
157
147
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
158
148
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
159
149
|
[1m[35m (0.1ms)[0m BEGIN
|
160
|
-
|
161
|
-
PushType::WysiwygMediaHelperTest::#
|
162
|
-
|
150
|
+
--------------------------------------------------------------------------
|
151
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0002_anonymous
|
152
|
+
--------------------------------------------------------------------------
|
163
153
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
164
154
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
165
155
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
166
156
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
167
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
168
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
169
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
170
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "6"], ["created_at", "2015-08-24 09:52:25.915980"], ["updated_at", "2015-08-24 09:52:25.915980"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
171
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
172
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
173
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "7"], ["created_at", "2015-08-24 09:52:25.918097"], ["updated_at", "2015-08-24 09:52:25.918097"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
157
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "2"], ["created_at", "2015-09-28 11:47:43.960094"], ["updated_at", "2015-09-28 11:47:43.960094"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
174
158
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
175
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
176
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "8"], ["created_at", "2015-08-24 09:52:25.920094"], ["updated_at", "2015-08-24 09:52:25.920094"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
177
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
178
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
179
159
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
180
160
|
[1m[35m (0.1ms)[0m ROLLBACK
|
181
|
-
[1m[36m (0.
|
182
|
-
|
183
|
-
PushType::WysiwygMediaHelperTest::#
|
184
|
-
|
185
|
-
[1m[35m (0.
|
186
|
-
[1m[36m (0.
|
187
|
-
[1m[35m (0.
|
188
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
189
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "9"], ["created_at", "2015-08-24 09:52:25.924236"], ["updated_at", "2015-08-24 09:52:25.924236"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
190
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
191
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
192
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "10"], ["created_at", "2015-08-24 09:52:25.926272"], ["updated_at", "2015-08-24 09:52:25.926272"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
193
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
161
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
162
|
+
--------------------------------------------------------------------------
|
163
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0003_anonymous
|
164
|
+
--------------------------------------------------------------------------
|
165
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
166
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
167
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
194
168
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
195
|
-
[1m[35mSQL (0.
|
169
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "3"], ["created_at", "2015-09-28 11:47:43.964424"], ["updated_at", "2015-09-28 11:47:43.964424"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
196
170
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
197
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
198
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "12"], ["created_at", "2015-08-24 09:52:25.930362"], ["updated_at", "2015-08-24 09:52:25.930362"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
199
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
200
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
201
171
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
202
172
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
203
173
|
[1m[35m (0.1ms)[0m BEGIN
|
204
|
-
|
205
|
-
PushType::WysiwygMediaHelperTest::#
|
206
|
-
|
174
|
+
--------------------------------------------------------------------------
|
175
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0001_anonymous
|
176
|
+
--------------------------------------------------------------------------
|
207
177
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
208
178
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
209
179
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
210
180
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
211
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
181
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "4"], ["created_at", "2015-09-28 11:47:43.968481"], ["updated_at", "2015-09-28 11:47:43.968481"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
212
182
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
213
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
214
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "14"], ["created_at", "2015-08-24 09:52:25.936680"], ["updated_at", "2015-08-24 09:52:25.936680"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
215
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
216
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
217
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "15"], ["created_at", "2015-08-24 09:52:25.938685"], ["updated_at", "2015-08-24 09:52:25.938685"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
218
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
219
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
220
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "16"], ["created_at", "2015-08-24 09:52:25.940587"], ["updated_at", "2015-08-24 09:52:25.940587"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
221
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
222
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
223
183
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
224
184
|
[1m[35m (0.1ms)[0m ROLLBACK
|
225
185
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
226
|
-
|
227
|
-
PushType::WysiwygMediaHelperTest::#
|
228
|
-
|
186
|
+
--------------------------------------------------------------------------
|
187
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0006_anonymous
|
188
|
+
--------------------------------------------------------------------------
|
229
189
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
230
190
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
231
191
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
232
192
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
233
|
-
[1m[35mSQL (0.
|
193
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "5"], ["created_at", "2015-09-28 11:47:43.972256"], ["updated_at", "2015-09-28 11:47:43.972256"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
234
194
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
195
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
196
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
197
|
+
[1m[35m (0.0ms)[0m BEGIN
|
198
|
+
--------------------------------------------------------------------------
|
199
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0005_anonymous
|
200
|
+
--------------------------------------------------------------------------
|
201
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
202
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
203
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
235
204
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
236
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
205
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "6"], ["created_at", "2015-09-28 11:47:43.976136"], ["updated_at", "2015-09-28 11:47:43.976136"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
237
206
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
207
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
208
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
209
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
210
|
+
--------------------------------------------------------------------------
|
211
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0007_anonymous
|
212
|
+
--------------------------------------------------------------------------
|
213
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
214
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
215
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
238
216
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
239
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
217
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "7"], ["created_at", "2015-09-28 11:47:44.006235"], ["updated_at", "2015-09-28 11:47:44.006235"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
240
218
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
241
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
242
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "20"], ["created_at", "2015-08-24 09:52:25.958618"], ["updated_at", "2015-08-24 09:52:25.958618"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
243
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
244
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
245
219
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
246
220
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
247
221
|
[1m[35m (0.1ms)[0m BEGIN
|
248
222
|
-----------------------------------------------
|
223
|
+
PushType::WysiwygFieldTest: test_0001_anonymous
|
224
|
+
-----------------------------------------------
|
225
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
226
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
227
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
228
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
229
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
230
|
+
[1m[35m (0.0ms)[0m BEGIN
|
231
|
+
-----------------------------------------------
|
249
232
|
PushType::WysiwygFieldTest: test_0002_anonymous
|
250
233
|
-----------------------------------------------
|
234
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
235
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
236
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
237
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
238
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
|
239
|
+
[1m[35m (0.1ms)[0m BEGIN
|
240
|
+
--------------------------------------------------------------------------------------------
|
241
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0001_anonymous
|
242
|
+
--------------------------------------------------------------------------------------------
|
251
243
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
252
244
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
253
245
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
246
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
247
|
+
Parameters: {"asset"=>{}}
|
248
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
249
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
250
|
+
Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
254
251
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
255
252
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
256
253
|
[1m[35m (0.1ms)[0m BEGIN
|
257
|
-
|
258
|
-
PushType::
|
259
|
-
|
254
|
+
--------------------------------------------------------------------------------------------
|
255
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0003_anonymous
|
256
|
+
--------------------------------------------------------------------------------------------
|
257
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
258
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
259
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
260
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
261
|
+
Parameters: {"asset"=>{}}
|
262
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
263
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
264
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
265
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
266
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
267
|
+
[1m[35m (0.1ms)[0m BEGIN
|
268
|
+
--------------------------------------------------------------------------------------------
|
269
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0002_anonymous
|
270
|
+
--------------------------------------------------------------------------------------------
|
260
271
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
261
272
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
262
273
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
274
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
275
|
+
Parameters: {"asset"=>{}}
|
276
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
277
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
278
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
263
279
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
264
280
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
265
281
|
[1m[35m (0.1ms)[0m BEGIN
|
266
|
-
|
267
|
-
PushType::WysiwygMediaControllerTest::GET #index::
|
268
|
-
|
282
|
+
-------------------------------------------------------------------------------------------
|
283
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0004_anonymous
|
284
|
+
-------------------------------------------------------------------------------------------
|
269
285
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
270
286
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
271
287
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
272
288
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
273
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
289
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "8"], ["created_at", "2015-09-28 11:47:44.044605"], ["updated_at", "2015-09-28 11:47:44.044605"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
274
290
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
275
291
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
276
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
292
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "9"], ["created_at", "2015-09-28 11:47:44.046961"], ["updated_at", "2015-09-28 11:47:44.046961"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
277
293
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
278
294
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
279
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
295
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "10"], ["created_at", "2015-09-28 11:47:44.049047"], ["updated_at", "2015-09-28 11:47:44.049047"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
280
296
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
281
297
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
282
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
298
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "11"], ["created_at", "2015-09-28 11:47:44.051065"], ["updated_at", "2015-09-28 11:47:44.051065"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
283
299
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
284
300
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
285
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
301
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "12"], ["created_at", "2015-09-28 11:47:44.053198"], ["updated_at", "2015-09-28 11:47:44.053198"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
286
302
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
287
303
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
288
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
304
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "13"], ["created_at", "2015-09-28 11:47:44.055465"], ["updated_at", "2015-09-28 11:47:44.055465"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
289
305
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
290
306
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
291
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
307
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "14"], ["created_at", "2015-09-28 11:47:44.057523"], ["updated_at", "2015-09-28 11:47:44.057523"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
292
308
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
293
309
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
294
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
310
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "15"], ["created_at", "2015-09-28 11:47:44.059543"], ["updated_at", "2015-09-28 11:47:44.059543"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
295
311
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
296
312
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
297
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
313
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "16"], ["created_at", "2015-09-28 11:47:44.061536"], ["updated_at", "2015-09-28 11:47:44.061536"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
298
314
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
299
315
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
300
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
316
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "17"], ["created_at", "2015-09-28 11:47:44.063606"], ["updated_at", "2015-09-28 11:47:44.063606"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
301
317
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
302
318
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
303
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
319
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "18"], ["created_at", "2015-09-28 11:47:44.065859"], ["updated_at", "2015-09-28 11:47:44.065859"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
304
320
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
305
321
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
306
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
322
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "19"], ["created_at", "2015-09-28 11:47:44.067959"], ["updated_at", "2015-09-28 11:47:44.067959"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
307
323
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
308
324
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
309
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
325
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "20"], ["created_at", "2015-09-28 11:47:44.070150"], ["updated_at", "2015-09-28 11:47:44.070150"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
310
326
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
311
327
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
312
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
328
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "21"], ["created_at", "2015-09-28 11:47:44.072177"], ["updated_at", "2015-09-28 11:47:44.072177"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
313
329
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
314
330
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
315
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
331
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "22"], ["created_at", "2015-09-28 11:47:44.074222"], ["updated_at", "2015-09-28 11:47:44.074222"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
316
332
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
317
333
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
318
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
334
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "23"], ["created_at", "2015-09-28 11:47:44.076347"], ["updated_at", "2015-09-28 11:47:44.076347"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
319
335
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
320
336
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
321
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
337
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "24"], ["created_at", "2015-09-28 11:47:44.078512"], ["updated_at", "2015-09-28 11:47:44.078512"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
322
338
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
323
339
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
324
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
340
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "25"], ["created_at", "2015-09-28 11:47:44.080763"], ["updated_at", "2015-09-28 11:47:44.080763"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
325
341
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
326
342
|
Processing by PushType::WysiwygMediaController#index as JSON
|
327
|
-
Parameters: {"filter"=>"
|
328
|
-
[1m[35mPushType::Asset Load (0.6ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type
|
329
|
-
[1m[36m (0.
|
330
|
-
Completed 200 OK in
|
343
|
+
Parameters: {"filter"=>"image"}
|
344
|
+
[1m[35mPushType::Asset Load (0.6ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
345
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
346
|
+
Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 0.8ms)
|
331
347
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
332
348
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
333
349
|
[1m[35m (0.1ms)[0m BEGIN
|
334
|
-
|
335
|
-
PushType::WysiwygMediaControllerTest::GET #index::
|
336
|
-
|
337
|
-
[1m[36m (0.
|
350
|
+
-------------------------------------------------------------------------------------------
|
351
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0002_anonymous
|
352
|
+
-------------------------------------------------------------------------------------------
|
353
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
338
354
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
339
355
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
340
356
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
341
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
357
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "26"], ["created_at", "2015-09-28 11:47:44.095593"], ["updated_at", "2015-09-28 11:47:44.095593"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
342
358
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
343
359
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
344
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
360
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "27"], ["created_at", "2015-09-28 11:47:44.097763"], ["updated_at", "2015-09-28 11:47:44.097763"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
345
361
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
346
362
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
347
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
363
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "28"], ["created_at", "2015-09-28 11:47:44.100002"], ["updated_at", "2015-09-28 11:47:44.100002"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
348
364
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
349
365
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
350
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
366
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "29"], ["created_at", "2015-09-28 11:47:44.102095"], ["updated_at", "2015-09-28 11:47:44.102095"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
351
367
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
352
368
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
353
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
369
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "30"], ["created_at", "2015-09-28 11:47:44.104214"], ["updated_at", "2015-09-28 11:47:44.104214"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
354
370
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
355
371
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
356
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
372
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "31"], ["created_at", "2015-09-28 11:47:44.106386"], ["updated_at", "2015-09-28 11:47:44.106386"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
357
373
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
358
374
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
359
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
375
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "32"], ["created_at", "2015-09-28 11:47:44.108520"], ["updated_at", "2015-09-28 11:47:44.108520"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
360
376
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
361
377
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
362
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
378
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "33"], ["created_at", "2015-09-28 11:47:44.110577"], ["updated_at", "2015-09-28 11:47:44.110577"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
363
379
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
364
380
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
365
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
381
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "34"], ["created_at", "2015-09-28 11:47:44.112837"], ["updated_at", "2015-09-28 11:47:44.112837"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
366
382
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
367
383
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
368
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
384
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "35"], ["created_at", "2015-09-28 11:47:44.114921"], ["updated_at", "2015-09-28 11:47:44.114921"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
369
385
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
370
386
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
371
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
387
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "36"], ["created_at", "2015-09-28 11:47:44.117053"], ["updated_at", "2015-09-28 11:47:44.117053"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
372
388
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
373
389
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
374
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
390
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "37"], ["created_at", "2015-09-28 11:47:44.119100"], ["updated_at", "2015-09-28 11:47:44.119100"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
375
391
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
376
392
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
377
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
393
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "38"], ["created_at", "2015-09-28 11:47:44.121142"], ["updated_at", "2015-09-28 11:47:44.121142"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
378
394
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
379
395
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
380
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
396
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "39"], ["created_at", "2015-09-28 11:47:44.123255"], ["updated_at", "2015-09-28 11:47:44.123255"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
381
397
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
382
398
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
383
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
399
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "40"], ["created_at", "2015-09-28 11:47:44.125327"], ["updated_at", "2015-09-28 11:47:44.125327"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
384
400
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
385
401
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
386
|
-
[1m[35mSQL (0.
|
402
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "41"], ["created_at", "2015-09-28 11:47:44.127575"], ["updated_at", "2015-09-28 11:47:44.127575"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
387
403
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
388
404
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
389
|
-
[1m[36mSQL (0.
|
405
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "42"], ["created_at", "2015-09-28 11:47:44.129965"], ["updated_at", "2015-09-28 11:47:44.129965"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
390
406
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
391
407
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
392
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
408
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "43"], ["created_at", "2015-09-28 11:47:44.132547"], ["updated_at", "2015-09-28 11:47:44.132547"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
393
409
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
394
410
|
Processing by PushType::WysiwygMediaController#index as JSON
|
395
|
-
Parameters: {"filter"=>"
|
396
|
-
[1m[35mPushType::Asset Load (0.
|
397
|
-
[1m[36m (0.
|
398
|
-
Completed 200 OK in
|
411
|
+
Parameters: {"filter"=>"image"}
|
412
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
413
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
414
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
399
415
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
400
|
-
[1m[36m (0.
|
416
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
401
417
|
[1m[35m (0.1ms)[0m BEGIN
|
402
|
-
|
403
|
-
PushType::WysiwygMediaControllerTest::GET #index::
|
404
|
-
|
418
|
+
-------------------------------------------------------------------------------------------
|
419
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0003_anonymous
|
420
|
+
-------------------------------------------------------------------------------------------
|
405
421
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
406
422
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
407
423
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
408
424
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
409
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
425
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "44"], ["created_at", "2015-09-28 11:47:44.141305"], ["updated_at", "2015-09-28 11:47:44.141305"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
410
426
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
411
427
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
412
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
428
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "45"], ["created_at", "2015-09-28 11:47:44.143401"], ["updated_at", "2015-09-28 11:47:44.143401"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
413
429
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
414
430
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
415
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
431
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "46"], ["created_at", "2015-09-28 11:47:44.145308"], ["updated_at", "2015-09-28 11:47:44.145308"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
416
432
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
417
433
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
418
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
434
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "47"], ["created_at", "2015-09-28 11:47:44.147288"], ["updated_at", "2015-09-28 11:47:44.147288"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
419
435
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
420
436
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
421
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
437
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "48"], ["created_at", "2015-09-28 11:47:44.149423"], ["updated_at", "2015-09-28 11:47:44.149423"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
422
438
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
423
439
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
424
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
440
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "49"], ["created_at", "2015-09-28 11:47:44.151635"], ["updated_at", "2015-09-28 11:47:44.151635"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
425
441
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
426
442
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
427
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
443
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "50"], ["created_at", "2015-09-28 11:47:44.153651"], ["updated_at", "2015-09-28 11:47:44.153651"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
428
444
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
429
445
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
430
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
446
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "51"], ["created_at", "2015-09-28 11:47:44.155616"], ["updated_at", "2015-09-28 11:47:44.155616"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
431
447
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
432
448
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
433
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
449
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "52"], ["created_at", "2015-09-28 11:47:44.157595"], ["updated_at", "2015-09-28 11:47:44.157595"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
434
450
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
435
451
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
436
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
452
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "53"], ["created_at", "2015-09-28 11:47:44.159542"], ["updated_at", "2015-09-28 11:47:44.159542"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
437
453
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
438
454
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
439
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
455
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "54"], ["created_at", "2015-09-28 11:47:44.161534"], ["updated_at", "2015-09-28 11:47:44.161534"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
440
456
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
441
457
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
442
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
458
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "55"], ["created_at", "2015-09-28 11:47:44.163593"], ["updated_at", "2015-09-28 11:47:44.163593"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
443
459
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
444
460
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
445
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
461
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "56"], ["created_at", "2015-09-28 11:47:44.165613"], ["updated_at", "2015-09-28 11:47:44.165613"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
446
462
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
447
463
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
448
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
464
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "57"], ["created_at", "2015-09-28 11:47:44.167568"], ["updated_at", "2015-09-28 11:47:44.167568"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
449
465
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
450
466
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
451
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
467
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "58"], ["created_at", "2015-09-28 11:47:44.169547"], ["updated_at", "2015-09-28 11:47:44.169547"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
452
468
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
453
469
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
454
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
470
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "59"], ["created_at", "2015-09-28 11:47:44.171502"], ["updated_at", "2015-09-28 11:47:44.171502"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
455
471
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
456
472
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
457
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
473
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "60"], ["created_at", "2015-09-28 11:47:44.173492"], ["updated_at", "2015-09-28 11:47:44.173492"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
458
474
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
459
475
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
460
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
476
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "61"], ["created_at", "2015-09-28 11:47:44.175728"], ["updated_at", "2015-09-28 11:47:44.175728"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
461
477
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
462
478
|
Processing by PushType::WysiwygMediaController#index as JSON
|
463
|
-
Parameters: {"filter"=>"
|
464
|
-
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type
|
465
|
-
[1m[36m (0.
|
466
|
-
Completed 200 OK in 3ms (Views: 0.
|
479
|
+
Parameters: {"filter"=>"image"}
|
480
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
481
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
482
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
467
483
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
468
|
-
[1m[36m (0.
|
469
|
-
[1m[35m (0.
|
470
|
-
|
471
|
-
PushType::WysiwygMediaControllerTest::GET #index::
|
472
|
-
|
473
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
474
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
484
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
485
|
+
[1m[35m (0.0ms)[0m BEGIN
|
486
|
+
-------------------------------------------------------------------------------------------
|
487
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0001_anonymous
|
488
|
+
-------------------------------------------------------------------------------------------
|
475
489
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
490
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
491
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
476
492
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
477
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
493
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "62"], ["created_at", "2015-09-28 11:47:44.183757"], ["updated_at", "2015-09-28 11:47:44.183757"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
478
494
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
479
495
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
480
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
496
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "63"], ["created_at", "2015-09-28 11:47:44.185812"], ["updated_at", "2015-09-28 11:47:44.185812"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
481
497
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
482
498
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
483
|
-
[1m[36mSQL (0.
|
499
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "64"], ["created_at", "2015-09-28 11:47:44.187735"], ["updated_at", "2015-09-28 11:47:44.187735"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
484
500
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
485
501
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
486
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
502
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "65"], ["created_at", "2015-09-28 11:47:44.189653"], ["updated_at", "2015-09-28 11:47:44.189653"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
487
503
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
488
504
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
489
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
505
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "66"], ["created_at", "2015-09-28 11:47:44.191678"], ["updated_at", "2015-09-28 11:47:44.191678"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
490
506
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
491
507
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
492
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
508
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "67"], ["created_at", "2015-09-28 11:47:44.193822"], ["updated_at", "2015-09-28 11:47:44.193822"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
493
509
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
494
510
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
495
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
511
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "68"], ["created_at", "2015-09-28 11:47:44.195827"], ["updated_at", "2015-09-28 11:47:44.195827"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
496
512
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
497
513
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
498
|
-
[1m[35mSQL (0.
|
514
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "69"], ["created_at", "2015-09-28 11:47:44.197907"], ["updated_at", "2015-09-28 11:47:44.197907"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
499
515
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
500
516
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
501
|
-
[1m[36mSQL (0.
|
517
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "70"], ["created_at", "2015-09-28 11:47:44.199944"], ["updated_at", "2015-09-28 11:47:44.199944"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
502
518
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
503
519
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
504
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
520
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "71"], ["created_at", "2015-09-28 11:47:44.201996"], ["updated_at", "2015-09-28 11:47:44.201996"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
505
521
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
506
522
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
507
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
523
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "72"], ["created_at", "2015-09-28 11:47:44.203918"], ["updated_at", "2015-09-28 11:47:44.203918"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
508
524
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
509
525
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
510
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
526
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "73"], ["created_at", "2015-09-28 11:47:44.206035"], ["updated_at", "2015-09-28 11:47:44.206035"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
511
527
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
512
528
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
513
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
529
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "74"], ["created_at", "2015-09-28 11:47:44.208020"], ["updated_at", "2015-09-28 11:47:44.208020"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
514
530
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
515
531
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
516
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
532
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "75"], ["created_at", "2015-09-28 11:47:44.209966"], ["updated_at", "2015-09-28 11:47:44.209966"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
517
533
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
518
534
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
519
|
-
[1m[36mSQL (0.
|
535
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "76"], ["created_at", "2015-09-28 11:47:44.211944"], ["updated_at", "2015-09-28 11:47:44.211944"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
520
536
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
521
537
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
522
|
-
[1m[35mSQL (0.
|
523
|
-
[1m[36m (0.
|
538
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "77"], ["created_at", "2015-09-28 11:47:44.213885"], ["updated_at", "2015-09-28 11:47:44.213885"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
539
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
524
540
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
525
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
541
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "78"], ["created_at", "2015-09-28 11:47:44.216254"], ["updated_at", "2015-09-28 11:47:44.216254"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
526
542
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
527
543
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
528
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
544
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "79"], ["created_at", "2015-09-28 11:47:44.218506"], ["updated_at", "2015-09-28 11:47:44.218506"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
529
545
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
530
546
|
Processing by PushType::WysiwygMediaController#index as JSON
|
531
|
-
Parameters: {"filter"=>"
|
532
|
-
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type
|
533
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type
|
534
|
-
Completed 200 OK in 3ms (Views: 0.
|
547
|
+
Parameters: {"filter"=>"image"}
|
548
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
549
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')[0m
|
550
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
535
551
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
536
552
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
537
553
|
[1m[35m (0.1ms)[0m BEGIN
|
538
|
-
|
539
|
-
PushType::WysiwygMediaHelperTest::#
|
540
|
-
|
554
|
+
---------------------------------------------------------------------------
|
555
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0005_anonymous
|
556
|
+
---------------------------------------------------------------------------
|
557
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
558
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
541
559
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
542
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
543
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
544
560
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
545
|
-
[1m[36mSQL (0.
|
561
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "80"], ["created_at", "2015-09-28 11:47:44.227317"], ["updated_at", "2015-09-28 11:47:44.227317"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
546
562
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
547
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
548
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
549
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
550
|
-
--------------------------------------------------------------------------
|
551
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0005_anonymous
|
552
|
-
--------------------------------------------------------------------------
|
553
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
554
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
555
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
556
563
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
557
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
564
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "81"], ["created_at", "2015-09-28 11:47:44.229474"], ["updated_at", "2015-09-28 11:47:44.229474"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
558
565
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
559
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
560
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
561
|
-
[1m[35m (0.1ms)[0m BEGIN
|
562
|
-
--------------------------------------------------------------------------
|
563
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0001_anonymous
|
564
|
-
--------------------------------------------------------------------------
|
565
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
566
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
567
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
568
566
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
569
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
567
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "82"], ["created_at", "2015-09-28 11:47:44.231667"], ["updated_at", "2015-09-28 11:47:44.231667"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
570
568
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
571
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
572
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
573
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
574
|
-
--------------------------------------------------------------------------
|
575
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0002_anonymous
|
576
|
-
--------------------------------------------------------------------------
|
577
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
578
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
579
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
580
569
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
581
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
570
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "83"], ["created_at", "2015-09-28 11:47:44.233716"], ["updated_at", "2015-09-28 11:47:44.233716"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
582
571
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
572
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
573
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
583
574
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
584
575
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
585
576
|
[1m[35m (0.1ms)[0m BEGIN
|
586
|
-
|
587
|
-
PushType::WysiwygMediaHelperTest::#
|
588
|
-
|
577
|
+
---------------------------------------------------------------------------
|
578
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0002_anonymous
|
579
|
+
---------------------------------------------------------------------------
|
589
580
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
590
581
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
591
582
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
592
583
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
593
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
584
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "84"], ["created_at", "2015-09-28 11:47:44.238886"], ["updated_at", "2015-09-28 11:47:44.238886"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
585
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
586
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
587
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "85"], ["created_at", "2015-09-28 11:47:44.240985"], ["updated_at", "2015-09-28 11:47:44.240985"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
588
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
589
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
590
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "86"], ["created_at", "2015-09-28 11:47:44.243064"], ["updated_at", "2015-09-28 11:47:44.243064"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
594
591
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
595
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
596
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
597
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
598
|
-
--------------------------------------------------------------------------
|
599
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0003_anonymous
|
600
|
-
--------------------------------------------------------------------------
|
601
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
602
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
603
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
604
592
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
605
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
593
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "87"], ["created_at", "2015-09-28 11:47:44.245037"], ["updated_at", "2015-09-28 11:47:44.245037"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
606
594
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
595
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
596
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
607
597
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
608
598
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
609
599
|
[1m[35m (0.1ms)[0m BEGIN
|
610
|
-
|
611
|
-
PushType::WysiwygMediaHelperTest::#
|
612
|
-
|
600
|
+
---------------------------------------------------------------------------
|
601
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0004_anonymous
|
602
|
+
---------------------------------------------------------------------------
|
613
603
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
614
604
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
615
605
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
616
606
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
617
|
-
[1m[36mSQL (0.
|
607
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "88"], ["created_at", "2015-09-28 11:47:44.250264"], ["updated_at", "2015-09-28 11:47:44.250264"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
618
608
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
619
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
620
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
621
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
622
|
-
-------------------------------------------------------------------------------------------
|
623
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0001_anonymous
|
624
|
-
-------------------------------------------------------------------------------------------
|
625
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
626
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
627
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
628
609
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
629
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
610
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "89"], ["created_at", "2015-09-28 11:47:44.252498"], ["updated_at", "2015-09-28 11:47:44.252498"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
630
611
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
631
612
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
632
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
613
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "90"], ["created_at", "2015-09-28 11:47:44.254606"], ["updated_at", "2015-09-28 11:47:44.254606"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
633
614
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
634
615
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
635
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
616
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "91"], ["created_at", "2015-09-28 11:47:44.256556"], ["updated_at", "2015-09-28 11:47:44.256556"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
636
617
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
618
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
619
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
620
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
621
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
622
|
+
[1m[35m (0.0ms)[0m BEGIN
|
623
|
+
---------------------------------------------------------------------------
|
624
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0003_anonymous
|
625
|
+
---------------------------------------------------------------------------
|
626
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
627
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
628
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
637
629
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
638
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
630
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "92"], ["created_at", "2015-09-28 11:47:44.261702"], ["updated_at", "2015-09-28 11:47:44.261702"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
639
631
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
640
632
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
641
|
-
[1m[35mSQL (
|
633
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "93"], ["created_at", "2015-09-28 11:47:44.264059"], ["updated_at", "2015-09-28 11:47:44.264059"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
642
634
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
643
635
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
644
|
-
[1m[36mSQL (
|
636
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "94"], ["created_at", "2015-09-28 11:47:44.266208"], ["updated_at", "2015-09-28 11:47:44.266208"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
637
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
638
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
639
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "95"], ["created_at", "2015-09-28 11:47:44.268274"], ["updated_at", "2015-09-28 11:47:44.268274"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
640
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
641
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
642
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
643
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
644
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
645
|
+
[1m[35m (0.0ms)[0m BEGIN
|
646
|
+
---------------------------------------------------------------------------
|
647
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0001_anonymous
|
648
|
+
---------------------------------------------------------------------------
|
649
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
650
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
651
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
652
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
653
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "96"], ["created_at", "2015-09-28 11:47:44.273380"], ["updated_at", "2015-09-28 11:47:44.273380"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
645
654
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
646
655
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
647
|
-
[1m[35mSQL (0.
|
656
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "97"], ["created_at", "2015-09-28 11:47:44.275515"], ["updated_at", "2015-09-28 11:47:44.275515"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
648
657
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
649
658
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
650
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
659
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "98"], ["created_at", "2015-09-28 11:47:44.277485"], ["updated_at", "2015-09-28 11:47:44.277485"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
651
660
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
652
661
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
653
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
662
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "99"], ["created_at", "2015-09-28 11:47:44.279497"], ["updated_at", "2015-09-28 11:47:44.279497"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
654
663
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
664
|
+
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
665
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
666
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
667
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
668
|
+
[1m[35m (0.1ms)[0m BEGIN
|
669
|
+
------------------------------------------------------------------------------------------
|
670
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0004_anonymous
|
671
|
+
------------------------------------------------------------------------------------------
|
672
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
673
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
674
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
655
675
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
656
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
676
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "100"], ["created_at", "2015-09-28 11:47:44.285732"], ["updated_at", "2015-09-28 11:47:44.285732"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
657
677
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
658
678
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
659
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
679
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "101"], ["created_at", "2015-09-28 11:47:44.287841"], ["updated_at", "2015-09-28 11:47:44.287841"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
660
680
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
661
681
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
662
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
682
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "102"], ["created_at", "2015-09-28 11:47:44.289847"], ["updated_at", "2015-09-28 11:47:44.289847"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
663
683
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
664
684
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
665
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
685
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "103"], ["created_at", "2015-09-28 11:47:44.291840"], ["updated_at", "2015-09-28 11:47:44.291840"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
666
686
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
667
687
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
668
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
688
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "104"], ["created_at", "2015-09-28 11:47:44.293816"], ["updated_at", "2015-09-28 11:47:44.293816"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
669
689
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
670
690
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
671
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
691
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "105"], ["created_at", "2015-09-28 11:47:44.295845"], ["updated_at", "2015-09-28 11:47:44.295845"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
672
692
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
673
693
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
674
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
694
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "106"], ["created_at", "2015-09-28 11:47:44.297917"], ["updated_at", "2015-09-28 11:47:44.297917"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
675
695
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
676
696
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
677
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
697
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "107"], ["created_at", "2015-09-28 11:47:44.300169"], ["updated_at", "2015-09-28 11:47:44.300169"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
678
698
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
679
699
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
680
|
-
[1m[36mSQL (0.
|
700
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "108"], ["created_at", "2015-09-28 11:47:44.302204"], ["updated_at", "2015-09-28 11:47:44.302204"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
701
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
702
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
703
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "109"], ["created_at", "2015-09-28 11:47:44.304171"], ["updated_at", "2015-09-28 11:47:44.304171"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
704
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
705
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
706
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "110"], ["created_at", "2015-09-28 11:47:44.306152"], ["updated_at", "2015-09-28 11:47:44.306152"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
681
707
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
682
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
683
|
-
Parameters: {"filter"=>"image"}
|
684
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
685
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
686
|
-
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
687
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
688
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
689
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
690
|
-
-------------------------------------------------------------------------------------------
|
691
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0002_anonymous
|
692
|
-
-------------------------------------------------------------------------------------------
|
693
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
694
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
695
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
696
708
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
697
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
709
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "111"], ["created_at", "2015-09-28 11:47:44.308069"], ["updated_at", "2015-09-28 11:47:44.308069"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
698
710
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
699
711
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
700
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
712
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "112"], ["created_at", "2015-09-28 11:47:44.310158"], ["updated_at", "2015-09-28 11:47:44.310158"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
701
713
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
702
714
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
703
|
-
[1m[35mSQL (0.
|
715
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "113"], ["created_at", "2015-09-28 11:47:44.312231"], ["updated_at", "2015-09-28 11:47:44.312231"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
704
716
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
705
717
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
706
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
718
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "114"], ["created_at", "2015-09-28 11:47:44.314256"], ["updated_at", "2015-09-28 11:47:44.314256"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
707
719
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
708
720
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
709
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
721
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "115"], ["created_at", "2015-09-28 11:47:44.316340"], ["updated_at", "2015-09-28 11:47:44.316340"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
710
722
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
711
723
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
712
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
724
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "116"], ["created_at", "2015-09-28 11:47:44.318490"], ["updated_at", "2015-09-28 11:47:44.318490"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
713
725
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
714
726
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
715
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
727
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "117"], ["created_at", "2015-09-28 11:47:44.320472"], ["updated_at", "2015-09-28 11:47:44.320472"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
716
728
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
729
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
730
|
+
Parameters: {"filter"=>"file"}
|
731
|
+
[1m[35mPushType::Asset Load (0.4ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
732
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
|
733
|
+
Completed 200 OK in 117ms (Views: 1.2ms | ActiveRecord: 0.6ms)
|
734
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
735
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
736
|
+
[1m[35m (0.1ms)[0m BEGIN
|
737
|
+
------------------------------------------------------------------------------------------
|
738
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0003_anonymous
|
739
|
+
------------------------------------------------------------------------------------------
|
740
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
741
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
742
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
717
743
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
718
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
744
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "118"], ["created_at", "2015-09-28 11:47:44.442306"], ["updated_at", "2015-09-28 11:47:44.442306"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
719
745
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
720
746
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
721
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
747
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "119"], ["created_at", "2015-09-28 11:47:44.444593"], ["updated_at", "2015-09-28 11:47:44.444593"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
722
748
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
723
749
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
724
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
750
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "120"], ["created_at", "2015-09-28 11:47:44.446841"], ["updated_at", "2015-09-28 11:47:44.446841"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
725
751
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
726
752
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
727
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
753
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "121"], ["created_at", "2015-09-28 11:47:44.449229"], ["updated_at", "2015-09-28 11:47:44.449229"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
728
754
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
729
755
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
730
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
756
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "122"], ["created_at", "2015-09-28 11:47:44.451203"], ["updated_at", "2015-09-28 11:47:44.451203"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
731
757
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
732
758
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
733
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
759
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "123"], ["created_at", "2015-09-28 11:47:44.453522"], ["updated_at", "2015-09-28 11:47:44.453522"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
734
760
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
735
761
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
736
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
762
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "124"], ["created_at", "2015-09-28 11:47:44.456153"], ["updated_at", "2015-09-28 11:47:44.456153"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
737
763
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
738
764
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
739
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
765
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "125"], ["created_at", "2015-09-28 11:47:44.458410"], ["updated_at", "2015-09-28 11:47:44.458410"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
740
766
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
741
767
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
742
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
768
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "126"], ["created_at", "2015-09-28 11:47:44.460823"], ["updated_at", "2015-09-28 11:47:44.460823"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
743
769
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
744
770
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
745
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
771
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "127"], ["created_at", "2015-09-28 11:47:44.463195"], ["updated_at", "2015-09-28 11:47:44.463195"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
746
772
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
747
773
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
748
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
774
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "128"], ["created_at", "2015-09-28 11:47:44.465434"], ["updated_at", "2015-09-28 11:47:44.465434"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
749
775
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
750
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
751
|
-
Parameters: {"filter"=>"image"}
|
752
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
753
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
754
|
-
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
755
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
756
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
757
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
758
|
-
-------------------------------------------------------------------------------------------
|
759
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0004_anonymous
|
760
|
-
-------------------------------------------------------------------------------------------
|
761
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
762
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
763
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
764
776
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
765
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
777
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "129"], ["created_at", "2015-09-28 11:47:44.467864"], ["updated_at", "2015-09-28 11:47:44.467864"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
766
778
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
767
779
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
768
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
780
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "130"], ["created_at", "2015-09-28 11:47:44.470208"], ["updated_at", "2015-09-28 11:47:44.470208"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
769
781
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
770
782
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
771
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
783
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "131"], ["created_at", "2015-09-28 11:47:44.472599"], ["updated_at", "2015-09-28 11:47:44.472599"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
772
784
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
773
785
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
774
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
786
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "132"], ["created_at", "2015-09-28 11:47:44.475470"], ["updated_at", "2015-09-28 11:47:44.475470"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
775
787
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
776
788
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
777
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
789
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "133"], ["created_at", "2015-09-28 11:47:44.477823"], ["updated_at", "2015-09-28 11:47:44.477823"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
778
790
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
779
791
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
780
|
-
[1m[36mSQL (0.
|
792
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "134"], ["created_at", "2015-09-28 11:47:44.480224"], ["updated_at", "2015-09-28 11:47:44.480224"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
781
793
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
782
794
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
783
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
795
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "135"], ["created_at", "2015-09-28 11:47:44.483073"], ["updated_at", "2015-09-28 11:47:44.483073"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
784
796
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
797
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
798
|
+
Parameters: {"filter"=>"file"}
|
799
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
800
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
|
801
|
+
Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.5ms)
|
802
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
803
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
804
|
+
[1m[35m (0.1ms)[0m BEGIN
|
805
|
+
------------------------------------------------------------------------------------------
|
806
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0002_anonymous
|
807
|
+
------------------------------------------------------------------------------------------
|
808
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
809
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
810
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
785
811
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
786
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
812
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "136"], ["created_at", "2015-09-28 11:47:44.499540"], ["updated_at", "2015-09-28 11:47:44.499540"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
787
813
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
788
814
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
789
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
815
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "137"], ["created_at", "2015-09-28 11:47:44.501667"], ["updated_at", "2015-09-28 11:47:44.501667"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
790
816
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
791
817
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
792
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
818
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "138"], ["created_at", "2015-09-28 11:47:44.503667"], ["updated_at", "2015-09-28 11:47:44.503667"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
793
819
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
794
820
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
795
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
821
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "139"], ["created_at", "2015-09-28 11:47:44.505890"], ["updated_at", "2015-09-28 11:47:44.505890"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
796
822
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
797
823
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
798
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
824
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "140"], ["created_at", "2015-09-28 11:47:44.507926"], ["updated_at", "2015-09-28 11:47:44.507926"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
799
825
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
800
826
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
801
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
827
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "141"], ["created_at", "2015-09-28 11:47:44.510109"], ["updated_at", "2015-09-28 11:47:44.510109"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
802
828
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
803
829
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
804
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
830
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "142"], ["created_at", "2015-09-28 11:47:44.512192"], ["updated_at", "2015-09-28 11:47:44.512192"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
805
831
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
806
832
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
807
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
833
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "143"], ["created_at", "2015-09-28 11:47:44.514341"], ["updated_at", "2015-09-28 11:47:44.514341"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
808
834
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
809
835
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
810
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
836
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "144"], ["created_at", "2015-09-28 11:47:44.516383"], ["updated_at", "2015-09-28 11:47:44.516383"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
811
837
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
812
838
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
813
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
839
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "145"], ["created_at", "2015-09-28 11:47:44.518415"], ["updated_at", "2015-09-28 11:47:44.518415"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
814
840
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
815
841
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
816
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
842
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "146"], ["created_at", "2015-09-28 11:47:44.521458"], ["updated_at", "2015-09-28 11:47:44.521458"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
817
843
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
818
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
819
|
-
Parameters: {"filter"=>"image"}
|
820
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
821
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
822
|
-
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
823
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
824
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
825
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
826
|
-
-------------------------------------------------------------------------------------------
|
827
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0003_anonymous
|
828
|
-
-------------------------------------------------------------------------------------------
|
829
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
830
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
831
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
832
844
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
833
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
845
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "147"], ["created_at", "2015-09-28 11:47:44.523604"], ["updated_at", "2015-09-28 11:47:44.523604"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
834
846
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
835
847
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
836
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
848
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "148"], ["created_at", "2015-09-28 11:47:44.525676"], ["updated_at", "2015-09-28 11:47:44.525676"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
837
849
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
838
850
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
839
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
851
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "149"], ["created_at", "2015-09-28 11:47:44.527809"], ["updated_at", "2015-09-28 11:47:44.527809"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
840
852
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
841
853
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
842
|
-
[1m[36mSQL (0.
|
854
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "150"], ["created_at", "2015-09-28 11:47:44.530013"], ["updated_at", "2015-09-28 11:47:44.530013"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
843
855
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
844
856
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
845
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
857
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "151"], ["created_at", "2015-09-28 11:47:44.532553"], ["updated_at", "2015-09-28 11:47:44.532553"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
846
858
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
847
859
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
848
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
860
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "152"], ["created_at", "2015-09-28 11:47:44.534939"], ["updated_at", "2015-09-28 11:47:44.534939"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
849
861
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
850
862
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
851
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
863
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "153"], ["created_at", "2015-09-28 11:47:44.537076"], ["updated_at", "2015-09-28 11:47:44.537076"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
852
864
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
865
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
866
|
+
Parameters: {"filter"=>"file"}
|
867
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
868
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
|
869
|
+
Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.5ms)
|
870
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
871
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
872
|
+
[1m[35m (0.1ms)[0m BEGIN
|
873
|
+
------------------------------------------------------------------------------------------
|
874
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0001_anonymous
|
875
|
+
------------------------------------------------------------------------------------------
|
876
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
877
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
878
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
853
879
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
854
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
880
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "154"], ["created_at", "2015-09-28 11:47:44.553708"], ["updated_at", "2015-09-28 11:47:44.553708"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
855
881
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
856
882
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
857
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
883
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "155"], ["created_at", "2015-09-28 11:47:44.555907"], ["updated_at", "2015-09-28 11:47:44.555907"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
858
884
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
859
885
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
860
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
886
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "156"], ["created_at", "2015-09-28 11:47:44.558046"], ["updated_at", "2015-09-28 11:47:44.558046"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
861
887
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
862
888
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
863
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
889
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "157"], ["created_at", "2015-09-28 11:47:44.560157"], ["updated_at", "2015-09-28 11:47:44.560157"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
864
890
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
865
891
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
866
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
892
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "158"], ["created_at", "2015-09-28 11:47:44.562455"], ["updated_at", "2015-09-28 11:47:44.562455"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
867
893
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
868
894
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
869
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
895
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "159"], ["created_at", "2015-09-28 11:47:44.564742"], ["updated_at", "2015-09-28 11:47:44.564742"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
870
896
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
871
897
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
872
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
898
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "160"], ["created_at", "2015-09-28 11:47:44.566917"], ["updated_at", "2015-09-28 11:47:44.566917"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
873
899
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
874
900
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
875
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
901
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "161"], ["created_at", "2015-09-28 11:47:44.569017"], ["updated_at", "2015-09-28 11:47:44.569017"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
876
902
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
877
903
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
878
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
904
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "162"], ["created_at", "2015-09-28 11:47:44.571131"], ["updated_at", "2015-09-28 11:47:44.571131"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
879
905
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
880
906
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
881
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
907
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "163"], ["created_at", "2015-09-28 11:47:44.573361"], ["updated_at", "2015-09-28 11:47:44.573361"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
882
908
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
883
909
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
884
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
910
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "164"], ["created_at", "2015-09-28 11:47:44.575625"], ["updated_at", "2015-09-28 11:47:44.575625"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
885
911
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
886
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
887
|
-
Parameters: {"filter"=>"image"}
|
888
|
-
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0[0m
|
889
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type LIKE 'image/%')
|
890
|
-
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.4ms)
|
891
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
892
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
893
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
894
|
-
--------------------------------------------------------------------------------------------
|
895
|
-
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0002_anonymous
|
896
|
-
--------------------------------------------------------------------------------------------
|
897
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
898
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
899
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
900
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
901
|
-
Parameters: {"asset"=>{}}
|
902
912
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
903
|
-
[1m[
|
904
|
-
|
905
|
-
[1m[
|
906
|
-
[1m[
|
907
|
-
[1m[
|
908
|
-
--------------------------------------------------------------------------------------------
|
909
|
-
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0001_anonymous
|
910
|
-
--------------------------------------------------------------------------------------------
|
911
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
912
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
913
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
914
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
915
|
-
Parameters: {"asset"=>{}}
|
913
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "165"], ["created_at", "2015-09-28 11:47:44.577778"], ["updated_at", "2015-09-28 11:47:44.577778"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
914
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
915
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
916
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "166"], ["created_at", "2015-09-28 11:47:44.579904"], ["updated_at", "2015-09-28 11:47:44.579904"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
917
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
916
918
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
917
|
-
[1m[
|
918
|
-
|
919
|
-
[1m[
|
920
|
-
[1m[
|
921
|
-
[1m[
|
922
|
-
--------------------------------------------------------------------------------------------
|
923
|
-
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0003_anonymous
|
924
|
-
--------------------------------------------------------------------------------------------
|
925
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
926
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
927
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
928
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
929
|
-
Parameters: {"asset"=>{}}
|
919
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "167"], ["created_at", "2015-09-28 11:47:44.582150"], ["updated_at", "2015-09-28 11:47:44.582150"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
920
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
921
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
922
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "168"], ["created_at", "2015-09-28 11:47:44.584385"], ["updated_at", "2015-09-28 11:47:44.584385"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
923
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
930
924
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
931
|
-
[1m[
|
932
|
-
|
925
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "169"], ["created_at", "2015-09-28 11:47:44.586830"], ["updated_at", "2015-09-28 11:47:44.586830"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
926
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
927
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
928
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "170"], ["created_at", "2015-09-28 11:47:44.589009"], ["updated_at", "2015-09-28 11:47:44.589009"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
929
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
930
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
931
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "171"], ["created_at", "2015-09-28 11:47:44.591160"], ["updated_at", "2015-09-28 11:47:44.591160"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
932
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
933
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
934
|
+
Parameters: {"filter"=>"file"}
|
935
|
+
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
936
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
|
937
|
+
Completed 200 OK in 11ms (Views: 0.7ms | ActiveRecord: 0.5ms)
|
938
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
939
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
940
|
+
[1m[35m (0.1ms)[0m BEGIN
|
941
|
+
-----------------------------------------------------------------------------------------
|
942
|
+
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0003_anonymous
|
943
|
+
-----------------------------------------------------------------------------------------
|
944
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
945
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
946
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
947
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
948
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fe3aedebe50 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150928-7156-542qi2>>}}
|
949
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
950
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "172"], ["created_at", "2015-09-28 11:47:44.609791"], ["updated_at", "2015-09-28 11:47:44.609791"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
951
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
952
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
933
953
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
934
954
|
[1m[35m (0.1ms)[0m ROLLBACK
|
935
955
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
936
956
|
-----------------------------------------------------------------------------------------
|
937
957
|
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0002_anonymous
|
938
958
|
-----------------------------------------------------------------------------------------
|
939
|
-
[1m[35m (0.
|
959
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
940
960
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
941
961
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
942
962
|
Processing by PushType::WysiwygMediaController#create as JSON
|
943
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:
|
963
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fe3b2c5b9b0 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150928-7156-ewztek>>}}
|
944
964
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
945
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
965
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "173"], ["created_at", "2015-09-28 11:47:44.614776"], ["updated_at", "2015-09-28 11:47:44.614776"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
946
966
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
947
|
-
Completed 200 OK in
|
967
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
948
968
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
949
969
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
950
970
|
[1m[35m (0.1ms)[0m BEGIN
|
951
971
|
-----------------------------------------------------------------------------------------
|
952
972
|
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0001_anonymous
|
953
973
|
-----------------------------------------------------------------------------------------
|
954
|
-
[1m[36m (0.
|
974
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
955
975
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
956
|
-
[1m[36m (0.
|
976
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
957
977
|
Processing by PushType::WysiwygMediaController#create as JSON
|
958
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:
|
978
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fe3af507590 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150928-7156-g6ofb4>>}}
|
959
979
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
960
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
980
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "174"], ["created_at", "2015-09-28 11:47:44.619699"], ["updated_at", "2015-09-28 11:47:44.619699"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
961
981
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
962
|
-
Completed 200 OK in
|
982
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
963
983
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
964
984
|
[1m[35m (0.1ms)[0m ROLLBACK
|
965
985
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
966
|
-
|
967
|
-
PushType::WysiwygMediaControllerTest::
|
968
|
-
|
986
|
+
--------------------------------------------------------------------------------------
|
987
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0001_anonymous
|
988
|
+
--------------------------------------------------------------------------------------
|
969
989
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
970
990
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
971
|
-
[1m[35m (0.
|
972
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
973
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f9dabde9568 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150824-2942-1q2dzjl>>}}
|
991
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
974
992
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
975
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
993
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "175"], ["created_at", "2015-09-28 11:47:44.623745"], ["updated_at", "2015-09-28 11:47:44.623745"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
976
994
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
977
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
978
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
979
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
980
|
-
[1m[35m (0.1ms)[0m BEGIN
|
981
|
-
---------------------------------------------------------------------------
|
982
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0001_anonymous
|
983
|
-
---------------------------------------------------------------------------
|
984
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
985
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
986
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
987
995
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
988
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
996
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "176"], ["created_at", "2015-09-28 11:47:44.625652"], ["updated_at", "2015-09-28 11:47:44.625652"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
989
997
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
990
998
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
991
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
999
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "177"], ["created_at", "2015-09-28 11:47:44.627501"], ["updated_at", "2015-09-28 11:47:44.627501"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
992
1000
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
993
1001
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
994
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1002
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "178"], ["created_at", "2015-09-28 11:47:44.629590"], ["updated_at", "2015-09-28 11:47:44.629590"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
995
1003
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
996
1004
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
997
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1005
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "179"], ["created_at", "2015-09-28 11:47:44.631576"], ["updated_at", "2015-09-28 11:47:44.631576"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
998
1006
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
999
|
-
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
1000
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1001
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1002
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1003
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1004
|
-
---------------------------------------------------------------------------
|
1005
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0004_anonymous
|
1006
|
-
---------------------------------------------------------------------------
|
1007
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1008
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1009
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1010
1007
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1011
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1008
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "180"], ["created_at", "2015-09-28 11:47:44.633508"], ["updated_at", "2015-09-28 11:47:44.633508"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1012
1009
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1013
1010
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1014
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1011
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "181"], ["created_at", "2015-09-28 11:47:44.635425"], ["updated_at", "2015-09-28 11:47:44.635425"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1015
1012
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1016
1013
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1017
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1014
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "182"], ["created_at", "2015-09-28 11:47:44.637389"], ["updated_at", "2015-09-28 11:47:44.637389"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1018
1015
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1019
1016
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1020
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1017
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "183"], ["created_at", "2015-09-28 11:47:44.639468"], ["updated_at", "2015-09-28 11:47:44.639468"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1021
1018
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1022
|
-
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
1023
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1024
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1025
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1026
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1027
|
-
---------------------------------------------------------------------------
|
1028
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0005_anonymous
|
1029
|
-
---------------------------------------------------------------------------
|
1030
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1031
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1032
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1033
1019
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1034
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1020
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "184"], ["created_at", "2015-09-28 11:47:44.641675"], ["updated_at", "2015-09-28 11:47:44.641675"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1035
1021
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1036
1022
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1037
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1023
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "185"], ["created_at", "2015-09-28 11:47:44.644515"], ["updated_at", "2015-09-28 11:47:44.644515"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1038
1024
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1039
1025
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1040
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1026
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "186"], ["created_at", "2015-09-28 11:47:44.646507"], ["updated_at", "2015-09-28 11:47:44.646507"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1041
1027
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1042
1028
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1043
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1029
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "187"], ["created_at", "2015-09-28 11:47:44.648612"], ["updated_at", "2015-09-28 11:47:44.648612"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1044
1030
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1045
|
-
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
1046
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1047
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1048
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1049
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1050
|
-
---------------------------------------------------------------------------
|
1051
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0002_anonymous
|
1052
|
-
---------------------------------------------------------------------------
|
1053
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1054
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1055
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1056
1031
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1057
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1032
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "188"], ["created_at", "2015-09-28 11:47:44.650598"], ["updated_at", "2015-09-28 11:47:44.650598"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1058
1033
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1059
1034
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1060
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1035
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "189"], ["created_at", "2015-09-28 11:47:44.652773"], ["updated_at", "2015-09-28 11:47:44.652773"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1061
1036
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1062
1037
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1063
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1038
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "190"], ["created_at", "2015-09-28 11:47:44.654768"], ["updated_at", "2015-09-28 11:47:44.654768"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1064
1039
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1065
1040
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1066
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1041
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "191"], ["created_at", "2015-09-28 11:47:44.656737"], ["updated_at", "2015-09-28 11:47:44.656737"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1067
1042
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1068
|
-
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
1069
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1070
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1071
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1072
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1073
|
-
---------------------------------------------------------------------------
|
1074
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0003_anonymous
|
1075
|
-
---------------------------------------------------------------------------
|
1076
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1077
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1078
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1079
1043
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1080
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1044
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "192"], ["created_at", "2015-09-28 11:47:44.658620"], ["updated_at", "2015-09-28 11:47:44.658620"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1081
1045
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1046
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1047
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
1048
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
1049
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
1050
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1051
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1052
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1053
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1054
|
+
--------------------------------------------------------------------------------------
|
1055
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0003_anonymous
|
1056
|
+
--------------------------------------------------------------------------------------
|
1057
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1058
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1059
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1082
1060
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1083
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1061
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "193"], ["created_at", "2015-09-28 11:47:44.665523"], ["updated_at", "2015-09-28 11:47:44.665523"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1084
1062
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1085
1063
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1086
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1064
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "194"], ["created_at", "2015-09-28 11:47:44.667553"], ["updated_at", "2015-09-28 11:47:44.667553"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1087
1065
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1088
1066
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1089
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1067
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "195"], ["created_at", "2015-09-28 11:47:44.669525"], ["updated_at", "2015-09-28 11:47:44.669525"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1090
1068
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1091
|
-
[1m[35mPushType::Asset Load (0.2ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
1092
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1093
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1094
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1095
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1096
|
-
------------------------------------------------------------------------------------------
|
1097
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0003_anonymous
|
1098
|
-
------------------------------------------------------------------------------------------
|
1099
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1100
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1101
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1102
1069
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1103
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1070
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "196"], ["created_at", "2015-09-28 11:47:44.671433"], ["updated_at", "2015-09-28 11:47:44.671433"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1104
1071
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1105
1072
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1106
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1073
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "197"], ["created_at", "2015-09-28 11:47:44.673392"], ["updated_at", "2015-09-28 11:47:44.673392"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1107
1074
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1108
1075
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1109
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1076
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "198"], ["created_at", "2015-09-28 11:47:44.675437"], ["updated_at", "2015-09-28 11:47:44.675437"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1110
1077
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1111
1078
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1112
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1079
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "199"], ["created_at", "2015-09-28 11:47:44.677354"], ["updated_at", "2015-09-28 11:47:44.677354"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1113
1080
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1114
1081
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1115
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1082
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "200"], ["created_at", "2015-09-28 11:47:44.679269"], ["updated_at", "2015-09-28 11:47:44.679269"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1116
1083
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1117
1084
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1118
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1085
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "201"], ["created_at", "2015-09-28 11:47:44.681196"], ["updated_at", "2015-09-28 11:47:44.681196"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1119
1086
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1120
1087
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1121
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1088
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "202"], ["created_at", "2015-09-28 11:47:44.683125"], ["updated_at", "2015-09-28 11:47:44.683125"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1122
1089
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1123
1090
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1124
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1091
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "203"], ["created_at", "2015-09-28 11:47:44.685079"], ["updated_at", "2015-09-28 11:47:44.685079"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1125
1092
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1126
1093
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1127
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1094
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "204"], ["created_at", "2015-09-28 11:47:44.687123"], ["updated_at", "2015-09-28 11:47:44.687123"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1128
1095
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1129
1096
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1130
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1097
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "205"], ["created_at", "2015-09-28 11:47:44.689043"], ["updated_at", "2015-09-28 11:47:44.689043"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1131
1098
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1132
1099
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1133
|
-
[1m[36mSQL (0.
|
1100
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "206"], ["created_at", "2015-09-28 11:47:44.690959"], ["updated_at", "2015-09-28 11:47:44.690959"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1134
1101
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1135
1102
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1136
|
-
[1m[35mSQL (0.
|
1103
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "207"], ["created_at", "2015-09-28 11:47:44.729497"], ["updated_at", "2015-09-28 11:47:44.729497"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1137
1104
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1138
1105
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1139
|
-
[1m[36mSQL (0.
|
1106
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "208"], ["created_at", "2015-09-28 11:47:44.732347"], ["updated_at", "2015-09-28 11:47:44.732347"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1140
1107
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1141
1108
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1142
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1109
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "209"], ["created_at", "2015-09-28 11:47:44.735197"], ["updated_at", "2015-09-28 11:47:44.735197"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1143
1110
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1144
1111
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1145
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1112
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "210"], ["created_at", "2015-09-28 11:47:44.737987"], ["updated_at", "2015-09-28 11:47:44.737987"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1146
1113
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1114
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1115
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
1116
|
+
[1m[36mPushType::Asset Load (0.4ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
1117
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
1118
|
+
Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
1119
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1120
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1121
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1122
|
+
--------------------------------------------------------------------------------------
|
1123
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0002_anonymous
|
1124
|
+
--------------------------------------------------------------------------------------
|
1125
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1126
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1127
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1147
1128
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1148
|
-
[1m[35mSQL (0.
|
1129
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "211"], ["created_at", "2015-09-28 11:47:44.747326"], ["updated_at", "2015-09-28 11:47:44.747326"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1149
1130
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1150
1131
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1151
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1132
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "212"], ["created_at", "2015-09-28 11:47:44.750111"], ["updated_at", "2015-09-28 11:47:44.750111"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1152
1133
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1153
1134
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1154
|
-
[1m[35mSQL (0.
|
1135
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "213"], ["created_at", "2015-09-28 11:47:44.752831"], ["updated_at", "2015-09-28 11:47:44.752831"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1155
1136
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1156
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
1157
|
-
Parameters: {"filter"=>"file"}
|
1158
|
-
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
1159
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
|
1160
|
-
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
1161
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1162
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1163
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1164
|
-
------------------------------------------------------------------------------------------
|
1165
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0002_anonymous
|
1166
|
-
------------------------------------------------------------------------------------------
|
1167
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1168
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1169
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1170
1137
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1171
|
-
[1m[36mSQL (0.
|
1138
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "214"], ["created_at", "2015-09-28 11:47:44.755504"], ["updated_at", "2015-09-28 11:47:44.755504"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1172
1139
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1173
1140
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1174
|
-
[1m[35mSQL (0.
|
1141
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "215"], ["created_at", "2015-09-28 11:47:44.758572"], ["updated_at", "2015-09-28 11:47:44.758572"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1175
1142
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1176
1143
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1177
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1144
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "216"], ["created_at", "2015-09-28 11:47:44.761466"], ["updated_at", "2015-09-28 11:47:44.761466"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1178
1145
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1179
1146
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1180
|
-
[1m[35mSQL (0.
|
1147
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "217"], ["created_at", "2015-09-28 11:47:44.764422"], ["updated_at", "2015-09-28 11:47:44.764422"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1181
1148
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1182
1149
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1183
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1150
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "218"], ["created_at", "2015-09-28 11:47:44.767335"], ["updated_at", "2015-09-28 11:47:44.767335"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1184
1151
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1185
1152
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1186
|
-
[1m[35mSQL (0.
|
1153
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "219"], ["created_at", "2015-09-28 11:47:44.770047"], ["updated_at", "2015-09-28 11:47:44.770047"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1187
1154
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1188
1155
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1189
|
-
[1m[36mSQL (0.
|
1156
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "220"], ["created_at", "2015-09-28 11:47:44.772865"], ["updated_at", "2015-09-28 11:47:44.772865"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1190
1157
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1191
1158
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1192
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1159
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "221"], ["created_at", "2015-09-28 11:47:44.775947"], ["updated_at", "2015-09-28 11:47:44.775947"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1193
1160
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1194
1161
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1195
|
-
[1m[36mSQL (0.
|
1162
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "222"], ["created_at", "2015-09-28 11:47:44.778796"], ["updated_at", "2015-09-28 11:47:44.778796"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1196
1163
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1197
1164
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1198
|
-
[1m[35mSQL (0.
|
1165
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "223"], ["created_at", "2015-09-28 11:47:44.781984"], ["updated_at", "2015-09-28 11:47:44.781984"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1199
1166
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1200
1167
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1201
|
-
[1m[36mSQL (0.
|
1168
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "224"], ["created_at", "2015-09-28 11:47:44.785043"], ["updated_at", "2015-09-28 11:47:44.785043"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1202
1169
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1203
1170
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1204
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1171
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "225"], ["created_at", "2015-09-28 11:47:44.788223"], ["updated_at", "2015-09-28 11:47:44.788223"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1205
1172
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1206
1173
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1207
|
-
[1m[36mSQL (0.
|
1174
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "226"], ["created_at", "2015-09-28 11:47:44.790996"], ["updated_at", "2015-09-28 11:47:44.790996"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1208
1175
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1209
1176
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1210
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1177
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "227"], ["created_at", "2015-09-28 11:47:44.794156"], ["updated_at", "2015-09-28 11:47:44.794156"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1211
1178
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1212
1179
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1213
|
-
[1m[36mSQL (0.
|
1180
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "228"], ["created_at", "2015-09-28 11:47:44.796743"], ["updated_at", "2015-09-28 11:47:44.796743"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1214
1181
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1182
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1183
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
1184
|
+
[1m[36mPushType::Asset Load (0.4ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
1185
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
1186
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
1187
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1188
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1189
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1190
|
+
--------------------------------------------------------------------------------------
|
1191
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0004_anonymous
|
1192
|
+
--------------------------------------------------------------------------------------
|
1193
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1194
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1195
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1215
1196
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1216
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1197
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "229"], ["created_at", "2015-09-28 11:47:44.805370"], ["updated_at", "2015-09-28 11:47:44.805370"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1217
1198
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1218
1199
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1219
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1200
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "230"], ["created_at", "2015-09-28 11:47:44.808155"], ["updated_at", "2015-09-28 11:47:44.808155"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1220
1201
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1221
1202
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1222
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1203
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "231"], ["created_at", "2015-09-28 11:47:44.810796"], ["updated_at", "2015-09-28 11:47:44.810796"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1223
1204
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1224
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
1225
|
-
Parameters: {"filter"=>"file"}
|
1226
|
-
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 0
|
1227
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')[0m
|
1228
|
-
Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.5ms)
|
1229
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1230
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1231
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1232
|
-
------------------------------------------------------------------------------------------
|
1233
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0001_anonymous
|
1234
|
-
------------------------------------------------------------------------------------------
|
1235
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1236
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1237
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1238
1205
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1239
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1206
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "232"], ["created_at", "2015-09-28 11:47:44.813226"], ["updated_at", "2015-09-28 11:47:44.813226"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1240
1207
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1241
1208
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1242
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1209
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "233"], ["created_at", "2015-09-28 11:47:44.815712"], ["updated_at", "2015-09-28 11:47:44.815712"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1243
1210
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1244
1211
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1245
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1212
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "234"], ["created_at", "2015-09-28 11:47:44.818350"], ["updated_at", "2015-09-28 11:47:44.818350"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1246
1213
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1247
1214
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1248
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1215
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "235"], ["created_at", "2015-09-28 11:47:44.820813"], ["updated_at", "2015-09-28 11:47:44.820813"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1249
1216
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1250
1217
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1251
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1218
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "236"], ["created_at", "2015-09-28 11:47:44.823166"], ["updated_at", "2015-09-28 11:47:44.823166"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1252
1219
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1253
1220
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1254
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1221
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "237"], ["created_at", "2015-09-28 11:47:44.825520"], ["updated_at", "2015-09-28 11:47:44.825520"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1255
1222
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1256
1223
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1257
|
-
[1m[36mSQL (0.
|
1224
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "238"], ["created_at", "2015-09-28 11:47:44.827965"], ["updated_at", "2015-09-28 11:47:44.827965"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1258
1225
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1259
1226
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1260
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1227
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "239"], ["created_at", "2015-09-28 11:47:44.830572"], ["updated_at", "2015-09-28 11:47:44.830572"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1261
1228
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1262
1229
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1263
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1230
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "240"], ["created_at", "2015-09-28 11:47:44.833163"], ["updated_at", "2015-09-28 11:47:44.833163"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1264
1231
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1265
1232
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1266
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1233
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "241"], ["created_at", "2015-09-28 11:47:44.835561"], ["updated_at", "2015-09-28 11:47:44.835561"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1267
1234
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1268
1235
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1269
|
-
[1m[36mSQL (0.
|
1236
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "242"], ["created_at", "2015-09-28 11:47:44.838086"], ["updated_at", "2015-09-28 11:47:44.838086"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1270
1237
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1271
1238
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1272
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1239
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "243"], ["created_at", "2015-09-28 11:47:44.840791"], ["updated_at", "2015-09-28 11:47:44.840791"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1273
1240
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1274
1241
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1275
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
1242
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "244"], ["created_at", "2015-09-28 11:47:44.843388"], ["updated_at", "2015-09-28 11:47:44.843388"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1276
1243
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1277
1244
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1278
|
-
[1m[35mSQL (0.
|
1245
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "245"], ["created_at", "2015-09-28 11:47:44.845995"], ["updated_at", "2015-09-28 11:47:44.845995"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1279
1246
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1280
1247
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1281
|
-
[1m[36mSQL (0.
|
1248
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "document.pdf"], ["file_size", 15356], ["file_uid", "246"], ["created_at", "2015-09-28 11:47:44.848659"], ["updated_at", "2015-09-28 11:47:44.848659"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
1282
1249
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1250
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
1251
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
1252
|
+
[1m[36mPushType::Asset Load (0.3ms)[0m [1mSELECT "push_type_assets".* FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%') ORDER BY "push_type_assets"."created_at" DESC LIMIT 12 OFFSET 12[0m
|
1253
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
1254
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1255
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1256
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1257
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1258
|
+
---------------------------------------------------------------------------
|
1259
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0001_anonymous
|
1260
|
+
---------------------------------------------------------------------------
|
1261
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1262
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1263
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1283
1264
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1284
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1265
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "247"], ["created_at", "2015-09-28 11:47:44.858799"], ["updated_at", "2015-09-28 11:47:44.858799"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1285
1266
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1286
1267
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1287
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1268
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "248"], ["created_at", "2015-09-28 11:47:44.861042"], ["updated_at", "2015-09-28 11:47:44.861042"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1288
1269
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1289
1270
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1290
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1271
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "249"], ["created_at", "2015-09-28 11:47:44.863062"], ["updated_at", "2015-09-28 11:47:44.863062"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1291
1272
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1292
|
-
|
1293
|
-
|
1294
|
-
[1m[
|
1295
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"
|
1296
|
-
|
1297
|
-
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1273
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1274
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "250"], ["created_at", "2015-09-28 11:47:44.864977"], ["updated_at", "2015-09-28 11:47:44.864977"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1275
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1276
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1277
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1298
1278
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1299
1279
|
[1m[35m (0.1ms)[0m BEGIN
|
1300
|
-
|
1301
|
-
PushType::
|
1302
|
-
|
1280
|
+
---------------------------------------------------------------------------
|
1281
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0003_anonymous
|
1282
|
+
---------------------------------------------------------------------------
|
1303
1283
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1304
1284
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1305
|
-
[1m[36m (0.
|
1285
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1306
1286
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1307
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1287
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "251"], ["created_at", "2015-09-28 11:47:44.869325"], ["updated_at", "2015-09-28 11:47:44.869325"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1308
1288
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1309
1289
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1310
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1290
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "252"], ["created_at", "2015-09-28 11:47:44.871416"], ["updated_at", "2015-09-28 11:47:44.871416"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1311
1291
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1312
1292
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1313
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1293
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "253"], ["created_at", "2015-09-28 11:47:44.873499"], ["updated_at", "2015-09-28 11:47:44.873499"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1314
1294
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1315
1295
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1316
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "
|
1296
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "254"], ["created_at", "2015-09-28 11:47:44.875646"], ["updated_at", "2015-09-28 11:47:44.875646"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1317
1297
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1318
|
-
[1m[35m (0.1ms)[0m
|
1319
|
-
[1m[
|
1320
|
-
[1m[35m (0.1ms)[0m
|
1298
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1299
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1300
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1301
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
1302
|
+
---------------------------------------------------------------------------
|
1303
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0004_anonymous
|
1304
|
+
---------------------------------------------------------------------------
|
1305
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1306
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1307
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1321
1308
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1322
|
-
[1m[35mSQL (0.
|
1309
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "255"], ["created_at", "2015-09-28 11:47:44.879917"], ["updated_at", "2015-09-28 11:47:44.879917"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1323
1310
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1324
1311
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1325
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1312
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "256"], ["created_at", "2015-09-28 11:47:44.882161"], ["updated_at", "2015-09-28 11:47:44.882161"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1326
1313
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1327
1314
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1328
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1315
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "257"], ["created_at", "2015-09-28 11:47:44.885073"], ["updated_at", "2015-09-28 11:47:44.885073"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1329
1316
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1330
1317
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1331
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1318
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "258"], ["created_at", "2015-09-28 11:47:44.887143"], ["updated_at", "2015-09-28 11:47:44.887143"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1332
1319
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1333
|
-
[1m[36m (0.
|
1334
|
-
[1m[
|
1335
|
-
[1m[36m (0.1ms)[0m [
|
1320
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1321
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1322
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1323
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1324
|
+
---------------------------------------------------------------------------
|
1325
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0002_anonymous
|
1326
|
+
---------------------------------------------------------------------------
|
1327
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1328
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1329
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1336
1330
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1337
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1331
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "259"], ["created_at", "2015-09-28 11:47:44.891724"], ["updated_at", "2015-09-28 11:47:44.891724"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1338
1332
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1339
1333
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1340
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1334
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "260"], ["created_at", "2015-09-28 11:47:44.893989"], ["updated_at", "2015-09-28 11:47:44.893989"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1341
1335
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1342
1336
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1343
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1337
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "261"], ["created_at", "2015-09-28 11:47:44.895922"], ["updated_at", "2015-09-28 11:47:44.895922"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1344
1338
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1345
1339
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1346
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1340
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "262"], ["created_at", "2015-09-28 11:47:44.898060"], ["updated_at", "2015-09-28 11:47:44.898060"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1347
1341
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1348
|
-
[1m[35m (0.
|
1349
|
-
[1m[
|
1350
|
-
[1m[35m (0.1ms)[0m
|
1342
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1343
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1344
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1345
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1346
|
+
---------------------------------------------------------------------------
|
1347
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0005_anonymous
|
1348
|
+
---------------------------------------------------------------------------
|
1349
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1350
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1351
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1351
1352
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1352
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1353
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "263"], ["created_at", "2015-09-28 11:47:44.902709"], ["updated_at", "2015-09-28 11:47:44.902709"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1353
1354
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1354
1355
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1355
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "
|
1356
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "264"], ["created_at", "2015-09-28 11:47:44.904897"], ["updated_at", "2015-09-28 11:47:44.904897"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1356
1357
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1357
1358
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1358
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "
|
1359
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "265"], ["created_at", "2015-09-28 11:47:44.906961"], ["updated_at", "2015-09-28 11:47:44.906961"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1359
1360
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1360
|
-
|
1361
|
-
|
1362
|
-
[1m[
|
1363
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"
|
1364
|
-
Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.5ms)
|
1361
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1362
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "266"], ["created_at", "2015-09-28 11:47:44.909020"], ["updated_at", "2015-09-28 11:47:44.909020"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1363
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1364
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
1365
1365
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1366
1366
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1367
1367
|
[1m[35m (0.1ms)[0m BEGIN
|
@@ -1369,15 +1369,15 @@ Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.5ms)
|
|
1369
1369
|
PushType::WysiwygMediaControllerTest::POST #create::asset count: test_0001_anonymous
|
1370
1370
|
------------------------------------------------------------------------------------
|
1371
1371
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1372
|
-
[1m[35m (0.
|
1373
|
-
[1m[36m (0.
|
1374
|
-
[1m[35m (0.
|
1372
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1373
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1374
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1375
1375
|
Processing by PushType::WysiwygMediaController#create as JSON
|
1376
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:
|
1376
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007fe3aed7bd08 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20150928-7156-lga9fm>>}}
|
1377
1377
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1378
|
-
[1m[35mSQL (0.
|
1378
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_assets" ("file_name", "file_size", "file_uid", "created_at", "updated_at", "file_ext", "mime_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["file_name", "image.png"], ["file_size", 2643], ["file_uid", "267"], ["created_at", "2015-09-28 11:47:44.916585"], ["updated_at", "2015-09-28 11:47:44.916585"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
1379
1379
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1380
|
-
Completed 200 OK in
|
1381
|
-
[1m[35m (0.
|
1380
|
+
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
1381
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
1382
1382
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1383
1383
|
[1m[35m (0.1ms)[0m ROLLBACK
|