push_type_wysiwyg 0.7.0.beta.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/test/dummy/config/initializers/push_type.rb +1 -6
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/migrate/{20160108132432_create_push_type_users.push_type.rb → 20160122151604_create_push_type_users.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160108132433_create_push_type_nodes.push_type.rb → 20160122151605_create_push_type_nodes.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160108132434_create_push_type_node_hierarchies.push_type.rb → 20160122151606_create_push_type_node_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160108132435_create_push_type_assets.push_type.rb → 20160122151607_create_push_type_assets.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160108132436_create_push_type_taxonomies.push_type.rb → 20160122151608_create_push_type_taxonomies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160108132437_create_push_type_taxonomy_hierarchies.push_type.rb → 20160122151609_create_push_type_taxonomy_hierarchies.push_type.rb} +0 -0
- data/test/dummy/db/migrate/{20160108132438_add_field_store_default_values.push_type.rb → 20160122151610_add_field_store_default_values.push_type.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +674 -674
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-ghZfqfmrFzQ1VmwiD1ELzO-Ttbhof-y12qorWlnbV0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{FJA4I5-e01KB4oefxIFZWHTXLqArqkjQrjXarTq6f5I.cache → dWysRZ_4C_ElfNWB-tF3ojgskki0lfGu36aqZ-fItvs.cache} +2 -2
- metadata +26 -26
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/z-lQgULlXAGr2pPUvd_UInNqk9f03dYz115P8Llpvh0.cache +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 38d3cfffa4a03f3d33c79b04233284a2b6e908ad
|
|
4
|
+
data.tar.gz: 7de0ba6cadd2aa47672882d2d5f9b9f0ae3c5b32
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b90d4e07b52a4e78db81e54bbc410953d2a1a63e20f716cbd0dbfcf077736cc9e99bf27d6014e3495b1ddf0d93cbc9893aab0e2034b25b9e12cb17f40994f179
|
|
7
|
+
data.tar.gz: 8056eb5d1419208e9f0d59da30c78c9657768bd5f894d0a4d6b70ef4d60ae6ed43782be6e19c5a208607c7a6721d9b56eb0d1e46ebf8c962769ec384223ddd02
|
|
@@ -15,11 +15,6 @@ PushType.setup do |config|
|
|
|
15
15
|
# through their permalink.
|
|
16
16
|
config.unexposed_nodes = []
|
|
17
17
|
|
|
18
|
-
# Set an array of taxonomy type symbols which will not be exposed
|
|
19
|
-
# to the `TaxonomiesFrontEndController`. These taxonomies will not
|
|
20
|
-
# be accessible through their permalink.
|
|
21
|
-
config.unexposed_taxonomies = []
|
|
22
|
-
|
|
23
18
|
# Media styles allow you to predefine a collection of geometry
|
|
24
19
|
# strings for resizing images on the fly with the `Asset#media`
|
|
25
20
|
# method. Example: `image.media(:large)`
|
|
@@ -50,6 +45,6 @@ PushType.setup do |config|
|
|
|
50
45
|
# secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
|
|
51
46
|
# }
|
|
52
47
|
|
|
53
|
-
# config.dragonfly_secret = '
|
|
48
|
+
# config.dragonfly_secret = '9d6de3880b98ac951a35f03088e9b7ba4b50cb983ab903247a24df1fe47631a1'
|
|
54
49
|
|
|
55
50
|
end
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
# if you're sharing your code publicly.
|
|
12
12
|
|
|
13
13
|
development:
|
|
14
|
-
secret_key_base:
|
|
14
|
+
secret_key_base: 8ce10d877528fd0bf6f48633062d623361721cbf8bbe9f65dbcc51ced1eb83d44a0087ea24cf1803cda08bca3cba0caa7f293705cc0198c3ff19f04bf77ccf39
|
|
15
15
|
|
|
16
16
|
test:
|
|
17
|
-
secret_key_base:
|
|
17
|
+
secret_key_base: 5e57057ea0b967d3bd4e95e38fdb5c2f30f7436f7cfc4eb5c5f97596dcac79e8a1b8725e087203f90f418cb1a57fdcba78c55511c49a19000c8e08c00769eba4
|
|
18
18
|
|
|
19
19
|
# Do not keep production secrets in the repository,
|
|
20
20
|
# instead read values from the environment.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/test/dummy/db/schema.rb
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
|
13
13
|
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
|
14
|
+
ActiveRecord::Schema.define(version: 20160122151610) do
|
|
15
15
|
|
|
16
16
|
# These are extensions that must be enabled in order to support this database
|
|
17
17
|
enable_extension "plpgsql"
|
data/test/dummy/log/test.log
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
[1m[36m (
|
|
1
|
+
[1m[36m (12.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
|
2
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 (20160122151604)
|
|
5
5
|
[1m[35m (0.1ms)[0m BEGIN
|
|
6
|
-
[1m[36mSQL (1.
|
|
7
|
-
[1m[35m (
|
|
8
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
6
|
+
[1m[36mSQL (1.8ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "uuid-ossp"[0m
|
|
7
|
+
[1m[35m (3.5ms)[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", "20160122151604"]]
|
|
9
9
|
[1m[35m (0.7ms)[0m COMMIT
|
|
10
|
-
Migrating to CreatePushTypeNodes (
|
|
10
|
+
Migrating to CreatePushTypeNodes (20160122151605)
|
|
11
11
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
12
|
-
[1m[35m (
|
|
13
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "
|
|
12
|
+
[1m[35m (2.4ms)[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", "20160122151605"]]
|
|
14
14
|
[1m[35m (0.4ms)[0m COMMIT
|
|
15
|
-
Migrating to CreatePushTypeNodeHierarchies (
|
|
15
|
+
Migrating to CreatePushTypeNodeHierarchies (20160122151606)
|
|
16
16
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
17
17
|
[1m[35m (0.5ms)[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.8ms)[0m [1mCREATE UNIQUE INDEX "node_anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")[0m
|
|
19
|
+
[1m[35m (0.6ms)[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", "20160122151606"]]
|
|
21
21
|
[1m[35m (0.5ms)[0m COMMIT
|
|
22
|
-
Migrating to CreatePushTypeAssets (
|
|
22
|
+
Migrating to CreatePushTypeAssets (20160122151607)
|
|
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", "
|
|
26
|
-
[1m[35m (0.
|
|
27
|
-
Migrating to CreatePushTypeTaxonomies (
|
|
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", "20160122151607"]]
|
|
26
|
+
[1m[35m (0.4ms)[0m COMMIT
|
|
27
|
+
Migrating to CreatePushTypeTaxonomies (20160122151608)
|
|
28
28
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
29
|
-
[1m[35m (
|
|
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", "
|
|
31
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122151608"]]
|
|
32
32
|
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
|
33
|
-
Migrating to CreatePushTypeTaxonomyHierarchies (
|
|
33
|
+
Migrating to CreatePushTypeTaxonomyHierarchies (20160122151609)
|
|
34
34
|
[1m[35m (0.1ms)[0m BEGIN
|
|
35
|
-
[1m[36m (0.
|
|
36
|
-
[1m[35m (0.
|
|
37
|
-
[1m[36m (0.
|
|
38
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "
|
|
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.6ms)[0m CREATE UNIQUE INDEX "taxonomy_anc_desc_idx" ON "push_type_taxonomy_hierarchies" ("ancestor_id", "descendant_id", "generations")
|
|
37
|
+
[1m[36m (0.6ms)[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", "20160122151609"]]
|
|
39
39
|
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
|
40
|
-
Migrating to AddFieldStoreDefaultValues (
|
|
40
|
+
Migrating to AddFieldStoreDefaultValues (20160122151610)
|
|
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
46
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "push_type_users" ALTER COLUMN "field_store" TYPE jsonb[0m
|
|
47
|
-
[1m[35m (0.
|
|
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
49
|
[1m[35m (0.1ms)[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", "
|
|
51
|
-
[1m[35m (0.
|
|
50
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160122151610"]]
|
|
51
|
+
[1m[35m (0.4ms)[0m COMMIT
|
|
52
52
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
53
|
-
[1m[35m (1.
|
|
53
|
+
[1m[35m (1.8ms)[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
|
|
55
55
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
56
56
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -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
|
|
@@ -74,7 +74,7 @@ WHERE c.contype = 'f'
|
|
|
74
74
|
AND t3.nspname = ANY (current_schemas(false))
|
|
75
75
|
ORDER BY c.conname
|
|
76
76
|
[0m
|
|
77
|
-
[1m[35m (1.
|
|
77
|
+
[1m[35m (1.2ms)[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
|
|
78
78
|
FROM pg_constraint c
|
|
79
79
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
80
80
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -86,7 +86,7 @@ WHERE c.contype = 'f'
|
|
|
86
86
|
AND t3.nspname = ANY (current_schemas(false))
|
|
87
87
|
ORDER BY c.conname
|
|
88
88
|
|
|
89
|
-
[1m[36m (1.
|
|
89
|
+
[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
|
|
90
90
|
FROM pg_constraint c
|
|
91
91
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
92
92
|
JOIN pg_class t2 ON c.confrelid = t2.oid
|
|
@@ -98,7 +98,7 @@ WHERE c.contype = 'f'
|
|
|
98
98
|
AND t3.nspname = ANY (current_schemas(false))
|
|
99
99
|
ORDER BY c.conname
|
|
100
100
|
[0m
|
|
101
|
-
[1m[35m (1.
|
|
101
|
+
[1m[35m (1.2ms)[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
|
|
102
102
|
FROM pg_constraint c
|
|
103
103
|
JOIN pg_class t1 ON c.conrelid = t1.oid
|
|
104
104
|
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
|
|
@@ -132,418 +132,452 @@ ORDER BY c.conname
|
|
|
132
132
|
schemaname = ANY (current_schemas(false))
|
|
133
133
|
[0m
|
|
134
134
|
[1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
|
135
|
-
[1m[36m (9.
|
|
135
|
+
[1m[36m (9.4ms)[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::
|
|
140
|
-
|
|
138
|
+
-----------------------------------------------------------------------------------------
|
|
139
|
+
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0001_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
|
-
[1m[35m (0.
|
|
143
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
144
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
145
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f91ace56920 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20160122-10247-49gmz5>>}}
|
|
144
146
|
[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", "2016-01-
|
|
147
|
+
[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", "2016-01-22 15:16:09.843306"], ["updated_at", "2016-01-22 15:16:09.843306"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
146
148
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
147
|
-
|
|
149
|
+
Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 1.9ms)
|
|
150
|
+
[1m[35m (0.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
148
151
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
149
152
|
[1m[35m (0.1ms)[0m BEGIN
|
|
150
|
-
|
|
151
|
-
PushType::
|
|
152
|
-
|
|
153
|
+
-----------------------------------------------------------------------------------------
|
|
154
|
+
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0002_anonymous
|
|
155
|
+
-----------------------------------------------------------------------------------------
|
|
153
156
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
154
157
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
155
158
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
159
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
160
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f91aca802d8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20160122-10247-1k0xpcf>>}}
|
|
156
161
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
157
|
-
[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", "2"], ["created_at", "2016-01-
|
|
162
|
+
[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", "2"], ["created_at", "2016-01-22 15:16:09.855181"], ["updated_at", "2016-01-22 15:16:09.855181"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
158
163
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
164
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
|
159
165
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
160
166
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
161
167
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
162
|
-
|
|
163
|
-
PushType::
|
|
164
|
-
|
|
165
|
-
[1m[35m (0.
|
|
168
|
+
-----------------------------------------------------------------------------------------
|
|
169
|
+
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0003_anonymous
|
|
170
|
+
-----------------------------------------------------------------------------------------
|
|
171
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
166
172
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
167
173
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
174
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
175
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f91ac9bb758 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20160122-10247-5ubsrn>>}}
|
|
168
176
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
169
|
-
[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", "3"], ["created_at", "2016-01-
|
|
177
|
+
[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", "3"], ["created_at", "2016-01-22 15:16:09.861150"], ["updated_at", "2016-01-22 15:16:09.861150"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
170
178
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
179
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
|
171
180
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
172
181
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
173
182
|
[1m[35m (0.1ms)[0m BEGIN
|
|
174
|
-
|
|
175
|
-
PushType::WysiwygMediaHelperTest::#
|
|
176
|
-
|
|
183
|
+
---------------------------------------------------------------------------
|
|
184
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0004_anonymous
|
|
185
|
+
---------------------------------------------------------------------------
|
|
186
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
187
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
177
188
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
189
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
190
|
+
[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", "2016-01-22 15:16:09.866560"], ["updated_at", "2016-01-22 15:16:09.866560"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
191
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
192
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
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", "2016-01-22 15:16:09.868638"], ["updated_at", "2016-01-22 15:16:09.868638"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
194
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
195
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
196
|
+
[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", "2016-01-22 15:16:09.870541"], ["updated_at", "2016-01-22 15:16:09.870541"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
197
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
198
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
199
|
+
[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", "2016-01-22 15:16:09.872606"], ["updated_at", "2016-01-22 15:16:09.872606"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
200
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
201
|
+
[1m[35mPushType::Asset Load (0.5ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
|
202
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
203
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
204
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
205
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
206
|
+
---------------------------------------------------------------------------
|
|
207
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0005_anonymous
|
|
208
|
+
---------------------------------------------------------------------------
|
|
209
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
178
210
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
179
211
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
180
212
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
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", "
|
|
213
|
+
[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", "2016-01-22 15:16:09.880347"], ["updated_at", "2016-01-22 15:16:09.880347"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
214
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
215
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
216
|
+
[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", "2016-01-22 15:16:09.882407"], ["updated_at", "2016-01-22 15:16:09.882407"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
217
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
218
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
219
|
+
[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", "2016-01-22 15:16:09.884518"], ["updated_at", "2016-01-22 15:16:09.884518"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
182
220
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
183
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
184
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
185
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
186
|
-
--------------------------------------------------------------------------
|
|
187
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0004_anonymous
|
|
188
|
-
--------------------------------------------------------------------------
|
|
189
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
190
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
191
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
192
221
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
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", "
|
|
222
|
+
[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", "2016-01-22 15:16:09.886878"], ["updated_at", "2016-01-22 15:16:09.886878"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
194
223
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
224
|
+
[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
|
|
225
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
195
226
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
196
227
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
197
228
|
[1m[35m (0.1ms)[0m BEGIN
|
|
198
|
-
|
|
199
|
-
PushType::WysiwygMediaHelperTest::#
|
|
200
|
-
|
|
229
|
+
---------------------------------------------------------------------------
|
|
230
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0002_anonymous
|
|
231
|
+
---------------------------------------------------------------------------
|
|
232
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
233
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
234
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
235
|
+
[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", "12"], ["created_at", "2016-01-22 15:16:09.892338"], ["updated_at", "2016-01-22 15:16:09.892338"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
237
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
238
|
+
[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", "13"], ["created_at", "2016-01-22 15:16:09.894538"], ["updated_at", "2016-01-22 15:16:09.894538"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
240
|
+
[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", "14"], ["created_at", "2016-01-22 15:16:09.896607"], ["updated_at", "2016-01-22 15:16:09.896607"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
243
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
244
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
245
|
+
[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", "15"], ["created_at", "2016-01-22 15:16:09.898564"], ["updated_at", "2016-01-22 15:16:09.898564"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
246
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
247
|
+
[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
|
|
248
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
249
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
250
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
251
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
252
|
+
---------------------------------------------------------------------------
|
|
253
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0003_anonymous
|
|
254
|
+
---------------------------------------------------------------------------
|
|
201
255
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
202
256
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
203
257
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
204
258
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
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", "
|
|
259
|
+
[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", "16"], ["created_at", "2016-01-22 15:16:09.903815"], ["updated_at", "2016-01-22 15:16:09.903815"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
260
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
261
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
262
|
+
[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", "17"], ["created_at", "2016-01-22 15:16:09.905906"], ["updated_at", "2016-01-22 15:16:09.905906"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
263
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
264
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
265
|
+
[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", "18"], ["created_at", "2016-01-22 15:16:09.907879"], ["updated_at", "2016-01-22 15:16:09.907879"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
266
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
267
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
268
|
+
[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", "19"], ["created_at", "2016-01-22 15:16:09.909849"], ["updated_at", "2016-01-22 15:16:09.909849"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
269
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
270
|
+
[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
|
|
271
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
272
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
273
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
274
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
275
|
+
---------------------------------------------------------------------------
|
|
276
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0001_anonymous
|
|
277
|
+
---------------------------------------------------------------------------
|
|
278
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
279
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
280
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
281
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
282
|
+
[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", "2016-01-22 15:16:09.915049"], ["updated_at", "2016-01-22 15:16:09.915049"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
283
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
284
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
285
|
+
[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", "21"], ["created_at", "2016-01-22 15:16:09.917075"], ["updated_at", "2016-01-22 15:16:09.917075"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
286
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
287
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
288
|
+
[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", "22"], ["created_at", "2016-01-22 15:16:09.919238"], ["updated_at", "2016-01-22 15:16:09.919238"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
206
289
|
[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.0ms)[0m [1mBEGIN[0m
|
|
210
|
-
--------------------------------------------------------------------------
|
|
211
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0006_anonymous
|
|
212
|
-
--------------------------------------------------------------------------
|
|
213
|
-
[1m[35m (0.0ms)[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
|
|
216
290
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
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", "
|
|
291
|
+
[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", "23"], ["created_at", "2016-01-22 15:16:09.921233"], ["updated_at", "2016-01-22 15:16:09.921233"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
218
292
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
293
|
+
[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
|
|
294
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
219
295
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
220
296
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
221
297
|
[1m[35m (0.1ms)[0m BEGIN
|
|
222
298
|
-------------------------------------------------------------------------------------------
|
|
223
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for images:
|
|
299
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0003_anonymous
|
|
224
300
|
-------------------------------------------------------------------------------------------
|
|
225
301
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
226
|
-
[1m[35m (0.
|
|
302
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
227
303
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
228
304
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
229
|
-
[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", "
|
|
305
|
+
[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", "24"], ["created_at", "2016-01-22 15:16:09.927166"], ["updated_at", "2016-01-22 15:16:09.927166"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
230
306
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
231
307
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
232
|
-
[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", "
|
|
308
|
+
[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", "25"], ["created_at", "2016-01-22 15:16:09.929471"], ["updated_at", "2016-01-22 15:16:09.929471"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
233
309
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
234
310
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
235
|
-
[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", "
|
|
311
|
+
[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", "2016-01-22 15:16:09.931513"], ["updated_at", "2016-01-22 15:16:09.931513"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
236
312
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
237
313
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
238
|
-
[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", "
|
|
314
|
+
[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", "2016-01-22 15:16:09.933515"], ["updated_at", "2016-01-22 15:16:09.933515"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
239
315
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
240
316
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
241
|
-
[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", "
|
|
317
|
+
[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", "2016-01-22 15:16:09.935538"], ["updated_at", "2016-01-22 15:16:09.935538"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
242
318
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
243
319
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
244
|
-
[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", "
|
|
320
|
+
[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", "29"], ["created_at", "2016-01-22 15:16:09.937772"], ["updated_at", "2016-01-22 15:16:09.937772"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
245
321
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
246
322
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
247
|
-
[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", "
|
|
323
|
+
[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", "30"], ["created_at", "2016-01-22 15:16:09.939837"], ["updated_at", "2016-01-22 15:16:09.939837"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
248
324
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
249
325
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
250
|
-
[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", "
|
|
326
|
+
[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", "2016-01-22 15:16:09.941855"], ["updated_at", "2016-01-22 15:16:09.941855"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
251
327
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
252
328
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
253
|
-
[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", "
|
|
329
|
+
[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", "2016-01-22 15:16:09.943838"], ["updated_at", "2016-01-22 15:16:09.943838"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
254
330
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
255
331
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
256
|
-
[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", "
|
|
332
|
+
[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", "2016-01-22 15:16:09.945804"], ["updated_at", "2016-01-22 15:16:09.945804"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
257
333
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
258
334
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
259
|
-
[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", "
|
|
335
|
+
[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", "2016-01-22 15:16:09.947982"], ["updated_at", "2016-01-22 15:16:09.947982"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
260
336
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
261
337
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
262
|
-
[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", "
|
|
338
|
+
[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", "2016-01-22 15:16:09.949964"], ["updated_at", "2016-01-22 15:16:09.949964"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
263
339
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
264
340
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
265
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "36"], ["created_at", "2016-01-22 15:16:09.951926"], ["updated_at", "2016-01-22 15:16:09.951926"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
266
342
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
267
343
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
268
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "37"], ["created_at", "2016-01-22 15:16:09.953909"], ["updated_at", "2016-01-22 15:16:09.953909"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
269
345
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
270
346
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
271
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "38"], ["created_at", "2016-01-22 15:16:09.955874"], ["updated_at", "2016-01-22 15:16:09.955874"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
272
348
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
273
349
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
274
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "39"], ["created_at", "2016-01-22 15:16:09.957882"], ["updated_at", "2016-01-22 15:16:09.957882"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
275
351
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
276
352
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
277
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "40"], ["created_at", "2016-01-22 15:16:09.960205"], ["updated_at", "2016-01-22 15:16:09.960205"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
278
354
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
279
355
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
280
|
-
[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", "
|
|
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", "41"], ["created_at", "2016-01-22 15:16:09.962486"], ["updated_at", "2016-01-22 15:16:09.962486"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
281
357
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
282
358
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
283
359
|
Parameters: {"filter"=>"image"}
|
|
284
|
-
[1m[35mPushType::Asset Load (0.
|
|
360
|
+
[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
|
|
285
361
|
[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
|
|
286
|
-
Completed 200 OK in
|
|
362
|
+
Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
|
287
363
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
288
364
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
289
365
|
[1m[35m (0.1ms)[0m BEGIN
|
|
290
366
|
-------------------------------------------------------------------------------------------
|
|
291
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for images:
|
|
367
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0002_anonymous
|
|
292
368
|
-------------------------------------------------------------------------------------------
|
|
293
369
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
294
370
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
295
371
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
296
372
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
373
|
+
[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", "42"], ["created_at", "2016-01-22 15:16:09.975168"], ["updated_at", "2016-01-22 15:16:09.975168"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
298
374
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
299
375
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
376
|
+
[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", "43"], ["created_at", "2016-01-22 15:16:09.977414"], ["updated_at", "2016-01-22 15:16:09.977414"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
301
377
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
302
378
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
379
|
+
[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", "2016-01-22 15:16:09.979463"], ["updated_at", "2016-01-22 15:16:09.979463"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
304
380
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
305
381
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
382
|
+
[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", "2016-01-22 15:16:09.981520"], ["updated_at", "2016-01-22 15:16:09.981520"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
307
383
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
308
384
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
385
|
+
[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", "2016-01-22 15:16:09.983486"], ["updated_at", "2016-01-22 15:16:09.983486"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
310
386
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
311
387
|
[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", "
|
|
388
|
+
[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", "47"], ["created_at", "2016-01-22 15:16:09.985610"], ["updated_at", "2016-01-22 15:16:09.985610"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
313
389
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
314
390
|
[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", "
|
|
391
|
+
[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", "48"], ["created_at", "2016-01-22 15:16:09.987663"], ["updated_at", "2016-01-22 15:16:09.987663"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
316
392
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
317
393
|
[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", "
|
|
394
|
+
[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", "2016-01-22 15:16:09.989676"], ["updated_at", "2016-01-22 15:16:09.989676"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
319
395
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
320
396
|
[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", "
|
|
397
|
+
[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", "2016-01-22 15:16:09.991709"], ["updated_at", "2016-01-22 15:16:09.991709"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
322
398
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
323
399
|
[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", "
|
|
400
|
+
[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", "2016-01-22 15:16:09.993703"], ["updated_at", "2016-01-22 15:16:09.993703"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
325
401
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
326
402
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
327
|
-
[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", "
|
|
403
|
+
[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", "2016-01-22 15:16:09.995803"], ["updated_at", "2016-01-22 15:16:09.995803"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
328
404
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
329
405
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
330
|
-
[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", "
|
|
406
|
+
[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", "2016-01-22 15:16:09.997829"], ["updated_at", "2016-01-22 15:16:09.997829"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
331
407
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
332
408
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
333
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "54"], ["created_at", "2016-01-22 15:16:09.999830"], ["updated_at", "2016-01-22 15:16:09.999830"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
334
410
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
335
411
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
336
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "55"], ["created_at", "2016-01-22 15:16:10.001865"], ["updated_at", "2016-01-22 15:16:10.001865"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
337
413
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
338
414
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
339
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "56"], ["created_at", "2016-01-22 15:16:10.003845"], ["updated_at", "2016-01-22 15:16:10.003845"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
340
416
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
341
417
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
342
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "57"], ["created_at", "2016-01-22 15:16:10.005850"], ["updated_at", "2016-01-22 15:16:10.005850"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
343
419
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
344
420
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
345
|
-
[1m[36mSQL (0.
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "58"], ["created_at", "2016-01-22 15:16:10.008221"], ["updated_at", "2016-01-22 15:16:10.008221"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
346
422
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
347
423
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
348
|
-
[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", "
|
|
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", "59"], ["created_at", "2016-01-22 15:16:10.010593"], ["updated_at", "2016-01-22 15:16:10.010593"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
349
425
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
350
426
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
351
427
|
Parameters: {"filter"=>"image"}
|
|
352
|
-
[1m[35mPushType::Asset Load (0.
|
|
428
|
+
[1m[35mPushType::Asset Load (0.2ms)[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
|
|
353
429
|
[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
|
|
354
430
|
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
|
|
355
431
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
356
432
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
357
433
|
[1m[35m (0.1ms)[0m BEGIN
|
|
358
434
|
-------------------------------------------------------------------------------------------
|
|
359
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for images:
|
|
435
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0004_anonymous
|
|
360
436
|
-------------------------------------------------------------------------------------------
|
|
361
437
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
362
|
-
[1m[35m (0.
|
|
363
|
-
[1m[36m (0.
|
|
438
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
439
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
364
440
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
441
|
+
[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", "60"], ["created_at", "2016-01-22 15:16:10.018577"], ["updated_at", "2016-01-22 15:16:10.018577"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
366
442
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
367
443
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
444
|
+
[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", "61"], ["created_at", "2016-01-22 15:16:10.020798"], ["updated_at", "2016-01-22 15:16:10.020798"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
369
445
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
370
446
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
447
|
+
[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", "2016-01-22 15:16:10.022895"], ["updated_at", "2016-01-22 15:16:10.022895"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
372
448
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
373
449
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
450
|
+
[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", "2016-01-22 15:16:10.025021"], ["updated_at", "2016-01-22 15:16:10.025021"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
375
451
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
376
452
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
453
|
+
[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", "2016-01-22 15:16:10.027127"], ["updated_at", "2016-01-22 15:16:10.027127"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
378
454
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
379
455
|
[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", "
|
|
456
|
+
[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", "65"], ["created_at", "2016-01-22 15:16:10.029233"], ["updated_at", "2016-01-22 15:16:10.029233"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
381
457
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
382
458
|
[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", "
|
|
459
|
+
[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", "66"], ["created_at", "2016-01-22 15:16:10.031317"], ["updated_at", "2016-01-22 15:16:10.031317"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
384
460
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
385
461
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
386
|
-
[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", "
|
|
462
|
+
[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", "2016-01-22 15:16:10.033407"], ["updated_at", "2016-01-22 15:16:10.033407"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
387
463
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
388
464
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
389
|
-
[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", "
|
|
465
|
+
[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", "2016-01-22 15:16:10.035484"], ["updated_at", "2016-01-22 15:16:10.035484"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
390
466
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
391
467
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
392
|
-
[1m[35mSQL (0.
|
|
468
|
+
[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", "2016-01-22 15:16:10.037506"], ["updated_at", "2016-01-22 15:16:10.037506"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
393
469
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
394
470
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
395
|
-
[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", "
|
|
471
|
+
[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", "2016-01-22 15:16:10.039557"], ["updated_at", "2016-01-22 15:16:10.039557"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
396
472
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
397
473
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
398
|
-
[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", "
|
|
474
|
+
[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", "2016-01-22 15:16:10.041583"], ["updated_at", "2016-01-22 15:16:10.041583"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
399
475
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
400
476
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
401
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "72"], ["created_at", "2016-01-22 15:16:10.043576"], ["updated_at", "2016-01-22 15:16:10.043576"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
402
478
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
403
479
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
404
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "73"], ["created_at", "2016-01-22 15:16:10.045647"], ["updated_at", "2016-01-22 15:16:10.045647"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
405
481
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
406
482
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
407
|
-
[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", "
|
|
483
|
+
[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", "2016-01-22 15:16:10.047684"], ["updated_at", "2016-01-22 15:16:10.047684"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
408
484
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
409
485
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
410
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "75"], ["created_at", "2016-01-22 15:16:10.049705"], ["updated_at", "2016-01-22 15:16:10.049705"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
411
487
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
412
488
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
413
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "76"], ["created_at", "2016-01-22 15:16:10.051803"], ["updated_at", "2016-01-22 15:16:10.051803"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
414
490
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
415
491
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
416
|
-
[1m[35mSQL (0.
|
|
492
|
+
[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", "2016-01-22 15:16:10.053987"], ["updated_at", "2016-01-22 15:16:10.053987"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
417
493
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
418
494
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
419
495
|
Parameters: {"filter"=>"image"}
|
|
420
|
-
[1m[35mPushType::Asset Load (0.
|
|
421
|
-
[1m[36m (0.
|
|
422
|
-
Completed 200 OK in
|
|
496
|
+
[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
|
|
497
|
+
[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
|
|
498
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
|
423
499
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
424
500
|
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
425
501
|
[1m[35m (0.1ms)[0m BEGIN
|
|
426
502
|
-------------------------------------------------------------------------------------------
|
|
427
|
-
PushType::WysiwygMediaControllerTest::GET #index::filtering for images:
|
|
503
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for images: test_0001_anonymous
|
|
428
504
|
-------------------------------------------------------------------------------------------
|
|
429
|
-
[1m[36m (0.
|
|
430
|
-
[1m[35m (0.
|
|
505
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
506
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
431
507
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
432
508
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
509
|
+
[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", "78"], ["created_at", "2016-01-22 15:16:10.062741"], ["updated_at", "2016-01-22 15:16:10.062741"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
434
510
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
435
511
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
512
|
+
[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", "79"], ["created_at", "2016-01-22 15:16:10.065046"], ["updated_at", "2016-01-22 15:16:10.065046"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
437
513
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
438
514
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
515
|
+
[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", "80"], ["created_at", "2016-01-22 15:16:10.067249"], ["updated_at", "2016-01-22 15:16:10.067249"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
440
516
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
441
517
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
518
|
+
[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", "2016-01-22 15:16:10.069368"], ["updated_at", "2016-01-22 15:16:10.069368"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
443
519
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
444
520
|
[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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
521
|
+
[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", "2016-01-22 15:16:10.071458"], ["updated_at", "2016-01-22 15:16:10.071458"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
446
522
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
447
523
|
[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", "
|
|
524
|
+
[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", "83"], ["created_at", "2016-01-22 15:16:10.073676"], ["updated_at", "2016-01-22 15:16:10.073676"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
449
525
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
450
526
|
[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", "
|
|
527
|
+
[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", "84"], ["created_at", "2016-01-22 15:16:10.075778"], ["updated_at", "2016-01-22 15:16:10.075778"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
452
528
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
453
529
|
[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", "
|
|
530
|
+
[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", "85"], ["created_at", "2016-01-22 15:16:10.077854"], ["updated_at", "2016-01-22 15:16:10.077854"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
455
531
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
456
532
|
[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", "
|
|
533
|
+
[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", "86"], ["created_at", "2016-01-22 15:16:10.079980"], ["updated_at", "2016-01-22 15:16:10.079980"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
458
534
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
459
535
|
[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", "
|
|
536
|
+
[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", "87"], ["created_at", "2016-01-22 15:16:10.082030"], ["updated_at", "2016-01-22 15:16:10.082030"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
461
537
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
462
538
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
463
|
-
[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", "
|
|
539
|
+
[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", "88"], ["created_at", "2016-01-22 15:16:10.084130"], ["updated_at", "2016-01-22 15:16:10.084130"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
464
540
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
465
541
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
466
|
-
[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", "
|
|
542
|
+
[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", "89"], ["created_at", "2016-01-22 15:16:10.086221"], ["updated_at", "2016-01-22 15:16:10.086221"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
467
543
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
468
544
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
469
|
-
[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", "
|
|
545
|
+
[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", "90"], ["created_at", "2016-01-22 15:16:10.088263"], ["updated_at", "2016-01-22 15:16:10.088263"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
470
546
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
471
547
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
472
|
-
[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", "
|
|
548
|
+
[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", "91"], ["created_at", "2016-01-22 15:16:10.090313"], ["updated_at", "2016-01-22 15:16:10.090313"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
473
549
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
474
550
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
475
|
-
[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", "
|
|
551
|
+
[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", "92"], ["created_at", "2016-01-22 15:16:10.092328"], ["updated_at", "2016-01-22 15:16:10.092328"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
476
552
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
477
553
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
478
|
-
[1m[35mSQL (0.
|
|
554
|
+
[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", "93"], ["created_at", "2016-01-22 15:16:10.094377"], ["updated_at", "2016-01-22 15:16:10.094377"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
479
555
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
480
556
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
481
|
-
[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", "
|
|
557
|
+
[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", "94"], ["created_at", "2016-01-22 15:16:10.096715"], ["updated_at", "2016-01-22 15:16:10.096715"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
482
558
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
483
559
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
484
|
-
[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", "
|
|
560
|
+
[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", "95"], ["created_at", "2016-01-22 15:16:10.098941"], ["updated_at", "2016-01-22 15:16:10.098941"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
485
561
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
486
562
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
487
563
|
Parameters: {"filter"=>"image"}
|
|
488
564
|
[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
|
|
489
565
|
[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
|
|
490
|
-
Completed 200 OK in
|
|
491
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
492
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
493
|
-
[1m[35m (0.0ms)[0m BEGIN
|
|
494
|
-
--------------------------------------------------------------------------------------------
|
|
495
|
-
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0003_anonymous
|
|
496
|
-
--------------------------------------------------------------------------------------------
|
|
497
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
498
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
499
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
500
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
501
|
-
Parameters: {"asset"=>{}}
|
|
502
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
503
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
504
|
-
Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
|
505
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
506
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
507
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
508
|
-
--------------------------------------------------------------------------------------------
|
|
509
|
-
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0002_anonymous
|
|
510
|
-
--------------------------------------------------------------------------------------------
|
|
511
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
512
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
513
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
514
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
515
|
-
Parameters: {"asset"=>{}}
|
|
516
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
517
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
518
|
-
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
|
519
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
520
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
521
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
522
|
-
--------------------------------------------------------------------------------------------
|
|
523
|
-
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0001_anonymous
|
|
524
|
-
--------------------------------------------------------------------------------------------
|
|
525
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
526
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
527
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
528
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
529
|
-
Parameters: {"asset"=>{}}
|
|
530
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
531
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
532
|
-
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
|
566
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.5ms)
|
|
533
567
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
534
568
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
535
569
|
[1m[35m (0.1ms)[0m BEGIN
|
|
536
570
|
-----------------------------------------------
|
|
537
|
-
PushType::WysiwygFieldTest:
|
|
571
|
+
PushType::WysiwygFieldTest: test_0001_anonymous
|
|
538
572
|
-----------------------------------------------
|
|
539
573
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
540
574
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
541
575
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
542
576
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
543
577
|
[1m[36mPushType::Node Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-1' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
|
544
|
-
[1m[35mSQL (0.
|
|
545
|
-
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS
|
|
546
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "
|
|
578
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-1"], ["status", 0], ["created_at", "2016-01-22 15:16:10.127515"], ["updated_at", "2016-01-22 15:16:10.127515"]]
|
|
579
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS t03fe7a3567ffa4446c3bd59e45bd893c[0m
|
|
580
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "fc97b8dc-0410-4266-9c2c-74ce93a2598d"], ["descendant_id", "fc97b8dc-0410-4266-9c2c-74ce93a2598d"], ["generations", 0]]
|
|
547
581
|
[1m[36m (0.5ms)[0m [1mUPDATE "push_type_nodes"
|
|
548
582
|
SET "sort_order" = t.seq + -1
|
|
549
583
|
FROM (
|
|
@@ -553,24 +587,24 @@ FROM (
|
|
|
553
587
|
) AS t
|
|
554
588
|
WHERE "push_type_nodes"."id" = t.id
|
|
555
589
|
[0m
|
|
556
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.
|
|
557
|
-
[1m[36mPushType::Node Load (0.
|
|
558
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS
|
|
590
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.2ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "fc97b8dc-0410-4266-9c2c-74ce93a2598d"]]
|
|
591
|
+
[1m[36mPushType::Node Load (0.2ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "fc97b8dc-0410-4266-9c2c-74ce93a2598d"]]
|
|
592
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t0b8f1235da1a638cec789a924d1fe8a1
|
|
559
593
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
560
594
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
561
595
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
562
596
|
[1m[35m (0.1ms)[0m BEGIN
|
|
563
597
|
-----------------------------------------------
|
|
564
|
-
PushType::WysiwygFieldTest:
|
|
598
|
+
PushType::WysiwygFieldTest: test_0004_anonymous
|
|
565
599
|
-----------------------------------------------
|
|
566
|
-
[1m[36m (0.
|
|
567
|
-
[1m[35m (0.
|
|
568
|
-
[1m[36m (0.
|
|
600
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
601
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
602
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
569
603
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
570
|
-
[1m[36mPushType::Node Exists (0.
|
|
571
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-2"], ["status", 0], ["created_at", "2016-01-
|
|
572
|
-
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS
|
|
573
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "
|
|
604
|
+
[1m[36mPushType::Node Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-2' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
|
605
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-2"], ["status", 0], ["created_at", "2016-01-22 15:16:10.150619"], ["updated_at", "2016-01-22 15:16:10.150619"]]
|
|
606
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS tec97e3bfdc60424c679c023d84d884f6[0m
|
|
607
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "f0395752-7842-4615-b0b1-0a84d6827d60"], ["descendant_id", "f0395752-7842-4615-b0b1-0a84d6827d60"], ["generations", 0]]
|
|
574
608
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes"
|
|
575
609
|
SET "sort_order" = t.seq + -1
|
|
576
610
|
FROM (
|
|
@@ -580,24 +614,24 @@ FROM (
|
|
|
580
614
|
) AS t
|
|
581
615
|
WHERE "push_type_nodes"."id" = t.id
|
|
582
616
|
[0m
|
|
583
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.
|
|
584
|
-
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "
|
|
585
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS
|
|
617
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "f0395752-7842-4615-b0b1-0a84d6827d60"]]
|
|
618
|
+
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "f0395752-7842-4615-b0b1-0a84d6827d60"]]
|
|
619
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t0ff523c3fd725ec5d6130c81c9543916
|
|
586
620
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
587
621
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
588
622
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
589
623
|
[1m[35m (0.1ms)[0m BEGIN
|
|
590
624
|
-----------------------------------------------
|
|
591
|
-
PushType::WysiwygFieldTest:
|
|
625
|
+
PushType::WysiwygFieldTest: test_0005_anonymous
|
|
592
626
|
-----------------------------------------------
|
|
593
627
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
594
628
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
595
629
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
596
630
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
597
631
|
[1m[36mPushType::Node Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-3' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
|
598
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-3"], ["status", 0], ["created_at", "2016-01-
|
|
599
|
-
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS
|
|
600
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "
|
|
632
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-3"], ["status", 0], ["created_at", "2016-01-22 15:16:10.158488"], ["updated_at", "2016-01-22 15:16:10.158488"]]
|
|
633
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS tce737f7678b197af78a9aa3f5d8ac2c9[0m
|
|
634
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "42b8cbc4-e308-43e8-a13d-241dbeffc80a"], ["descendant_id", "42b8cbc4-e308-43e8-a13d-241dbeffc80a"], ["generations", 0]]
|
|
601
635
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes"
|
|
602
636
|
SET "sort_order" = t.seq + -1
|
|
603
637
|
FROM (
|
|
@@ -607,24 +641,24 @@ FROM (
|
|
|
607
641
|
) AS t
|
|
608
642
|
WHERE "push_type_nodes"."id" = t.id
|
|
609
643
|
[0m
|
|
610
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "
|
|
611
|
-
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "
|
|
612
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS
|
|
644
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "42b8cbc4-e308-43e8-a13d-241dbeffc80a"]]
|
|
645
|
+
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "42b8cbc4-e308-43e8-a13d-241dbeffc80a"]]
|
|
646
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t5b59866ec6035be79da1e16fc38c8a19
|
|
613
647
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
614
648
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
615
649
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
616
650
|
[1m[35m (0.1ms)[0m BEGIN
|
|
617
651
|
-----------------------------------------------
|
|
618
|
-
PushType::WysiwygFieldTest:
|
|
652
|
+
PushType::WysiwygFieldTest: test_0002_anonymous
|
|
619
653
|
-----------------------------------------------
|
|
620
|
-
[1m[36m (0.
|
|
654
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
621
655
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
622
656
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
623
657
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
624
658
|
[1m[36mPushType::Node Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-4' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
|
625
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-4"], ["status", 0], ["created_at", "2016-01-
|
|
626
|
-
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS
|
|
627
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "
|
|
659
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-4"], ["status", 0], ["created_at", "2016-01-22 15:16:10.166022"], ["updated_at", "2016-01-22 15:16:10.166022"]]
|
|
660
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS te1b0f9c8715241a4b95bec4ca584fd10[0m
|
|
661
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "8d79cc8d-63f9-49e2-9eef-b8e5f7e4932d"], ["descendant_id", "8d79cc8d-63f9-49e2-9eef-b8e5f7e4932d"], ["generations", 0]]
|
|
628
662
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes"
|
|
629
663
|
SET "sort_order" = t.seq + -1
|
|
630
664
|
FROM (
|
|
@@ -634,24 +668,24 @@ FROM (
|
|
|
634
668
|
) AS t
|
|
635
669
|
WHERE "push_type_nodes"."id" = t.id
|
|
636
670
|
[0m
|
|
637
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.
|
|
638
|
-
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "
|
|
639
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS
|
|
671
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "8d79cc8d-63f9-49e2-9eef-b8e5f7e4932d"]]
|
|
672
|
+
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "8d79cc8d-63f9-49e2-9eef-b8e5f7e4932d"]]
|
|
673
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS t50980b033cddfe38c9873cb25c4c93c1
|
|
640
674
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
641
675
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
642
676
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
643
677
|
[1m[35m (0.1ms)[0m BEGIN
|
|
644
678
|
-----------------------------------------------
|
|
645
|
-
PushType::WysiwygFieldTest:
|
|
679
|
+
PushType::WysiwygFieldTest: test_0003_anonymous
|
|
646
680
|
-----------------------------------------------
|
|
647
681
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
648
682
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
649
683
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
650
684
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
651
685
|
[1m[36mPushType::Node Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "push_type_nodes" WHERE ("push_type_nodes"."slug" = 'foo-bar-5' AND "push_type_nodes"."parent_id" IS NULL) LIMIT 1[0m
|
|
652
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-5"], ["status", 0], ["created_at", "2016-01-
|
|
653
|
-
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS
|
|
654
|
-
[1m[35mSQL (0.
|
|
686
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "push_type_nodes" ("field_store", "type", "title", "slug", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["field_store", "{\"foo\":\"abc\"}"], ["type", "PushType::WysiwygFieldTest::TestPage"], ["title", "Foo bar"], ["slug", "foo-bar-5"], ["status", 0], ["created_at", "2016-01-22 15:16:10.173625"], ["updated_at", "2016-01-22 15:16:10.173625"]]
|
|
687
|
+
[1m[36m (0.1ms)[0m [1mSELECT pg_try_advisory_lock(1213021721,0) AS t695d14830d74be59d4c6246fe6846b01[0m
|
|
688
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations") VALUES ($1, $2, $3) [["ancestor_id", "32bea0f2-3ac6-4565-9c68-3055ca2a485d"], ["descendant_id", "32bea0f2-3ac6-4565-9c68-3055ca2a485d"], ["generations", 0]]
|
|
655
689
|
[1m[36m (0.2ms)[0m [1mUPDATE "push_type_nodes"
|
|
656
690
|
SET "sort_order" = t.seq + -1
|
|
657
691
|
FROM (
|
|
@@ -661,840 +695,806 @@ FROM (
|
|
|
661
695
|
) AS t
|
|
662
696
|
WHERE "push_type_nodes"."id" = t.id
|
|
663
697
|
[0m
|
|
664
|
-
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "
|
|
665
|
-
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "
|
|
666
|
-
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS
|
|
698
|
+
[1m[35mPushType::WysiwygFieldTest::TestPage Load (0.1ms)[0m SELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."type" IN ('PushType::WysiwygFieldTest::TestPage') AND "push_type_nodes"."id" = $1 LIMIT 1 [["id", "32bea0f2-3ac6-4565-9c68-3055ca2a485d"]]
|
|
699
|
+
[1m[36mPushType::Node Load (0.1ms)[0m [1mSELECT "push_type_nodes".* FROM "push_type_nodes" WHERE "push_type_nodes"."parent_id" = $1 ORDER BY sort_order[0m [["parent_id", "32bea0f2-3ac6-4565-9c68-3055ca2a485d"]]
|
|
700
|
+
[1m[35m (0.1ms)[0m SELECT pg_advisory_unlock(1213021721,0) AS taafcbc66520604f514768bec44aa7512
|
|
667
701
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
668
702
|
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
669
703
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
670
704
|
[1m[35m (0.1ms)[0m BEGIN
|
|
705
|
+
--------------------------------------------------------------------------------------------
|
|
706
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0002_anonymous
|
|
707
|
+
--------------------------------------------------------------------------------------------
|
|
708
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
709
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
710
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
711
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
712
|
+
Parameters: {"asset"=>{}}
|
|
713
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
714
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
715
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
|
716
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
717
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
718
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
719
|
+
--------------------------------------------------------------------------------------------
|
|
720
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0001_anonymous
|
|
721
|
+
--------------------------------------------------------------------------------------------
|
|
722
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
723
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
724
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
725
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
726
|
+
Parameters: {"asset"=>{}}
|
|
727
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
728
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
729
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
|
730
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
731
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
732
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
733
|
+
--------------------------------------------------------------------------------------------
|
|
734
|
+
PushType::WysiwygMediaControllerTest::POST #create::with in-valid asset: test_0003_anonymous
|
|
735
|
+
--------------------------------------------------------------------------------------------
|
|
736
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
737
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
738
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
739
|
+
Processing by PushType::WysiwygMediaController#create as JSON
|
|
740
|
+
Parameters: {"asset"=>{}}
|
|
741
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
742
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
|
|
743
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
|
744
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
745
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
746
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
671
747
|
------------------------------------------------------------------------------------
|
|
672
748
|
PushType::WysiwygMediaControllerTest::POST #create::asset count: test_0001_anonymous
|
|
673
749
|
------------------------------------------------------------------------------------
|
|
674
|
-
[1m[36m (0.
|
|
675
|
-
[1m[35m (0.
|
|
750
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
751
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
676
752
|
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
677
753
|
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
678
754
|
Processing by PushType::WysiwygMediaController#create as JSON
|
|
679
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:
|
|
755
|
+
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f91b0dd8c10 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20160122-10247-75j50x>>}}
|
|
680
756
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
681
|
-
[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", "
|
|
757
|
+
[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", "96"], ["created_at", "2016-01-22 15:16:10.200471"], ["updated_at", "2016-01-22 15:16:10.200471"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
682
758
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
683
|
-
Completed 200 OK in
|
|
684
|
-
[1m[35m (0.
|
|
759
|
+
Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
|
760
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
685
761
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
686
762
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
687
763
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
688
|
-
|
|
689
|
-
PushType::
|
|
690
|
-
|
|
691
|
-
[1m[35m (0.
|
|
764
|
+
---------------------------------------------------------------------------
|
|
765
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0002_anonymous
|
|
766
|
+
---------------------------------------------------------------------------
|
|
767
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
692
768
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
693
|
-
[1m[35m (0.
|
|
769
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
694
770
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
695
|
-
[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", "
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "97"], ["created_at", "2016-01-22 15:16:10.207711"], ["updated_at", "2016-01-22 15:16:10.207711"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
696
772
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
697
773
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
698
|
-
[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", "
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "98"], ["created_at", "2016-01-22 15:16:10.209978"], ["updated_at", "2016-01-22 15:16:10.209978"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
699
775
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
700
776
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
701
|
-
[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", "
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "99"], ["created_at", "2016-01-22 15:16:10.212000"], ["updated_at", "2016-01-22 15:16:10.212000"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
702
778
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
703
779
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
704
|
-
[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", "
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "100"], ["created_at", "2016-01-22 15:16:10.214125"], ["updated_at", "2016-01-22 15:16:10.214125"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
705
781
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
706
|
-
[1m[36m (0.1ms)[0m [
|
|
707
|
-
[1m[
|
|
708
|
-
[1m[36m (0.1ms)[0m [
|
|
782
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
783
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
784
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
785
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
786
|
+
---------------------------------------------------------------------------
|
|
787
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0005_anonymous
|
|
788
|
+
---------------------------------------------------------------------------
|
|
789
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
790
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
791
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
709
792
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
710
|
-
[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", "
|
|
793
|
+
[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", "101"], ["created_at", "2016-01-22 15:16:10.218233"], ["updated_at", "2016-01-22 15:16:10.218233"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
711
794
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
712
795
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
713
|
-
[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", "
|
|
796
|
+
[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", "102"], ["created_at", "2016-01-22 15:16:10.220378"], ["updated_at", "2016-01-22 15:16:10.220378"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
714
797
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
715
798
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
716
|
-
[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", "
|
|
799
|
+
[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", "103"], ["created_at", "2016-01-22 15:16:10.222576"], ["updated_at", "2016-01-22 15:16:10.222576"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
717
800
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
718
801
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
719
|
-
[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", "
|
|
802
|
+
[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", "104"], ["created_at", "2016-01-22 15:16:10.224826"], ["updated_at", "2016-01-22 15:16:10.224826"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
720
803
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
721
|
-
[1m[35m (0.
|
|
722
|
-
[1m[
|
|
723
|
-
[1m[35m (0.1ms)[0m
|
|
804
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
805
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
806
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
807
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
808
|
+
---------------------------------------------------------------------------
|
|
809
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0004_anonymous
|
|
810
|
+
---------------------------------------------------------------------------
|
|
811
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
812
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
813
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
724
814
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
725
|
-
[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", "105"], ["created_at", "2016-01-22 15:16:10.229711"], ["updated_at", "2016-01-22 15:16:10.229711"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
726
816
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
727
817
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
728
|
-
[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", "106"], ["created_at", "2016-01-22 15:16:10.231966"], ["updated_at", "2016-01-22 15:16:10.231966"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
729
819
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
730
820
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
731
|
-
[1m[35mSQL (0.
|
|
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", "107"], ["created_at", "2016-01-22 15:16:10.234085"], ["updated_at", "2016-01-22 15:16:10.234085"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
732
822
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
733
823
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
734
|
-
[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", "108"], ["created_at", "2016-01-22 15:16:10.236170"], ["updated_at", "2016-01-22 15:16:10.236170"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
735
825
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
736
|
-
[1m[36m (0.
|
|
737
|
-
[1m[
|
|
738
|
-
[1m[36m (0.1ms)[0m [
|
|
826
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
827
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
828
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
829
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
830
|
+
---------------------------------------------------------------------------
|
|
831
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0001_anonymous
|
|
832
|
+
---------------------------------------------------------------------------
|
|
833
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
834
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
835
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
739
836
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
740
|
-
[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", "
|
|
837
|
+
[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", "109"], ["created_at", "2016-01-22 15:16:10.240366"], ["updated_at", "2016-01-22 15:16:10.240366"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
741
838
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
742
839
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
743
|
-
[1m[35mSQL (0.
|
|
840
|
+
[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", "110"], ["created_at", "2016-01-22 15:16:10.242405"], ["updated_at", "2016-01-22 15:16:10.242405"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
744
841
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
745
842
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
746
|
-
[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", "
|
|
843
|
+
[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", "111"], ["created_at", "2016-01-22 15:16:10.244569"], ["updated_at", "2016-01-22 15:16:10.244569"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
747
844
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
[1m[
|
|
751
|
-
[1m[35m (0.
|
|
752
|
-
Completed 200 OK in 122ms (Views: 0.9ms | ActiveRecord: 0.7ms)
|
|
845
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
846
|
+
[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", "112"], ["created_at", "2016-01-22 15:16:10.246666"], ["updated_at", "2016-01-22 15:16:10.246666"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
847
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
848
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
753
849
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
754
850
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
755
851
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
756
|
-
|
|
757
|
-
PushType::
|
|
758
|
-
|
|
759
|
-
[1m[35m (0.
|
|
852
|
+
---------------------------------------------------------------------------
|
|
853
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0003_anonymous
|
|
854
|
+
---------------------------------------------------------------------------
|
|
855
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
760
856
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
761
|
-
[1m[35m (0.
|
|
762
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
763
|
-
[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", "99"], ["created_at", "2016-01-08 13:24:38.408502"], ["updated_at", "2016-01-08 13:24:38.408502"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
764
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
765
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
766
|
-
[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", "2016-01-08 13:24:38.411523"], ["updated_at", "2016-01-08 13:24:38.411523"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
767
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
768
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
769
|
-
[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", "2016-01-08 13:24:38.414316"], ["updated_at", "2016-01-08 13:24:38.414316"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
770
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
771
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
772
|
-
[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", "2016-01-08 13:24:38.416477"], ["updated_at", "2016-01-08 13:24:38.416477"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
773
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
774
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
775
|
-
[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", "2016-01-08 13:24:38.418670"], ["updated_at", "2016-01-08 13:24:38.418670"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
776
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
777
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
778
|
-
[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", "104"], ["created_at", "2016-01-08 13:24:38.420828"], ["updated_at", "2016-01-08 13:24:38.420828"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
779
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
857
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
780
858
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
781
|
-
[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", "
|
|
859
|
+
[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", "113"], ["created_at", "2016-01-22 15:16:10.250734"], ["updated_at", "2016-01-22 15:16:10.250734"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
782
860
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
783
861
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
784
|
-
[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", "
|
|
862
|
+
[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", "114"], ["created_at", "2016-01-22 15:16:10.252778"], ["updated_at", "2016-01-22 15:16:10.252778"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
785
863
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
786
864
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
787
|
-
[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", "
|
|
865
|
+
[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", "115"], ["created_at", "2016-01-22 15:16:10.254785"], ["updated_at", "2016-01-22 15:16:10.254785"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
788
866
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
789
867
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
790
|
-
[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", "
|
|
868
|
+
[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", "116"], ["created_at", "2016-01-22 15:16:10.256873"], ["updated_at", "2016-01-22 15:16:10.256873"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
791
869
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
792
|
-
[1m[36m (0.1ms)[0m [
|
|
793
|
-
[1m[
|
|
794
|
-
[1m[36m (0.1ms)[0m [
|
|
870
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
871
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
872
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
873
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
874
|
+
--------------------------------------------------------------------------
|
|
875
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0007_anonymous
|
|
876
|
+
--------------------------------------------------------------------------
|
|
877
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
878
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
879
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
795
880
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
796
|
-
[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", "
|
|
881
|
+
[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", "117"], ["created_at", "2016-01-22 15:16:10.262007"], ["updated_at", "2016-01-22 15:16:10.262007"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
797
882
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
883
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
884
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
885
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
886
|
+
--------------------------------------------------------------------------
|
|
887
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0006_anonymous
|
|
888
|
+
--------------------------------------------------------------------------
|
|
889
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
890
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
891
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
798
892
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
799
|
-
[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", "
|
|
893
|
+
[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", "118"], ["created_at", "2016-01-22 15:16:10.265946"], ["updated_at", "2016-01-22 15:16:10.265946"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
800
894
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
895
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
896
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
897
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
898
|
+
--------------------------------------------------------------------------
|
|
899
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0003_anonymous
|
|
900
|
+
--------------------------------------------------------------------------
|
|
901
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
902
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
903
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
801
904
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
802
|
-
[1m[36mSQL (0.
|
|
905
|
+
[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", "119"], ["created_at", "2016-01-22 15:16:10.269755"], ["updated_at", "2016-01-22 15:16:10.269755"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
803
906
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
907
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
908
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
909
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
910
|
+
--------------------------------------------------------------------------
|
|
911
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0004_anonymous
|
|
912
|
+
--------------------------------------------------------------------------
|
|
913
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
914
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
915
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
804
916
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
805
|
-
[1m[35mSQL (0.
|
|
917
|
+
[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", "120"], ["created_at", "2016-01-22 15:16:10.281801"], ["updated_at", "2016-01-22 15:16:10.281801"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
806
918
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
919
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
920
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
921
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
922
|
+
--------------------------------------------------------------------------
|
|
923
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0001_anonymous
|
|
924
|
+
--------------------------------------------------------------------------
|
|
925
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
926
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
927
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
807
928
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
808
|
-
[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", "
|
|
929
|
+
[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", "121"], ["created_at", "2016-01-22 15:16:10.285944"], ["updated_at", "2016-01-22 15:16:10.285944"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
809
930
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
931
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
932
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
933
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
934
|
+
--------------------------------------------------------------------------
|
|
935
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0002_anonymous
|
|
936
|
+
--------------------------------------------------------------------------
|
|
937
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
938
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
939
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
810
940
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
811
|
-
[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", "
|
|
941
|
+
[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", "122"], ["created_at", "2016-01-22 15:16:10.289711"], ["updated_at", "2016-01-22 15:16:10.289711"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
812
942
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
943
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
944
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
945
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
946
|
+
--------------------------------------------------------------------------
|
|
947
|
+
PushType::WysiwygMediaHelperTest::#wysiwyg_asset_hash: test_0005_anonymous
|
|
948
|
+
--------------------------------------------------------------------------
|
|
949
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
950
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
951
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
813
952
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
814
|
-
[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", "
|
|
953
|
+
[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", "123"], ["created_at", "2016-01-22 15:16:10.293722"], ["updated_at", "2016-01-22 15:16:10.293722"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
815
954
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
816
|
-
Processing by PushType::WysiwygMediaController#index as JSON
|
|
817
|
-
Parameters: {"filter"=>"file"}
|
|
818
|
-
[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 0[0m
|
|
819
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
|
820
|
-
Completed 200 OK in 12ms (Views: 0.7ms | ActiveRecord: 0.5ms)
|
|
821
955
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
822
956
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
823
957
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
824
|
-
|
|
825
|
-
PushType::WysiwygMediaControllerTest::GET #index::
|
|
826
|
-
|
|
958
|
+
--------------------------------------------------------------------------------------
|
|
959
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0004_anonymous
|
|
960
|
+
--------------------------------------------------------------------------------------
|
|
961
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
962
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
827
963
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
828
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
829
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
830
964
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
831
|
-
[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", "124"], ["created_at", "2016-01-22 15:16:10.299311"], ["updated_at", "2016-01-22 15:16:10.299311"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
832
966
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
833
967
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
834
|
-
[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", "
|
|
968
|
+
[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", "125"], ["created_at", "2016-01-22 15:16:10.301979"], ["updated_at", "2016-01-22 15:16:10.301979"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
835
969
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
836
970
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
837
|
-
[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", "
|
|
971
|
+
[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", "126"], ["created_at", "2016-01-22 15:16:10.304675"], ["updated_at", "2016-01-22 15:16:10.304675"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
838
972
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
839
973
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
840
|
-
[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", "
|
|
974
|
+
[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", "127"], ["created_at", "2016-01-22 15:16:10.307309"], ["updated_at", "2016-01-22 15:16:10.307309"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
841
975
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
842
976
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
843
|
-
[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", "
|
|
977
|
+
[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", "128"], ["created_at", "2016-01-22 15:16:10.309689"], ["updated_at", "2016-01-22 15:16:10.309689"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
844
978
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
845
979
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
846
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "129"], ["created_at", "2016-01-22 15:16:10.312188"], ["updated_at", "2016-01-22 15:16:10.312188"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
847
981
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
848
982
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
849
|
-
[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", "
|
|
983
|
+
[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", "130"], ["created_at", "2016-01-22 15:16:10.314722"], ["updated_at", "2016-01-22 15:16:10.314722"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
850
984
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
851
985
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
852
|
-
[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", "
|
|
986
|
+
[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", "131"], ["created_at", "2016-01-22 15:16:10.317132"], ["updated_at", "2016-01-22 15:16:10.317132"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
853
987
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
854
988
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
855
|
-
[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", "
|
|
989
|
+
[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", "132"], ["created_at", "2016-01-22 15:16:10.319471"], ["updated_at", "2016-01-22 15:16:10.319471"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
856
990
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
857
991
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
858
|
-
[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", "
|
|
992
|
+
[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", "133"], ["created_at", "2016-01-22 15:16:10.321712"], ["updated_at", "2016-01-22 15:16:10.321712"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
859
993
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
860
994
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
861
|
-
[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", "
|
|
995
|
+
[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", "134"], ["created_at", "2016-01-22 15:16:10.324332"], ["updated_at", "2016-01-22 15:16:10.324332"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
862
996
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
863
997
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
864
|
-
[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", "
|
|
998
|
+
[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", "135"], ["created_at", "2016-01-22 15:16:10.326534"], ["updated_at", "2016-01-22 15:16:10.326534"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
865
999
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
866
1000
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
867
|
-
[1m[35mSQL (0.
|
|
1001
|
+
[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", "136"], ["created_at", "2016-01-22 15:16:10.328692"], ["updated_at", "2016-01-22 15:16:10.328692"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
868
1002
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
869
1003
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
870
|
-
[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", "
|
|
1004
|
+
[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", "137"], ["created_at", "2016-01-22 15:16:10.330823"], ["updated_at", "2016-01-22 15:16:10.330823"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
871
1005
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
872
1006
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
873
|
-
[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", "
|
|
1007
|
+
[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", "138"], ["created_at", "2016-01-22 15:16:10.334014"], ["updated_at", "2016-01-22 15:16:10.334014"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
874
1008
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
875
1009
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
876
|
-
[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", "
|
|
1010
|
+
[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", "139"], ["created_at", "2016-01-22 15:16:10.336022"], ["updated_at", "2016-01-22 15:16:10.336022"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
877
1011
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
878
1012
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
879
|
-
[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", "
|
|
1013
|
+
[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", "140"], ["created_at", "2016-01-22 15:16:10.338185"], ["updated_at", "2016-01-22 15:16:10.338185"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
880
1014
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
881
1015
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
882
|
-
[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", "
|
|
1016
|
+
[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", "141"], ["created_at", "2016-01-22 15:16:10.340194"], ["updated_at", "2016-01-22 15:16:10.340194"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
883
1017
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
884
1018
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
885
|
-
Parameters: {"filter"=>"file"}
|
|
886
|
-
[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
|
|
887
|
-
[1m[35m (0.
|
|
888
|
-
Completed 200 OK in
|
|
1019
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
|
1020
|
+
[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
|
|
1021
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
|
1022
|
+
Completed 200 OK in 98ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
|
889
1023
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
890
1024
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
891
1025
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
892
|
-
|
|
893
|
-
PushType::WysiwygMediaControllerTest::GET #index::
|
|
894
|
-
|
|
1026
|
+
--------------------------------------------------------------------------------------
|
|
1027
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0002_anonymous
|
|
1028
|
+
--------------------------------------------------------------------------------------
|
|
895
1029
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
896
1030
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
897
1031
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
898
1032
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
899
|
-
[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", "
|
|
1033
|
+
[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", "142"], ["created_at", "2016-01-22 15:16:10.443197"], ["updated_at", "2016-01-22 15:16:10.443197"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
900
1034
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
901
1035
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
902
|
-
[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", "
|
|
1036
|
+
[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", "143"], ["created_at", "2016-01-22 15:16:10.445959"], ["updated_at", "2016-01-22 15:16:10.445959"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
903
1037
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
904
1038
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
905
|
-
[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", "
|
|
1039
|
+
[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", "144"], ["created_at", "2016-01-22 15:16:10.448358"], ["updated_at", "2016-01-22 15:16:10.448358"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
906
1040
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
907
1041
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
908
|
-
[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", "
|
|
1042
|
+
[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", "145"], ["created_at", "2016-01-22 15:16:10.450527"], ["updated_at", "2016-01-22 15:16:10.450527"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
909
1043
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
910
1044
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
911
|
-
[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", "
|
|
1045
|
+
[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", "146"], ["created_at", "2016-01-22 15:16:10.452690"], ["updated_at", "2016-01-22 15:16:10.452690"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
912
1046
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
913
1047
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
914
|
-
[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", "
|
|
1048
|
+
[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", "147"], ["created_at", "2016-01-22 15:16:10.454829"], ["updated_at", "2016-01-22 15:16:10.454829"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
915
1049
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
916
1050
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
917
|
-
[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", "
|
|
1051
|
+
[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", "148"], ["created_at", "2016-01-22 15:16:10.456953"], ["updated_at", "2016-01-22 15:16:10.456953"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
918
1052
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
919
1053
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
920
|
-
[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", "
|
|
1054
|
+
[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", "149"], ["created_at", "2016-01-22 15:16:10.459109"], ["updated_at", "2016-01-22 15:16:10.459109"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
921
1055
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
922
1056
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
923
|
-
[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", "
|
|
1057
|
+
[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", "150"], ["created_at", "2016-01-22 15:16:10.461157"], ["updated_at", "2016-01-22 15:16:10.461157"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
924
1058
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
925
1059
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
926
|
-
[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", "
|
|
1060
|
+
[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", "151"], ["created_at", "2016-01-22 15:16:10.463187"], ["updated_at", "2016-01-22 15:16:10.463187"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
927
1061
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
928
1062
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
929
|
-
[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", "
|
|
1063
|
+
[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", "152"], ["created_at", "2016-01-22 15:16:10.465252"], ["updated_at", "2016-01-22 15:16:10.465252"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
930
1064
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
931
1065
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
932
|
-
[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", "
|
|
1066
|
+
[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", "153"], ["created_at", "2016-01-22 15:16:10.467251"], ["updated_at", "2016-01-22 15:16:10.467251"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
933
1067
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
934
1068
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
935
|
-
[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", "
|
|
1069
|
+
[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", "154"], ["created_at", "2016-01-22 15:16:10.469375"], ["updated_at", "2016-01-22 15:16:10.469375"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
936
1070
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
937
1071
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
938
|
-
[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", "
|
|
1072
|
+
[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", "155"], ["created_at", "2016-01-22 15:16:10.471422"], ["updated_at", "2016-01-22 15:16:10.471422"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
939
1073
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
940
1074
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
941
|
-
[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", "
|
|
1075
|
+
[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", "156"], ["created_at", "2016-01-22 15:16:10.473419"], ["updated_at", "2016-01-22 15:16:10.473419"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
942
1076
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
943
1077
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
944
|
-
[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", "
|
|
1078
|
+
[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", "157"], ["created_at", "2016-01-22 15:16:10.475504"], ["updated_at", "2016-01-22 15:16:10.475504"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
945
1079
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
946
1080
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
947
|
-
[1m[35mSQL (0.
|
|
1081
|
+
[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", "158"], ["created_at", "2016-01-22 15:16:10.477732"], ["updated_at", "2016-01-22 15:16:10.477732"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
948
1082
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
949
1083
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1084
|
+
[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", "159"], ["created_at", "2016-01-22 15:16:10.479754"], ["updated_at", "2016-01-22 15:16:10.479754"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
951
1085
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
952
1086
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
953
|
-
Parameters: {"filter"=>"file"}
|
|
954
|
-
[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
|
|
1087
|
+
Parameters: {"filter"=>"file", "page"=>2}
|
|
1088
|
+
[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
|
|
955
1089
|
[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/%')
|
|
956
|
-
Completed 200 OK in
|
|
1090
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
|
957
1091
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
958
1092
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
959
1093
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
960
1094
|
--------------------------------------------------------------------------------------
|
|
961
|
-
PushType::WysiwygMediaControllerTest::GET #index::with pagination:
|
|
1095
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0001_anonymous
|
|
962
1096
|
--------------------------------------------------------------------------------------
|
|
963
1097
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
964
|
-
[1m[36m (0.
|
|
965
|
-
[1m[35m (0.
|
|
1098
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1099
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
966
1100
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
967
|
-
[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", "
|
|
1101
|
+
[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", "160"], ["created_at", "2016-01-22 15:16:10.486987"], ["updated_at", "2016-01-22 15:16:10.486987"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
968
1102
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
969
1103
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
970
|
-
[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", "
|
|
1104
|
+
[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", "161"], ["created_at", "2016-01-22 15:16:10.489152"], ["updated_at", "2016-01-22 15:16:10.489152"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
971
1105
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
972
1106
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
973
|
-
[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", "
|
|
1107
|
+
[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", "162"], ["created_at", "2016-01-22 15:16:10.491190"], ["updated_at", "2016-01-22 15:16:10.491190"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
974
1108
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
975
1109
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
976
|
-
[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", "
|
|
1110
|
+
[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", "163"], ["created_at", "2016-01-22 15:16:10.493182"], ["updated_at", "2016-01-22 15:16:10.493182"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
977
1111
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
978
1112
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
979
|
-
[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", "
|
|
1113
|
+
[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", "164"], ["created_at", "2016-01-22 15:16:10.495175"], ["updated_at", "2016-01-22 15:16:10.495175"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
980
1114
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
981
1115
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
982
|
-
[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", "
|
|
1116
|
+
[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", "165"], ["created_at", "2016-01-22 15:16:10.497280"], ["updated_at", "2016-01-22 15:16:10.497280"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
983
1117
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
984
1118
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
985
|
-
[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", "
|
|
1119
|
+
[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", "166"], ["created_at", "2016-01-22 15:16:10.499282"], ["updated_at", "2016-01-22 15:16:10.499282"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
986
1120
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
987
1121
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1122
|
+
[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", "167"], ["created_at", "2016-01-22 15:16:10.501290"], ["updated_at", "2016-01-22 15:16:10.501290"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
989
1123
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
990
1124
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1125
|
+
[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", "168"], ["created_at", "2016-01-22 15:16:10.503381"], ["updated_at", "2016-01-22 15:16:10.503381"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
992
1126
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
993
1127
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1128
|
+
[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", "169"], ["created_at", "2016-01-22 15:16:10.505343"], ["updated_at", "2016-01-22 15:16:10.505343"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
995
1129
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
996
1130
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1131
|
+
[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", "170"], ["created_at", "2016-01-22 15:16:10.507327"], ["updated_at", "2016-01-22 15:16:10.507327"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
998
1132
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
999
1133
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1000
|
-
[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", "
|
|
1134
|
+
[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", "171"], ["created_at", "2016-01-22 15:16:10.509384"], ["updated_at", "2016-01-22 15:16:10.509384"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1001
1135
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1002
1136
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1003
|
-
[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", "
|
|
1137
|
+
[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", "172"], ["created_at", "2016-01-22 15:16:10.511350"], ["updated_at", "2016-01-22 15:16:10.511350"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1004
1138
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1005
1139
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1006
|
-
[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", "
|
|
1140
|
+
[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", "173"], ["created_at", "2016-01-22 15:16:10.513292"], ["updated_at", "2016-01-22 15:16:10.513292"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1007
1141
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1008
1142
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1009
|
-
[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", "
|
|
1143
|
+
[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", "174"], ["created_at", "2016-01-22 15:16:10.515251"], ["updated_at", "2016-01-22 15:16:10.515251"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1010
1144
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1011
1145
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1012
|
-
[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", "
|
|
1146
|
+
[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", "175"], ["created_at", "2016-01-22 15:16:10.517204"], ["updated_at", "2016-01-22 15:16:10.517204"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1013
1147
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1014
1148
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1015
|
-
[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", "
|
|
1149
|
+
[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", "176"], ["created_at", "2016-01-22 15:16:10.519222"], ["updated_at", "2016-01-22 15:16:10.519222"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1016
1150
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1017
1151
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1018
|
-
[1m[36mSQL (0.
|
|
1152
|
+
[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", "177"], ["created_at", "2016-01-22 15:16:10.521543"], ["updated_at", "2016-01-22 15:16:10.521543"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1019
1153
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1020
1154
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1021
1155
|
Parameters: {"filter"=>"file", "page"=>2}
|
|
1022
|
-
[1m[36mPushType::Asset Load (0.
|
|
1156
|
+
[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
|
|
1023
1157
|
[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/%')
|
|
1024
|
-
Completed 200 OK in 3ms (Views: 0.
|
|
1158
|
+
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
|
1025
1159
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1026
1160
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1027
1161
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1028
1162
|
--------------------------------------------------------------------------------------
|
|
1029
|
-
PushType::WysiwygMediaControllerTest::GET #index::with pagination:
|
|
1163
|
+
PushType::WysiwygMediaControllerTest::GET #index::with pagination: test_0003_anonymous
|
|
1030
1164
|
--------------------------------------------------------------------------------------
|
|
1031
|
-
[1m[35m (0.
|
|
1032
|
-
[1m[36m (0.
|
|
1165
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1166
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1033
1167
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1034
1168
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1169
|
+
[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", "178"], ["created_at", "2016-01-22 15:16:10.530061"], ["updated_at", "2016-01-22 15:16:10.530061"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1036
1170
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1037
1171
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1038
|
-
[1m[36mSQL (0.
|
|
1172
|
+
[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", "179"], ["created_at", "2016-01-22 15:16:10.532398"], ["updated_at", "2016-01-22 15:16:10.532398"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1039
1173
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1040
1174
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1175
|
+
[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", "180"], ["created_at", "2016-01-22 15:16:10.534531"], ["updated_at", "2016-01-22 15:16:10.534531"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1042
1176
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1043
1177
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1178
|
+
[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"], ["created_at", "2016-01-22 15:16:10.536608"], ["updated_at", "2016-01-22 15:16:10.536608"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1045
1179
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1046
1180
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1047
|
-
[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", "
|
|
1181
|
+
[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", "182"], ["created_at", "2016-01-22 15:16:10.538794"], ["updated_at", "2016-01-22 15:16:10.538794"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1048
1182
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1049
1183
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1050
|
-
[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", "
|
|
1184
|
+
[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", "183"], ["created_at", "2016-01-22 15:16:10.541023"], ["updated_at", "2016-01-22 15:16:10.541023"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1051
1185
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1052
1186
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1053
|
-
[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", "
|
|
1187
|
+
[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", "184"], ["created_at", "2016-01-22 15:16:10.543115"], ["updated_at", "2016-01-22 15:16:10.543115"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1054
1188
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1055
1189
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1056
|
-
[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", "
|
|
1190
|
+
[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", "185"], ["created_at", "2016-01-22 15:16:10.545261"], ["updated_at", "2016-01-22 15:16:10.545261"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1057
1191
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1058
1192
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1059
|
-
[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", "
|
|
1193
|
+
[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", "186"], ["created_at", "2016-01-22 15:16:10.547296"], ["updated_at", "2016-01-22 15:16:10.547296"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1060
1194
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1061
1195
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1062
|
-
[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", "
|
|
1196
|
+
[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", "187"], ["created_at", "2016-01-22 15:16:10.549596"], ["updated_at", "2016-01-22 15:16:10.549596"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1063
1197
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1064
1198
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1065
|
-
[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", "
|
|
1199
|
+
[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", "188"], ["created_at", "2016-01-22 15:16:10.551827"], ["updated_at", "2016-01-22 15:16:10.551827"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1066
1200
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1067
|
-
[1m[35m (0.
|
|
1068
|
-
[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", "
|
|
1201
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1202
|
+
[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", "189"], ["created_at", "2016-01-22 15:16:10.553855"], ["updated_at", "2016-01-22 15:16:10.553855"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1069
1203
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1070
1204
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1071
|
-
[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", "
|
|
1205
|
+
[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", "190"], ["created_at", "2016-01-22 15:16:10.555919"], ["updated_at", "2016-01-22 15:16:10.555919"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1072
1206
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1073
1207
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1074
|
-
[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", "
|
|
1208
|
+
[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", "191"], ["created_at", "2016-01-22 15:16:10.557924"], ["updated_at", "2016-01-22 15:16:10.557924"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1075
1209
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1076
1210
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1077
|
-
[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", "
|
|
1211
|
+
[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", "192"], ["created_at", "2016-01-22 15:16:10.560059"], ["updated_at", "2016-01-22 15:16:10.560059"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1078
1212
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1079
1213
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1214
|
+
[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", "193"], ["created_at", "2016-01-22 15:16:10.562258"], ["updated_at", "2016-01-22 15:16:10.562258"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1081
1215
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1082
1216
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1217
|
+
[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", "194"], ["created_at", "2016-01-22 15:16:10.564570"], ["updated_at", "2016-01-22 15:16:10.564570"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1084
1218
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1085
1219
|
[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", "document.pdf"], ["file_size", 15356], ["file_uid", "
|
|
1220
|
+
[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", "195"], ["created_at", "2016-01-22 15:16:10.566717"], ["updated_at", "2016-01-22 15:16:10.566717"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1087
1221
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1088
1222
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1089
1223
|
Parameters: {"filter"=>"file", "page"=>2}
|
|
1090
|
-
[1m[36mPushType::Asset Load (0.
|
|
1091
|
-
[1m[35m (0.
|
|
1092
|
-
Completed 200 OK in
|
|
1224
|
+
[1m[36mPushType::Asset Load (0.2ms)[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
|
|
1225
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "push_type_assets" WHERE "push_type_assets"."deleted_at" IS NULL AND (mime_type NOT LIKE 'image/%')
|
|
1226
|
+
Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
|
1093
1227
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1094
|
-
[1m[35m (0.
|
|
1228
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
1095
1229
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1096
|
-
|
|
1097
|
-
PushType::WysiwygMediaControllerTest::GET #index::
|
|
1098
|
-
|
|
1099
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1100
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1230
|
+
------------------------------------------------------------------------------------------
|
|
1231
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0002_anonymous
|
|
1232
|
+
------------------------------------------------------------------------------------------
|
|
1101
1233
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1234
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1235
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1102
1236
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1103
|
-
[1m[35mSQL (0.
|
|
1237
|
+
[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", "196"], ["created_at", "2016-01-22 15:16:10.589337"], ["updated_at", "2016-01-22 15:16:10.589337"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1104
1238
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1105
1239
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1106
|
-
[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", "
|
|
1240
|
+
[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", "197"], ["created_at", "2016-01-22 15:16:10.592044"], ["updated_at", "2016-01-22 15:16:10.592044"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1107
1241
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1108
1242
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1243
|
+
[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", "198"], ["created_at", "2016-01-22 15:16:10.594586"], ["updated_at", "2016-01-22 15:16:10.594586"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1110
1244
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1111
1245
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1246
|
+
[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", "199"], ["created_at", "2016-01-22 15:16:10.597172"], ["updated_at", "2016-01-22 15:16:10.597172"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1113
1247
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1114
1248
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1115
|
-
[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", "
|
|
1249
|
+
[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", "200"], ["created_at", "2016-01-22 15:16:10.599600"], ["updated_at", "2016-01-22 15:16:10.599600"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1116
1250
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1117
1251
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1118
|
-
[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", "
|
|
1252
|
+
[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", "201"], ["created_at", "2016-01-22 15:16:10.602031"], ["updated_at", "2016-01-22 15:16:10.602031"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1119
1253
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1120
1254
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1121
|
-
[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", "
|
|
1255
|
+
[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", "202"], ["created_at", "2016-01-22 15:16:10.604688"], ["updated_at", "2016-01-22 15:16:10.604688"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1122
1256
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1123
1257
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1124
|
-
[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", "
|
|
1258
|
+
[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", "203"], ["created_at", "2016-01-22 15:16:10.607312"], ["updated_at", "2016-01-22 15:16:10.607312"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1125
1259
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1126
1260
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1127
|
-
[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", "
|
|
1261
|
+
[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", "204"], ["created_at", "2016-01-22 15:16:10.609510"], ["updated_at", "2016-01-22 15:16:10.609510"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1128
1262
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1129
1263
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1130
|
-
[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", "
|
|
1264
|
+
[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", "205"], ["created_at", "2016-01-22 15:16:10.611670"], ["updated_at", "2016-01-22 15:16:10.611670"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1131
1265
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1132
1266
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1133
|
-
[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", "
|
|
1267
|
+
[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", "206"], ["created_at", "2016-01-22 15:16:10.613851"], ["updated_at", "2016-01-22 15:16:10.613851"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1134
1268
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1135
1269
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1136
|
-
[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", "
|
|
1270
|
+
[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", "207"], ["created_at", "2016-01-22 15:16:10.616176"], ["updated_at", "2016-01-22 15:16:10.616176"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1137
1271
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1138
1272
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1139
|
-
[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", "
|
|
1273
|
+
[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", "208"], ["created_at", "2016-01-22 15:16:10.619092"], ["updated_at", "2016-01-22 15:16:10.619092"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1140
1274
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1141
1275
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1142
|
-
[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", "
|
|
1276
|
+
[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", "209"], ["created_at", "2016-01-22 15:16:10.621592"], ["updated_at", "2016-01-22 15:16:10.621592"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1143
1277
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1144
1278
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1145
|
-
[1m[35mSQL (0.
|
|
1279
|
+
[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", "210"], ["created_at", "2016-01-22 15:16:10.624065"], ["updated_at", "2016-01-22 15:16:10.624065"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1146
1280
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1147
1281
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1148
|
-
[1m[36mSQL (0.
|
|
1282
|
+
[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", "211"], ["created_at", "2016-01-22 15:16:10.626499"], ["updated_at", "2016-01-22 15:16:10.626499"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1149
1283
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1150
1284
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1151
|
-
[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", "
|
|
1285
|
+
[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", "212"], ["created_at", "2016-01-22 15:16:10.629244"], ["updated_at", "2016-01-22 15:16:10.629244"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1152
1286
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1153
1287
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1154
|
-
[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", "
|
|
1288
|
+
[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", "213"], ["created_at", "2016-01-22 15:16:10.631719"], ["updated_at", "2016-01-22 15:16:10.631719"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1155
1289
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1156
1290
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1157
|
-
Parameters: {"filter"=>"file"
|
|
1158
|
-
[1m[36mPushType::Asset Load (0.
|
|
1291
|
+
Parameters: {"filter"=>"file"}
|
|
1292
|
+
[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 0[0m
|
|
1159
1293
|
[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/%')
|
|
1160
|
-
Completed 200 OK in
|
|
1294
|
+
Completed 200 OK in 14ms (Views: 1.1ms | ActiveRecord: 0.5ms)
|
|
1161
1295
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1162
1296
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1163
1297
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1164
|
-
|
|
1165
|
-
PushType::WysiwygMediaControllerTest::GET #index::
|
|
1166
|
-
|
|
1167
|
-
[1m[35m (0.
|
|
1298
|
+
------------------------------------------------------------------------------------------
|
|
1299
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0004_anonymous
|
|
1300
|
+
------------------------------------------------------------------------------------------
|
|
1301
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1168
1302
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1169
1303
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1170
1304
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1305
|
+
[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", "214"], ["created_at", "2016-01-22 15:16:10.650766"], ["updated_at", "2016-01-22 15:16:10.650766"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1172
1306
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1173
1307
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1174
|
-
[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", "
|
|
1308
|
+
[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", "215"], ["created_at", "2016-01-22 15:16:10.653199"], ["updated_at", "2016-01-22 15:16:10.653199"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1175
1309
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1176
1310
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1311
|
+
[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", "216"], ["created_at", "2016-01-22 15:16:10.655424"], ["updated_at", "2016-01-22 15:16:10.655424"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1178
1312
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1179
1313
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1180
|
-
[1m[36mSQL (0.
|
|
1314
|
+
[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", "217"], ["created_at", "2016-01-22 15:16:10.657699"], ["updated_at", "2016-01-22 15:16:10.657699"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1181
1315
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1182
1316
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1183
|
-
[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", "
|
|
1317
|
+
[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", "218"], ["created_at", "2016-01-22 15:16:10.659870"], ["updated_at", "2016-01-22 15:16:10.659870"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1184
1318
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1185
1319
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1186
|
-
[1m[36mSQL (0.
|
|
1320
|
+
[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", "219"], ["created_at", "2016-01-22 15:16:10.662041"], ["updated_at", "2016-01-22 15:16:10.662041"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1187
1321
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1188
1322
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1189
|
-
[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", "
|
|
1323
|
+
[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", "220"], ["created_at", "2016-01-22 15:16:10.664178"], ["updated_at", "2016-01-22 15:16:10.664178"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1190
1324
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1191
1325
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1192
|
-
[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", "
|
|
1326
|
+
[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", "221"], ["created_at", "2016-01-22 15:16:10.666422"], ["updated_at", "2016-01-22 15:16:10.666422"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1193
1327
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1194
1328
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1195
|
-
[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", "
|
|
1329
|
+
[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", "222"], ["created_at", "2016-01-22 15:16:10.668623"], ["updated_at", "2016-01-22 15:16:10.668623"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1196
1330
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1197
1331
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1198
|
-
[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", "
|
|
1332
|
+
[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", "223"], ["created_at", "2016-01-22 15:16:10.670821"], ["updated_at", "2016-01-22 15:16:10.670821"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1199
1333
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1200
1334
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1201
|
-
[1m[35mSQL (0.
|
|
1335
|
+
[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", "224"], ["created_at", "2016-01-22 15:16:10.672911"], ["updated_at", "2016-01-22 15:16:10.672911"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1202
1336
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1203
1337
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1204
|
-
[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", "
|
|
1338
|
+
[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", "225"], ["created_at", "2016-01-22 15:16:10.675181"], ["updated_at", "2016-01-22 15:16:10.675181"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1205
1339
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1206
1340
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1207
|
-
[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", "
|
|
1341
|
+
[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", "226"], ["created_at", "2016-01-22 15:16:10.677360"], ["updated_at", "2016-01-22 15:16:10.677360"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1208
1342
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1209
1343
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1210
|
-
[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", "
|
|
1344
|
+
[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", "227"], ["created_at", "2016-01-22 15:16:10.679475"], ["updated_at", "2016-01-22 15:16:10.679475"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1211
1345
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1212
1346
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1213
|
-
[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", "
|
|
1347
|
+
[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", "228"], ["created_at", "2016-01-22 15:16:10.681544"], ["updated_at", "2016-01-22 15:16:10.681544"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1214
1348
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1215
1349
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1216
|
-
[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", "
|
|
1350
|
+
[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", "229"], ["created_at", "2016-01-22 15:16:10.683703"], ["updated_at", "2016-01-22 15:16:10.683703"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1217
1351
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1218
1352
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1219
|
-
[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", "
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "230"], ["created_at", "2016-01-22 15:16:10.685959"], ["updated_at", "2016-01-22 15:16:10.685959"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1220
1354
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1221
1355
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1222
|
-
[1m[36mSQL (0.
|
|
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", "document.pdf"], ["file_size", 15356], ["file_uid", "231"], ["created_at", "2016-01-22 15:16:10.688495"], ["updated_at", "2016-01-22 15:16:10.688495"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1223
1357
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1224
1358
|
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1225
|
-
Parameters: {"filter"=>"file"
|
|
1226
|
-
[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
|
|
1359
|
+
Parameters: {"filter"=>"file"}
|
|
1360
|
+
[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 0[0m
|
|
1227
1361
|
[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/%')
|
|
1228
|
-
Completed 200 OK in
|
|
1362
|
+
Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.5ms)
|
|
1229
1363
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1230
1364
|
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1231
1365
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1232
|
-
|
|
1233
|
-
PushType::
|
|
1234
|
-
|
|
1366
|
+
------------------------------------------------------------------------------------------
|
|
1367
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0003_anonymous
|
|
1368
|
+
------------------------------------------------------------------------------------------
|
|
1235
1369
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1236
|
-
[1m[36m (0.
|
|
1370
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1237
1371
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1238
1372
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1239
|
-
[1m[35mSQL (0.
|
|
1373
|
+
[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", "232"], ["created_at", "2016-01-22 15:16:10.705341"], ["updated_at", "2016-01-22 15:16:10.705341"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1240
1374
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1241
1375
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
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", "image.png"], ["file_size", 2643], ["file_uid", "
|
|
1376
|
+
[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", "233"], ["created_at", "2016-01-22 15:16:10.707717"], ["updated_at", "2016-01-22 15:16:10.707717"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1243
1377
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1244
1378
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1245
|
-
[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", "
|
|
1379
|
+
[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", "234"], ["created_at", "2016-01-22 15:16:10.710132"], ["updated_at", "2016-01-22 15:16:10.710132"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1246
1380
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1247
1381
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1248
|
-
[1m[36mSQL (0.
|
|
1249
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1250
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1251
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1252
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1253
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1254
|
-
---------------------------------------------------------------------------
|
|
1255
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0001_anonymous
|
|
1256
|
-
---------------------------------------------------------------------------
|
|
1257
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1258
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1259
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1260
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1261
|
-
[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", "229"], ["created_at", "2016-01-08 13:24:38.818440"], ["updated_at", "2016-01-08 13:24:38.818440"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1382
|
+
[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", "235"], ["created_at", "2016-01-22 15:16:10.712396"], ["updated_at", "2016-01-22 15:16:10.712396"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1262
1383
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1263
1384
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1264
|
-
[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", "
|
|
1385
|
+
[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", "236"], ["created_at", "2016-01-22 15:16:10.714595"], ["updated_at", "2016-01-22 15:16:10.714595"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1265
1386
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1266
1387
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1267
|
-
[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", "
|
|
1388
|
+
[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", "237"], ["created_at", "2016-01-22 15:16:10.716951"], ["updated_at", "2016-01-22 15:16:10.716951"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1268
1389
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1269
1390
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1270
|
-
[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[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1272
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
1273
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1274
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1275
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1276
|
-
---------------------------------------------------------------------------
|
|
1277
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0004_anonymous
|
|
1278
|
-
---------------------------------------------------------------------------
|
|
1279
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1280
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1281
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1282
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1283
|
-
[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", "2016-01-08 13:24:38.830900"], ["updated_at", "2016-01-08 13:24:38.830900"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1391
|
+
[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", "238"], ["created_at", "2016-01-22 15:16:10.719117"], ["updated_at", "2016-01-22 15:16:10.719117"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1284
1392
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1285
1393
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1286
|
-
[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", "
|
|
1394
|
+
[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", "239"], ["created_at", "2016-01-22 15:16:10.721604"], ["updated_at", "2016-01-22 15:16:10.721604"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1287
1395
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1288
1396
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1289
|
-
[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", "
|
|
1397
|
+
[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", "240"], ["created_at", "2016-01-22 15:16:10.723748"], ["updated_at", "2016-01-22 15:16:10.723748"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1290
1398
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1291
1399
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1292
|
-
[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", "
|
|
1293
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1294
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1295
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1296
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1297
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1298
|
-
---------------------------------------------------------------------------
|
|
1299
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0003_anonymous
|
|
1300
|
-
---------------------------------------------------------------------------
|
|
1301
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1302
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1303
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1304
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1305
|
-
[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", "237"], ["created_at", "2016-01-08 13:24:38.842846"], ["updated_at", "2016-01-08 13:24:38.842846"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1400
|
+
[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", "241"], ["created_at", "2016-01-22 15:16:10.725937"], ["updated_at", "2016-01-22 15:16:10.725937"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1306
1401
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1307
1402
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1308
|
-
[1m[35mSQL (0.
|
|
1403
|
+
[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", "242"], ["created_at", "2016-01-22 15:16:10.728194"], ["updated_at", "2016-01-22 15:16:10.728194"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1309
1404
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1310
1405
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1311
|
-
[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", "
|
|
1406
|
+
[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", "243"], ["created_at", "2016-01-22 15:16:10.730681"], ["updated_at", "2016-01-22 15:16:10.730681"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1312
1407
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1313
1408
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1314
|
-
[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[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1316
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "push_type_assets"
|
|
1317
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1318
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1319
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1320
|
-
---------------------------------------------------------------------------
|
|
1321
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_meta: test_0005_anonymous
|
|
1322
|
-
---------------------------------------------------------------------------
|
|
1323
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1324
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1325
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1326
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1327
|
-
[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", "241"], ["created_at", "2016-01-08 13:24:38.856245"], ["updated_at", "2016-01-08 13:24:38.856245"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1409
|
+
[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", "244"], ["created_at", "2016-01-22 15:16:10.733009"], ["updated_at", "2016-01-22 15:16:10.733009"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1328
1410
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1329
1411
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1330
|
-
[1m[36mSQL (0.
|
|
1412
|
+
[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", "245"], ["created_at", "2016-01-22 15:16:10.735359"], ["updated_at", "2016-01-22 15:16:10.735359"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1331
1413
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1332
1414
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1333
|
-
[1m[35mSQL (0.
|
|
1415
|
+
[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", "246"], ["created_at", "2016-01-22 15:16:10.737556"], ["updated_at", "2016-01-22 15:16:10.737556"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1334
1416
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1335
1417
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1336
|
-
[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[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1338
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1339
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1340
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1341
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1342
|
-
---------------------------------------------------------------------------
|
|
1343
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0003_anonymous
|
|
1344
|
-
---------------------------------------------------------------------------
|
|
1345
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1346
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1347
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1348
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1349
|
-
[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", "245"], ["created_at", "2016-01-08 13:24:38.871757"], ["updated_at", "2016-01-08 13:24:38.871757"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1418
|
+
[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", "247"], ["created_at", "2016-01-22 15:16:10.739814"], ["updated_at", "2016-01-22 15:16:10.739814"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1350
1419
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1351
1420
|
[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", "
|
|
1421
|
+
[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", "248"], ["created_at", "2016-01-22 15:16:10.741988"], ["updated_at", "2016-01-22 15:16:10.741988"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1353
1422
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1354
1423
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1355
|
-
[1m[36mSQL (0.
|
|
1356
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1357
|
-
[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", "image.png"], ["file_size", 2643], ["file_uid", "248"], ["created_at", "2016-01-08 13:24:38.880725"], ["updated_at", "2016-01-08 13:24:38.880725"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1359
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1360
|
-
[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
|
|
1361
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1362
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1363
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1364
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1365
|
-
---------------------------------------------------------------------------
|
|
1366
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0001_anonymous
|
|
1367
|
-
---------------------------------------------------------------------------
|
|
1368
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1369
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1370
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1371
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1372
|
-
[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", "249"], ["created_at", "2016-01-08 13:24:38.887194"], ["updated_at", "2016-01-08 13:24:38.887194"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1424
|
+
[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", "249"], ["created_at", "2016-01-22 15:16:10.744206"], ["updated_at", "2016-01-22 15:16:10.744206"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1373
1425
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1426
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1427
|
+
Parameters: {"filter"=>"file"}
|
|
1428
|
+
[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 0[0m
|
|
1429
|
+
[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/%')
|
|
1430
|
+
Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 0.5ms)
|
|
1431
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1432
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1433
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1434
|
+
------------------------------------------------------------------------------------------
|
|
1435
|
+
PushType::WysiwygMediaControllerTest::GET #index::filtering for files: test_0001_anonymous
|
|
1436
|
+
------------------------------------------------------------------------------------------
|
|
1437
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1438
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1439
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1374
1440
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1375
|
-
[1m[35mSQL (0.
|
|
1441
|
+
[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", "250"], ["created_at", "2016-01-22 15:16:10.759319"], ["updated_at", "2016-01-22 15:16:10.759319"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1376
1442
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1377
1443
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1378
|
-
[1m[36mSQL (0.
|
|
1444
|
+
[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", "2016-01-22 15:16:10.761660"], ["updated_at", "2016-01-22 15:16:10.761660"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1379
1445
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1380
1446
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1381
|
-
[1m[35mSQL (0.
|
|
1447
|
+
[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", "2016-01-22 15:16:10.763811"], ["updated_at", "2016-01-22 15:16:10.763811"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1382
1448
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1383
|
-
[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
|
|
1384
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1385
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1386
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1387
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1388
|
-
---------------------------------------------------------------------------
|
|
1389
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0005_anonymous
|
|
1390
|
-
---------------------------------------------------------------------------
|
|
1391
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1392
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1393
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1394
1449
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1395
|
-
[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", "2016-01-
|
|
1450
|
+
[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", "2016-01-22 15:16:10.765911"], ["updated_at", "2016-01-22 15:16:10.765911"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1396
1451
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1397
1452
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1398
|
-
[1m[35mSQL (0.
|
|
1453
|
+
[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", "254"], ["created_at", "2016-01-22 15:16:10.768019"], ["updated_at", "2016-01-22 15:16:10.768019"], ["file_ext", "png"], ["mime_type", "image/png"]]
|
|
1399
1454
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1400
1455
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1401
|
-
[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", "
|
|
1456
|
+
[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", "255"], ["created_at", "2016-01-22 15:16:10.770275"], ["updated_at", "2016-01-22 15:16:10.770275"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1402
1457
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1403
1458
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1404
|
-
[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", "
|
|
1459
|
+
[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", "256"], ["created_at", "2016-01-22 15:16:10.772398"], ["updated_at", "2016-01-22 15:16:10.772398"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1405
1460
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1406
|
-
[1m[35mPushType::Asset Load (0.3ms)[0m SELECT "push_type_assets".* FROM "push_type_assets" ORDER BY "push_type_assets"."created_at" DESC LIMIT 2 OFFSET 0
|
|
1407
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1408
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1409
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1410
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1411
|
-
---------------------------------------------------------------------------
|
|
1412
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0004_anonymous
|
|
1413
|
-
---------------------------------------------------------------------------
|
|
1414
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1415
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1416
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1417
1461
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1418
|
-
[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", "
|
|
1462
|
+
[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", "257"], ["created_at", "2016-01-22 15:16:10.774617"], ["updated_at", "2016-01-22 15:16:10.774617"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1419
1463
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1420
1464
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1421
|
-
[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", "
|
|
1465
|
+
[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", "258"], ["created_at", "2016-01-22 15:16:10.776731"], ["updated_at", "2016-01-22 15:16:10.776731"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1422
1466
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1423
1467
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1424
|
-
[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", "
|
|
1468
|
+
[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", "259"], ["created_at", "2016-01-22 15:16:10.778831"], ["updated_at", "2016-01-22 15:16:10.778831"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1425
1469
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1426
1470
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1427
|
-
[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", "
|
|
1471
|
+
[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", "260"], ["created_at", "2016-01-22 15:16:10.781014"], ["updated_at", "2016-01-22 15:16:10.781014"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1428
1472
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1429
|
-
[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
|
|
1430
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1431
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1432
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1433
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1434
|
-
---------------------------------------------------------------------------
|
|
1435
|
-
PushType::WysiwygMediaHelperTest::#wysiwyg_assets_hash: test_0002_anonymous
|
|
1436
|
-
---------------------------------------------------------------------------
|
|
1437
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1438
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1439
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1440
1473
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1441
|
-
[1m[36mSQL (0.
|
|
1474
|
+
[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", "261"], ["created_at", "2016-01-22 15:16:10.783097"], ["updated_at", "2016-01-22 15:16:10.783097"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1442
1475
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1443
1476
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1444
|
-
[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", "
|
|
1477
|
+
[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", "262"], ["created_at", "2016-01-22 15:16:10.785189"], ["updated_at", "2016-01-22 15:16:10.785189"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1445
1478
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1446
1479
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1447
|
-
[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", "
|
|
1480
|
+
[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", "263"], ["created_at", "2016-01-22 15:16:10.787287"], ["updated_at", "2016-01-22 15:16:10.787287"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1448
1481
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1449
1482
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1450
|
-
[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", "
|
|
1483
|
+
[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", "264"], ["created_at", "2016-01-22 15:16:10.789531"], ["updated_at", "2016-01-22 15:16:10.789531"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1451
1484
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1452
|
-
[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
|
|
1453
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "push_type_assets"[0m
|
|
1454
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1455
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1456
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1457
|
-
-----------------------------------------------------------------------------------------
|
|
1458
|
-
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0003_anonymous
|
|
1459
|
-
-----------------------------------------------------------------------------------------
|
|
1460
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1461
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1462
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1463
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
1464
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f979bfc80c0 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20160108-6378-1xwrrlh>>}}
|
|
1465
1485
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1466
|
-
[1m[36mSQL (0.
|
|
1486
|
+
[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", "265"], ["created_at", "2016-01-22 15:16:10.791796"], ["updated_at", "2016-01-22 15:16:10.791796"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1467
1487
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1468
|
-
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
|
1469
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1470
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
|
1471
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1472
|
-
-----------------------------------------------------------------------------------------
|
|
1473
|
-
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0002_anonymous
|
|
1474
|
-
-----------------------------------------------------------------------------------------
|
|
1475
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1476
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1477
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1478
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
1479
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f97a3063ac8 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20160108-6378-17miz1p>>}}
|
|
1480
1488
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
|
1481
|
-
[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", "
|
|
1489
|
+
[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", "266"], ["created_at", "2016-01-22 15:16:10.794037"], ["updated_at", "2016-01-22 15:16:10.794037"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1482
1490
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
|
1483
|
-
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
|
1484
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
|
1485
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
1486
|
-
[1m[35m (0.1ms)[0m BEGIN
|
|
1487
|
-
-----------------------------------------------------------------------------------------
|
|
1488
|
-
PushType::WysiwygMediaControllerTest::POST #create::with valid asset: test_0001_anonymous
|
|
1489
|
-
-----------------------------------------------------------------------------------------
|
|
1490
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1491
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1492
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1493
|
-
Processing by PushType::WysiwygMediaController#create as JSON
|
|
1494
|
-
Parameters: {"asset"=>{"file"=>#<Rack::Test::UploadedFile:0x007f97a307b538 @content_type="text/plain", @original_filename="image.png", @tempfile=#<Tempfile:/var/folders/c4/6qjwj9_n54zcj3sjqtq42y480000gn/T/image.png20160108-6378-1fe44c5>>}}
|
|
1495
1491
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
|
1496
|
-
[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", "
|
|
1492
|
+
[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", "267"], ["created_at", "2016-01-22 15:16:10.796212"], ["updated_at", "2016-01-22 15:16:10.796212"], ["file_ext", "pdf"], ["mime_type", "application/pdf"]]
|
|
1497
1493
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
|
1498
|
-
|
|
1494
|
+
Processing by PushType::WysiwygMediaController#index as JSON
|
|
1495
|
+
Parameters: {"filter"=>"file"}
|
|
1496
|
+
[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 0[0m
|
|
1497
|
+
[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/%')
|
|
1498
|
+
Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 0.5ms)
|
|
1499
1499
|
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
|
1500
1500
|
[1m[35m (0.1ms)[0m ROLLBACK
|