guts 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/app/assets/javascripts/guts/application.js.erb +2 -0
- data/app/assets/stylesheets/guts/application.scss +2 -0
- data/lib/guts/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +1037 -0
- data/test/dummy/log/test.log +3434 -0
- data/test/dummy/public/system/guts/media/166/075/618/compact/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/grande/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/large/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/medium/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/small/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/supreme/spongebob.png +0 -0
- data/test/dummy/public/system/guts/media/166/075/618/thumb/spongebob.png +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/-8/-8pGGzMGytoHAqvyxqaQiKnhzox6ajvz-NoJA7xqf34.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/09/099qH9C2t9SxDmbjUOfIggX9zquKWX5x3clAAQTLolw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/0R/0RVr_vjG8k5-V2ELl1G5ZXJNJKxkQe9r8r__xvFzuwE.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/17/17PuZfqH1UgU63gcYUSIbtfiYDzq9yRPLAhVcDLlocg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/1_/1_imIFGnUz8IGkftDJbBK1yaTF12UDnJUUxmktSm7OM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/3E/3E0rNP85dUFjTYnTzs8wVXNvaAOFt45i5FS6bqgiQHc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/45/45hsVNj6U1894ziY_nm6rBqmLPSiHwpqGWiabCHyYOQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/4k/4k3YSVbeTjnvkh52re7ubw5OEHapD8IPhRmdVSS9A5g.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/4o/4olrVUlPJEgCHfaS-zpoaqcL8jhkI-E80XqNEX5gqAI.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/8f/8fPSd5VODr5zafhFtmDNsGG16g-K-9l-vu1VF-FO_3c.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/9E/9EISAQGFyzUMqClLUKzkDjGw1TlJSqbLgEf9B5a5JLY.cache +7 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/BV/BVYsptjq26AvToiDXoLBWBnsF3G7f32cs4OgPpKE3vk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Bi/BindLwCJAceTBD7rXrLhJ9I97TviD22NA1KTqLIEcds.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cp/CpJhc84ikUAajbHDeka-q2pBQC-7xLoAcyGKQhLjC2A.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/D9/D9X2za6MGjJgQxahu7vgsc8nd8_yTjb1tYEtOOUIfdI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/DH/DH_h7-_wtGtSJcOK4q2XwGb3_wiGFshadUXE1DUZ1Dw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/DW/DWyHiaLwMUiI__cdOFwTXdU8SD6Lr_9mrzKG56Uglgs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/E1/E19xh5BAVvZMe7Ny2F0WCT39ef1Q60sl-FFWsAQzvWQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/FB/FBHhDgrc3BqIzE-gmYDkbsbui8GAvRJzTqIVyPqsiEA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ft/fTYeJrrLPkCrubgRF-vuaVt8XRDjtyq3rIUTw-9O-Vw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fu/FuWKcmBc2VSsDPDXW-IFHlzxsdwPjxb6hgjiDpac4nI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fu/fUDpTguuIjHB1CZIS7VWrC2uQA6PDoaYUxsgsiWN1og.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/O6/O6eUoiV8uRYJT2OIoNcooaL1nmgGjEXwEWPS5hsHrvo.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ou/OuYld_eZw6NMMbWqX_ac1o1Ty_5WV6f4QurfUCn2Uw8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ox/oxeVu1PsgrOqY06NU3x7LXcKmDmo8SrAdbUC0sImRog.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ps/psNLm4SHkOazJDlN9j0nk9F9UKValtRW4ED2czUh1bk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rq/rQp2EQP7stU5brUF-3lfhGJx6Iso1Lmtt_PGghRaDVs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/T2/T2UROv9oqEEO2x9_kGzu6__vn50vfO_kKq6AD2-HvTQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/TJ/TJc9SkhRPWeqJTjdgMkXa0ObY-nFFYPFfA6FY93g1BQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/TR/TRhSO8Tg2cljJHorDYCVj2GOYMNtC_9AnMpNO91B0tw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Tf/Tfx8xmax8P2whou7ruPzLBvLcUv0PFiSX-1Z4AEWVt0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/U2/u2UMmMz1hKca3z5vuJPyAPZZKEBRtinEGv3EHebn520.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/UB/UBKnit5-fiVhYE7RlM5mBjstQphGH1G-acGJRvBt-Zs.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ui/uidZtywoiBwu3PWGLbWWP4nnG5raMShRdfAS_gc3u2Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/VH/VH6aTrqr5H4zeU2pwfaznFUjlrQ9gYubXTM1keHdFf0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/W2/W2AL36yJ8-cA-ZH0NzW8r15o1jfSapNUwFljdPmPllI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/XU/XUeP5tam7KywBQqT7bd_0QGM9w8ifIsOZwM_XdmnxkA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ye/yelm9jGQ_im-vmZ4CQWI_Ntk3sHT0wA0tnbwq-6gmOk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yt/YtDfYqSdzlKTO1FZxT818-KM7SLLpeUFYNDXKTKF30g.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZH/ZHAMOrkXYILcn2fnwsesWKutDMMCZ4Anux7f4utYLuU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZX/ZXuUrEZvruy8oSDuPcnkPkgUqqCzxzGmf7wIKOgl5zQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/_G/_gPFwN3Mpe8vsl1e9WsNg_hCLvXUZ8ZZeF_8_X9J2lc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/_J/_JngYZDewKo2tNA0dc5t8C_EA3KMg0qIivImvssv43M.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ap/APl89FO7l_m_Snd35oE39XNMlz4V_8nI8daLbX_ZmYY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/bw/bw3rEYP5OyZUYJ6U0vRPJr_bfgQk_k29yN80k3FS7gQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/cJ/cJkLWbWNBfZXoU7OMhFC8sbDaKADc_FDBShAAC1Abv8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/cu/cuQo7ohpXnKJ1Xrd34ygunKennPEcZgnTUFhOFrhtc4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/da/daehZQfQ7KBlb_rL4FIwWz4BPqi52FtaCsW-RmXt-dk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/dq/Dqz7meh_VfnoCDIXG510A8vnzxJ7t8EJhOW-dgiQzyE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/du/dUJB8glMGLZOehHVIPflJZU9LeV2BwfY76ktRpLa3w8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/eJ/eJ-XLo5jaw_2cPYUeS9HG3EPu_-lfM-2QqSdxe9aGps.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gg/GGXopbVGcPvY1M_r-q5gULQyMgnAQqalf0S1pvsl9Co.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gg/ggDqUNNflpQrw0jW7f-NZ6hHAJQY1AEh3698yTN5Sfk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/h-/h--JkR6hCpd2RJWhAjr2fY4GczcwSBcnO62nx5TL97E.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hk/hkGbM-pCwbdCSrGYhSfJBB5CdnC3DNK7NuRR-aXZ-xY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/iD/iDPUIheh0Op8vm7zXX5bLTjFqTq0TYdvLD5HZIp1zGQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/if/IfE6WOk1agCMYF_oYosGhVJgUH897nQfaw8VPWKG9yQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/kI/KiHBp2QJ-HjwQczi-puoLOKrTkaHb2J1Q2_lGB0aTBA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/kQ/kq-Ccqxlq6aHD27_K4qA9NZc1rxLRa5Llxx9BO-sr08.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/m4/m4KNE0Mlncn6Sf7qmNKshhD-9GdOkPcsH0UXDMV4EjI.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mS/mS7EZilwa-PdpRW9Xzcp0YhqtLNeVMCbKxyOxR9c2jU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mW/mWwpo2Dmm96lQmbICHqb6w-SDZGufaHmTNLAiRfQKzI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mu/MUoWG4zqxLuQ0-xVgifFTHJc_dMIT39u3qoiHFOqR08.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/nQ/NQCpbP3a6WJ71sYMIZvejr6a85_VpV0-wZIGUO1OQRI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/oa/oauMjL1YMJWi7PIGBna6m0ekA04c2V6PFoZAaKjYqHA.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/op/opZcC326kiA5-YIpLGMfN63_TeTLWknWP_i_vlu1pD8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pt/ptSYbUClG0UfORL3ufh4meJlL_-iL5iXIZDmtzcHVTU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/qy/qyHYLy8xV3s0nfi47dT6GsMTdcJsM8cxjh50nyMBbFo.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/r1/r1zmkSw6B3_a443RRl9d2noRfiNg_jQFBJOcYQl_16I.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/sc/scdvn07Yu5BZY2Q-WZjF4w8OeRYBzN4ZoGedLvvlG4I.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/tQ/tQ4XnBYh51t6yC0wT-4i52Wg9GKtT3P2WPUa5aIDEag.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/w_/w_53Ba2fflac01qqKq0S-5CskkBaggUqX7COPhjWsy4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/xG/xGmxbkw__dleUjUlPqnH8BHAIrIJQP1c7xuKxUpWY-c.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/yz/yzJuajdKHlRwvOGDWUAWvk6yA_49WPWjeu1u2bb0x1c.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/zI/zISFNKtf8OmLcM9yfg4eQhwYojSOQNcQSoGekzaAb2g.cache +0 -0
- metadata +152 -2
data/test/dummy/log/test.log
CHANGED
@@ -679452,3 +679452,3437 @@ Processing by Guts::UsersController#index as HTML
|
|
679452
679452
|
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
679453
679453
|
Completed 200 OK in 47ms (Views: 44.3ms | ActiveRecord: 0.6ms)
|
679454
679454
|
[1m[35m (0.1ms)[0m rollback transaction
|
679455
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
679456
|
+
[1m[35m (0.2ms)[0m begin transaction
|
679457
|
+
[1m[36mFixture Delete (1.4ms)[0m [1mDELETE FROM "guts_categories"[0m
|
679458
|
+
[1m[35mFixture Insert (0.5ms)[0m INSERT INTO "guts_categories" ("title", "slug", "created_at", "updated_at", "id") VALUES ('Super Category!', 'super-category', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 321852057)
|
679459
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "guts_categorizations"[0m
|
679460
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "guts_categorizations" ("created_at", "updated_at", "id", "category_id", "content_id") VALUES ('2016-04-28 03:45:23', '2016-04-28 03:45:23', 824976873, 321852057, 292789487)
|
679461
|
+
[1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "guts_contents"[0m
|
679462
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "guts_contents" ("title", "slug", "tags", "content", "visible", "created_at", "updated_at", "id", "type_id", "user_id") VALUES ('Test Page', 'test-page', 'one,two,three', 'Test page content', 1, '2016-04-28 03:45:23', '2016-04-28 03:45:23', 292789487, 186272755, 764040363)
|
679463
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "guts_contents" ("title", "slug", "tags", "content", "visible", "created_at", "updated_at", "id", "type_id") VALUES ('Test Page 2', 'test-page-2', NULL, 'Test page content 2', 1, '2016-04-28 03:45:23', '2016-04-28 03:45:23', 343024605, 186272755)[0m
|
679464
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "guts_groups"
|
679465
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "guts_groups" ("title", "slug", "created_at", "updated_at", "id") VALUES ('Admins', 'admins', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 639558351)[0m
|
679466
|
+
[1m[35mFixture Delete (1.1ms)[0m DELETE FROM "guts_media"
|
679467
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "guts_media" ("title", "position", "tags", "caption", "file_file_name", "file_content_type", "file_file_size", "created_at", "updated_at", "id", "filable_type", "filable_id") VALUES ('Pepper', 0, NULL, 'My dog', 'Pepper.jpg', 'image/jpg', 129314, '2016-04-28 03:45:23', '2016-04-28 03:45:23', 166075617, 'Guts::Content', 292789487)[0m
|
679468
|
+
[1m[35mFixture Delete (1.0ms)[0m DELETE FROM "guts_metafields"
|
679469
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "guts_metafields" ("key", "value", "created_at", "updated_at", "id", "fieldable_type", "fieldable_id") VALUES ('Test Metafield', 'Test Value', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 434488443, 'Guts::Content', 292789487)[0m
|
679470
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "guts_metafields" ("key", "value", "created_at", "updated_at", "id", "fieldable_type", "fieldable_id") VALUES ('Test Metafield 2', 'Test Value 2', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 474667608, 'Guts::Type', 186272755)
|
679471
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "guts_metafields" ("key", "value", "created_at", "updated_at", "id", "fieldable_type", "fieldable_id") VALUES ('Test Metafield 3', 'Test Value 3', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 487021368, 'Guts::User', 764040363)[0m
|
679472
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "guts_metafields" ("key", "value", "created_at", "updated_at", "id", "fieldable_type", "fieldable_id") VALUES ('Test Metafield 4', 'Test Value 4', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 447581302, 'Guts::Group', 639558351)
|
679473
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "guts_metafields" ("key", "value", "created_at", "updated_at", "id", "fieldable_type", "fieldable_id") VALUES ('Test Metafield 5', 'Test Value 5', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 935320442, 'Guts::Category', 321852057)[0m
|
679474
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "guts_metafields" ("key", "value", "created_at", "updated_at", "id", "fieldable_type", "fieldable_id") VALUES ('Test Metafield 6', 'Test Value 6', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 248487536, 'Guts::Navigation', 839480070)
|
679475
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "guts_metafields" ("key", "value", "created_at", "updated_at", "id", "fieldable_type", "fieldable_id") VALUES ('Test Metafield 7', 'Test Value 7', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 105934342, 'Guts::NavigationItem', 374718506)[0m
|
679476
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "guts_metafields" ("key", "value", "created_at", "updated_at", "id", "fieldable_type", "fieldable_id") VALUES ('Test Metafield 8', 'Test Value 8', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 970425500, 'Guts::Site', 749875938)
|
679477
|
+
[1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "guts_navigation_items"[0m
|
679478
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "guts_navigation_items" ("title", "custom", "position", "created_at", "updated_at", "id", "navigation_id", "navigatable_type", "navigatable_id") VALUES ('Test Nav Item', NULL, 0, '2016-04-28 03:45:23', '2016-04-28 03:45:23', 374718506, 839480070, 'Guts::Content', 292789487)
|
679479
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "guts_navigation_items" ("title", "custom", "position", "created_at", "updated_at", "id", "navigation_id") VALUES ('Test Nav Item', 'http://google.ca/', 0, '2016-04-28 03:45:23', '2016-04-28 03:45:23', 368097465, 839480070)[0m
|
679480
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "guts_navigations"
|
679481
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "guts_navigations" ("title", "slug", "created_at", "updated_at", "id") VALUES ('Test Nav', 'test-nav', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 839480070)[0m
|
679482
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "guts_options"
|
679483
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "guts_options" ("key", "value", "created_at", "updated_at", "id") VALUES ('test_key', '123', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 202528441)[0m
|
679484
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "guts_sites"
|
679485
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "guts_sites" ("name", "domain", "default", "created_at", "updated_at", "id") VALUES ('Test Site', 'testsite.com', 't', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 749875938)[0m
|
679486
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "guts_sites" ("name", "domain", "created_at", "updated_at", "id") VALUES ('Fr Test Site', 'fr.testsite.com', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 27609037)
|
679487
|
+
[1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "guts_trackers"[0m
|
679488
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "params", "created_at", "updated_at", "id", "object_type", "object_id") VALUES ('update', '{"title": ["X", "Y"]}
|
679489
|
+
', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 980190962, 'Guts::Content', 292789487)
|
679490
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "created_at", "updated_at", "id", "object_type", "object_id") VALUES ('create', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 298486374, 'Guts::Content', 292789487)[0m
|
679491
|
+
[1m[35mFixture Delete (0.9ms)[0m DELETE FROM "guts_types"
|
679492
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "guts_types" ("title", "slug", "created_at", "updated_at", "id") VALUES ('Page', 'page', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 186272755)[0m
|
679493
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "guts_user_groups"
|
679494
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "guts_user_groups" ("created_at", "updated_at", "id", "user_id", "group_id") VALUES ('2016-04-28 03:45:23', '2016-04-28 03:45:23', 259900609, 764040363, 639558351)[0m
|
679495
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "guts_users"
|
679496
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "guts_users" ("name", "email", "password_digest", "password_token", "created_at", "updated_at", "id") VALUES ('Test Admin', 'test@domain.com', '$2a$10$qP12pM/8UmdPDcswlLQPO.xXQFlXBFu2kMLh.KNs3GcUXF0/8zwTS', '123456', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 764040363)[0m
|
679497
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "guts_users" ("name", "email", "password_digest", "created_at", "updated_at", "id") VALUES ('Test Regular', 'test_regular@domain.com', '$2a$10$3ks/ZEG.H4V5UuAyf/zsEO0JXrX99UgDYBNYjs1TJ/E4JB726Pogq', '2016-04-28 03:45:23', '2016-04-28 03:45:23', 567506384)
|
679498
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
679499
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679500
|
+
----------------------------------------------------
|
679501
|
+
Guts::UsersHelperTest: test_returns_a_gravatar_image
|
679502
|
+
----------------------------------------------------
|
679503
|
+
[1m[36mGuts::User Load (0.2ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679504
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
679505
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
679506
|
+
-------------------------------------------------------------
|
679507
|
+
Guts::MetafieldsControllerTest: test_should_destroy_metafield
|
679508
|
+
-------------------------------------------------------------
|
679509
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679510
|
+
[1m[36mGuts::Metafield Load (0.1ms)[0m [1mSELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."id" = ? LIMIT 1[0m [["id", 434488443]]
|
679511
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
679512
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL[0m
|
679513
|
+
Processing by Guts::MetafieldsController#destroy as HTML
|
679514
|
+
Parameters: {"id"=>"434488443", "content_id"=>"292789487", "fieldable_type"=>"Guts::Content"}
|
679515
|
+
[1m[35mGuts::Site Load (0.2ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
679516
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679517
|
+
[1m[35mGuts::Group Load (0.2ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
679518
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
679519
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
679520
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
679521
|
+
[1m[35mGuts::Metafield Load (0.1ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."id" = ? LIMIT 1 [["id", 434488443]]
|
679522
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
679523
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "guts_metafields" WHERE "guts_metafields"."id" = ? [["id", 434488443]]
|
679524
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
679525
|
+
Redirected to http://test.host/guts/contents/test-page/metafields
|
679526
|
+
Completed 302 Found in 40ms (ActiveRecord: 1.1ms)
|
679527
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL
|
679528
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
679529
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679530
|
+
-------------------------------------------------------------------------------------
|
679531
|
+
Guts::MetafieldsControllerTest: test_should_not_create_metafield_and_send_back_to_new
|
679532
|
+
-------------------------------------------------------------------------------------
|
679533
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679534
|
+
[1m[35mGuts::Metafield Load (0.0ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."id" = ? LIMIT 1 [["id", 434488443]]
|
679535
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
679536
|
+
Processing by Guts::MetafieldsController#create as HTML
|
679537
|
+
Parameters: {"metafield"=>{"key"=>"", "value"=>""}, "content_id"=>"292789487", "fieldable_type"=>"Guts::Content"}
|
679538
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
679539
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679540
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
679541
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
679542
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
679543
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
679544
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
679545
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
679546
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/_form.html.erb (20.3ms)
|
679547
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/new.html.erb within layouts/guts/application (27.5ms)
|
679548
|
+
Rendered guts/application/_layout_hook.html.erb (0.4ms)
|
679549
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
679550
|
+
Completed 200 OK in 1095ms (Views: 1075.6ms | ActiveRecord: 0.5ms)
|
679551
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
679552
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679553
|
+
----------------------------------------------------------
|
679554
|
+
Guts::MetafieldsControllerTest: test_should_show_metafield
|
679555
|
+
----------------------------------------------------------
|
679556
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679557
|
+
[1m[35mGuts::Metafield Load (0.0ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."id" = ? LIMIT 1 [["id", 434488443]]
|
679558
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
679559
|
+
Processing by Guts::MetafieldsController#show as HTML
|
679560
|
+
Parameters: {"id"=>"434488443", "content_id"=>"292789487", "fieldable_type"=>"Guts::Content"}
|
679561
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
679562
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679563
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
679564
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
679565
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
679566
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
679567
|
+
[1m[35mGuts::Metafield Load (0.0ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."id" = ? LIMIT 1 [["id", 434488443]]
|
679568
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/show.html.erb within layouts/guts/application (4.4ms)
|
679569
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
679570
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
679571
|
+
Completed 200 OK in 52ms (Views: 45.5ms | ActiveRecord: 0.4ms)
|
679572
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
679573
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
679574
|
+
----------------------------------------------------
|
679575
|
+
Guts::MetafieldsControllerTest: test_should_get_edit
|
679576
|
+
----------------------------------------------------
|
679577
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679578
|
+
[1m[36mGuts::Metafield Load (0.0ms)[0m [1mSELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."id" = ? LIMIT 1[0m [["id", 434488443]]
|
679579
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
679580
|
+
Processing by Guts::MetafieldsController#edit as HTML
|
679581
|
+
Parameters: {"id"=>"434488443", "content_id"=>"292789487", "fieldable_type"=>"Guts::Content"}
|
679582
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
679583
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679584
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
679585
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
679586
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
679587
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
679588
|
+
[1m[36mGuts::Metafield Load (0.1ms)[0m [1mSELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."id" = ? LIMIT 1[0m [["id", 434488443]]
|
679589
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/_form.html.erb (12.0ms)
|
679590
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/edit.html.erb within layouts/guts/application (13.5ms)
|
679591
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
679592
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
679593
|
+
Completed 200 OK in 58ms (Views: 50.4ms | ActiveRecord: 0.5ms)
|
679594
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
679595
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679596
|
+
-----------------------------------------------------
|
679597
|
+
Guts::MetafieldsControllerTest: test_should_get_index
|
679598
|
+
-----------------------------------------------------
|
679599
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679600
|
+
[1m[35mGuts::Metafield Load (0.0ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."id" = ? LIMIT 1 [["id", 434488443]]
|
679601
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
679602
|
+
Processing by Guts::MetafieldsController#index as HTML
|
679603
|
+
Parameters: {"content_id"=>"292789487", "fieldable_type"=>"Guts::Content"}
|
679604
|
+
[1m[35mGuts::Site Load (0.0ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
679605
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679606
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
679607
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
679608
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
679609
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
679610
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 292789487], ["fieldable_type", "Guts::Content"]]
|
679611
|
+
[1m[36mGuts::Metafield Load (0.2ms)[0m [1mSELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 292789487], ["fieldable_type", "Guts::Content"]]
|
679612
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/index.html.erb within layouts/guts/application (23.2ms)
|
679613
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
679614
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
679615
|
+
Completed 200 OK in 69ms (Views: 61.4ms | ActiveRecord: 0.8ms)
|
679616
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
679617
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679618
|
+
------------------------------------------------------------
|
679619
|
+
Guts::MetafieldsControllerTest: test_should_update_metafield
|
679620
|
+
------------------------------------------------------------
|
679621
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679622
|
+
[1m[35mGuts::Metafield Load (0.0ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."id" = ? LIMIT 1 [["id", 434488443]]
|
679623
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
679624
|
+
Processing by Guts::MetafieldsController#update as HTML
|
679625
|
+
Parameters: {"metafield"=>{"key"=>"Demo Me"}, "id"=>"434488443", "content_id"=>"292789487", "fieldable_type"=>"Guts::Content"}
|
679626
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
679627
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679628
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
679629
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
679630
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
679631
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
679632
|
+
[1m[35mGuts::Metafield Load (0.0ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."id" = ? LIMIT 1 [["id", 434488443]]
|
679633
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
679634
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "guts_metafields" SET "key" = ?, "updated_at" = ? WHERE "guts_metafields"."id" = ? [["key", "Demo Me"], ["updated_at", "2016-04-28 03:45:24.915659"], ["id", 434488443]]
|
679635
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
679636
|
+
Redirected to http://test.host/guts/contents/test-page/metafields
|
679637
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
|
679638
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
679639
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
679640
|
+
----------------------------------------------------------------------
|
679641
|
+
Guts::MetafieldsControllerTest: test_should_get_index_for_non_friendly
|
679642
|
+
----------------------------------------------------------------------
|
679643
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679644
|
+
[1m[36mGuts::Metafield Load (0.0ms)[0m [1mSELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."id" = ? LIMIT 1[0m [["id", 434488443]]
|
679645
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
679646
|
+
Processing by Guts::MetafieldsController#index as HTML
|
679647
|
+
Parameters: {"user_id"=>"764040363", "fieldable_type"=>"Guts::User"}
|
679648
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
679649
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679650
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
679651
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679652
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 764040363], ["fieldable_type", "Guts::User"]]
|
679653
|
+
[1m[35mGuts::Metafield Load (0.0ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 764040363], ["fieldable_type", "Guts::User"]]
|
679654
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/index.html.erb within layouts/guts/application (15.9ms)
|
679655
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
679656
|
+
[1m[36mGuts::Type Load (0.6ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
679657
|
+
Completed 200 OK in 58ms (Views: 52.5ms | ActiveRecord: 0.9ms)
|
679658
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
679659
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
679660
|
+
---------------------------------------------------
|
679661
|
+
Guts::MetafieldsControllerTest: test_should_get_new
|
679662
|
+
---------------------------------------------------
|
679663
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679664
|
+
[1m[36mGuts::Metafield Load (0.1ms)[0m [1mSELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."id" = ? LIMIT 1[0m [["id", 434488443]]
|
679665
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
679666
|
+
Processing by Guts::MetafieldsController#new as HTML
|
679667
|
+
Parameters: {"content_id"=>"292789487", "fieldable_type"=>"Guts::Content"}
|
679668
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
679669
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679670
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
679671
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
679672
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
679673
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
679674
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/_form.html.erb (19.6ms)
|
679675
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/new.html.erb within layouts/guts/application (20.2ms)
|
679676
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
679677
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
679678
|
+
Completed 200 OK in 61ms (Views: 54.7ms | ActiveRecord: 0.5ms)
|
679679
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
679680
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
679681
|
+
----------------------------------------------------------------------------------------
|
679682
|
+
Guts::MetafieldsControllerTest: test_should_fail_to_edit_metafield_and_send_back_to_edit
|
679683
|
+
----------------------------------------------------------------------------------------
|
679684
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679685
|
+
[1m[36mGuts::Metafield Load (0.1ms)[0m [1mSELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."id" = ? LIMIT 1[0m [["id", 434488443]]
|
679686
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
679687
|
+
Processing by Guts::MetafieldsController#update as HTML
|
679688
|
+
Parameters: {"metafield"=>{"key"=>""}, "id"=>"434488443", "content_id"=>"292789487", "fieldable_type"=>"Guts::Content"}
|
679689
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
679690
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679691
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
679692
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
679693
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
679694
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
679695
|
+
[1m[36mGuts::Metafield Load (0.1ms)[0m [1mSELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."id" = ? LIMIT 1[0m [["id", 434488443]]
|
679696
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
679697
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
679698
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/_form.html.erb (8.0ms)
|
679699
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/metafields/edit.html.erb within layouts/guts/application (8.6ms)
|
679700
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
679701
|
+
[1m[35mGuts::Type Load (0.4ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
679702
|
+
Completed 200 OK in 54ms (Views: 45.6ms | ActiveRecord: 1.0ms)
|
679703
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
679704
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679705
|
+
------------------------------------------------------------
|
679706
|
+
Guts::MetafieldsControllerTest: test_should_create_metafield
|
679707
|
+
------------------------------------------------------------
|
679708
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679709
|
+
[1m[35mGuts::Metafield Load (0.1ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."id" = ? LIMIT 1 [["id", 434488443]]
|
679710
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
679711
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL
|
679712
|
+
Processing by Guts::MetafieldsController#create as HTML
|
679713
|
+
Parameters: {"metafield"=>{"key"=>"Test", "value"=>"Test"}, "content_id"=>"292789487", "fieldable_type"=>"Guts::Content"}
|
679714
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
679715
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679716
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
679717
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
679718
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
679719
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
679720
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
679721
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "guts_metafields" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "Test"], ["value", "Test"], ["created_at", "2016-04-28 03:45:25.133238"], ["updated_at", "2016-04-28 03:45:25.133238"]]
|
679722
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
679723
|
+
Redirected to http://test.host/guts/contents/test-page/metafields
|
679724
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.7ms)
|
679725
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL
|
679726
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
679727
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679728
|
+
----------------------------------------
|
679729
|
+
Guts::SiteTest: test_should_be_trackable
|
679730
|
+
----------------------------------------
|
679731
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
679732
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679733
|
+
-------------------------------------------------------------
|
679734
|
+
Guts::SiteTest: test_should_not_create_without_name_or_domain
|
679735
|
+
-------------------------------------------------------------
|
679736
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
679737
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
679738
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
679739
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679740
|
+
------------------------------------------------------
|
679741
|
+
Guts::SiteTest: test_should_return_metafields_for_site
|
679742
|
+
------------------------------------------------------
|
679743
|
+
[1m[36mGuts::Site Load (0.2ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 749875938]]
|
679744
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 749875938], ["fieldable_type", "Guts::Site"]]
|
679745
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
679746
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679747
|
+
-----------------------------------------------------------------------
|
679748
|
+
Guts::NavigationItemsControllerTest: test_should_create_navigation_item
|
679749
|
+
-----------------------------------------------------------------------
|
679750
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679751
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1 [["id", 839480070]]
|
679752
|
+
[1m[36mGuts::NavigationItem Load (0.1ms)[0m [1mSELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1[0m [["id", 374718506]]
|
679753
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL
|
679754
|
+
Processing by Guts::NavigationItemsController#create as HTML
|
679755
|
+
Parameters: {"navigation_item"=>{"title"=>"Nav Item Test", "custom"=>"http://YesIAm.com/", "position"=>"0", "navigatable_id"=>nil, "navigatable_type"=>nil, "navigation_id"=>"test-nav"}, "navigation_id"=>"test-nav"}
|
679756
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
679757
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679758
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
679759
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1 [["slug", "test-nav"]]
|
679760
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
679761
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "guts_navigation_items" ("title", "custom", "navigation_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Nav Item Test"], ["custom", "http://YesIAm.com/"], ["navigation_id", 0], ["created_at", "2016-04-28 03:45:25.196645"], ["updated_at", "2016-04-28 03:45:25.196645"]]
|
679762
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
679763
|
+
Redirected to http://test.host/guts/navigations/test-nav/items
|
679764
|
+
Completed 302 Found in 20ms (ActiveRecord: 0.9ms)
|
679765
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL
|
679766
|
+
[1m[36mGuts::Navigation Load (0.2ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
679767
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
679768
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
679769
|
+
-----------------------------------------------------------------------
|
679770
|
+
Guts::NavigationItemsControllerTest: test_should_update_navigation_item
|
679771
|
+
-----------------------------------------------------------------------
|
679772
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679773
|
+
[1m[36mGuts::Navigation Load (0.0ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
679774
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1 [["id", 374718506]]
|
679775
|
+
Processing by Guts::NavigationItemsController#update as HTML
|
679776
|
+
Parameters: {"navigation_item"=>{"title"=>"Test Nav Item"}, "id"=>"374718506"}
|
679777
|
+
[1m[36mGuts::Site Load (0.0ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
679778
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679779
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
679780
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."id" = ? LIMIT 1 [["id", 374718506]]
|
679781
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
679782
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
679783
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
679784
|
+
Redirected to http://test.host/guts/navigations/test-nav/items
|
679785
|
+
Completed 302 Found in 14ms (ActiveRecord: 0.5ms)
|
679786
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1 [["id", 839480070]]
|
679787
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
679788
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679789
|
+
------------------------------------------------------------------------
|
679790
|
+
Guts::NavigationItemsControllerTest: test_should_get_navigatable_objects
|
679791
|
+
------------------------------------------------------------------------
|
679792
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679793
|
+
[1m[35mGuts::Navigation Load (0.0ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1 [["id", 839480070]]
|
679794
|
+
[1m[36mGuts::NavigationItem Load (0.0ms)[0m [1mSELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1[0m [["id", 374718506]]
|
679795
|
+
Processing by Guts::NavigationItemsController#navigatable_objects as HTML
|
679796
|
+
Parameters: {"model"=>"Guts::Content"}
|
679797
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
679798
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679799
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
679800
|
+
[1m[36mGuts::Content Load (0.2ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL[0m
|
679801
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
679802
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
679803
|
+
Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 0.4ms)
|
679804
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
679805
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
679806
|
+
--------------------------------------------------------
|
679807
|
+
Guts::NavigationItemsControllerTest: test_should_get_new
|
679808
|
+
--------------------------------------------------------
|
679809
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679810
|
+
[1m[36mGuts::Navigation Load (0.0ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
679811
|
+
[1m[35mGuts::NavigationItem Load (0.0ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1 [["id", 374718506]]
|
679812
|
+
Processing by Guts::NavigationItemsController#new as HTML
|
679813
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
679814
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679815
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
679816
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL
|
679817
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/_form.html.erb (26.4ms)
|
679818
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/new.html.erb within layouts/guts/application (29.9ms)
|
679819
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
679820
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
679821
|
+
Completed 200 OK in 85ms (Views: 77.0ms | ActiveRecord: 0.4ms)
|
679822
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
679823
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
679824
|
+
----------------------------------------------------------------------------------------------------
|
679825
|
+
Guts::NavigationItemsControllerTest: test_should_fail_to_create_navigation_item_and_send_back_to_new
|
679826
|
+
----------------------------------------------------------------------------------------------------
|
679827
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679828
|
+
[1m[36mGuts::Navigation Load (0.0ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
679829
|
+
[1m[35mGuts::NavigationItem Load (0.0ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1 [["id", 374718506]]
|
679830
|
+
Processing by Guts::NavigationItemsController#create as HTML
|
679831
|
+
Parameters: {"navigation_item"=>{"title"=>""}, "navigation_id"=>"test-nav"}
|
679832
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
679833
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679834
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
679835
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1 [["slug", "test-nav"]]
|
679836
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
679837
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
679838
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/_form.html.erb (13.0ms)
|
679839
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/new.html.erb within layouts/guts/application (13.8ms)
|
679840
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
679841
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
679842
|
+
Completed 200 OK in 63ms (Views: 51.1ms | ActiveRecord: 0.5ms)
|
679843
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
679844
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
679845
|
+
---------------------------------------------------------
|
679846
|
+
Guts::NavigationItemsControllerTest: test_should_get_edit
|
679847
|
+
---------------------------------------------------------
|
679848
|
+
[1m[35mGuts::User Load (0.3ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679849
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
679850
|
+
[1m[35mGuts::NavigationItem Load (0.0ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1 [["id", 374718506]]
|
679851
|
+
Processing by Guts::NavigationItemsController#edit as HTML
|
679852
|
+
Parameters: {"id"=>"374718506"}
|
679853
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
679854
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679855
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
679856
|
+
[1m[35mGuts::NavigationItem Load (0.0ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."id" = ? LIMIT 1 [["id", 374718506]]
|
679857
|
+
[1m[36mGuts::Navigation Load (0.0ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
679858
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 374718506], ["fieldable_type", "Guts::NavigationItem"]]
|
679859
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 374718506], ["filable_type", "Guts::NavigationItem"]]
|
679860
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/_form.html.erb (20.9ms)
|
679861
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/edit.html.erb within layouts/guts/application (21.8ms)
|
679862
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
679863
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
679864
|
+
Completed 200 OK in 76ms (Views: 66.1ms | ActiveRecord: 0.7ms)
|
679865
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
679866
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679867
|
+
-----------------------------------------------------------------------------------------------------
|
679868
|
+
Guts::NavigationItemsControllerTest: test_should_fail_to_update_navigation_item_and_send_back_to_edit
|
679869
|
+
-----------------------------------------------------------------------------------------------------
|
679870
|
+
[1m[36mGuts::User Load (0.7ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679871
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1 [["id", 839480070]]
|
679872
|
+
[1m[36mGuts::NavigationItem Load (0.0ms)[0m [1mSELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1[0m [["id", 374718506]]
|
679873
|
+
Processing by Guts::NavigationItemsController#update as HTML
|
679874
|
+
Parameters: {"navigation_item"=>{"title"=>""}, "id"=>"374718506"}
|
679875
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
679876
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679877
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
679878
|
+
[1m[36mGuts::NavigationItem Load (0.0ms)[0m [1mSELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."id" = ? LIMIT 1[0m [["id", 374718506]]
|
679879
|
+
[1m[35mGuts::Navigation Load (0.0ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1 [["id", 839480070]]
|
679880
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
679881
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
679882
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 374718506], ["fieldable_type", "Guts::NavigationItem"]]
|
679883
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ? [["filable_id", 374718506], ["filable_type", "Guts::NavigationItem"]]
|
679884
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/_form.html.erb (22.7ms)
|
679885
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/edit.html.erb within layouts/guts/application (23.0ms)
|
679886
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
679887
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
679888
|
+
Completed 200 OK in 75ms (Views: 61.6ms | ActiveRecord: 0.8ms)
|
679889
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
679890
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
679891
|
+
----------------------------------------------------------------
|
679892
|
+
Guts::NavigationItemsControllerTest: test_should_show_navigation
|
679893
|
+
----------------------------------------------------------------
|
679894
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679895
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
679896
|
+
[1m[35mGuts::NavigationItem Load (0.0ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1 [["id", 374718506]]
|
679897
|
+
Processing by Guts::NavigationItemsController#show as HTML
|
679898
|
+
Parameters: {"id"=>"374718506"}
|
679899
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
679900
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679901
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
679902
|
+
[1m[35mGuts::NavigationItem Load (0.0ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."id" = ? LIMIT 1 [["id", 374718506]]
|
679903
|
+
[1m[36mGuts::Navigation Load (0.0ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
679904
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/show.html.erb within layouts/guts/application (4.2ms)
|
679905
|
+
Rendered guts/application/_layout_hook.html.erb (0.5ms)
|
679906
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
679907
|
+
Completed 200 OK in 56ms (Views: 45.8ms | ActiveRecord: 0.3ms)
|
679908
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
679909
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679910
|
+
------------------------------------------------------------------------
|
679911
|
+
Guts::NavigationItemsControllerTest: test_should_destroy_navigation_item
|
679912
|
+
------------------------------------------------------------------------
|
679913
|
+
[1m[36mGuts::User Load (0.2ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679914
|
+
[1m[35mGuts::Navigation Load (0.0ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1 [["id", 839480070]]
|
679915
|
+
[1m[36mGuts::NavigationItem Load (0.0ms)[0m [1mSELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1[0m [["id", 374718506]]
|
679916
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL
|
679917
|
+
Processing by Guts::NavigationItemsController#destroy as HTML
|
679918
|
+
Parameters: {"id"=>"374718506"}
|
679919
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
679920
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
679921
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
679922
|
+
[1m[35mGuts::NavigationItem Load (0.2ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."id" = ? LIMIT 1 [["id", 374718506]]
|
679923
|
+
[1m[36mGuts::Navigation Load (0.0ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
679924
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
679925
|
+
[1m[36mGuts::Medium Load (0.1ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 374718506], ["filable_type", "Guts::NavigationItem"]]
|
679926
|
+
[1m[35mGuts::Metafield Load (0.0ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 374718506], ["fieldable_type", "Guts::NavigationItem"]]
|
679927
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "guts_metafields" WHERE "guts_metafields"."id" = ?[0m [["id", 105934342]]
|
679928
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? [["id", 374718506]]
|
679929
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
679930
|
+
Redirected to http://test.host/guts/navigations/test-nav/items
|
679931
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.9ms)
|
679932
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL
|
679933
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
679934
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679935
|
+
----------------------------------------------------------
|
679936
|
+
Guts::NavigationItemsControllerTest: test_should_get_index
|
679937
|
+
----------------------------------------------------------
|
679938
|
+
[1m[36mGuts::User Load (0.2ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679939
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1 [["id", 839480070]]
|
679940
|
+
[1m[36mGuts::NavigationItem Load (0.1ms)[0m [1mSELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1[0m [["id", 374718506]]
|
679941
|
+
Processing by Guts::NavigationItemsController#index as HTML
|
679942
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
679943
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
679944
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
679945
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL[0m
|
679946
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL
|
679947
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
679948
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
679949
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
679950
|
+
[1m[35mGuts::Navigation Load (0.0ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1 [["id", 839480070]]
|
679951
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigation_items/index.html.erb within layouts/guts/application (22.3ms)
|
679952
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
679953
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
679954
|
+
Completed 200 OK in 61ms (Views: 54.3ms | ActiveRecord: 0.7ms)
|
679955
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
679956
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
679957
|
+
--------------------------------------------------------
|
679958
|
+
Guts::CategoryTest: test_should_not_create_without_title
|
679959
|
+
--------------------------------------------------------
|
679960
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
679961
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
679962
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
679963
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
679964
|
+
--------------------------------------------------------------------------------
|
679965
|
+
Guts::CategoryTest: test_should_not_create_with_title_less_than_three_characters
|
679966
|
+
--------------------------------------------------------------------------------
|
679967
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
679968
|
+
[1m[36mGuts::Category Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "guts_categories" WHERE ("guts_categories"."id" IS NOT NULL) AND "guts_categories"."slug" = ? LIMIT 1[0m [["slug", "12"]]
|
679969
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
679970
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
679971
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679972
|
+
----------------------------------------------------------------
|
679973
|
+
Guts::CategoryTest: test_category_should_be_multisite_compatible
|
679974
|
+
----------------------------------------------------------------
|
679975
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
679976
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679977
|
+
---------------------------------------------------------
|
679978
|
+
Guts::CategoryTest: test_should_return_navigatable_format
|
679979
|
+
---------------------------------------------------------
|
679980
|
+
[1m[36mGuts::Category Load (0.1ms)[0m [1mSELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."id" = ? LIMIT 1[0m [["id", 321852057]]
|
679981
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
679982
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
679983
|
+
------------------------------------------------------------
|
679984
|
+
Guts::CategoryTest: test_should_return_contents_for_category
|
679985
|
+
------------------------------------------------------------
|
679986
|
+
[1m[35mGuts::Category Load (0.1ms)[0m SELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."id" = ? LIMIT 1 [["id", 321852057]]
|
679987
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_contents" INNER JOIN "guts_categorizations" ON "guts_contents"."id" = "guts_categorizations"."content_id" WHERE "guts_contents"."site_id" IS NULL AND "guts_categorizations"."category_id" = ?[0m [["category_id", 321852057]]
|
679988
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
679989
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
679990
|
+
-----------------------------------------------------
|
679991
|
+
Guts::CategoryTest: test_should_create_slug_for_title
|
679992
|
+
-----------------------------------------------------
|
679993
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
679994
|
+
[1m[36mGuts::Category Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "guts_categories" WHERE ("guts_categories"."id" IS NOT NULL) AND "guts_categories"."slug" = ? LIMIT 1[0m [["slug", "super-duper-category"]]
|
679995
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "guts_categories" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Super Duper Category!"], ["slug", "super-duper-category"], ["created_at", "2016-04-28 03:45:25.861777"], ["updated_at", "2016-04-28 03:45:25.861777"]]
|
679996
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["object_id", 321852058], ["object_type", "Guts::Category"], ["params", "{}"], ["created_at", "2016-04-28 03:45:25.867490"], ["updated_at", "2016-04-28 03:45:25.867490"]]
|
679997
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
679998
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
679999
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680000
|
+
--------------------------------------------------------------
|
680001
|
+
Guts::CategoryTest: test_should_return_metafields_for_category
|
680002
|
+
--------------------------------------------------------------
|
680003
|
+
[1m[36mGuts::Category Load (0.1ms)[0m [1mSELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."id" = ? LIMIT 1[0m [["id", 321852057]]
|
680004
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 321852057], ["fieldable_type", "Guts::Category"]]
|
680005
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680006
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680007
|
+
--------------------------------------------
|
680008
|
+
Guts::CategoryTest: test_should_be_trackable
|
680009
|
+
--------------------------------------------
|
680010
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
680011
|
+
[1m[35m (0.0ms)[0m begin transaction
|
680012
|
+
-------------------------------------------------
|
680013
|
+
Guts::TypeTest: test_should_create_slug_for_title
|
680014
|
+
-------------------------------------------------
|
680015
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
680016
|
+
[1m[35mGuts::Type Exists (0.1ms)[0m SELECT 1 AS one FROM "guts_types" WHERE ("guts_types"."id" IS NOT NULL) AND "guts_types"."slug" = ? LIMIT 1 [["slug", "i-am-a-type-good-sir"]]
|
680017
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "guts_types" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "i am a type good sir"], ["slug", "i-am-a-type-good-sir"], ["created_at", "2016-04-28 03:45:25.878053"], ["updated_at", "2016-04-28 03:45:25.878053"]]
|
680018
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "create"], ["object_id", 186272756], ["object_type", "Guts::Type"], ["params", "{}"], ["created_at", "2016-04-28 03:45:25.880094"], ["updated_at", "2016-04-28 03:45:25.880094"]]
|
680019
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
680020
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
680021
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680022
|
+
-----------------------------------------------------
|
680023
|
+
Guts::TypeTest: test_should_return_navigatable_format
|
680024
|
+
-----------------------------------------------------
|
680025
|
+
[1m[35mGuts::Type Load (0.3ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
680026
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680027
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680028
|
+
--------------------------------------------------------
|
680029
|
+
Guts::TypeTest: test_type_should_be_multisite_compatible
|
680030
|
+
--------------------------------------------------------
|
680031
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680032
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680033
|
+
----------------------------------------------------------------------------
|
680034
|
+
Guts::TypeTest: test_should_not_create_with_title_less_than_three_characters
|
680035
|
+
----------------------------------------------------------------------------
|
680036
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
680037
|
+
[1m[35mGuts::Type Exists (0.1ms)[0m SELECT 1 AS one FROM "guts_types" WHERE ("guts_types"."id" IS NOT NULL) AND "guts_types"."slug" = ? LIMIT 1 [["slug", "12"]]
|
680038
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
680039
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
680040
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
680041
|
+
------------------------------------------------------
|
680042
|
+
Guts::TypeTest: test_should_return_metafields_for_type
|
680043
|
+
------------------------------------------------------
|
680044
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
680045
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 186272755], ["fieldable_type", "Guts::Type"]]
|
680046
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
680047
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680048
|
+
----------------------------------------------------
|
680049
|
+
Guts::TypeTest: test_should_not_create_without_title
|
680050
|
+
----------------------------------------------------
|
680051
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
680052
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
680053
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
680054
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
680055
|
+
----------------------------------------
|
680056
|
+
Guts::TypeTest: test_should_be_trackable
|
680057
|
+
----------------------------------------
|
680058
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
680059
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680060
|
+
------------------------------------------------------------
|
680061
|
+
Guts::TypeTest: test_should_have_site_id_as_integer_in_scope
|
680062
|
+
------------------------------------------------------------
|
680063
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 27609037]]
|
680064
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680065
|
+
[1m[35m (0.0ms)[0m begin transaction
|
680066
|
+
---------------------------------------------------------
|
680067
|
+
Guts::TypeTest: test_should_have_site_id_as_null_in_scope
|
680068
|
+
---------------------------------------------------------
|
680069
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
680070
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680071
|
+
----------------------------------------------------
|
680072
|
+
Guts::TypeTest: test_should_return_contents_for_type
|
680073
|
+
----------------------------------------------------
|
680074
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
680075
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
680076
|
+
[1m[36mGuts::Content Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."type_id" = ? AND "guts_contents"."id" = ? LIMIT 1[0m [["type_id", 186272755], ["id", 292789487]]
|
680077
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
680078
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680079
|
+
---------------------------------------------------------
|
680080
|
+
Guts::CategoriesControllerTest: test_should_show_category
|
680081
|
+
---------------------------------------------------------
|
680082
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680083
|
+
[1m[36mGuts::Category Load (0.0ms)[0m [1mSELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."id" = ? LIMIT 1[0m [["id", 321852057]]
|
680084
|
+
Processing by Guts::CategoriesController#show as HTML
|
680085
|
+
Parameters: {"id"=>"super-category"}
|
680086
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680087
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680088
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680089
|
+
[1m[36mGuts::Category Load (0.1ms)[0m [1mSELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL AND "guts_categories"."slug" = ? ORDER BY "guts_categories"."id" ASC LIMIT 1[0m [["slug", "super-category"]]
|
680090
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/categories/show.html.erb within layouts/guts/application (2.9ms)
|
680091
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680092
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680093
|
+
Completed 200 OK in 44ms (Views: 40.0ms | ActiveRecord: 0.4ms)
|
680094
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680095
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680096
|
+
----------------------------------------------------
|
680097
|
+
Guts::CategoriesControllerTest: test_should_get_edit
|
680098
|
+
----------------------------------------------------
|
680099
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680100
|
+
[1m[35mGuts::Category Load (0.0ms)[0m SELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."id" = ? LIMIT 1 [["id", 321852057]]
|
680101
|
+
Processing by Guts::CategoriesController#edit as HTML
|
680102
|
+
Parameters: {"id"=>"super-category"}
|
680103
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
680104
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680105
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680106
|
+
[1m[35mGuts::Category Load (0.0ms)[0m SELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL AND "guts_categories"."slug" = ? ORDER BY "guts_categories"."id" ASC LIMIT 1 [["slug", "super-category"]]
|
680107
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 321852057], ["fieldable_type", "Guts::Category"]]
|
680108
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ? [["filable_id", 321852057], ["filable_type", "Guts::Category"]]
|
680109
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/categories/_form.html.erb (19.6ms)
|
680110
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/categories/edit.html.erb within layouts/guts/application (23.3ms)
|
680111
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680112
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
680113
|
+
Completed 200 OK in 60ms (Views: 57.5ms | ActiveRecord: 0.5ms)
|
680114
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
680115
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680116
|
+
----------------------------------------------------------------------------------------
|
680117
|
+
Guts::CategoriesControllerTest: test_should_fail_to_create_category_and_send_back_to_new
|
680118
|
+
----------------------------------------------------------------------------------------
|
680119
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680120
|
+
[1m[36mGuts::Category Load (0.0ms)[0m [1mSELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."id" = ? LIMIT 1[0m [["id", 321852057]]
|
680121
|
+
Processing by Guts::CategoriesController#create as HTML
|
680122
|
+
Parameters: {"category"=>{"title"=>""}}
|
680123
|
+
[1m[35mGuts::Site Load (0.0ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680124
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680125
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680126
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
680127
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
680128
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/categories/_form.html.erb (7.1ms)
|
680129
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/categories/new.html.erb within layouts/guts/application (7.9ms)
|
680130
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680131
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
680132
|
+
Completed 200 OK in 50ms (Views: 43.5ms | ActiveRecord: 0.5ms)
|
680133
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
680134
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680135
|
+
-----------------------------------------------------------
|
680136
|
+
Guts::CategoriesControllerTest: test_should_create_category
|
680137
|
+
-----------------------------------------------------------
|
680138
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680139
|
+
[1m[36mGuts::Category Load (0.1ms)[0m [1mSELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."id" = ? LIMIT 1[0m [["id", 321852057]]
|
680140
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL
|
680141
|
+
Processing by Guts::CategoriesController#create as HTML
|
680142
|
+
Parameters: {"category"=>{"slug"=>"cat-test", "title"=>"Cat Test"}}
|
680143
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
680144
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680145
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680146
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
680147
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "guts_categories" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Cat Test"], ["slug", "cat-test"], ["created_at", "2016-04-28 03:45:26.093790"], ["updated_at", "2016-04-28 03:45:26.093790"]]
|
680148
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "create"], ["object_id", 321852058], ["object_type", "Guts::Category"], ["params", "{}"], ["created_at", "2016-04-28 03:45:26.095771"], ["updated_at", "2016-04-28 03:45:26.095771"]]
|
680149
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
680150
|
+
Redirected to http://test.host/guts/categories
|
680151
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
|
680152
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL
|
680153
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
680154
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680155
|
+
-----------------------------------------------------------
|
680156
|
+
Guts::CategoriesControllerTest: test_should_update_category
|
680157
|
+
-----------------------------------------------------------
|
680158
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680159
|
+
[1m[35mGuts::Category Load (0.0ms)[0m SELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."id" = ? LIMIT 1 [["id", 321852057]]
|
680160
|
+
Processing by Guts::CategoriesController#update as HTML
|
680161
|
+
Parameters: {"category"=>{"slug"=>"super-category", "title"=>"Super Category!"}, "id"=>"super-category"}
|
680162
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
680163
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680164
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680165
|
+
[1m[35mGuts::Category Load (0.0ms)[0m SELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL AND "guts_categories"."slug" = ? ORDER BY "guts_categories"."id" ASC LIMIT 1 [["slug", "super-category"]]
|
680166
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
680167
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "update"], ["object_id", 321852057], ["object_type", "Guts::Category"], ["params", "{}"], ["created_at", "2016-04-28 03:45:26.114032"], ["updated_at", "2016-04-28 03:45:26.114032"]]
|
680168
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
680169
|
+
Redirected to http://test.host/guts/categories
|
680170
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.6ms)
|
680171
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
680172
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680173
|
+
-----------------------------------------------------
|
680174
|
+
Guts::CategoriesControllerTest: test_should_get_index
|
680175
|
+
-----------------------------------------------------
|
680176
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680177
|
+
[1m[36mGuts::Category Load (0.0ms)[0m [1mSELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."id" = ? LIMIT 1[0m [["id", 321852057]]
|
680178
|
+
Processing by Guts::CategoriesController#index as HTML
|
680179
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680180
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680181
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680182
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL[0m
|
680183
|
+
[1m[35mGuts::Category Load (0.1ms)[0m SELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL
|
680184
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_categorizations" WHERE "guts_categorizations"."category_id" = ?[0m [["category_id", 321852057]]
|
680185
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/categories/index.html.erb within layouts/guts/application (13.0ms)
|
680186
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680187
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680188
|
+
Completed 200 OK in 52ms (Views: 49.0ms | ActiveRecord: 0.6ms)
|
680189
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680190
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680191
|
+
------------------------------------------------------------
|
680192
|
+
Guts::CategoriesControllerTest: test_should_destroy_category
|
680193
|
+
------------------------------------------------------------
|
680194
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680195
|
+
[1m[35mGuts::Category Load (0.0ms)[0m SELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."id" = ? LIMIT 1 [["id", 321852057]]
|
680196
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL[0m
|
680197
|
+
Processing by Guts::CategoriesController#destroy as HTML
|
680198
|
+
Parameters: {"id"=>"super-category"}
|
680199
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680200
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680201
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680202
|
+
[1m[36mGuts::Category Load (0.1ms)[0m [1mSELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL AND "guts_categories"."slug" = ? ORDER BY "guts_categories"."id" ASC LIMIT 1[0m [["slug", "super-category"]]
|
680203
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
680204
|
+
[1m[36mGuts::Medium Load (0.0ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 321852057], ["filable_type", "Guts::Category"]]
|
680205
|
+
[1m[35mGuts::Metafield Load (0.0ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 321852057], ["fieldable_type", "Guts::Category"]]
|
680206
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "guts_metafields" WHERE "guts_metafields"."id" = ?[0m [["id", 935320442]]
|
680207
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "guts_categories" WHERE "guts_categories"."id" = ? [["id", 321852057]]
|
680208
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "destroy"], ["object_id", 321852057], ["object_type", "Guts::Category"], ["params", "{}"], ["created_at", "2016-04-28 03:45:26.196281"], ["updated_at", "2016-04-28 03:45:26.196281"]]
|
680209
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
680210
|
+
Redirected to http://test.host/guts/categories
|
680211
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.9ms)
|
680212
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL[0m
|
680213
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
680214
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680215
|
+
---------------------------------------------------
|
680216
|
+
Guts::CategoriesControllerTest: test_should_get_new
|
680217
|
+
---------------------------------------------------
|
680218
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680219
|
+
[1m[36mGuts::Category Load (0.0ms)[0m [1mSELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."id" = ? LIMIT 1[0m [["id", 321852057]]
|
680220
|
+
Processing by Guts::CategoriesController#new as HTML
|
680221
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680222
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680223
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680224
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/categories/_form.html.erb (5.2ms)
|
680225
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/categories/new.html.erb within layouts/guts/application (5.4ms)
|
680226
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680227
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
680228
|
+
Completed 200 OK in 40ms (Views: 37.5ms | ActiveRecord: 0.3ms)
|
680229
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
680230
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680231
|
+
-----------------------------------------------------------------------------------------
|
680232
|
+
Guts::CategoriesControllerTest: test_should_fail_to_update_category_and_send_back_to_edit
|
680233
|
+
-----------------------------------------------------------------------------------------
|
680234
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680235
|
+
[1m[36mGuts::Category Load (0.0ms)[0m [1mSELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."id" = ? LIMIT 1[0m [["id", 321852057]]
|
680236
|
+
Processing by Guts::CategoriesController#update as HTML
|
680237
|
+
Parameters: {"category"=>{"title"=>""}, "id"=>"super-category"}
|
680238
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680239
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680240
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680241
|
+
[1m[36mGuts::Category Load (0.1ms)[0m [1mSELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL AND "guts_categories"."slug" = ? ORDER BY "guts_categories"."id" ASC LIMIT 1[0m [["slug", "super-category"]]
|
680242
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
680243
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
680244
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 321852057], ["fieldable_type", "Guts::Category"]]
|
680245
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 321852057], ["filable_type", "Guts::Category"]]
|
680246
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/categories/_form.html.erb (15.5ms)
|
680247
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/categories/edit.html.erb within layouts/guts/application (15.8ms)
|
680248
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680249
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680250
|
+
Completed 200 OK in 58ms (Views: 52.1ms | ActiveRecord: 0.7ms)
|
680251
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680252
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680253
|
+
-------------------------------------------------------------------------------
|
680254
|
+
Guts::SitesControllerTest: test_should_fail_to_create_site_and_send_back_to_new
|
680255
|
+
-------------------------------------------------------------------------------
|
680256
|
+
[1m[36mGuts::User Load (0.2ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680257
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 749875938]]
|
680258
|
+
[1m[36mGuts::Site Load (0.0ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 27609037]]
|
680259
|
+
Processing by Guts::SitesController#create as HTML
|
680260
|
+
Parameters: {"site"=>{"name"=>""}}
|
680261
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680262
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680263
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680264
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
680265
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
680266
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sites/_form.html.erb (8.5ms)
|
680267
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sites/new.html.erb within layouts/guts/application (11.7ms)
|
680268
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680269
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
680270
|
+
Completed 200 OK in 52ms (Views: 48.4ms | ActiveRecord: 0.4ms)
|
680271
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
680272
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680273
|
+
-----------------------------------------------
|
680274
|
+
Guts::SitesControllerTest: test_should_get_edit
|
680275
|
+
-----------------------------------------------
|
680276
|
+
[1m[35mGuts::User Load (0.2ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680277
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 749875938]]
|
680278
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 27609037]]
|
680279
|
+
Processing by Guts::SitesController#edit as HTML
|
680280
|
+
Parameters: {"id"=>"749875938"}
|
680281
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
680282
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680283
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680284
|
+
[1m[35mGuts::Site Load (0.0ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 749875938]]
|
680285
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sites/_form.html.erb (7.5ms)
|
680286
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sites/edit.html.erb within layouts/guts/application (8.4ms)
|
680287
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680288
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
680289
|
+
Completed 200 OK in 48ms (Views: 44.6ms | ActiveRecord: 0.4ms)
|
680290
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
680291
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680292
|
+
----------------------------------------------
|
680293
|
+
Guts::SitesControllerTest: test_should_get_new
|
680294
|
+
----------------------------------------------
|
680295
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680296
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 749875938]]
|
680297
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 27609037]]
|
680298
|
+
Processing by Guts::SitesController#new as HTML
|
680299
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
680300
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680301
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680302
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sites/_form.html.erb (5.5ms)
|
680303
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sites/new.html.erb within layouts/guts/application (5.7ms)
|
680304
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680305
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680306
|
+
Completed 200 OK in 35ms (Views: 32.9ms | ActiveRecord: 0.3ms)
|
680307
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680308
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680309
|
+
-------------------------------------------------------
|
680310
|
+
Guts::SitesControllerTest: test_should_set_default_site
|
680311
|
+
-------------------------------------------------------
|
680312
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680313
|
+
[1m[35mGuts::Site Load (0.0ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 749875938]]
|
680314
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 27609037]]
|
680315
|
+
Processing by Guts::SitesController#set_default as HTML
|
680316
|
+
Parameters: {"id"=>"27609037"}
|
680317
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680318
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680319
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680320
|
+
[1m[36mGuts::Site Load (0.0ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 27609037]]
|
680321
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."default" = ? LIMIT 1 [["default", "t"]]
|
680322
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
680323
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "guts_sites" SET "default" = ?, "updated_at" = ? WHERE "guts_sites"."id" = ? [["default", "f"], ["updated_at", "2016-04-28 03:45:26.492189"], ["id", 749875938]]
|
680324
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "update"], ["object_id", 749875938], ["object_type", "Guts::Site"], ["params", "{}"], ["created_at", "2016-04-28 03:45:26.494428"], ["updated_at", "2016-04-28 03:45:26.494428"]]
|
680325
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
680326
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
680327
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "guts_sites" SET "default" = ?, "updated_at" = ? WHERE "guts_sites"."id" = ? [["default", "t"], ["updated_at", "2016-04-28 03:45:26.496407"], ["id", 27609037]]
|
680328
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "update"], ["object_id", 27609037], ["object_type", "Guts::Site"], ["params", "{}"], ["created_at", "2016-04-28 03:45:26.498603"], ["updated_at", "2016-04-28 03:45:26.498603"]]
|
680329
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
680330
|
+
Redirected to http://test.host/guts/sites
|
680331
|
+
Completed 302 Found in 13ms (ActiveRecord: 1.3ms)
|
680332
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 27609037]]
|
680333
|
+
[1m[35mGuts::Site Load (0.0ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 749875938]]
|
680334
|
+
[1m[36m (1.4ms)[0m [1mrollback transaction[0m
|
680335
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680336
|
+
------------------------------------------------
|
680337
|
+
Guts::SitesControllerTest: test_should_show_site
|
680338
|
+
------------------------------------------------
|
680339
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680340
|
+
[1m[35mGuts::Site Load (0.0ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 749875938]]
|
680341
|
+
[1m[36mGuts::Site Load (0.0ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 27609037]]
|
680342
|
+
Processing by Guts::SitesController#show as HTML
|
680343
|
+
Parameters: {"id"=>"749875938"}
|
680344
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680345
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680346
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680347
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 749875938]]
|
680348
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sites/show.html.erb within layouts/guts/application (4.2ms)
|
680349
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680350
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680351
|
+
Completed 200 OK in 36ms (Views: 33.5ms | ActiveRecord: 0.4ms)
|
680352
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680353
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680354
|
+
--------------------------------------------------
|
680355
|
+
Guts::SitesControllerTest: test_should_update_site
|
680356
|
+
--------------------------------------------------
|
680357
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680358
|
+
[1m[35mGuts::Site Load (0.0ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 749875938]]
|
680359
|
+
[1m[36mGuts::Site Load (0.0ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 27609037]]
|
680360
|
+
Processing by Guts::SitesController#update as HTML
|
680361
|
+
Parameters: {"site"=>{"domain"=>"testsite.com", "name"=>"Test Site"}, "id"=>"749875938"}
|
680362
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680363
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680364
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680365
|
+
[1m[36mGuts::Site Load (0.0ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 749875938]]
|
680366
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
680367
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "update"], ["object_id", 749875938], ["object_type", "Guts::Site"], ["params", "{}"], ["created_at", "2016-04-28 03:45:26.558737"], ["updated_at", "2016-04-28 03:45:26.558737"]]
|
680368
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
680369
|
+
Redirected to http://test.host/guts/sites
|
680370
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
680371
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
680372
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680373
|
+
--------------------------------------------------------------------------------
|
680374
|
+
Guts::SitesControllerTest: test_should_fail_to_update_site_and_send_back_to_edit
|
680375
|
+
--------------------------------------------------------------------------------
|
680376
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680377
|
+
[1m[35mGuts::Site Load (0.0ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 749875938]]
|
680378
|
+
[1m[36mGuts::Site Load (0.0ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 27609037]]
|
680379
|
+
Processing by Guts::SitesController#update as HTML
|
680380
|
+
Parameters: {"site"=>{"name"=>""}, "id"=>"749875938"}
|
680381
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680382
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680383
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680384
|
+
[1m[36mGuts::Site Load (0.0ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 749875938]]
|
680385
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
680386
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
680387
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sites/_form.html.erb (5.9ms)
|
680388
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sites/edit.html.erb within layouts/guts/application (6.1ms)
|
680389
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680390
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680391
|
+
Completed 200 OK in 44ms (Views: 40.1ms | ActiveRecord: 0.5ms)
|
680392
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680393
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680394
|
+
---------------------------------------------------
|
680395
|
+
Guts::SitesControllerTest: test_should_destroy_site
|
680396
|
+
---------------------------------------------------
|
680397
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680398
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 749875938]]
|
680399
|
+
[1m[36mGuts::Site Load (0.0ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 27609037]]
|
680400
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_sites"
|
680401
|
+
Processing by Guts::SitesController#destroy as HTML
|
680402
|
+
Parameters: {"id"=>"749875938"}
|
680403
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
680404
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680405
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680406
|
+
[1m[35mGuts::Site Load (0.0ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 749875938]]
|
680407
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
680408
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "guts_sites" WHERE "guts_sites"."id" = ? [["id", 749875938]]
|
680409
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "destroy"], ["object_id", 749875938], ["object_type", "Guts::Site"], ["params", "{}"], ["created_at", "2016-04-28 03:45:26.626679"], ["updated_at", "2016-04-28 03:45:26.626679"]]
|
680410
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
680411
|
+
Redirected to http://test.host/guts/sites
|
680412
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
|
680413
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_sites"[0m
|
680414
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
680415
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680416
|
+
--------------------------------------------------
|
680417
|
+
Guts::SitesControllerTest: test_should_create_site
|
680418
|
+
--------------------------------------------------
|
680419
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680420
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 749875938]]
|
680421
|
+
[1m[35mGuts::Site Load (0.0ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 27609037]]
|
680422
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_sites"[0m
|
680423
|
+
Processing by Guts::SitesController#create as HTML
|
680424
|
+
Parameters: {"site"=>{"domain"=>"testsite.com", "name"=>"Test Site"}}
|
680425
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680426
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680427
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680428
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
680429
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "guts_sites" ("name", "domain", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Test Site"], ["domain", "testsite.com"], ["created_at", "2016-04-28 03:45:26.643410"], ["updated_at", "2016-04-28 03:45:26.643410"]]
|
680430
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["object_id", 749875939], ["object_type", "Guts::Site"], ["params", "{}"], ["created_at", "2016-04-28 03:45:26.645558"], ["updated_at", "2016-04-28 03:45:26.645558"]]
|
680431
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
680432
|
+
Redirected to http://test.host/guts/sites
|
680433
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.6ms)
|
680434
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_sites"[0m
|
680435
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
680436
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
680437
|
+
------------------------------------------------
|
680438
|
+
Guts::SitesControllerTest: test_should_get_index
|
680439
|
+
------------------------------------------------
|
680440
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680441
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 749875938]]
|
680442
|
+
[1m[35mGuts::Site Load (0.0ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 27609037]]
|
680443
|
+
Processing by Guts::SitesController#index as HTML
|
680444
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
680445
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680446
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680447
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_sites"
|
680448
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites"[0m
|
680449
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sites/index.html.erb within layouts/guts/application (17.4ms)
|
680450
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680451
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680452
|
+
Completed 200 OK in 58ms (Views: 55.9ms | ActiveRecord: 0.5ms)
|
680453
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680454
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680455
|
+
----------------------------------------------------------
|
680456
|
+
Guts::SitesControllerTest: test_should_remove_default_site
|
680457
|
+
----------------------------------------------------------
|
680458
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680459
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 749875938]]
|
680460
|
+
[1m[36mGuts::Site Load (0.0ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 27609037]]
|
680461
|
+
Processing by Guts::SitesController#remove_default as HTML
|
680462
|
+
Parameters: {"id"=>"749875938"}
|
680463
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680464
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680465
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680466
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1[0m [["id", 749875938]]
|
680467
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
680468
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "guts_sites" SET "default" = ?, "updated_at" = ? WHERE "guts_sites"."id" = ?[0m [["default", "f"], ["updated_at", "2016-04-28 03:45:26.728140"], ["id", 749875938]]
|
680469
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "update"], ["object_id", 749875938], ["object_type", "Guts::Site"], ["params", "{}"], ["created_at", "2016-04-28 03:45:26.730495"], ["updated_at", "2016-04-28 03:45:26.730495"]]
|
680470
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
680471
|
+
Redirected to http://test.host/guts/sites
|
680472
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
|
680473
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."id" = ? LIMIT 1 [["id", 749875938]]
|
680474
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
680475
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680476
|
+
--------------------------------------------------------------------------------
|
680477
|
+
Guts::MediaControllerTest: test_should_fail_to_edit_medium_and_send_back_to_edit
|
680478
|
+
--------------------------------------------------------------------------------
|
680479
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680480
|
+
[1m[35mGuts::Medium Load (0.1ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
680481
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680482
|
+
Processing by Guts::MediaController#update as HTML
|
680483
|
+
Parameters: {"medium"=>{"title"=>""}, "id"=>"166075617", "content_id"=>"292789487", "filable_type"=>"Guts::Content"}
|
680484
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680485
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680486
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680487
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
680488
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
680489
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680490
|
+
[1m[35mGuts::Medium Load (0.1ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
680491
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
680492
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
680493
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/media/_form.html.erb (11.1ms)
|
680494
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/media/edit.html.erb within layouts/guts/application (14.3ms)
|
680495
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680496
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
680497
|
+
Completed 200 OK in 67ms (Views: 50.2ms | ActiveRecord: 0.6ms)
|
680498
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
680499
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680500
|
+
-------------------------------------------------------------
|
680501
|
+
Guts::MediaControllerTest: test_should_get_index_for_friendly
|
680502
|
+
-------------------------------------------------------------
|
680503
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680504
|
+
[1m[36mGuts::Medium Load (0.0ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1[0m [["id", 166075617]]
|
680505
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
680506
|
+
Processing by Guts::MediaController#index as HTML
|
680507
|
+
Parameters: {"content_id"=>"292789487", "filable_type"=>"Guts::Content"}
|
680508
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
680509
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680510
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680511
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
680512
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
680513
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
680514
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 292789487], ["filable_type", "Guts::Content"]]
|
680515
|
+
[1m[35mGuts::Medium Load (0.2ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ? LIMIT 30 OFFSET 0 [["filable_id", 292789487], ["filable_type", "Guts::Content"]]
|
680516
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680517
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/media/index.html.erb within layouts/guts/application (25.7ms)
|
680518
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680519
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680520
|
+
Completed 200 OK in 64ms (Views: 58.1ms | ActiveRecord: 0.8ms)
|
680521
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680522
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680523
|
+
----------------------------------------------------
|
680524
|
+
Guts::MediaControllerTest: test_should_create_medium
|
680525
|
+
----------------------------------------------------
|
680526
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680527
|
+
[1m[35mGuts::Medium Load (0.0ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
680528
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680529
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL
|
680530
|
+
Processing by Guts::MediaController#create as HTML
|
680531
|
+
Parameters: {"medium"=>{"title"=>"Demo File", "file"=>#<Rack::Test::UploadedFile:0x007fca3c852ab0 @content_type="image/png", @original_filename="spongebob.png", @tempfile=#<Tempfile:/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/spongebob.png20160428-13127-leu68q>>}, "content_id"=>"292789487", "filable_type"=>"Guts::Content"}
|
680532
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
680533
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680534
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680535
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
680536
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
680537
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
680538
|
+
Command :: file -b --mime '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-icxkde.png'
|
680539
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]' 2>/dev/null
|
680540
|
+
Command :: identify -format %m '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]'
|
680541
|
+
Command :: convert -auto-orient '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]' -auto-orient -resize "50x50" '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/d7bccde1df6effc2673e0880cd14d4da20160428-13127-17uh6pm'
|
680542
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]' 2>/dev/null
|
680543
|
+
Command :: identify -format %m '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]'
|
680544
|
+
Command :: convert -auto-orient '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]' -auto-orient -resize "100x100" '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/d7bccde1df6effc2673e0880cd14d4da20160428-13127-eo9xlf'
|
680545
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]' 2>/dev/null
|
680546
|
+
Command :: identify -format %m '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]'
|
680547
|
+
Command :: convert -auto-orient '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]' -auto-orient -resize "160x160" '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/d7bccde1df6effc2673e0880cd14d4da20160428-13127-bwe6tq'
|
680548
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]' 2>/dev/null
|
680549
|
+
Command :: identify -format %m '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]'
|
680550
|
+
Command :: convert -auto-orient '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]' -auto-orient -resize "240x240" '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/d7bccde1df6effc2673e0880cd14d4da20160428-13127-18byyl'
|
680551
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]' 2>/dev/null
|
680552
|
+
Command :: identify -format %m '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]'
|
680553
|
+
Command :: convert -auto-orient '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]' -auto-orient -resize "480x480" '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/d7bccde1df6effc2673e0880cd14d4da20160428-13127-1xixpzu'
|
680554
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]' 2>/dev/null
|
680555
|
+
Command :: identify -format %m '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]'
|
680556
|
+
Command :: convert -auto-orient '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]' -auto-orient -resize "600x600" '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/d7bccde1df6effc2673e0880cd14d4da20160428-13127-1mam91l'
|
680557
|
+
Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]' 2>/dev/null
|
680558
|
+
Command :: identify -format %m '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]'
|
680559
|
+
Command :: convert -auto-orient '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1xamh8k.png[0]' -auto-orient -resize "1200x1200" '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/d7bccde1df6effc2673e0880cd14d4da20160428-13127-13k6xlx'
|
680560
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
680561
|
+
Command :: file -b --mime '/var/folders/5b/k_117t415w3b36tsgc4b3l240000gn/T/e1964798cfe86e914af895f8d029181220160428-13127-1n6ued6.png'
|
680562
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "guts_media" ("title", "file_file_name", "file_content_type", "file_file_size", "file_updated_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["title", "Demo File"], ["file_file_name", "spongebob.png"], ["file_content_type", "image/png"], ["file_file_size", 20277], ["file_updated_at", "2016-04-28 03:45:26.915046"], ["created_at", "2016-04-28 03:45:28.440411"], ["updated_at", "2016-04-28 03:45:28.440411"]]
|
680563
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["object_id", 166075618], ["object_type", "Guts::Medium"], ["params", "{}"], ["created_at", "2016-04-28 03:45:28.444349"], ["updated_at", "2016-04-28 03:45:28.444349"]]
|
680564
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
680565
|
+
Redirected to http://test.host/guts/contents/test-page/media
|
680566
|
+
Completed 302 Found in 1548ms (ActiveRecord: 1.1ms)
|
680567
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL[0m
|
680568
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
680569
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680570
|
+
-----------------------------------------------------------------------------
|
680571
|
+
Guts::MediaControllerTest: test_should_not_create_medium_and_send_back_to_new
|
680572
|
+
-----------------------------------------------------------------------------
|
680573
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680574
|
+
[1m[36mGuts::Medium Load (0.1ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1[0m [["id", 166075617]]
|
680575
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
680576
|
+
Processing by Guts::MediaController#create as HTML
|
680577
|
+
Parameters: {"medium"=>{"title"=>""}, "content_id"=>"292789487", "filable_type"=>"Guts::Content"}
|
680578
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
680579
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680580
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680581
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
680582
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
680583
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
680584
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
680585
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
680586
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/media/_form.html.erb (11.7ms)
|
680587
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/media/new.html.erb within layouts/guts/application (12.9ms)
|
680588
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680589
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
680590
|
+
Completed 200 OK in 57ms (Views: 49.3ms | ActiveRecord: 0.6ms)
|
680591
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
680592
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
680593
|
+
-----------------------------------------------
|
680594
|
+
Guts::MediaControllerTest: test_should_get_edit
|
680595
|
+
-----------------------------------------------
|
680596
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680597
|
+
[1m[36mGuts::Medium Load (0.1ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1[0m [["id", 166075617]]
|
680598
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
680599
|
+
Processing by Guts::MediaController#edit as HTML
|
680600
|
+
Parameters: {"id"=>"166075617", "content_id"=>"292789487", "filable_type"=>"Guts::Content"}
|
680601
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
680602
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680603
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680604
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
680605
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
680606
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
680607
|
+
[1m[36mGuts::Medium Load (0.0ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."id" = ? LIMIT 1[0m [["id", 166075617]]
|
680608
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/media/_form.html.erb (8.4ms)
|
680609
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/media/edit.html.erb within layouts/guts/application (9.3ms)
|
680610
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680611
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680612
|
+
Completed 200 OK in 45ms (Views: 39.8ms | ActiveRecord: 0.5ms)
|
680613
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680614
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680615
|
+
-----------------------------------------------------------------
|
680616
|
+
Guts::MediaControllerTest: test_should_get_index_for_non_friendly
|
680617
|
+
-----------------------------------------------------------------
|
680618
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680619
|
+
[1m[35mGuts::Medium Load (0.2ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
680620
|
+
[1m[36mGuts::Content Load (0.2ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680621
|
+
Processing by Guts::MediaController#index as HTML
|
680622
|
+
Parameters: {"user_id"=>"764040363", "filable_type"=>"Guts::User"}
|
680623
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680624
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680625
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680626
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680627
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ? [["filable_id", 764040363], ["filable_type", "Guts::User"]]
|
680628
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 764040363], ["filable_type", "Guts::User"]]
|
680629
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/media/index.html.erb within layouts/guts/application (7.0ms)
|
680630
|
+
Rendered guts/application/_layout_hook.html.erb (0.3ms)
|
680631
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680632
|
+
Completed 200 OK in 42ms (Views: 37.2ms | ActiveRecord: 0.6ms)
|
680633
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
680634
|
+
[1m[35m (0.3ms)[0m begin transaction
|
680635
|
+
----------------------------------------------------
|
680636
|
+
Guts::MediaControllerTest: test_should_destroy_media
|
680637
|
+
----------------------------------------------------
|
680638
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680639
|
+
[1m[35mGuts::Medium Load (0.0ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
680640
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680641
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL
|
680642
|
+
Processing by Guts::MediaController#destroy as HTML
|
680643
|
+
Parameters: {"id"=>"166075617", "content_id"=>"292789487", "filable_type"=>"Guts::Content"}
|
680644
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
680645
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680646
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680647
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
680648
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
680649
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
680650
|
+
[1m[36mGuts::Medium Load (0.0ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."id" = ? LIMIT 1[0m [["id", 166075617]]
|
680651
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
680652
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "guts_media" WHERE "guts_media"."id" = ?[0m [["id", 166075617]]
|
680653
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "destroy"], ["object_id", 166075617], ["object_type", "Guts::Medium"], ["params", "{}"], ["created_at", "2016-04-28 03:45:28.651914"], ["updated_at", "2016-04-28 03:45:28.651914"]]
|
680654
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
680655
|
+
Redirected to http://test.host/guts/contents/test-page/media
|
680656
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.9ms)
|
680657
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL
|
680658
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
680659
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680660
|
+
----------------------------------------------------
|
680661
|
+
Guts::MediaControllerTest: test_should_update_medium
|
680662
|
+
----------------------------------------------------
|
680663
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680664
|
+
[1m[35mGuts::Medium Load (0.0ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
680665
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680666
|
+
Processing by Guts::MediaController#update as HTML
|
680667
|
+
Parameters: {"medium"=>{"title"=>"Demo Me"}, "id"=>"166075617", "content_id"=>"292789487", "filable_type"=>"Guts::Content"}
|
680668
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680669
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680670
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680671
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
680672
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
680673
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680674
|
+
[1m[35mGuts::Medium Load (0.0ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
680675
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
680676
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "guts_media" SET "title" = ?, "updated_at" = ? WHERE "guts_media"."id" = ? [["title", "Demo Me"], ["updated_at", "2016-04-28 03:45:28.676940"], ["id", 166075617]]
|
680677
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
680678
|
+
Redirected to http://test.host/guts/contents/test-page/media
|
680679
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.7ms)
|
680680
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
680681
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680682
|
+
--------------------------------------------------
|
680683
|
+
Guts::MediaControllerTest: test_should_show_medium
|
680684
|
+
--------------------------------------------------
|
680685
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680686
|
+
[1m[36mGuts::Medium Load (0.0ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1[0m [["id", 166075617]]
|
680687
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
680688
|
+
Processing by Guts::MediaController#show as HTML
|
680689
|
+
Parameters: {"id"=>"166075617", "content_id"=>"292789487", "filable_type"=>"Guts::Content"}
|
680690
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
680691
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680692
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680693
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
680694
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
680695
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
680696
|
+
[1m[36mGuts::Medium Load (0.0ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."id" = ? LIMIT 1[0m [["id", 166075617]]
|
680697
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/media/show.html.erb within layouts/guts/application (5.8ms)
|
680698
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680699
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680700
|
+
Completed 200 OK in 42ms (Views: 37.3ms | ActiveRecord: 0.4ms)
|
680701
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680702
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680703
|
+
----------------------------------------------
|
680704
|
+
Guts::MediaControllerTest: test_should_get_new
|
680705
|
+
----------------------------------------------
|
680706
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680707
|
+
[1m[35mGuts::Medium Load (0.0ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
680708
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680709
|
+
Processing by Guts::MediaController#new as HTML
|
680710
|
+
Parameters: {"content_id"=>"292789487", "filable_type"=>"Guts::Content"}
|
680711
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680712
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680713
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680714
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
680715
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
680716
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680717
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/media/_form.html.erb (6.8ms)
|
680718
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/media/new.html.erb within layouts/guts/application (7.5ms)
|
680719
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680720
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680721
|
+
Completed 200 OK in 43ms (Views: 38.3ms | ActiveRecord: 0.4ms)
|
680722
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680723
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680724
|
+
--------------------------------------------------------
|
680725
|
+
Guts::MediaControllerTest: test_should_get_editor_insert
|
680726
|
+
--------------------------------------------------------
|
680727
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680728
|
+
[1m[35mGuts::Medium Load (0.1ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
680729
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680730
|
+
Processing by Guts::MediaController#editor_insert as HTML
|
680731
|
+
Parameters: {"content_id"=>"292789487", "filable_type"=>"Guts::Content", "id"=>"166075617"}
|
680732
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680733
|
+
[1m[36mGuts::User Load (0.3ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680734
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680735
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "292789487"]]
|
680736
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "292789487"]]
|
680737
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680738
|
+
[1m[35mGuts::Medium Load (0.1ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
680739
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/media/editor_insert.html.erb (1.4ms)
|
680740
|
+
Completed 200 OK in 10ms (Views: 4.6ms | ActiveRecord: 0.6ms)
|
680741
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680742
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680743
|
+
------------------------------------------------
|
680744
|
+
Guts::MediaControllerTest: test_should_get_index
|
680745
|
+
------------------------------------------------
|
680746
|
+
[1m[36mGuts::User Load (0.2ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680747
|
+
[1m[35mGuts::Medium Load (0.1ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
680748
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680749
|
+
Processing by Guts::MediaController#index as HTML
|
680750
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680751
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680752
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680753
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL[0m
|
680754
|
+
[1m[35mGuts::Medium Load (0.1ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL LIMIT 30 OFFSET 0
|
680755
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680756
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/media/index.html.erb within layouts/guts/application (17.2ms)
|
680757
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680758
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680759
|
+
Completed 200 OK in 50ms (Views: 47.0ms | ActiveRecord: 0.5ms)
|
680760
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
680761
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680762
|
+
-----------------------------------------------------------------------
|
680763
|
+
Guts::MediaControllerTest: test_should_allow_for_custom_paginated_limit
|
680764
|
+
-----------------------------------------------------------------------
|
680765
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680766
|
+
[1m[35mGuts::Medium Load (0.1ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
680767
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680768
|
+
Processing by Guts::MediaController#index as HTML
|
680769
|
+
Parameters: {"per_page"=>"100"}
|
680770
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
680771
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680772
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680773
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL[0m
|
680774
|
+
[1m[35mGuts::Medium Load (0.1ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL LIMIT 100 OFFSET 0
|
680775
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680776
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/media/index.html.erb within layouts/guts/application (17.2ms)
|
680777
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680778
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680779
|
+
Completed 200 OK in 50ms (Views: 47.5ms | ActiveRecord: 0.6ms)
|
680780
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680781
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680782
|
+
---------------------------------------------------
|
680783
|
+
Guts::NavigationItemTest: test_should_not_be_custom
|
680784
|
+
---------------------------------------------------
|
680785
|
+
[1m[36mGuts::NavigationItem Load (0.1ms)[0m [1mSELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1[0m [["id", 374718506]]
|
680786
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
680787
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680788
|
+
--------------------------------------------------------------
|
680789
|
+
Guts::NavigationItemTest: test_should_not_create_without_title
|
680790
|
+
--------------------------------------------------------------
|
680791
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
680792
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
680793
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
680794
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
680795
|
+
-------------------------------------------------------
|
680796
|
+
Guts::NavigationItemTest: test_should_return_navigation
|
680797
|
+
-------------------------------------------------------
|
680798
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1 [["id", 374718506]]
|
680799
|
+
[1m[36mGuts::Navigation Load (0.0ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
680800
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
680801
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680802
|
+
--------------------------------------------------------
|
680803
|
+
Guts::NavigationItemTest: test_should_return_navigatable
|
680804
|
+
--------------------------------------------------------
|
680805
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1 [["id", 374718506]]
|
680806
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
680807
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
680808
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
680809
|
+
----------------------------------------------------------------------
|
680810
|
+
Guts::NavigationItemTest: test_should_return_metafields_for_navigation
|
680811
|
+
----------------------------------------------------------------------
|
680812
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1 [["id", 374718506]]
|
680813
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 374718506], ["fieldable_type", "Guts::NavigationItem"]]
|
680814
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
680815
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680816
|
+
-----------------------------------------------
|
680817
|
+
Guts::NavigationItemTest: test_should_be_custom
|
680818
|
+
-----------------------------------------------
|
680819
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1 [["id", 368097465]]
|
680820
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680821
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680822
|
+
----------------------------------------
|
680823
|
+
Guts::UserTest: test_should_be_trackable
|
680824
|
+
----------------------------------------
|
680825
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
680826
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680827
|
+
----------------------------------------------------------
|
680828
|
+
Guts::UserTest: test_should_not_create_user_with_bad_email
|
680829
|
+
----------------------------------------------------------
|
680830
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
680831
|
+
[1m[35mGuts::User Exists (0.1ms)[0m SELECT 1 AS one FROM "guts_users" WHERE LOWER("guts_users"."email") = LOWER('dudeman') LIMIT 1
|
680832
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
680833
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
680834
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680835
|
+
---------------------------------------------------------------
|
680836
|
+
Guts::UserTest: test_should_not_create_user_with_small_password
|
680837
|
+
---------------------------------------------------------------
|
680838
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
680839
|
+
[1m[36mGuts::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "guts_users" WHERE LOWER("guts_users"."email") = LOWER('test@domain2.com') LIMIT 1[0m
|
680840
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
680841
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
680842
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680843
|
+
---------------------------------------------
|
680844
|
+
Guts::UserTest: test_should_belong_to_a_group
|
680845
|
+
---------------------------------------------
|
680846
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680847
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1 [["id", 639558351]]
|
680848
|
+
[1m[36mGuts::Group Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? AND "guts_groups"."id" = ? LIMIT 1[0m [["user_id", 764040363], ["id", 639558351]]
|
680849
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
680850
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680851
|
+
---------------------------------------------------------------
|
680852
|
+
Guts::UserTest: test_should_not_create_user_with_existing_email
|
680853
|
+
---------------------------------------------------------------
|
680854
|
+
[1m[35mGuts::User Load (0.2ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680855
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
680856
|
+
[1m[35mGuts::User Exists (0.1ms)[0m SELECT 1 AS one FROM "guts_users" WHERE LOWER("guts_users"."email") = LOWER('test@domain.com') LIMIT 1
|
680857
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
680858
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
680859
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680860
|
+
-----------------------------------------------------------
|
680861
|
+
Guts::UserTest: test_should_not_create_user_with_large_name
|
680862
|
+
-----------------------------------------------------------
|
680863
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
680864
|
+
[1m[36mGuts::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "guts_users" WHERE "guts_users"."email" IS NULL LIMIT 1[0m
|
680865
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
680866
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
680867
|
+
[1m[35m (0.0ms)[0m begin transaction
|
680868
|
+
-----------------------------------------------
|
680869
|
+
Guts::UserTest: test_should_downcase_user_email
|
680870
|
+
-----------------------------------------------
|
680871
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
680872
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680873
|
+
--------------------------------------------------------
|
680874
|
+
Guts::UserTest: test_should_not_create_user_without_name
|
680875
|
+
--------------------------------------------------------
|
680876
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
680877
|
+
[1m[35mGuts::User Exists (0.1ms)[0m SELECT 1 AS one FROM "guts_users" WHERE "guts_users"."email" IS NULL LIMIT 1
|
680878
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
680879
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
680880
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
680881
|
+
------------------------------------------------------
|
680882
|
+
Guts::UserTest: test_should_return_metafields_for_user
|
680883
|
+
------------------------------------------------------
|
680884
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680885
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 764040363], ["fieldable_type", "Guts::User"]]
|
680886
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
680887
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680888
|
+
--------------------------------------
|
680889
|
+
UserMailerTest: test_should_send_reset
|
680890
|
+
--------------------------------------
|
680891
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680892
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/user_mailer/password_reset.html.erb within layouts/guts/mailer (3.1ms)
|
680893
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/user_mailer/password_reset.text.erb within layouts/guts/mailer (3.6ms)
|
680894
|
+
|
680895
|
+
Guts::UserMailer#password_reset: processed outbound mail in 36.4ms
|
680896
|
+
|
680897
|
+
Sent mail to test@domain.com (13.2ms)
|
680898
|
+
Date: Thu, 28 Apr 2016 01:15:29 -0230
|
680899
|
+
From: from@example.com
|
680900
|
+
To: test@domain.com
|
680901
|
+
Message-ID: <5721875932bf2_33473fe51c85e1fc96424@Tylers-MacBook-Pro.local.mail>
|
680902
|
+
Subject: Reset Password
|
680903
|
+
Mime-Version: 1.0
|
680904
|
+
Content-Type: multipart/alternative;
|
680905
|
+
boundary="--==_mimepart_572187593065f_33473fe51c85e1fc963a7";
|
680906
|
+
charset=UTF-8
|
680907
|
+
Content-Transfer-Encoding: 7bit
|
680908
|
+
|
680909
|
+
|
680910
|
+
----==_mimepart_572187593065f_33473fe51c85e1fc963a7
|
680911
|
+
Content-Type: text/plain;
|
680912
|
+
charset=UTF-8
|
680913
|
+
Content-Transfer-Encoding: 7bit
|
680914
|
+
|
680915
|
+
|
680916
|
+
Hi, Test Admin
|
680917
|
+
|
680918
|
+
You are receiving this email because you've requested a new password.
|
680919
|
+
|
680920
|
+
Please click http://test.yourhost.com/guts/session/reset_password/123456 to reset your password. We will automatically generate you a secure password for future use.
|
680921
|
+
|
680922
|
+
----==_mimepart_572187593065f_33473fe51c85e1fc963a7
|
680923
|
+
Content-Type: text/html;
|
680924
|
+
charset=UTF-8
|
680925
|
+
Content-Transfer-Encoding: 7bit
|
680926
|
+
|
680927
|
+
<html>
|
680928
|
+
<head>
|
680929
|
+
|
680930
|
+
</head>
|
680931
|
+
<body>
|
680932
|
+
|
680933
|
+
<p>Hi, Test Admin</p>
|
680934
|
+
<p>You are receiving this email because you've requested a new password.</p>
|
680935
|
+
<p>Please click <a href="http://test.yourhost.com/guts/session/reset_password/123456">here</a> to reset your password. We will automatically generate you a secure password for future use.</p>
|
680936
|
+
|
680937
|
+
|
680938
|
+
</body>
|
680939
|
+
</html>
|
680940
|
+
|
680941
|
+
----==_mimepart_572187593065f_33473fe51c85e1fc963a7--
|
680942
|
+
|
680943
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680944
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680945
|
+
-------------------------------------------------------------------------------------------
|
680946
|
+
Guts::ApplicationControllerWithMultisiteTest: test_should_set_current_site_with_actual_site
|
680947
|
+
-------------------------------------------------------------------------------------------
|
680948
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680949
|
+
Processing by Guts::UsersController#index as HTML
|
680950
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "fr.testsite.com"]]
|
680951
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
680952
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680953
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_users"[0m
|
680954
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users"
|
680955
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 567506384]]
|
680956
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
680957
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/index.html.erb within layouts/guts/application (16.3ms)
|
680958
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680959
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" = ?[0m [["site_id", 27609037]]
|
680960
|
+
Completed 200 OK in 54ms (Views: 51.6ms | ActiveRecord: 0.6ms)
|
680961
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
680962
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680963
|
+
---------------------------------------------------------------------------------------------------------
|
680964
|
+
Guts::ApplicationControllerWithMultisiteTest: test_should_set_current_site_and_current_site_should_be_nil
|
680965
|
+
---------------------------------------------------------------------------------------------------------
|
680966
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680967
|
+
Processing by Guts::UsersController#index as HTML
|
680968
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
680969
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
680970
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680971
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_users"
|
680972
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users"[0m
|
680973
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 567506384]]
|
680974
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
680975
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/index.html.erb within layouts/guts/application (15.4ms)
|
680976
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
680977
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
680978
|
+
Completed 200 OK in 50ms (Views: 47.7ms | ActiveRecord: 0.6ms)
|
680979
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
680980
|
+
[1m[35m (0.0ms)[0m begin transaction
|
680981
|
+
-------------------------------------------
|
680982
|
+
Guts::OptionTest: test_should_create_option
|
680983
|
+
-------------------------------------------
|
680984
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
680985
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "guts_options" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "one_key"], ["value", "To rule them all"], ["created_at", "2016-04-28 03:45:29.340370"], ["updated_at", "2016-04-28 03:45:29.340370"]]
|
680986
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["object_id", 202528442], ["object_type", "Guts::Option"], ["params", "{}"], ["created_at", "2016-04-28 03:45:29.342488"], ["updated_at", "2016-04-28 03:45:29.342488"]]
|
680987
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
680988
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
680989
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680990
|
+
------------------------------------------------------------
|
680991
|
+
Guts::OptionTest: test_option_should_be_multisite_compatible
|
680992
|
+
------------------------------------------------------------
|
680993
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
680994
|
+
[1m[35m (0.1ms)[0m begin transaction
|
680995
|
+
------------------------------------------
|
680996
|
+
Guts::OptionTest: test_should_be_trackable
|
680997
|
+
------------------------------------------
|
680998
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
680999
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681000
|
+
----------------------------------------------------------------------------
|
681001
|
+
Guts::OptionTest: test_should_not_create_with_key_less_than_three_characters
|
681002
|
+
----------------------------------------------------------------------------
|
681003
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
681004
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
681005
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681006
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681007
|
+
----------------------------------------------------
|
681008
|
+
Guts::OptionTest: test_should_not_create_without_key
|
681009
|
+
----------------------------------------------------
|
681010
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
681011
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
681012
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
681013
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681014
|
+
------------------------------------------------
|
681015
|
+
Guts::OptionTest: test_should_normalize_key_name
|
681016
|
+
------------------------------------------------
|
681017
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681018
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681019
|
+
-------------------------------------------------------------
|
681020
|
+
Guts::OptionTest: test_should_find_by_key_using_helper_method
|
681021
|
+
-------------------------------------------------------------
|
681022
|
+
[1m[36mGuts::Option Load (0.2ms)[0m [1mSELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."site_id" IS NULL AND "guts_options"."key" = ? LIMIT 1[0m [["key", "test_key"]]
|
681023
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681024
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
681025
|
+
------------------------------------------------------------------
|
681026
|
+
Guts::MetafieldTest: test_metafield_should_be_multisite_compatible
|
681027
|
+
------------------------------------------------------------------
|
681028
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
681029
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
681030
|
+
-----------------------------------------------------------
|
681031
|
+
Guts::MetafieldTest: test_should_belong_to_a_fieldable_type
|
681032
|
+
-----------------------------------------------------------
|
681033
|
+
[1m[35mGuts::Metafield Load (0.1ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."id" = ? LIMIT 1 [["id", 434488443]]
|
681034
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
681035
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681036
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681037
|
+
-------------------------------------------------------
|
681038
|
+
Guts::MetafieldTest: test_should_not_create_without_key
|
681039
|
+
-------------------------------------------------------
|
681040
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
681041
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
681042
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
681043
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681044
|
+
-----------------------------------------------------------------------
|
681045
|
+
Guts::UsersTaskTest: test_user_should_not_be_deleted_if_they_dont_exist
|
681046
|
+
-----------------------------------------------------------------------
|
681047
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."email" = ? LIMIT 1 [["email", "timmy.kimble@gmail.com"]]
|
681048
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
681049
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681050
|
+
------------------------------------------------
|
681051
|
+
Guts::UsersTaskTest: test_user_should_be_created
|
681052
|
+
------------------------------------------------
|
681053
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."title" = ? LIMIT 1[0m [["title", "Admins"]]
|
681054
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
681055
|
+
[1m[36mGuts::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "guts_users" WHERE LOWER("guts_users"."email") = LOWER('tom.jones@gmail.com') LIMIT 1[0m
|
681056
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "guts_users" ("name", "password_digest", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Tom Jones"], ["password_digest", "$2a$04$hItVmdfhyoTuPSzRp8hJuuCyiltbSMsdWEJsThOdm9KJJl/QNzhCq"], ["email", "tom.jones@gmail.com"], ["created_at", "2016-04-28 03:45:29.374254"], ["updated_at", "2016-04-28 03:45:29.374254"]]
|
681057
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_user_groups" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["group_id", 639558351], ["user_id", 764040364], ["created_at", "2016-04-28 03:45:29.375832"], ["updated_at", "2016-04-28 03:45:29.375832"]]
|
681058
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "create"], ["object_id", 764040364], ["object_type", "Guts::User"], ["params", "{}"], ["created_at", "2016-04-28 03:45:29.378138"], ["updated_at", "2016-04-28 03:45:29.378138"]]
|
681059
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
681060
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
681061
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681062
|
+
---------------------------------------------------------------------------
|
681063
|
+
Guts::UsersTaskTest: test_user_should_not_be_deleted_if_missing_information
|
681064
|
+
---------------------------------------------------------------------------
|
681065
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681066
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681067
|
+
-----------------------------------------------------------------------------
|
681068
|
+
Guts::UsersTaskTest: test_user_should_not_be_created_when_missing_information
|
681069
|
+
-----------------------------------------------------------------------------
|
681070
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681071
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681072
|
+
---------------------------------------------------------------------------------
|
681073
|
+
Guts::UsersTaskTest: test_should_not_set_new_password_for_user_if_they_dont_exist
|
681074
|
+
---------------------------------------------------------------------------------
|
681075
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."email" = ? LIMIT 1 [["email", "timmy.kimble@gmail.com"]]
|
681076
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681077
|
+
[1m[35m (0.2ms)[0m begin transaction
|
681078
|
+
---------------------------------------------------------------------------------
|
681079
|
+
Guts::UsersTaskTest: test_should_not_set_password_for_user_if_missing_information
|
681080
|
+
---------------------------------------------------------------------------------
|
681081
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681082
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681083
|
+
----------------------------------------------------------
|
681084
|
+
Guts::UsersTaskTest: test_should_set_new_password_for_user
|
681085
|
+
----------------------------------------------------------
|
681086
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."title" = ? LIMIT 1[0m [["title", "Admins"]]
|
681087
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
681088
|
+
[1m[36mGuts::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "guts_users" WHERE LOWER("guts_users"."email") = LOWER('tom.jonesed@gmail.com') LIMIT 1[0m
|
681089
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "guts_users" ("name", "password_digest", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Tom Jonesed"], ["password_digest", "$2a$04$3xNog9GdjzWaNkTd7fUXgeTmU4DOU0S1z38re2VtD0qZEYm5Kia1K"], ["email", "tom.jonesed@gmail.com"], ["created_at", "2016-04-28 03:45:29.394654"], ["updated_at", "2016-04-28 03:45:29.394654"]]
|
681090
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_user_groups" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["group_id", 639558351], ["user_id", 764040364], ["created_at", "2016-04-28 03:45:29.395871"], ["updated_at", "2016-04-28 03:45:29.395871"]]
|
681091
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "create"], ["object_id", 764040364], ["object_type", "Guts::User"], ["params", "{}"], ["created_at", "2016-04-28 03:45:29.397807"], ["updated_at", "2016-04-28 03:45:29.397807"]]
|
681092
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
681093
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."email" = ? LIMIT 1 [["email", "tom.jonesed@gmail.com"]]
|
681094
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
681095
|
+
[1m[35mGuts::User Exists (0.1ms)[0m SELECT 1 AS one FROM "guts_users" WHERE (LOWER("guts_users"."email") = LOWER('tom.jonesed@gmail.com') AND "guts_users"."id" != 764040364) LIMIT 1
|
681096
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "guts_users" SET "password_digest" = ?, "updated_at" = ? WHERE "guts_users"."id" = ?[0m [["password_digest", "$2a$04$Cxnx1jIpESDiXGdR2hLb4.tYiEaFiLS1awvczhiE5mUheMITCaQg."], ["updated_at", "2016-04-28 03:45:29.402118"], ["id", 764040364]]
|
681097
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "update"], ["object_id", 764040364], ["object_type", "Guts::User"], ["params", "{}"], ["created_at", "2016-04-28 03:45:29.404492"], ["updated_at", "2016-04-28 03:45:29.404492"]]
|
681098
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
681099
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
681100
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681101
|
+
------------------------------------------------
|
681102
|
+
Guts::UsersTaskTest: test_user_should_be_deleted
|
681103
|
+
------------------------------------------------
|
681104
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."title" = ? LIMIT 1 [["title", "Admins"]]
|
681105
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
681106
|
+
[1m[35mGuts::User Exists (0.1ms)[0m SELECT 1 AS one FROM "guts_users" WHERE LOWER("guts_users"."email") = LOWER('tom.joneser@gmail.com') LIMIT 1
|
681107
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "guts_users" ("name", "password_digest", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Tom Joneser"], ["password_digest", "$2a$04$tfC.mP4TnR.f/oY5Q3O3re7s6VoAdbiBEct5L4dxya/xNC8spSllq"], ["email", "tom.joneser@gmail.com"], ["created_at", "2016-04-28 03:45:29.412461"], ["updated_at", "2016-04-28 03:45:29.412461"]]
|
681108
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_user_groups" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 639558351], ["user_id", 764040364], ["created_at", "2016-04-28 03:45:29.413781"], ["updated_at", "2016-04-28 03:45:29.413781"]]
|
681109
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["object_id", 764040364], ["object_type", "Guts::User"], ["params", "{}"], ["created_at", "2016-04-28 03:45:29.416516"], ["updated_at", "2016-04-28 03:45:29.416516"]]
|
681110
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
681111
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."email" = ? LIMIT 1[0m [["email", "tom.joneser@gmail.com"]]
|
681112
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
681113
|
+
[1m[36mGuts::Medium Load (0.1ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 764040364], ["filable_type", "Guts::User"]]
|
681114
|
+
[1m[35mGuts::Metafield Load (0.1ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 764040364], ["fieldable_type", "Guts::User"]]
|
681115
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "guts_users" WHERE "guts_users"."id" = ?[0m [["id", 764040364]]
|
681116
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "destroy"], ["object_id", 764040364], ["object_type", "Guts::User"], ["params", "{}"], ["created_at", "2016-04-28 03:45:29.424431"], ["updated_at", "2016-04-28 03:45:29.424431"]]
|
681117
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
681118
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
681119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681120
|
+
---------------------------------------------
|
681121
|
+
Guts::ContentTest: test_should_return_no_user
|
681122
|
+
---------------------------------------------
|
681123
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681124
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 343024605]]
|
681125
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681126
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681127
|
+
----------------------------------------------------------
|
681128
|
+
Guts::ContentTest: test_should_return_category_for_content
|
681129
|
+
----------------------------------------------------------
|
681130
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681131
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
681132
|
+
[1m[35mGuts::Category Load (0.0ms)[0m SELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."id" = ? LIMIT 1 [["id", 321852057]]
|
681133
|
+
[1m[36mGuts::Category Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "guts_categories" INNER JOIN "guts_categorizations" ON "guts_categories"."id" = "guts_categorizations"."category_id" WHERE "guts_categories"."site_id" IS NULL AND "guts_categorizations"."content_id" = ? AND "guts_categories"."id" = ? LIMIT 1[0m [["content_id", 292789487], ["id", 321852057]]
|
681134
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681135
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681136
|
+
-------------------------------------------------------
|
681137
|
+
Guts::ContentTest: test_should_not_create_without_title
|
681138
|
+
-------------------------------------------------------
|
681139
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681140
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
681141
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
681142
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
681143
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681144
|
+
------------------------------------------------------------
|
681145
|
+
Guts::ContentTest: test_should_return_metafields_for_content
|
681146
|
+
------------------------------------------------------------
|
681147
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681148
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
681149
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 292789487], ["fieldable_type", "Guts::Content"]]
|
681150
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
681151
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681152
|
+
------------------------------------------------------
|
681153
|
+
Guts::ContentTest: test_should_not_create_without_type
|
681154
|
+
------------------------------------------------------
|
681155
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681156
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
681157
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
681158
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
681159
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
681160
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681161
|
+
-------------------------------------------
|
681162
|
+
Guts::ContentTest: test_should_be_trackable
|
681163
|
+
-------------------------------------------
|
681164
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681165
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
681166
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681167
|
+
------------------------------------------
|
681168
|
+
Guts::ContentTest: test_should_return_user
|
681169
|
+
------------------------------------------
|
681170
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681171
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
681172
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681173
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681174
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681175
|
+
-------------------------------------------------------------------------------
|
681176
|
+
Guts::ContentTest: test_should_not_create_with_title_less_than_three_characters
|
681177
|
+
-------------------------------------------------------------------------------
|
681178
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681179
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
681180
|
+
[1m[35mGuts::Content Exists (0.1ms)[0m SELECT 1 AS one FROM "guts_contents" WHERE ("guts_contents"."id" IS NOT NULL) AND "guts_contents"."slug" = ? LIMIT 1 [["slug", "12"]]
|
681181
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
681182
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
681183
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681184
|
+
----------------------------------------------------
|
681185
|
+
Guts::ContentTest: test_should_create_slug_for_title
|
681186
|
+
----------------------------------------------------
|
681187
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681188
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
681189
|
+
[1m[35mGuts::Content Exists (0.0ms)[0m SELECT 1 AS one FROM "guts_contents" WHERE ("guts_contents"."id" IS NOT NULL) AND "guts_contents"."slug" = ? LIMIT 1 [["slug", "how-to-win-an-xbox"]]
|
681190
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
681191
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
681192
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681193
|
+
--------------------------------------------------------------
|
681194
|
+
Guts::ContentTest: test_content_should_be_multisite_compatible
|
681195
|
+
--------------------------------------------------------------
|
681196
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681197
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
681198
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681199
|
+
-------------------------------------------------------
|
681200
|
+
Guts::ContentTest: test_should_create_content_with_user
|
681201
|
+
-------------------------------------------------------
|
681202
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681203
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
681204
|
+
[1m[36mGuts::Content Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "guts_contents" WHERE ("guts_contents"."id" IS NOT NULL) AND "guts_contents"."slug" = ? LIMIT 1[0m [["slug", "i-love-users"]]
|
681205
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
681206
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681207
|
+
[1m[35m (0.0ms)[0m begin transaction
|
681208
|
+
--------------------------------------------------------
|
681209
|
+
Guts::ContentTest: test_should_return_navigatable_format
|
681210
|
+
--------------------------------------------------------
|
681211
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681212
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
681213
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
681214
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681215
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681216
|
+
-----------------------------------------------------------------------------
|
681217
|
+
Guts::ApplicationHelperTest: test_should_return_hidden_form_field_for_site_ID
|
681218
|
+
-----------------------------------------------------------------------------
|
681219
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
681220
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
681221
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681222
|
+
--------------------------------------------------------------
|
681223
|
+
Guts::ApplicationHelperTest: test_should_return_a_destroy_link
|
681224
|
+
--------------------------------------------------------------
|
681225
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681226
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681227
|
+
---------------------------------------------------------------
|
681228
|
+
Guts::ApplicationHelperTest: test_should_return_subtitle_format
|
681229
|
+
---------------------------------------------------------------
|
681230
|
+
[1m[36mGuts::NavigationItem Load (0.1ms)[0m [1mSELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ? LIMIT 1[0m [["id", 374718506]]
|
681231
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
681232
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
681233
|
+
-------------------------------------------------------------
|
681234
|
+
Guts::ApplicationHelperTest: test_should_return_proper_css_ID
|
681235
|
+
-------------------------------------------------------------
|
681236
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
681237
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681238
|
+
--------------------------------------------------------------
|
681239
|
+
Guts::ApplicationHelperTest: test_should_return_menu_as_active
|
681240
|
+
--------------------------------------------------------------
|
681241
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
681242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
681243
|
+
-------------------------------------------------------------------------
|
681244
|
+
Guts::ApplicationHelperTest: test_should_return_menu_as_active_non-strict
|
681245
|
+
-------------------------------------------------------------------------
|
681246
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
681247
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681248
|
+
------------------------------------------------------------------
|
681249
|
+
Guts::ApplicationHelperTest: test_should_not_return_menu_as_active
|
681250
|
+
------------------------------------------------------------------
|
681251
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
681252
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
681253
|
+
------------------------------------------------
|
681254
|
+
Guts::OptionsControllerTest: test_should_get_new
|
681255
|
+
------------------------------------------------
|
681256
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681257
|
+
[1m[36mGuts::Option Load (0.1ms)[0m [1mSELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."id" = ? LIMIT 1[0m [["id", 202528441]]
|
681258
|
+
Processing by Guts::OptionsController#new as HTML
|
681259
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
681260
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681261
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
681262
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/_form.html.erb (8.2ms)
|
681263
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/new.html.erb within layouts/guts/application (10.6ms)
|
681264
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681265
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
681266
|
+
Completed 200 OK in 51ms (Views: 48.1ms | ActiveRecord: 0.3ms)
|
681267
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681268
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681269
|
+
-------------------------------------------------------
|
681270
|
+
Guts::OptionsControllerTest: test_should_destroy_option
|
681271
|
+
-------------------------------------------------------
|
681272
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681273
|
+
[1m[36mGuts::Option Load (0.0ms)[0m [1mSELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."id" = ? LIMIT 1[0m [["id", 202528441]]
|
681274
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_options" WHERE "guts_options"."site_id" IS NULL
|
681275
|
+
Processing by Guts::OptionsController#destroy as HTML
|
681276
|
+
Parameters: {"id"=>"202528441"}
|
681277
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681278
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681279
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681280
|
+
[1m[35mGuts::Option Load (0.1ms)[0m SELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."site_id" IS NULL AND "guts_options"."id" = ? LIMIT 1 [["id", 202528441]]
|
681281
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
681282
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "guts_options" WHERE "guts_options"."id" = ? [["id", 202528441]]
|
681283
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "destroy"], ["object_id", 202528441], ["object_type", "Guts::Option"], ["params", "{}"], ["created_at", "2016-04-28 03:45:29.551317"], ["updated_at", "2016-04-28 03:45:29.551317"]]
|
681284
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
681285
|
+
Redirected to http://test.host/guts/options
|
681286
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
|
681287
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_options" WHERE "guts_options"."site_id" IS NULL[0m
|
681288
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
681289
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681290
|
+
------------------------------------------------------
|
681291
|
+
Guts::OptionsControllerTest: test_should_create_option
|
681292
|
+
------------------------------------------------------
|
681293
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681294
|
+
[1m[36mGuts::Option Load (0.1ms)[0m [1mSELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."id" = ? LIMIT 1[0m [["id", 202528441]]
|
681295
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_options" WHERE "guts_options"."site_id" IS NULL
|
681296
|
+
Processing by Guts::OptionsController#create as HTML
|
681297
|
+
Parameters: {"option"=>{"key"=>"Testing Key", "value"=>"123"}}
|
681298
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681299
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681300
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681301
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
681302
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "guts_options" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "testing_key"], ["value", "123"], ["created_at", "2016-04-28 03:45:29.568698"], ["updated_at", "2016-04-28 03:45:29.568698"]]
|
681303
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "create"], ["object_id", 202528442], ["object_type", "Guts::Option"], ["params", "{}"], ["created_at", "2016-04-28 03:45:29.570648"], ["updated_at", "2016-04-28 03:45:29.570648"]]
|
681304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
681305
|
+
Redirected to http://test.host/guts/options
|
681306
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
|
681307
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_options" WHERE "guts_options"."site_id" IS NULL
|
681308
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
681309
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681310
|
+
----------------------------------------------------
|
681311
|
+
Guts::OptionsControllerTest: test_should_show_option
|
681312
|
+
----------------------------------------------------
|
681313
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681314
|
+
[1m[35mGuts::Option Load (0.1ms)[0m SELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."id" = ? LIMIT 1 [["id", 202528441]]
|
681315
|
+
Processing by Guts::OptionsController#show as HTML
|
681316
|
+
Parameters: {"id"=>"202528441"}
|
681317
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681318
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681319
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681320
|
+
[1m[35mGuts::Option Load (0.1ms)[0m SELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."site_id" IS NULL AND "guts_options"."id" = ? LIMIT 1 [["id", 202528441]]
|
681321
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/show.html.erb within layouts/guts/application (3.5ms)
|
681322
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681323
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
681324
|
+
Completed 200 OK in 42ms (Views: 37.1ms | ActiveRecord: 0.4ms)
|
681325
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681327
|
+
-------------------------------------------------
|
681328
|
+
Guts::OptionsControllerTest: test_should_get_edit
|
681329
|
+
-------------------------------------------------
|
681330
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681331
|
+
[1m[36mGuts::Option Load (0.0ms)[0m [1mSELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."id" = ? LIMIT 1[0m [["id", 202528441]]
|
681332
|
+
Processing by Guts::OptionsController#edit as HTML
|
681333
|
+
Parameters: {"id"=>"202528441"}
|
681334
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
681335
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681336
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
681337
|
+
[1m[36mGuts::Option Load (0.0ms)[0m [1mSELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."site_id" IS NULL AND "guts_options"."id" = ? LIMIT 1[0m [["id", 202528441]]
|
681338
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/_form.html.erb (6.9ms)
|
681339
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/edit.html.erb within layouts/guts/application (7.8ms)
|
681340
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681341
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
681342
|
+
Completed 200 OK in 46ms (Views: 43.3ms | ActiveRecord: 0.3ms)
|
681343
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681344
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681345
|
+
-------------------------------------------------------------------------
|
681346
|
+
Guts::OptionsControllerTest: test_should_allow_for_custom_paginated_limit
|
681347
|
+
-------------------------------------------------------------------------
|
681348
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681349
|
+
[1m[35mGuts::Option Load (0.0ms)[0m SELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."id" = ? LIMIT 1 [["id", 202528441]]
|
681350
|
+
Processing by Guts::OptionsController#index as HTML
|
681351
|
+
Parameters: {"per_page"=>"100"}
|
681352
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681353
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681354
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681355
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_options" WHERE "guts_options"."site_id" IS NULL
|
681356
|
+
[1m[36mGuts::Option Load (0.1ms)[0m [1mSELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."site_id" IS NULL LIMIT 100 OFFSET 0[0m
|
681357
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/index.html.erb within layouts/guts/application (8.6ms)
|
681358
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681359
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
681360
|
+
Completed 200 OK in 43ms (Views: 39.5ms | ActiveRecord: 0.5ms)
|
681361
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681362
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681363
|
+
--------------------------------------------------
|
681364
|
+
Guts::OptionsControllerTest: test_should_get_index
|
681365
|
+
--------------------------------------------------
|
681366
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681367
|
+
[1m[35mGuts::Option Load (0.0ms)[0m SELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."id" = ? LIMIT 1 [["id", 202528441]]
|
681368
|
+
Processing by Guts::OptionsController#index as HTML
|
681369
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681370
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681371
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681372
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_options" WHERE "guts_options"."site_id" IS NULL
|
681373
|
+
[1m[36mGuts::Option Load (0.1ms)[0m [1mSELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."site_id" IS NULL LIMIT 30 OFFSET 0[0m
|
681374
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/index.html.erb within layouts/guts/application (9.3ms)
|
681375
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681376
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
681377
|
+
Completed 200 OK in 40ms (Views: 37.2ms | ActiveRecord: 0.6ms)
|
681378
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681379
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681380
|
+
-----------------------------------------------------------------------------------
|
681381
|
+
Guts::OptionsControllerTest: test_should_fail_to_create_option_and_send_back_to_new
|
681382
|
+
-----------------------------------------------------------------------------------
|
681383
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681384
|
+
[1m[35mGuts::Option Load (0.0ms)[0m SELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."id" = ? LIMIT 1 [["id", 202528441]]
|
681385
|
+
Processing by Guts::OptionsController#create as HTML
|
681386
|
+
Parameters: {"option"=>{"key"=>""}}
|
681387
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681388
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681389
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681390
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
681391
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
681392
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/_form.html.erb (5.8ms)
|
681393
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/new.html.erb within layouts/guts/application (6.0ms)
|
681394
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681395
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
681396
|
+
Completed 200 OK in 40ms (Views: 36.0ms | ActiveRecord: 0.4ms)
|
681397
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681398
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681399
|
+
----------------------------------------------------------------------------------
|
681400
|
+
Guts::OptionsControllerTest: test_should_fail_to_edit_option_and_send_back_to_edit
|
681401
|
+
----------------------------------------------------------------------------------
|
681402
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681403
|
+
[1m[35mGuts::Option Load (0.2ms)[0m SELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."id" = ? LIMIT 1 [["id", 202528441]]
|
681404
|
+
Processing by Guts::OptionsController#update as HTML
|
681405
|
+
Parameters: {"option"=>{"key"=>""}, "id"=>"202528441"}
|
681406
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681407
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681408
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681409
|
+
[1m[35mGuts::Option Load (0.0ms)[0m SELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."site_id" IS NULL AND "guts_options"."id" = ? LIMIT 1 [["id", 202528441]]
|
681410
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
681411
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
681412
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/_form.html.erb (5.8ms)
|
681413
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/options/edit.html.erb within layouts/guts/application (6.1ms)
|
681414
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681415
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
681416
|
+
Completed 200 OK in 38ms (Views: 34.0ms | ActiveRecord: 0.4ms)
|
681417
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681418
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681419
|
+
------------------------------------------------------
|
681420
|
+
Guts::OptionsControllerTest: test_should_update_option
|
681421
|
+
------------------------------------------------------
|
681422
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681423
|
+
[1m[36mGuts::Option Load (0.0ms)[0m [1mSELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."id" = ? LIMIT 1[0m [["id", 202528441]]
|
681424
|
+
Processing by Guts::OptionsController#update as HTML
|
681425
|
+
Parameters: {"option"=>{"value"=>"Hey!"}, "id"=>"202528441"}
|
681426
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
681427
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681428
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
681429
|
+
[1m[36mGuts::Option Load (0.0ms)[0m [1mSELECT "guts_options".* FROM "guts_options" WHERE "guts_options"."site_id" IS NULL AND "guts_options"."id" = ? LIMIT 1[0m [["id", 202528441]]
|
681430
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
681431
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "guts_options" SET "value" = ?, "updated_at" = ? WHERE "guts_options"."id" = ?[0m [["value", "Hey!"], ["updated_at", "2016-04-28 03:45:29.873325"], ["id", 202528441]]
|
681432
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "update"], ["object_id", 202528441], ["object_type", "Guts::Option"], ["params", "{\"value\":[\"123\",\"Hey!\"]}"], ["created_at", "2016-04-28 03:45:29.875363"], ["updated_at", "2016-04-28 03:45:29.875363"]]
|
681433
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
681434
|
+
Redirected to http://test.host/guts/options
|
681435
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.7ms)
|
681436
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
681437
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681438
|
+
----------------------------------------------------------------------
|
681439
|
+
Guts::TrackerTest: test_should_have_a_before_and_after_value_for_param
|
681440
|
+
----------------------------------------------------------------------
|
681441
|
+
[1m[35mGuts::Tracker Load (0.1ms)[0m SELECT "guts_trackers".* FROM "guts_trackers" WHERE "guts_trackers"."id" = ? LIMIT 1 [["id", 980190962]]
|
681442
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
681443
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681444
|
+
--------------------------------------------------------------
|
681445
|
+
Guts::TrackerTest: test_tracker_should_be_multisite_compatible
|
681446
|
+
--------------------------------------------------------------
|
681447
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681448
|
+
[1m[35m (0.0ms)[0m begin transaction
|
681449
|
+
----------------------------------------------------
|
681450
|
+
Guts::TrackerTest: test_should_return_a_track_object
|
681451
|
+
----------------------------------------------------
|
681452
|
+
[1m[36mGuts::Tracker Load (0.1ms)[0m [1mSELECT "guts_trackers".* FROM "guts_trackers" WHERE "guts_trackers"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
681453
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
681454
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681455
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681456
|
+
-----------------------------------------------------------------
|
681457
|
+
Guts::TrackerTest: test_should_return_a_track_params_in_JSON_Hash
|
681458
|
+
-----------------------------------------------------------------
|
681459
|
+
[1m[36mGuts::Tracker Load (0.1ms)[0m [1mSELECT "guts_trackers".* FROM "guts_trackers" WHERE "guts_trackers"."id" = ? LIMIT 1[0m [["id", 980190962]]
|
681460
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681461
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
681462
|
+
------------------------------------------------------------------
|
681463
|
+
Guts::SessionsControllerTest: test_should_reset_the_users_password
|
681464
|
+
------------------------------------------------------------------
|
681465
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681466
|
+
Processing by Guts::SessionsController#reset_password as HTML
|
681467
|
+
Parameters: {"token"=>"123456"}
|
681468
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681469
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."password_token" = ? LIMIT 1 [["password_token", "123456"]]
|
681470
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
681471
|
+
[1m[35mGuts::User Exists (0.1ms)[0m SELECT 1 AS one FROM "guts_users" WHERE (LOWER("guts_users"."email") = LOWER('test@domain.com') AND "guts_users"."id" != 764040363) LIMIT 1
|
681472
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "guts_users" SET "password_token" = ?, "password_digest" = ?, "updated_at" = ? WHERE "guts_users"."id" = ?[0m [["password_token", nil], ["password_digest", "$2a$04$pJWTMsp2Wzp0/ed3Z9N9YOAtFXjS1k/u0.ZEfoYO.ok.H1uH6PC8O"], ["updated_at", "2016-04-28 03:45:29.905828"], ["id", 764040363]]
|
681473
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "update"], ["object_id", 764040363], ["object_type", "Guts::User"], ["params", "{}"], ["created_at", "2016-04-28 03:45:29.907868"], ["updated_at", "2016-04-28 03:45:29.907868"]]
|
681474
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
681475
|
+
Redirected to http://test.host/guts/session/login
|
681476
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.7ms)
|
681477
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
681478
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681479
|
+
---------------------------------------------------
|
681480
|
+
Guts::SessionsControllerTest: test_should_get_login
|
681481
|
+
---------------------------------------------------
|
681482
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681483
|
+
Processing by Guts::SessionsController#new as HTML
|
681484
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681485
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sessions/new.html.erb within layouts/guts/application (7.2ms)
|
681486
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681487
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681488
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
681489
|
+
Completed 200 OK in 45ms (Views: 44.2ms | ActiveRecord: 0.3ms)
|
681490
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681491
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681492
|
+
------------------------------------------------------------------
|
681493
|
+
Guts::SessionsControllerTest: test_should_get_forgot_password_page
|
681494
|
+
------------------------------------------------------------------
|
681495
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681496
|
+
Processing by Guts::SessionsController#forgot as HTML
|
681497
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681498
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sessions/forgot.html.erb within layouts/guts/application (5.8ms)
|
681499
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681500
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681501
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
681502
|
+
Completed 200 OK in 58ms (Views: 56.9ms | ActiveRecord: 0.3ms)
|
681503
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681504
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681505
|
+
--------------------------------------------------------
|
681506
|
+
Guts::SessionsControllerTest: test_should_login_the_user
|
681507
|
+
--------------------------------------------------------
|
681508
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681509
|
+
Processing by Guts::SessionsController#create as HTML
|
681510
|
+
Parameters: {"session"=>{"email"=>"test@domain.com", "password"=>"[FILTERED]"}}
|
681511
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681512
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."email" = ? LIMIT 1 [["email", "test@domain.com"]]
|
681513
|
+
Redirected to http://test.host/guts/users
|
681514
|
+
Completed 302 Found in 78ms (ActiveRecord: 0.1ms)
|
681515
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681516
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681517
|
+
----------------------------------------------------------
|
681518
|
+
Guts::SessionsControllerTest: test_should_log_the_user_out
|
681519
|
+
----------------------------------------------------------
|
681520
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681521
|
+
Processing by Guts::SessionsController#destroy as HTML
|
681522
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
681523
|
+
Redirected to http://test.host/guts/session/login
|
681524
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
|
681525
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681526
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681527
|
+
------------------------------------------------------------------------------------------
|
681528
|
+
Guts::SessionsControllerTest: test_should_not_set_a_forgot_password_token_for_invalid_user
|
681529
|
+
------------------------------------------------------------------------------------------
|
681530
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681531
|
+
Processing by Guts::SessionsController#forgot_token as HTML
|
681532
|
+
Parameters: {"session"=>{"email"=>"durkadurka@gmail.com"}}
|
681533
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
681534
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."email" = ? LIMIT 1[0m [["email", "durkadurka@gmail.com"]]
|
681535
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sessions/forgot.html.erb within layouts/guts/application (4.8ms)
|
681536
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681537
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681538
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
681539
|
+
Completed 200 OK in 38ms (Views: 37.0ms | ActiveRecord: 0.4ms)
|
681540
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681541
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681542
|
+
---------------------------------------------------------------------
|
681543
|
+
Guts::SessionsControllerTest: test_should_set_a_forgot_password_token
|
681544
|
+
---------------------------------------------------------------------
|
681545
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681546
|
+
Processing by Guts::SessionsController#forgot_token as HTML
|
681547
|
+
Parameters: {"session"=>{"email"=>"test@domain.com"}}
|
681548
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681549
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."email" = ? LIMIT 1 [["email", "test@domain.com"]]
|
681550
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
681551
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "guts_users" SET "password_token" = ?, "updated_at" = ? WHERE "guts_users"."id" = ? [["password_token", "aaa439cb"], ["updated_at", "2016-04-28 03:45:30.174080"], ["id", 764040363]]
|
681552
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "update"], ["object_id", 764040363], ["object_type", "Guts::User"], ["params", "{}"], ["created_at", "2016-04-28 03:45:30.176645"], ["updated_at", "2016-04-28 03:45:30.176645"]]
|
681553
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
681554
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/user_mailer/password_reset.html.erb within layouts/guts/mailer (2.8ms)
|
681555
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/user_mailer/password_reset.text.erb within layouts/guts/mailer (2.5ms)
|
681556
|
+
|
681557
|
+
Guts::UserMailer#password_reset: processed outbound mail in 9.3ms
|
681558
|
+
|
681559
|
+
Sent mail to test@domain.com (4.7ms)
|
681560
|
+
Date: Thu, 28 Apr 2016 01:15:30 -0230
|
681561
|
+
From: from@example.com
|
681562
|
+
To: test@domain.com
|
681563
|
+
Message-ID: <5721875a2e4cf_33473fe51c85e1fc9668f@Tylers-MacBook-Pro.local.mail>
|
681564
|
+
Subject: Reset Password
|
681565
|
+
Mime-Version: 1.0
|
681566
|
+
Content-Type: multipart/alternative;
|
681567
|
+
boundary="--==_mimepart_5721875a2d77f_33473fe51c85e1fc96557";
|
681568
|
+
charset=UTF-8
|
681569
|
+
Content-Transfer-Encoding: 7bit
|
681570
|
+
|
681571
|
+
|
681572
|
+
----==_mimepart_5721875a2d77f_33473fe51c85e1fc96557
|
681573
|
+
Content-Type: text/plain;
|
681574
|
+
charset=UTF-8
|
681575
|
+
Content-Transfer-Encoding: 7bit
|
681576
|
+
|
681577
|
+
|
681578
|
+
Hi, Test Admin
|
681579
|
+
|
681580
|
+
You are receiving this email because you've requested a new password.
|
681581
|
+
|
681582
|
+
Please click http://test.yourhost.com/guts/session/reset_password/aaa439cb to reset your password. We will automatically generate you a secure password for future use.
|
681583
|
+
|
681584
|
+
----==_mimepart_5721875a2d77f_33473fe51c85e1fc96557
|
681585
|
+
Content-Type: text/html;
|
681586
|
+
charset=UTF-8
|
681587
|
+
Content-Transfer-Encoding: 7bit
|
681588
|
+
|
681589
|
+
<html>
|
681590
|
+
<head>
|
681591
|
+
|
681592
|
+
</head>
|
681593
|
+
<body>
|
681594
|
+
|
681595
|
+
<p>Hi, Test Admin</p>
|
681596
|
+
<p>You are receiving this email because you've requested a new password.</p>
|
681597
|
+
<p>Please click <a href="http://test.yourhost.com/guts/session/reset_password/aaa439cb">here</a> to reset your password. We will automatically generate you a secure password for future use.</p>
|
681598
|
+
|
681599
|
+
|
681600
|
+
</body>
|
681601
|
+
</html>
|
681602
|
+
|
681603
|
+
----==_mimepart_5721875a2d77f_33473fe51c85e1fc96557--
|
681604
|
+
|
681605
|
+
Redirected to http://test.host/guts/session/login
|
681606
|
+
Completed 302 Found in 23ms (ActiveRecord: 0.8ms)
|
681607
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
681608
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681609
|
+
---------------------------------------------------------------------
|
681610
|
+
Guts::SessionsControllerTest: test_should_show_error_for_invalid_user
|
681611
|
+
---------------------------------------------------------------------
|
681612
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681613
|
+
Processing by Guts::SessionsController#create as HTML
|
681614
|
+
Parameters: {"session"=>{"email"=>"durkadurka@gmail.com"}}
|
681615
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
681616
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."email" = ? LIMIT 1[0m [["email", "durkadurka@gmail.com"]]
|
681617
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/sessions/new.html.erb within layouts/guts/application (5.7ms)
|
681618
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681619
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681620
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
681621
|
+
Completed 200 OK in 42ms (Views: 40.9ms | ActiveRecord: 0.3ms)
|
681622
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681623
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
681624
|
+
------------------------------------------------
|
681625
|
+
Guts::TypesControllerTest: test_should_show_type
|
681626
|
+
------------------------------------------------
|
681627
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681628
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
681629
|
+
Processing by Guts::TypesController#show as HTML
|
681630
|
+
Parameters: {"id"=>"page"}
|
681631
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
681632
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681633
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
681634
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."slug" = ? ORDER BY "guts_types"."id" ASC LIMIT 1[0m [["slug", "page"]]
|
681635
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/types/show.html.erb within layouts/guts/application (4.3ms)
|
681636
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681637
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
681638
|
+
Completed 200 OK in 50ms (Views: 46.7ms | ActiveRecord: 0.4ms)
|
681639
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681640
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681641
|
+
-----------------------------------------------
|
681642
|
+
Guts::TypesControllerTest: test_should_get_edit
|
681643
|
+
-----------------------------------------------
|
681644
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681645
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
681646
|
+
Processing by Guts::TypesController#edit as HTML
|
681647
|
+
Parameters: {"id"=>"page"}
|
681648
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681649
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681650
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681651
|
+
[1m[35mGuts::Type Load (0.0ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."slug" = ? ORDER BY "guts_types"."id" ASC LIMIT 1 [["slug", "page"]]
|
681652
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."type_id" = ?[0m [["type_id", 186272755]]
|
681653
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 186272755], ["fieldable_type", "Guts::Type"]]
|
681654
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 186272755], ["filable_type", "Guts::Type"]]
|
681655
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/types/_form.html.erb (20.0ms)
|
681656
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/types/edit.html.erb within layouts/guts/application (22.8ms)
|
681657
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681658
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
681659
|
+
Completed 200 OK in 61ms (Views: 58.2ms | ActiveRecord: 0.7ms)
|
681660
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681661
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681662
|
+
-------------------------------------------------------------------------------
|
681663
|
+
Guts::TypesControllerTest: test_should_fail_to_create_type_and_send_back_to_new
|
681664
|
+
-------------------------------------------------------------------------------
|
681665
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681666
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
681667
|
+
Processing by Guts::TypesController#create as HTML
|
681668
|
+
Parameters: {"type"=>{"title"=>""}}
|
681669
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681670
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681671
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681672
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
681673
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
681674
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/types/_form.html.erb (6.8ms)
|
681675
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/types/new.html.erb within layouts/guts/application (7.6ms)
|
681676
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681677
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
681678
|
+
Completed 200 OK in 46ms (Views: 41.4ms | ActiveRecord: 0.4ms)
|
681679
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681680
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681681
|
+
------------------------------------------------------------------------------
|
681682
|
+
Guts::TypesControllerTest: test_should_fail_to_edit_type_and_send_back_to_edit
|
681683
|
+
------------------------------------------------------------------------------
|
681684
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681685
|
+
[1m[35mGuts::Type Load (0.0ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
681686
|
+
Processing by Guts::TypesController#update as HTML
|
681687
|
+
Parameters: {"type"=>{"title"=>""}, "id"=>"page"}
|
681688
|
+
[1m[36mGuts::Site Load (0.0ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681689
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681690
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681691
|
+
[1m[35mGuts::Type Load (0.0ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."slug" = ? ORDER BY "guts_types"."id" ASC LIMIT 1 [["slug", "page"]]
|
681692
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
681693
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
681694
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."type_id" = ?[0m [["type_id", 186272755]]
|
681695
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 186272755], ["fieldable_type", "Guts::Type"]]
|
681696
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 186272755], ["filable_type", "Guts::Type"]]
|
681697
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/types/_form.html.erb (19.8ms)
|
681698
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/types/edit.html.erb within layouts/guts/application (20.0ms)
|
681699
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681700
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
681701
|
+
Completed 200 OK in 58ms (Views: 52.9ms | ActiveRecord: 0.7ms)
|
681702
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681703
|
+
[1m[35m (0.0ms)[0m begin transaction
|
681704
|
+
--------------------------------------------------
|
681705
|
+
Guts::TypesControllerTest: test_should_create_type
|
681706
|
+
--------------------------------------------------
|
681707
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681708
|
+
[1m[35mGuts::Type Load (0.0ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
681709
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
681710
|
+
Processing by Guts::TypesController#create as HTML
|
681711
|
+
Parameters: {"type"=>{"slug"=>"controller-type", "title"=>"Controller Type"}}
|
681712
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
681713
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681714
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
681715
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
681716
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "guts_types" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Controller Type"], ["slug", "controller-type"], ["created_at", "2016-04-28 03:45:30.502892"], ["updated_at", "2016-04-28 03:45:30.502892"]]
|
681717
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["object_id", 186272756], ["object_type", "Guts::Type"], ["params", "{}"], ["created_at", "2016-04-28 03:45:30.506069"], ["updated_at", "2016-04-28 03:45:30.506069"]]
|
681718
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
681719
|
+
Redirected to http://test.host/guts/types
|
681720
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.7ms)
|
681721
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
681722
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
681723
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681724
|
+
--------------------------------------------------
|
681725
|
+
Guts::TypesControllerTest: test_should_update_type
|
681726
|
+
--------------------------------------------------
|
681727
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681728
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
681729
|
+
Processing by Guts::TypesController#update as HTML
|
681730
|
+
Parameters: {"type"=>{"slug"=>"page", "title"=>"Page"}, "id"=>"page"}
|
681731
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
681732
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681733
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
681734
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."slug" = ? ORDER BY "guts_types"."id" ASC LIMIT 1[0m [["slug", "page"]]
|
681735
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
681736
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "update"], ["object_id", 186272755], ["object_type", "Guts::Type"], ["params", "{}"], ["created_at", "2016-04-28 03:45:30.523904"], ["updated_at", "2016-04-28 03:45:30.523904"]]
|
681737
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
681738
|
+
Redirected to http://test.host/guts/types
|
681739
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
|
681740
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
681741
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681742
|
+
----------------------------------------------
|
681743
|
+
Guts::TypesControllerTest: test_should_get_new
|
681744
|
+
----------------------------------------------
|
681745
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681746
|
+
[1m[35mGuts::Type Load (0.0ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
681747
|
+
Processing by Guts::TypesController#new as HTML
|
681748
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681749
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681750
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681751
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/types/_form.html.erb (5.2ms)
|
681752
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/types/new.html.erb within layouts/guts/application (5.5ms)
|
681753
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681754
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
681755
|
+
Completed 200 OK in 38ms (Views: 35.0ms | ActiveRecord: 0.3ms)
|
681756
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681757
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681758
|
+
------------------------------------------------
|
681759
|
+
Guts::TypesControllerTest: test_should_get_index
|
681760
|
+
------------------------------------------------
|
681761
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681762
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
681763
|
+
Processing by Guts::TypesController#index as HTML
|
681764
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681765
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681766
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681767
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
681768
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
681769
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."type_id" = ? [["type_id", 186272755]]
|
681770
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/types/index.html.erb within layouts/guts/application (11.1ms)
|
681771
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681772
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
681773
|
+
Completed 200 OK in 45ms (Views: 42.3ms | ActiveRecord: 0.5ms)
|
681774
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681775
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681776
|
+
---------------------------------------------------
|
681777
|
+
Guts::TypesControllerTest: test_should_destroy_type
|
681778
|
+
---------------------------------------------------
|
681779
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681780
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
681781
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
681782
|
+
Processing by Guts::TypesController#destroy as HTML
|
681783
|
+
Parameters: {"id"=>"page"}
|
681784
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681785
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681786
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681787
|
+
[1m[35mGuts::Type Load (0.0ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."slug" = ? ORDER BY "guts_types"."id" ASC LIMIT 1 [["slug", "page"]]
|
681788
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
681789
|
+
[1m[35mGuts::Medium Load (0.0ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ? [["filable_id", 186272755], ["filable_type", "Guts::Type"]]
|
681790
|
+
[1m[36mGuts::Metafield Load (0.0ms)[0m [1mSELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 186272755], ["fieldable_type", "Guts::Type"]]
|
681791
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "guts_metafields" WHERE "guts_metafields"."id" = ? [["id", 474667608]]
|
681792
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "guts_types" WHERE "guts_types"."id" = ?[0m [["id", 186272755]]
|
681793
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "destroy"], ["object_id", 186272755], ["object_type", "Guts::Type"], ["params", "{}"], ["created_at", "2016-04-28 03:45:30.640651"], ["updated_at", "2016-04-28 03:45:30.640651"]]
|
681794
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
681795
|
+
Redirected to http://test.host/guts/types
|
681796
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.9ms)
|
681797
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
681798
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
681799
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681800
|
+
--------------------------------------------
|
681801
|
+
GutsTest: test_config_should_be_overrideable
|
681802
|
+
--------------------------------------------
|
681803
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681804
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681805
|
+
-----------------------------------------------------
|
681806
|
+
GutsTest: test_should_set_configuration_by_assignment
|
681807
|
+
-----------------------------------------------------
|
681808
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
681809
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681810
|
+
------------------------------------------------
|
681811
|
+
GutsTest: test_should_set_configuration_by_block
|
681812
|
+
------------------------------------------------
|
681813
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
681814
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681815
|
+
--------------------
|
681816
|
+
GutsTest: test_truth
|
681817
|
+
--------------------
|
681818
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
681819
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681820
|
+
------------------------------------------------------
|
681821
|
+
GutsTest: test_should_return_nil_for_unassigned_config
|
681822
|
+
------------------------------------------------------
|
681823
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
681824
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681825
|
+
------------------------------------
|
681826
|
+
GutsTest: test_should_return_version
|
681827
|
+
------------------------------------
|
681828
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681829
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681830
|
+
--------------------------------------------
|
681831
|
+
GutsTest: test_should_grab_decorators_in_app
|
681832
|
+
--------------------------------------------
|
681833
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
681834
|
+
[1m[35m (0.0ms)[0m begin transaction
|
681835
|
+
------------------------------------------------------------------
|
681836
|
+
Guts::MediumTest: test_should_not_process_paperclip_for_non_images
|
681837
|
+
------------------------------------------------------------------
|
681838
|
+
[1m[36mGuts::Medium Load (0.1ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1[0m [["id", 166075617]]
|
681839
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681840
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681841
|
+
------------------------------------------
|
681842
|
+
Guts::MediumTest: test_should_be_trackable
|
681843
|
+
------------------------------------------
|
681844
|
+
[1m[35mGuts::Medium Load (0.1ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
681845
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681846
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681847
|
+
------------------------------------------------------------------
|
681848
|
+
Guts::MediumTest: test_should_return_polymorphic_object_for_medium
|
681849
|
+
------------------------------------------------------------------
|
681850
|
+
[1m[36mGuts::Medium Load (0.1ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1[0m [["id", 166075617]]
|
681851
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
681852
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681853
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681854
|
+
------------------------------------------------------
|
681855
|
+
Guts::MediumTest: test_should_not_create_without_title
|
681856
|
+
------------------------------------------------------
|
681857
|
+
[1m[36mGuts::Medium Load (0.1ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1[0m [["id", 166075617]]
|
681858
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
681859
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
681860
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
681861
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681862
|
+
--------------------------------------------------------------
|
681863
|
+
Guts::MediumTest: test_should_not_create_title_less_than_three
|
681864
|
+
--------------------------------------------------------------
|
681865
|
+
[1m[35mGuts::Medium Load (0.1ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
681866
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
681867
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
681868
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
681869
|
+
[1m[35m (0.0ms)[0m begin transaction
|
681870
|
+
------------------------------------------------------------
|
681871
|
+
Guts::MediumTest: test_medium_should_be_multisite_compatible
|
681872
|
+
------------------------------------------------------------
|
681873
|
+
[1m[36mGuts::Medium Load (0.5ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1[0m [["id", 166075617]]
|
681874
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681875
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681876
|
+
-------------------------------------------------------------
|
681877
|
+
Guts::MediumTest: test_should_return_urls_for_different_sizes
|
681878
|
+
-------------------------------------------------------------
|
681879
|
+
[1m[35mGuts::Medium Load (0.1ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1 [["id", 166075617]]
|
681880
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681881
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681882
|
+
----------------------------------------------------------
|
681883
|
+
Guts::MediumTest: test_should_process_paperclip_for_images
|
681884
|
+
----------------------------------------------------------
|
681885
|
+
[1m[36mGuts::Medium Load (0.1ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."id" = ? LIMIT 1[0m [["id", 166075617]]
|
681886
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681887
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681888
|
+
---------------------------------------------------
|
681889
|
+
Guts::TrackersControllerTest: test_should_get_index
|
681890
|
+
---------------------------------------------------
|
681891
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681892
|
+
Processing by Guts::TrackersController#index as HTML
|
681893
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681894
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681895
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681896
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_trackers" WHERE "guts_trackers"."site_id" IS NULL
|
681897
|
+
[1m[36mGuts::Tracker Load (0.1ms)[0m [1mSELECT "guts_trackers".* FROM "guts_trackers" WHERE "guts_trackers"."site_id" IS NULL ORDER BY "guts_trackers"."created_at" DESC[0m
|
681898
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
681899
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
681900
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/trackers/actions/_content_create.html.erb (5.3ms)
|
681901
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
681902
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
681903
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/trackers/actions/_params.html.erb (0.9ms)
|
681904
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/trackers/actions/_content_update.html.erb (6.8ms)
|
681905
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/trackers/index.html.erb within layouts/guts/application (19.4ms)
|
681906
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681907
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
681908
|
+
Completed 200 OK in 60ms (Views: 57.3ms | ActiveRecord: 0.8ms)
|
681909
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681910
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681911
|
+
----------------------------------------------------------------------------------
|
681912
|
+
Guts::GroupsControllerTest: test_should_fail_to_update_group_and_send_back_to_edit
|
681913
|
+
----------------------------------------------------------------------------------
|
681914
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681915
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1 [["id", 639558351]]
|
681916
|
+
Processing by Guts::GroupsController#update as HTML
|
681917
|
+
Parameters: {"group"=>{"title"=>""}, "id"=>"admins"}
|
681918
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681919
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681920
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681921
|
+
[1m[35mGuts::Group Load (0.2ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."slug" = ? ORDER BY "guts_groups"."id" ASC LIMIT 1 [["slug", "admins"]]
|
681922
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
681923
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
681924
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "guts_users" INNER JOIN "guts_user_groups" ON "guts_users"."id" = "guts_user_groups"."user_id" WHERE "guts_user_groups"."group_id" = ?[0m [["group_id", 639558351]]
|
681925
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 639558351], ["fieldable_type", "Guts::Group"]]
|
681926
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 639558351], ["filable_type", "Guts::Group"]]
|
681927
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/groups/_form.html.erb (28.4ms)
|
681928
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/groups/edit.html.erb within layouts/guts/application (30.9ms)
|
681929
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681930
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
681931
|
+
Completed 200 OK in 75ms (Views: 68.7ms | ActiveRecord: 1.0ms)
|
681932
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
681933
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681934
|
+
----------------------------------------------------
|
681935
|
+
Guts::GroupsControllerTest: test_should_update_group
|
681936
|
+
----------------------------------------------------
|
681937
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681938
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1 [["id", 639558351]]
|
681939
|
+
Processing by Guts::GroupsController#update as HTML
|
681940
|
+
Parameters: {"group"=>{"slug"=>"admins", "title"=>"Admins"}, "id"=>"admins"}
|
681941
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681942
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681943
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681944
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."slug" = ? ORDER BY "guts_groups"."id" ASC LIMIT 1 [["slug", "admins"]]
|
681945
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
681946
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "update"], ["object_id", 639558351], ["object_type", "Guts::Group"], ["params", "{}"], ["created_at", "2016-04-28 03:45:30.845636"], ["updated_at", "2016-04-28 03:45:30.845636"]]
|
681947
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
681948
|
+
Redirected to http://test.host/guts/groups
|
681949
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
|
681950
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
681951
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681952
|
+
-----------------------------------------------
|
681953
|
+
Guts::GroupsControllerTest: test_should_get_new
|
681954
|
+
-----------------------------------------------
|
681955
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681956
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1[0m [["id", 639558351]]
|
681957
|
+
Processing by Guts::GroupsController#new as HTML
|
681958
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
681959
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681960
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
681961
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/groups/_form.html.erb (6.4ms)
|
681962
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/groups/new.html.erb within layouts/guts/application (7.4ms)
|
681963
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
681964
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
681965
|
+
Completed 200 OK in 45ms (Views: 42.9ms | ActiveRecord: 0.3ms)
|
681966
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681967
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681968
|
+
-----------------------------------------------------
|
681969
|
+
Guts::GroupsControllerTest: test_should_destroy_group
|
681970
|
+
-----------------------------------------------------
|
681971
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681972
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1[0m [["id", 639558351]]
|
681973
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_groups"
|
681974
|
+
Processing by Guts::GroupsController#destroy as HTML
|
681975
|
+
Parameters: {"id"=>"admins"}
|
681976
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681977
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
681978
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
681979
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."slug" = ? ORDER BY "guts_groups"."id" ASC LIMIT 1 [["slug", "admins"]]
|
681980
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
681981
|
+
[1m[35mGuts::Medium Load (0.0ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ? [["filable_id", 639558351], ["filable_type", "Guts::Group"]]
|
681982
|
+
[1m[36mGuts::Metafield Load (0.0ms)[0m [1mSELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 639558351], ["fieldable_type", "Guts::Group"]]
|
681983
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "guts_metafields" WHERE "guts_metafields"."id" = ? [["id", 447581302]]
|
681984
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "guts_groups" WHERE "guts_groups"."id" = ?[0m [["id", 639558351]]
|
681985
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "destroy"], ["object_id", 639558351], ["object_type", "Guts::Group"], ["params", "{}"], ["created_at", "2016-04-28 03:45:30.916441"], ["updated_at", "2016-04-28 03:45:30.916441"]]
|
681986
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
681987
|
+
Redirected to http://test.host/guts/groups
|
681988
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
|
681989
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_groups"
|
681990
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
681991
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681992
|
+
-------------------------------------------------
|
681993
|
+
Guts::GroupsControllerTest: test_should_get_index
|
681994
|
+
-------------------------------------------------
|
681995
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
681996
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1 [["id", 639558351]]
|
681997
|
+
Processing by Guts::GroupsController#index as HTML
|
681998
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
681999
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682000
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682001
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_groups"
|
682002
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups"[0m
|
682003
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_users" INNER JOIN "guts_user_groups" ON "guts_users"."id" = "guts_user_groups"."user_id" WHERE "guts_user_groups"."group_id" = ? [["group_id", 639558351]]
|
682004
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/groups/index.html.erb within layouts/guts/application (22.3ms)
|
682005
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682006
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682007
|
+
Completed 200 OK in 73ms (Views: 70.3ms | ActiveRecord: 0.6ms)
|
682008
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682009
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682010
|
+
---------------------------------------------------------------------------------
|
682011
|
+
Guts::GroupsControllerTest: test_should_fail_to_create_group_and_send_back_to_new
|
682012
|
+
---------------------------------------------------------------------------------
|
682013
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682014
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1[0m [["id", 639558351]]
|
682015
|
+
Processing by Guts::GroupsController#create as HTML
|
682016
|
+
Parameters: {"group"=>{"title"=>""}}
|
682017
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682018
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682019
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682020
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
682021
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
682022
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/groups/_form.html.erb (6.8ms)
|
682023
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/groups/new.html.erb within layouts/guts/application (7.0ms)
|
682024
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682025
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682026
|
+
Completed 200 OK in 44ms (Views: 39.4ms | ActiveRecord: 0.4ms)
|
682027
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682028
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682029
|
+
--------------------------------------------------
|
682030
|
+
Guts::GroupsControllerTest: test_should_show_group
|
682031
|
+
--------------------------------------------------
|
682032
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682033
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1[0m [["id", 639558351]]
|
682034
|
+
Processing by Guts::GroupsController#show as HTML
|
682035
|
+
Parameters: {"id"=>"admins"}
|
682036
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682037
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682038
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682039
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."slug" = ? ORDER BY "guts_groups"."id" ASC LIMIT 1[0m [["slug", "admins"]]
|
682040
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/groups/show.html.erb within layouts/guts/application (3.7ms)
|
682041
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682042
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
682043
|
+
Completed 200 OK in 40ms (Views: 37.2ms | ActiveRecord: 0.4ms)
|
682044
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
682045
|
+
[1m[35m (0.1ms)[0m begin transaction
|
682046
|
+
----------------------------------------------------
|
682047
|
+
Guts::GroupsControllerTest: test_should_create_group
|
682048
|
+
----------------------------------------------------
|
682049
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682050
|
+
[1m[35mGuts::Group Load (0.2ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1 [["id", 639558351]]
|
682051
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_groups"[0m
|
682052
|
+
Processing by Guts::GroupsController#create as HTML
|
682053
|
+
Parameters: {"group"=>{"slug"=>"group-test", "title"=>"Group Test"}}
|
682054
|
+
[1m[35mGuts::Site Load (0.0ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682055
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682056
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682057
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
682058
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "guts_groups" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Group Test"], ["slug", "group-test"], ["created_at", "2016-04-28 03:45:31.111553"], ["updated_at", "2016-04-28 03:45:31.111553"]]
|
682059
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["object_id", 639558352], ["object_type", "Guts::Group"], ["params", "{}"], ["created_at", "2016-04-28 03:45:31.113775"], ["updated_at", "2016-04-28 03:45:31.113775"]]
|
682060
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
682061
|
+
Redirected to http://test.host/guts/groups
|
682062
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.6ms)
|
682063
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_groups"[0m
|
682064
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
682065
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682066
|
+
------------------------------------------------
|
682067
|
+
Guts::GroupsControllerTest: test_should_get_edit
|
682068
|
+
------------------------------------------------
|
682069
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682070
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1[0m [["id", 639558351]]
|
682071
|
+
Processing by Guts::GroupsController#edit as HTML
|
682072
|
+
Parameters: {"id"=>"admins"}
|
682073
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682074
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682075
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682076
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."slug" = ? ORDER BY "guts_groups"."id" ASC LIMIT 1[0m [["slug", "admins"]]
|
682077
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_users" INNER JOIN "guts_user_groups" ON "guts_users"."id" = "guts_user_groups"."user_id" WHERE "guts_user_groups"."group_id" = ? [["group_id", 639558351]]
|
682078
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 639558351], ["fieldable_type", "Guts::Group"]]
|
682079
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ? [["filable_id", 639558351], ["filable_type", "Guts::Group"]]
|
682080
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/groups/_form.html.erb (17.9ms)
|
682081
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/groups/edit.html.erb within layouts/guts/application (18.1ms)
|
682082
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682083
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682084
|
+
Completed 200 OK in 52ms (Views: 49.2ms | ActiveRecord: 0.5ms)
|
682085
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682086
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682087
|
+
-------------------------------------------------------------------------------------
|
682088
|
+
Guts::ApplicationControllerTest: test_should_look_for_layout_hook_file_from_Rails_app
|
682089
|
+
-------------------------------------------------------------------------------------
|
682090
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682091
|
+
Processing by Guts::UsersController#index as HTML
|
682092
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682093
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682094
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682095
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_users"
|
682096
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users"[0m
|
682097
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 567506384]]
|
682098
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682099
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/index.html.erb within layouts/guts/application (14.4ms)
|
682100
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682101
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
682102
|
+
Completed 200 OK in 48ms (Views: 44.9ms | ActiveRecord: 0.7ms)
|
682103
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
682104
|
+
[1m[35m (0.1ms)[0m begin transaction
|
682105
|
+
--------------------------------------------------------------------------------------------
|
682106
|
+
Guts::ApplicationControllerTest: test_should_redirect_for_logged_in_user_not_in_admin_groups
|
682107
|
+
--------------------------------------------------------------------------------------------
|
682108
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682109
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 567506384]]
|
682110
|
+
Processing by Guts::UsersController#index as HTML
|
682111
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682112
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 567506384]]
|
682113
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 567506384]]
|
682114
|
+
Redirected to http://test.host/guts/session/login
|
682115
|
+
Filter chain halted as :firewall rendered or redirected
|
682116
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
|
682117
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682119
|
+
----------------------------------------------------------------------------
|
682120
|
+
Guts::ApplicationControllerTest: test_should_redirect_for_non_logged_in_user
|
682121
|
+
----------------------------------------------------------------------------
|
682122
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682123
|
+
Processing by Guts::UsersController#index as HTML
|
682124
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682125
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" IS NULL LIMIT 1
|
682126
|
+
Redirected to http://test.host/guts/session/login
|
682127
|
+
Filter chain halted as :firewall rendered or redirected
|
682128
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
|
682129
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
682130
|
+
[1m[35m (0.0ms)[0m begin transaction
|
682131
|
+
--------------------------------------------------------------------------------------------
|
682132
|
+
Guts::NavigationsControllerTest: test_should_fail_to_update_navigation_and_send_back_to_edit
|
682133
|
+
--------------------------------------------------------------------------------------------
|
682134
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682135
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1 [["id", 839480070]]
|
682136
|
+
Processing by Guts::NavigationsController#update as HTML
|
682137
|
+
Parameters: {"navigation"=>{"title"=>""}, "id"=>"test-nav"}
|
682138
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682139
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682140
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682141
|
+
[1m[35mGuts::Navigation Load (0.0ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1 [["slug", "test-nav"]]
|
682142
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
682143
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
682144
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 839480070], ["fieldable_type", "Guts::Navigation"]]
|
682145
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ? [["filable_id", 839480070], ["filable_type", "Guts::Navigation"]]
|
682146
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/_form.html.erb (18.7ms)
|
682147
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/edit.html.erb within layouts/guts/application (21.1ms)
|
682148
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682149
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682150
|
+
Completed 200 OK in 60ms (Views: 55.9ms | ActiveRecord: 0.6ms)
|
682151
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682152
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682153
|
+
------------------------------------------------------------
|
682154
|
+
Guts::NavigationsControllerTest: test_should_show_navigation
|
682155
|
+
------------------------------------------------------------
|
682156
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682157
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
682158
|
+
Processing by Guts::NavigationsController#show as HTML
|
682159
|
+
Parameters: {"id"=>"test-nav"}
|
682160
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682161
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682162
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682163
|
+
[1m[36mGuts::Navigation Load (0.0ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1[0m [["slug", "test-nav"]]
|
682164
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/show.html.erb within layouts/guts/application (2.9ms)
|
682165
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682166
|
+
[1m[35mGuts::Type Load (0.2ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
682167
|
+
Completed 200 OK in 39ms (Views: 35.5ms | ActiveRecord: 0.4ms)
|
682168
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
682169
|
+
[1m[35m (0.1ms)[0m begin transaction
|
682170
|
+
--------------------------------------------------------------
|
682171
|
+
Guts::NavigationsControllerTest: test_should_create_navigation
|
682172
|
+
--------------------------------------------------------------
|
682173
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682174
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1 [["id", 839480070]]
|
682175
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL[0m
|
682176
|
+
Processing by Guts::NavigationsController#create as HTML
|
682177
|
+
Parameters: {"navigation"=>{"title"=>"Nav Test"}}
|
682178
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682179
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682180
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682181
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
682182
|
+
[1m[35mGuts::Navigation Exists (0.1ms)[0m SELECT 1 AS one FROM "guts_navigations" WHERE ("guts_navigations"."id" IS NOT NULL) AND "guts_navigations"."slug" = ? LIMIT 1 [["slug", "nav-test"]]
|
682183
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "guts_navigations" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Nav Test"], ["slug", "nav-test"], ["created_at", "2016-04-28 03:45:31.385906"], ["updated_at", "2016-04-28 03:45:31.385906"]]
|
682184
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "create"], ["object_id", 839480071], ["object_type", "Guts::Navigation"], ["params", "{}"], ["created_at", "2016-04-28 03:45:31.388301"], ["updated_at", "2016-04-28 03:45:31.388301"]]
|
682185
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
682186
|
+
Redirected to http://test.host/guts/navigations
|
682187
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.8ms)
|
682188
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL
|
682189
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
682190
|
+
[1m[35m (0.1ms)[0m begin transaction
|
682191
|
+
--------------------------------------------------------------
|
682192
|
+
Guts::NavigationsControllerTest: test_should_update_navigation
|
682193
|
+
--------------------------------------------------------------
|
682194
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682195
|
+
[1m[35mGuts::Navigation Load (0.0ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1 [["id", 839480070]]
|
682196
|
+
Processing by Guts::NavigationsController#update as HTML
|
682197
|
+
Parameters: {"navigation"=>{"title"=>"Test Nav"}, "id"=>"test-nav"}
|
682198
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682199
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682200
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682201
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1 [["slug", "test-nav"]]
|
682202
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
682203
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "update"], ["object_id", 839480070], ["object_type", "Guts::Navigation"], ["params", "{}"], ["created_at", "2016-04-28 03:45:31.407621"], ["updated_at", "2016-04-28 03:45:31.407621"]]
|
682204
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
682205
|
+
Redirected to http://test.host/guts/navigations
|
682206
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.7ms)
|
682207
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
682208
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682209
|
+
----------------------------------------------------
|
682210
|
+
Guts::NavigationsControllerTest: test_should_get_new
|
682211
|
+
----------------------------------------------------
|
682212
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682213
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
682214
|
+
Processing by Guts::NavigationsController#new as HTML
|
682215
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682216
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682217
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682218
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/_form.html.erb (6.0ms)
|
682219
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/new.html.erb within layouts/guts/application (6.7ms)
|
682220
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682221
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682222
|
+
Completed 200 OK in 43ms (Views: 40.2ms | ActiveRecord: 0.3ms)
|
682223
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682225
|
+
-------------------------------------------------------------------------------------------
|
682226
|
+
Guts::NavigationsControllerTest: test_should_fail_to_create_navigation_and_send_back_to_new
|
682227
|
+
-------------------------------------------------------------------------------------------
|
682228
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682229
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
682230
|
+
Processing by Guts::NavigationsController#create as HTML
|
682231
|
+
Parameters: {"navigation"=>{"title"=>""}}
|
682232
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682233
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682234
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682235
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
682236
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
682237
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/_form.html.erb (6.8ms)
|
682238
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/new.html.erb within layouts/guts/application (7.1ms)
|
682239
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682240
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682241
|
+
Completed 200 OK in 43ms (Views: 39.3ms | ActiveRecord: 0.4ms)
|
682242
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682243
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682244
|
+
------------------------------------------------------
|
682245
|
+
Guts::NavigationsControllerTest: test_should_get_index
|
682246
|
+
------------------------------------------------------
|
682247
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682248
|
+
[1m[36mGuts::Navigation Load (0.0ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
682249
|
+
Processing by Guts::NavigationsController#index as HTML
|
682250
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682251
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682252
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682253
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL[0m
|
682254
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL
|
682255
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ?[0m [["navigation_id", 839480070]]
|
682256
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ? [["navigation_id", 839480070]]
|
682257
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
682258
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
682259
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/index.html.erb within layouts/guts/application (30.7ms)
|
682260
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682261
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682262
|
+
Completed 200 OK in 66ms (Views: 62.5ms | ActiveRecord: 1.0ms)
|
682263
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682264
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682265
|
+
---------------------------------------------------------------
|
682266
|
+
Guts::NavigationsControllerTest: test_should_destroy_navigation
|
682267
|
+
---------------------------------------------------------------
|
682268
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682269
|
+
[1m[36mGuts::Navigation Load (0.0ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
682270
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL
|
682271
|
+
Processing by Guts::NavigationsController#destroy as HTML
|
682272
|
+
Parameters: {"id"=>"test-nav"}
|
682273
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682274
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682275
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682276
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1 [["slug", "test-nav"]]
|
682277
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
682278
|
+
[1m[35mGuts::NavigationItem Load (0.1ms)[0m SELECT "guts_navigation_items".* FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ? [["navigation_id", 839480070]]
|
682279
|
+
[1m[36mGuts::Medium Load (0.1ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 368097465], ["filable_type", "Guts::NavigationItem"]]
|
682280
|
+
[1m[35mGuts::Metafield Load (0.0ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 368097465], ["fieldable_type", "Guts::NavigationItem"]]
|
682281
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ?[0m [["id", 368097465]]
|
682282
|
+
[1m[35mGuts::Medium Load (0.0ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ? [["filable_id", 374718506], ["filable_type", "Guts::NavigationItem"]]
|
682283
|
+
[1m[36mGuts::Metafield Load (0.0ms)[0m [1mSELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 374718506], ["fieldable_type", "Guts::NavigationItem"]]
|
682284
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "guts_metafields" WHERE "guts_metafields"."id" = ? [["id", 105934342]]
|
682285
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "guts_navigation_items" WHERE "guts_navigation_items"."id" = ?[0m [["id", 374718506]]
|
682286
|
+
[1m[35mGuts::Medium Load (0.0ms)[0m SELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ? [["filable_id", 839480070], ["filable_type", "Guts::Navigation"]]
|
682287
|
+
[1m[36mGuts::Metafield Load (0.0ms)[0m [1mSELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 839480070], ["fieldable_type", "Guts::Navigation"]]
|
682288
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "guts_metafields" WHERE "guts_metafields"."id" = ? [["id", 248487536]]
|
682289
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "guts_navigations" WHERE "guts_navigations"."id" = ?[0m [["id", 839480070]]
|
682290
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "destroy"], ["object_id", 839480070], ["object_type", "Guts::Navigation"], ["params", "{}"], ["created_at", "2016-04-28 03:45:31.621692"], ["updated_at", "2016-04-28 03:45:31.621692"]]
|
682291
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
682292
|
+
Redirected to http://test.host/guts/navigations
|
682293
|
+
Completed 302 Found in 32ms (ActiveRecord: 1.7ms)
|
682294
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL
|
682295
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
682296
|
+
[1m[35m (0.1ms)[0m begin transaction
|
682297
|
+
-----------------------------------------------------
|
682298
|
+
Guts::NavigationsControllerTest: test_should_get_edit
|
682299
|
+
-----------------------------------------------------
|
682300
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682301
|
+
[1m[35mGuts::Navigation Load (0.0ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1 [["id", 839480070]]
|
682302
|
+
Processing by Guts::NavigationsController#edit as HTML
|
682303
|
+
Parameters: {"id"=>"test-nav"}
|
682304
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682305
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682306
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682307
|
+
[1m[35mGuts::Navigation Load (0.0ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."site_id" IS NULL AND "guts_navigations"."slug" = ? ORDER BY "guts_navigations"."id" ASC LIMIT 1 [["slug", "test-nav"]]
|
682308
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 839480070], ["fieldable_type", "Guts::Navigation"]]
|
682309
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ? [["filable_id", 839480070], ["filable_type", "Guts::Navigation"]]
|
682310
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/_form.html.erb (16.3ms)
|
682311
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/navigations/edit.html.erb within layouts/guts/application (16.6ms)
|
682312
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682313
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682314
|
+
Completed 200 OK in 52ms (Views: 48.6ms | ActiveRecord: 0.5ms)
|
682315
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682317
|
+
----------------------------------------------------------
|
682318
|
+
Guts::NavigationTest: test_should_not_create_without_title
|
682319
|
+
----------------------------------------------------------
|
682320
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
682321
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
682322
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
682323
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682324
|
+
-------------------------------------------------------------
|
682325
|
+
Guts::NavigationTest: test_should_return_items_for_navigation
|
682326
|
+
-------------------------------------------------------------
|
682327
|
+
[1m[35mGuts::Navigation Load (0.1ms)[0m SELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1 [["id", 839480070]]
|
682328
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "guts_navigation_items" WHERE "guts_navigation_items"."site_id" IS NULL AND "guts_navigation_items"."navigation_id" = ?[0m [["navigation_id", 839480070]]
|
682329
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
682330
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682331
|
+
--------------------------------------------------------------------
|
682332
|
+
Guts::NavigationTest: test_navigation_should_be_multisite_compatible
|
682333
|
+
--------------------------------------------------------------------
|
682334
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
682335
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
682336
|
+
-------------------------------------------------------------------------
|
682337
|
+
Guts::NavigationTest: test_navigation_item_should_be_multisite_compatible
|
682338
|
+
-------------------------------------------------------------------------
|
682339
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
682340
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682341
|
+
-------------------------------------------------------
|
682342
|
+
Guts::NavigationTest: test_should_create_slug_for_title
|
682343
|
+
-------------------------------------------------------
|
682344
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
682345
|
+
[1m[36mGuts::Navigation Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "guts_navigations" WHERE ("guts_navigations"."id" IS NOT NULL) AND "guts_navigations"."slug" = ? LIMIT 1[0m [["slug", "footer-menu"]]
|
682346
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "guts_navigations" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["title", "Footer Menu"], ["slug", "footer-menu"], ["created_at", "2016-04-28 03:45:31.704405"], ["updated_at", "2016-04-28 03:45:31.704405"]]
|
682347
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["object_id", 839480071], ["object_type", "Guts::Navigation"], ["params", "{}"], ["created_at", "2016-04-28 03:45:31.707124"], ["updated_at", "2016-04-28 03:45:31.707124"]]
|
682348
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
682349
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
682350
|
+
[1m[35m (0.1ms)[0m begin transaction
|
682351
|
+
----------------------------------------------
|
682352
|
+
Guts::NavigationTest: test_should_be_trackable
|
682353
|
+
----------------------------------------------
|
682354
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
682355
|
+
[1m[35m (0.1ms)[0m begin transaction
|
682356
|
+
------------------------------------------------------------------
|
682357
|
+
Guts::NavigationTest: test_should_return_metafields_for_navigation
|
682358
|
+
------------------------------------------------------------------
|
682359
|
+
[1m[36mGuts::Navigation Load (0.1ms)[0m [1mSELECT "guts_navigations".* FROM "guts_navigations" WHERE "guts_navigations"."id" = ? LIMIT 1[0m [["id", 839480070]]
|
682360
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 839480070], ["fieldable_type", "Guts::Navigation"]]
|
682361
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
682362
|
+
[1m[35m (0.0ms)[0m begin transaction
|
682363
|
+
------------------------------------------------
|
682364
|
+
Guts::UsersControllerTest: test_should_show_user
|
682365
|
+
------------------------------------------------
|
682366
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682367
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1 [["id", 639558351]]
|
682368
|
+
Processing by Guts::UsersController#show as HTML
|
682369
|
+
Parameters: {"id"=>"764040363"}
|
682370
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682371
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682372
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682373
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682374
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682375
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/show.html.erb within layouts/guts/application (6.0ms)
|
682376
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682377
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
682378
|
+
Completed 200 OK in 44ms (Views: 41.6ms | ActiveRecord: 0.4ms)
|
682379
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
682380
|
+
[1m[35m (0.1ms)[0m begin transaction
|
682381
|
+
--------------------------------------------------
|
682382
|
+
Guts::UsersControllerTest: test_should_update_user
|
682383
|
+
--------------------------------------------------
|
682384
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682385
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1 [["id", 639558351]]
|
682386
|
+
Processing by Guts::UsersController#update as HTML
|
682387
|
+
Parameters: {"user"=>{"name"=>"Test Admin"}, "id"=>"764040363"}
|
682388
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682389
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682390
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682391
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682392
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
682393
|
+
[1m[35mGuts::User Exists (0.1ms)[0m SELECT 1 AS one FROM "guts_users" WHERE (LOWER("guts_users"."email") = LOWER('test@domain.com') AND "guts_users"."id" != 764040363) LIMIT 1
|
682394
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "update"], ["object_id", 764040363], ["object_type", "Guts::User"], ["params", "{}"], ["created_at", "2016-04-28 03:45:31.779062"], ["updated_at", "2016-04-28 03:45:31.779062"]]
|
682395
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
682396
|
+
Redirected to http://test.host/guts/users
|
682397
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.6ms)
|
682398
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
682399
|
+
[1m[35m (0.1ms)[0m begin transaction
|
682400
|
+
----------------------------------------------
|
682401
|
+
Guts::UsersControllerTest: test_should_get_new
|
682402
|
+
----------------------------------------------
|
682403
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682404
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1 [["id", 639558351]]
|
682405
|
+
Processing by Guts::UsersController#new as HTML
|
682406
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682407
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682408
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682409
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups"
|
682410
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/_form.html.erb (12.7ms)
|
682411
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/new.html.erb within layouts/guts/application (15.4ms)
|
682412
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682413
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682414
|
+
Completed 200 OK in 50ms (Views: 47.1ms | ActiveRecord: 0.5ms)
|
682415
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682416
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682417
|
+
----------------------------------------------------------------
|
682418
|
+
Guts::UsersControllerTest: test_should_create_user_without_group
|
682419
|
+
----------------------------------------------------------------
|
682420
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682421
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1[0m [["id", 639558351]]
|
682422
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_users"
|
682423
|
+
Processing by Guts::UsersController#create as HTML
|
682424
|
+
Parameters: {"user"=>{"name"=>"Some User", "email"=>"some_user@domain.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
|
682425
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682426
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682427
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682428
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
682429
|
+
[1m[36mGuts::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "guts_users" WHERE LOWER("guts_users"."email") = LOWER('some_user@domain.com') LIMIT 1[0m
|
682430
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "guts_users" ("name", "email", "password_digest", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Some User"], ["email", "some_user@domain.com"], ["password_digest", "$2a$04$hpLVuxEPVbwE2yi9Hcw5D.nQnDg1RgODLaWrkGf40RwT7bKp1heFG"], ["created_at", "2016-04-28 03:45:31.856066"], ["updated_at", "2016-04-28 03:45:31.856066"]]
|
682431
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["object_id", 764040364], ["object_type", "Guts::User"], ["params", "{}"], ["created_at", "2016-04-28 03:45:31.858208"], ["updated_at", "2016-04-28 03:45:31.858208"]]
|
682432
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
682433
|
+
Redirected to http://test.host/guts/users
|
682434
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.7ms)
|
682435
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_users"[0m
|
682436
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
682437
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682438
|
+
-----------------------------------------------
|
682439
|
+
Guts::UsersControllerTest: test_should_get_edit
|
682440
|
+
-----------------------------------------------
|
682441
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682442
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1[0m [["id", 639558351]]
|
682443
|
+
Processing by Guts::UsersController#edit as HTML
|
682444
|
+
Parameters: {"id"=>"764040363"}
|
682445
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682446
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682447
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682448
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682449
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 764040363], ["fieldable_type", "Guts::User"]]
|
682450
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 764040363], ["filable_type", "Guts::User"]]
|
682451
|
+
[1m[35m (0.1ms)[0m SELECT "guts_groups".id FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682452
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups"[0m
|
682453
|
+
[1m[35m (0.0ms)[0m SELECT "guts_groups".id FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682454
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/_form.html.erb (19.5ms)
|
682455
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/edit.html.erb within layouts/guts/application (20.2ms)
|
682456
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682457
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682458
|
+
Completed 200 OK in 55ms (Views: 52.1ms | ActiveRecord: 0.7ms)
|
682459
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682460
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682461
|
+
--------------------------------------------------------------------------------
|
682462
|
+
Guts::UsersControllerTest: test_should_fail_to_update_user_and_send_back_to_edit
|
682463
|
+
--------------------------------------------------------------------------------
|
682464
|
+
[1m[35mGuts::User Load (0.2ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682465
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1[0m [["id", 639558351]]
|
682466
|
+
Processing by Guts::UsersController#update as HTML
|
682467
|
+
Parameters: {"user"=>{"name"=>"", "email"=>""}, "id"=>"764040363"}
|
682468
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682469
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682470
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682471
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682472
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
682473
|
+
[1m[36mGuts::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "guts_users" WHERE (LOWER("guts_users"."email") = LOWER('') AND "guts_users"."id" != 764040363) LIMIT 1[0m
|
682474
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
682475
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 764040363], ["fieldable_type", "Guts::User"]]
|
682476
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ? [["filable_id", 764040363], ["filable_type", "Guts::User"]]
|
682477
|
+
[1m[36m (0.1ms)[0m [1mSELECT "guts_groups".id FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682478
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups"
|
682479
|
+
[1m[36m (0.1ms)[0m [1mSELECT "guts_groups".id FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682480
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/_form.html.erb (20.2ms)
|
682481
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/edit.html.erb within layouts/guts/application (20.5ms)
|
682482
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682483
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
682484
|
+
Completed 200 OK in 62ms (Views: 55.7ms | ActiveRecord: 1.0ms)
|
682485
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
682486
|
+
[1m[35m (0.1ms)[0m begin transaction
|
682487
|
+
---------------------------------------------------
|
682488
|
+
Guts::UsersControllerTest: test_should_destroy_user
|
682489
|
+
---------------------------------------------------
|
682490
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682491
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1 [["id", 639558351]]
|
682492
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_users"[0m
|
682493
|
+
Processing by Guts::UsersController#destroy as HTML
|
682494
|
+
Parameters: {"id"=>"764040363"}
|
682495
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682496
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682497
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682498
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682499
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
682500
|
+
[1m[36mGuts::Medium Load (0.0ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 764040363], ["filable_type", "Guts::User"]]
|
682501
|
+
[1m[35mGuts::Metafield Load (0.1ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 764040363], ["fieldable_type", "Guts::User"]]
|
682502
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "guts_metafields" WHERE "guts_metafields"."id" = ?[0m [["id", 487021368]]
|
682503
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "guts_users" WHERE "guts_users"."id" = ? [["id", 764040363]]
|
682504
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "destroy"], ["object_id", 764040363], ["object_type", "Guts::User"], ["params", "{}"], ["created_at", "2016-04-28 03:45:32.011639"], ["updated_at", "2016-04-28 03:45:32.011639"]]
|
682505
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
682506
|
+
Redirected to http://test.host/guts/users
|
682507
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.7ms)
|
682508
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_users"[0m
|
682509
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
682510
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682511
|
+
-----------------------------------------------------------
|
682512
|
+
Guts::UsersControllerTest: test_should_get_index_with_group
|
682513
|
+
-----------------------------------------------------------
|
682514
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682515
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1[0m [["id", 639558351]]
|
682516
|
+
Processing by Guts::UsersController#index as HTML
|
682517
|
+
Parameters: {"group"=>"639558351"}
|
682518
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682519
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682520
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682521
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."slug" = ? ORDER BY "guts_groups"."id" ASC LIMIT 1[0m [["slug", "639558351"]]
|
682522
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1 [["id", 639558351]]
|
682523
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "guts_users"."id") FROM "guts_users" LEFT OUTER JOIN "guts_user_groups" ON "guts_user_groups"."user_id" = "guts_users"."id" LEFT OUTER JOIN "guts_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_groups"."id" = 639558351[0m
|
682524
|
+
[1m[35mSQL (0.3ms)[0m SELECT "guts_users"."id" AS t0_r0, "guts_users"."name" AS t0_r1, "guts_users"."email" AS t0_r2, "guts_users"."password_digest" AS t0_r3, "guts_users"."password_token" AS t0_r4, "guts_users"."created_at" AS t0_r5, "guts_users"."updated_at" AS t0_r6, "guts_groups"."id" AS t1_r0, "guts_groups"."title" AS t1_r1, "guts_groups"."slug" AS t1_r2, "guts_groups"."created_at" AS t1_r3, "guts_groups"."updated_at" AS t1_r4 FROM "guts_users" LEFT OUTER JOIN "guts_user_groups" ON "guts_user_groups"."user_id" = "guts_users"."id" LEFT OUTER JOIN "guts_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_groups"."id" = 639558351
|
682525
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/index.html.erb within layouts/guts/application (15.5ms)
|
682526
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682527
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682528
|
+
Completed 200 OK in 49ms (Views: 44.9ms | ActiveRecord: 0.8ms)
|
682529
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682530
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682531
|
+
------------------------------------------------
|
682532
|
+
Guts::UsersControllerTest: test_should_get_index
|
682533
|
+
------------------------------------------------
|
682534
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682535
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1[0m [["id", 639558351]]
|
682536
|
+
Processing by Guts::UsersController#index as HTML
|
682537
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682538
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682539
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682540
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_users"[0m
|
682541
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users"
|
682542
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 567506384]]
|
682543
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682544
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/index.html.erb within layouts/guts/application (15.1ms)
|
682545
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682546
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682547
|
+
Completed 200 OK in 53ms (Views: 50.7ms | ActiveRecord: 0.6ms)
|
682548
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682549
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682550
|
+
-------------------------------------------------------------
|
682551
|
+
Guts::UsersControllerTest: test_should_create_user_with_group
|
682552
|
+
-------------------------------------------------------------
|
682553
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682554
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1[0m [["id", 639558351]]
|
682555
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_users"
|
682556
|
+
Processing by Guts::UsersController#create as HTML
|
682557
|
+
Parameters: {"user"=>{"name"=>"Some User", "email"=>"some_user@domain.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "group_ids"=>["639558351"]}}
|
682558
|
+
[1m[36mGuts::Site Load (0.0ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682559
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682560
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682561
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1 [["id", 639558351]]
|
682562
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
682563
|
+
[1m[35mGuts::User Exists (0.1ms)[0m SELECT 1 AS one FROM "guts_users" WHERE LOWER("guts_users"."email") = LOWER('some_user@domain.com') LIMIT 1
|
682564
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "guts_users" ("name", "email", "password_digest", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "Some User"], ["email", "some_user@domain.com"], ["password_digest", "$2a$04$I7ek7QRmjUeRhxlI7gJBMOAb6ZGyqVT/x4U2oKfYnSsKrfjJSHxfa"], ["created_at", "2016-04-28 03:45:32.148195"], ["updated_at", "2016-04-28 03:45:32.148195"]]
|
682565
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_user_groups" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 639558351], ["user_id", 764040364], ["created_at", "2016-04-28 03:45:32.149665"], ["updated_at", "2016-04-28 03:45:32.149665"]]
|
682566
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["object_id", 764040364], ["object_type", "Guts::User"], ["params", "{}"], ["created_at", "2016-04-28 03:45:32.152005"], ["updated_at", "2016-04-28 03:45:32.152005"]]
|
682567
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
682568
|
+
Redirected to http://test.host/guts/users
|
682569
|
+
Completed 302 Found in 16ms (ActiveRecord: 1.0ms)
|
682570
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_users"[0m
|
682571
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
682572
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682573
|
+
--------------------------------------------------------
|
682574
|
+
Guts::UsersControllerTest: test_should_switch_user_by_ID
|
682575
|
+
--------------------------------------------------------
|
682576
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682577
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1[0m [["id", 639558351]]
|
682578
|
+
Processing by Guts::UsersController#switch_user as HTML
|
682579
|
+
Parameters: {"user_id"=>"764040363"}
|
682580
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682581
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682582
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682583
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682584
|
+
[1m[35mGuts::User Load (0.2ms)[0m SELECT "guts_users".* FROM "guts_users"
|
682585
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/switch_user.html.erb within layouts/guts/application (5.9ms)
|
682586
|
+
Rendered guts/application/_layout_hook.html.erb (0.3ms)
|
682587
|
+
[1m[36mGuts::Type Load (0.7ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682588
|
+
Completed 200 OK in 51ms (Views: 47.7ms | ActiveRecord: 1.1ms)
|
682589
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682590
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682591
|
+
-------------------------------------------------------------------------------
|
682592
|
+
Guts::UsersControllerTest: test_should_fail_to_create_user_and_send_back_to_new
|
682593
|
+
-------------------------------------------------------------------------------
|
682594
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682595
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1[0m [["id", 639558351]]
|
682596
|
+
Processing by Guts::UsersController#create as HTML
|
682597
|
+
Parameters: {"user"=>{"name"=>"", "email"=>""}}
|
682598
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682599
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682600
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682601
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
682602
|
+
[1m[35mGuts::User Exists (0.1ms)[0m SELECT 1 AS one FROM "guts_users" WHERE LOWER("guts_users"."email") = LOWER('') LIMIT 1
|
682603
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
682604
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups"
|
682605
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/_form.html.erb (13.2ms)
|
682606
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/users/new.html.erb within layouts/guts/application (13.5ms)
|
682607
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682608
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682609
|
+
Completed 200 OK in 58ms (Views: 50.6ms | ActiveRecord: 0.9ms)
|
682610
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682611
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682612
|
+
-------------------------------------------------------
|
682613
|
+
Guts::TrackersHelperTest: test_returns_proper_view_name
|
682614
|
+
-------------------------------------------------------
|
682615
|
+
[1m[35mGuts::Tracker Load (0.1ms)[0m SELECT "guts_trackers".* FROM "guts_trackers" WHERE "guts_trackers"."id" = ? LIMIT 1 [["id", 980190962]]
|
682616
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
682617
|
+
[1m[35m (0.0ms)[0m begin transaction
|
682618
|
+
--------------------------------------------------
|
682619
|
+
Guts::GroupTest: test_should_create_slug_for_title
|
682620
|
+
--------------------------------------------------
|
682621
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
682622
|
+
[1m[35mGuts::Group Exists (0.1ms)[0m SELECT 1 AS one FROM "guts_groups" WHERE ("guts_groups"."id" IS NOT NULL) AND "guts_groups"."slug" = ? LIMIT 1 [["slug", "customer-group"]]
|
682623
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "guts_groups" ("title", "slug", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "Customer Group"], ["slug", "customer-group"], ["created_at", "2016-04-28 03:45:32.290847"], ["updated_at", "2016-04-28 03:45:32.290847"]]
|
682624
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "create"], ["object_id", 639558352], ["object_type", "Guts::Group"], ["params", "{}"], ["created_at", "2016-04-28 03:45:32.293005"], ["updated_at", "2016-04-28 03:45:32.293005"]]
|
682625
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
682626
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
682627
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682628
|
+
-----------------------------------------
|
682629
|
+
Guts::GroupTest: test_should_be_trackable
|
682630
|
+
-----------------------------------------
|
682631
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682632
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
682633
|
+
--------------------------------------------------------
|
682634
|
+
Guts::GroupTest: test_should_return_metafields_for_group
|
682635
|
+
--------------------------------------------------------
|
682636
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1 [["id", 639558351]]
|
682637
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ?[0m [["fieldable_id", 639558351], ["fieldable_type", "Guts::Group"]]
|
682638
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682639
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682640
|
+
---------------------------------------------------
|
682641
|
+
Guts::GroupTest: test_should_return_users_for_group
|
682642
|
+
---------------------------------------------------
|
682643
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" WHERE "guts_groups"."id" = ? LIMIT 1 [["id", 639558351]]
|
682644
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "guts_users" INNER JOIN "guts_user_groups" ON "guts_users"."id" = "guts_user_groups"."user_id" WHERE "guts_user_groups"."group_id" = ?[0m [["group_id", 639558351]]
|
682645
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
682646
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682647
|
+
-----------------------------------------------------------------------------
|
682648
|
+
Guts::GroupTest: test_should_not_create_with_title_less_than_three_characters
|
682649
|
+
-----------------------------------------------------------------------------
|
682650
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
682651
|
+
[1m[36mGuts::Group Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "guts_groups" WHERE ("guts_groups"."id" IS NOT NULL) AND "guts_groups"."slug" = ? LIMIT 1[0m [["slug", "12"]]
|
682652
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
682653
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
682654
|
+
[1m[35m (0.1ms)[0m begin transaction
|
682655
|
+
-----------------------------------------------------
|
682656
|
+
Guts::GroupTest: test_should_not_create_without_title
|
682657
|
+
-----------------------------------------------------
|
682658
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
682659
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
682660
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
682661
|
+
[1m[35m (0.0ms)[0m begin transaction
|
682662
|
+
------------------------------------------------------------------------------------------
|
682663
|
+
Guts::ContentsControllerTest: test_should_fail_to_create_content_item_and_send_back_to_new
|
682664
|
+
------------------------------------------------------------------------------------------
|
682665
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682666
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
682667
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
682668
|
+
Processing by Guts::ContentsController#create as HTML
|
682669
|
+
Parameters: {"type"=>"page", "content"=>{"title"=>""}}
|
682670
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682671
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682672
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682673
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."slug" = ? ORDER BY "guts_types"."id" ASC LIMIT 1[0m [["slug", "page"]]
|
682674
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
682675
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
682676
|
+
[1m[35mGuts::Category Load (0.1ms)[0m SELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL
|
682677
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/contents/_form.html.erb (16.7ms)
|
682678
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/contents/new.html.erb within layouts/guts/application (19.3ms)
|
682679
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682680
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682681
|
+
Completed 200 OK in 65ms (Views: 58.5ms | ActiveRecord: 0.6ms)
|
682682
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682683
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682684
|
+
--------------------------------------------------
|
682685
|
+
Guts::ContentsControllerTest: test_should_get_edit
|
682686
|
+
--------------------------------------------------
|
682687
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682688
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
682689
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
682690
|
+
Processing by Guts::ContentsController#edit as HTML
|
682691
|
+
Parameters: {"id"=>"test-page"}
|
682692
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682693
|
+
[1m[35mGuts::User Load (0.2ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682694
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682695
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "test-page"]]
|
682696
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
682697
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 292789487], ["fieldable_type", "Guts::Content"]]
|
682698
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 292789487], ["filable_type", "Guts::Content"]]
|
682699
|
+
[1m[35m (0.1ms)[0m SELECT "guts_categories".id FROM "guts_categories" INNER JOIN "guts_categorizations" ON "guts_categories"."id" = "guts_categorizations"."category_id" WHERE "guts_categories"."site_id" IS NULL AND "guts_categorizations"."content_id" = ? [["content_id", 292789487]]
|
682700
|
+
[1m[36mGuts::Category Load (0.2ms)[0m [1mSELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL[0m
|
682701
|
+
[1m[35m (0.1ms)[0m SELECT "guts_categories".id FROM "guts_categories" INNER JOIN "guts_categorizations" ON "guts_categories"."id" = "guts_categorizations"."category_id" WHERE "guts_categories"."site_id" IS NULL AND "guts_categorizations"."content_id" = ? [["content_id", 292789487]]
|
682702
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/contents/_form.html.erb (20.7ms)
|
682703
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/contents/edit.html.erb within layouts/guts/application (22.0ms)
|
682704
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682705
|
+
[1m[36mGuts::Type Load (0.2ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682706
|
+
Completed 200 OK in 63ms (Views: 57.3ms | ActiveRecord: 1.1ms)
|
682707
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682708
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
682709
|
+
-----------------------------------------------------------------------------------------
|
682710
|
+
Guts::ContentsControllerTest: test_should_fail_to_edit_content_item_and_send_back_to_edit
|
682711
|
+
-----------------------------------------------------------------------------------------
|
682712
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682713
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
682714
|
+
[1m[35mGuts::Type Load (0.0ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
682715
|
+
Processing by Guts::ContentsController#update as HTML
|
682716
|
+
Parameters: {"content"=>{"title"=>""}, "id"=>"test-page"}
|
682717
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682718
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682719
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682720
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "test-page"]]
|
682721
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
682722
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
682723
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
682724
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 292789487], ["fieldable_type", "Guts::Content"]]
|
682725
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 292789487], ["filable_type", "Guts::Content"]]
|
682726
|
+
[1m[35m (0.2ms)[0m SELECT "guts_categories".id FROM "guts_categories" INNER JOIN "guts_categorizations" ON "guts_categories"."id" = "guts_categorizations"."category_id" WHERE "guts_categories"."site_id" IS NULL AND "guts_categorizations"."content_id" = ? [["content_id", 292789487]]
|
682727
|
+
[1m[36mGuts::Category Load (0.1ms)[0m [1mSELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL[0m
|
682728
|
+
[1m[35m (0.0ms)[0m SELECT "guts_categories".id FROM "guts_categories" INNER JOIN "guts_categorizations" ON "guts_categories"."id" = "guts_categorizations"."category_id" WHERE "guts_categories"."site_id" IS NULL AND "guts_categorizations"."content_id" = ? [["content_id", 292789487]]
|
682729
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/contents/_form.html.erb (19.8ms)
|
682730
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/contents/edit.html.erb within layouts/guts/application (20.0ms)
|
682731
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682732
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682733
|
+
Completed 200 OK in 63ms (Views: 55.2ms | ActiveRecord: 1.0ms)
|
682734
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682735
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682736
|
+
--------------------------------------------------------
|
682737
|
+
Guts::ContentsControllerTest: test_should_create_content
|
682738
|
+
--------------------------------------------------------
|
682739
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682740
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
682741
|
+
[1m[35mGuts::Type Load (0.0ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
682742
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL[0m
|
682743
|
+
Processing by Guts::ContentsController#create as HTML
|
682744
|
+
Parameters: {"type"=>"page", "content"=>{"slug"=>"demo-page", "title"=>"Demo Page", "visible"=>true, "contents"=>"Content", "type_id"=>"186272755"}}
|
682745
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682746
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682747
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682748
|
+
[1m[36mGuts::Type Load (0.3ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."slug" = ? ORDER BY "guts_types"."id" ASC LIMIT 1[0m [["slug", "page"]]
|
682749
|
+
Unpermitted parameters: contents, type_id
|
682750
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
682751
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "guts_contents" ("title", "slug", "visible", "user_id", "type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["title", "Demo Page"], ["slug", "demo-page"], ["visible", 1], ["user_id", 764040363], ["type_id", 186272755], ["created_at", "2016-04-28 03:45:32.541589"], ["updated_at", "2016-04-28 03:45:32.541589"]]
|
682752
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["action", "create"], ["object_id", 343024606], ["object_type", "Guts::Content"], ["params", "{}"], ["created_at", "2016-04-28 03:45:32.544088"], ["updated_at", "2016-04-28 03:45:32.544088"]]
|
682753
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
682754
|
+
Redirected to http://test.host/guts/contents?type=page
|
682755
|
+
Completed 302 Found in 13ms (ActiveRecord: 1.0ms)
|
682756
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL
|
682757
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
682758
|
+
[1m[35m (0.1ms)[0m begin transaction
|
682759
|
+
------------------------------------------------------
|
682760
|
+
Guts::ContentsControllerTest: test_should_show_content
|
682761
|
+
------------------------------------------------------
|
682762
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682763
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
682764
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
682765
|
+
Processing by Guts::ContentsController#show as HTML
|
682766
|
+
Parameters: {"id"=>"test-page"}
|
682767
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682768
|
+
[1m[36mGuts::User Load (0.0ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682769
|
+
[1m[35mGuts::Group Load (0.0ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682770
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1[0m [["slug", "test-page"]]
|
682771
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
682772
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682773
|
+
[1m[35mGuts::Category Load (0.1ms)[0m SELECT "guts_categories".* FROM "guts_categories" INNER JOIN "guts_categorizations" ON "guts_categories"."id" = "guts_categorizations"."category_id" WHERE "guts_categories"."site_id" IS NULL AND "guts_categorizations"."content_id" = ? [["content_id", 292789487]]
|
682774
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/contents/show.html.erb within layouts/guts/application (8.6ms)
|
682775
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682776
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682777
|
+
Completed 200 OK in 47ms (Views: 41.5ms | ActiveRecord: 0.6ms)
|
682778
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682779
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
682780
|
+
-------------------------------------------------------------
|
682781
|
+
Guts::ContentsControllerTest: test_should_get_index_with_type
|
682782
|
+
-------------------------------------------------------------
|
682783
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682784
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
682785
|
+
[1m[35mGuts::Type Load (0.0ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
682786
|
+
Processing by Guts::ContentsController#index as HTML
|
682787
|
+
Parameters: {"type"=>"page"}
|
682788
|
+
[1m[36mGuts::Site Load (0.0ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682789
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682790
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682791
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."slug" = ? ORDER BY "guts_types"."id" ASC LIMIT 1 [["slug", "page"]]
|
682792
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."type_id" = 186272755[0m
|
682793
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."type_id" = 186272755 LIMIT 30 OFFSET 0
|
682794
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/contents/index.html.erb within layouts/guts/application (16.3ms)
|
682795
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682796
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL[0m
|
682797
|
+
Completed 200 OK in 54ms (Views: 50.2ms | ActiveRecord: 0.6ms)
|
682798
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
682799
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682800
|
+
--------------------------------------------------------
|
682801
|
+
Guts::ContentsControllerTest: test_should_update_content
|
682802
|
+
--------------------------------------------------------
|
682803
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682804
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
682805
|
+
[1m[35mGuts::Type Load (0.0ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
682806
|
+
Processing by Guts::ContentsController#update as HTML
|
682807
|
+
Parameters: {"content"=>{"slug"=>"test-page", "title"=>"Test Page"}, "id"=>"test-page"}
|
682808
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682809
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682810
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682811
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "test-page"]]
|
682812
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
682813
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
682814
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "update"], ["object_id", 292789487], ["object_type", "Guts::Content"], ["params", "{}"], ["created_at", "2016-04-28 03:45:32.683901"], ["updated_at", "2016-04-28 03:45:32.683901"]]
|
682815
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
682816
|
+
Redirected to http://test.host/guts/contents?type=page
|
682817
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.6ms)
|
682818
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
682819
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
682820
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682821
|
+
-------------------------------------------------
|
682822
|
+
Guts::ContentsControllerTest: test_should_get_new
|
682823
|
+
-------------------------------------------------
|
682824
|
+
[1m[35mGuts::User Load (0.1ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682825
|
+
[1m[36mGuts::Content Load (0.0ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1[0m [["id", 292789487]]
|
682826
|
+
[1m[35mGuts::Type Load (0.0ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
682827
|
+
Processing by Guts::ContentsController#new as HTML
|
682828
|
+
Parameters: {"type"=>"page"}
|
682829
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682830
|
+
[1m[35mGuts::User Load (0.4ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682831
|
+
[1m[36mGuts::Group Load (0.1ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682832
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."slug" = ? ORDER BY "guts_types"."id" ASC LIMIT 1 [["slug", "page"]]
|
682833
|
+
[1m[36mGuts::Category Load (0.1ms)[0m [1mSELECT "guts_categories".* FROM "guts_categories" WHERE "guts_categories"."site_id" IS NULL[0m
|
682834
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/contents/_form.html.erb (8.7ms)
|
682835
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/contents/new.html.erb within layouts/guts/application (9.0ms)
|
682836
|
+
Rendered guts/application/_layout_hook.html.erb (0.2ms)
|
682837
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
682838
|
+
Completed 200 OK in 50ms (Views: 44.2ms | ActiveRecord: 0.9ms)
|
682839
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
682840
|
+
[1m[35m (0.1ms)[0m begin transaction
|
682841
|
+
---------------------------------------------------------
|
682842
|
+
Guts::ContentsControllerTest: test_should_destroy_content
|
682843
|
+
---------------------------------------------------------
|
682844
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682845
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
682846
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
682847
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL
|
682848
|
+
Processing by Guts::ContentsController#destroy as HTML
|
682849
|
+
Parameters: {"id"=>"test-page"}
|
682850
|
+
[1m[36mGuts::Site Load (0.1ms)[0m [1mSELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1[0m [["domain", "test.host"]]
|
682851
|
+
[1m[35mGuts::User Load (0.0ms)[0m SELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1 [["id", 764040363]]
|
682852
|
+
[1m[36mGuts::Group Load (0.0ms)[0m [1mSELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ?[0m [["user_id", 764040363]]
|
682853
|
+
[1m[35mGuts::Content Load (0.0ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."slug" = ? ORDER BY "guts_contents"."id" ASC LIMIT 1 [["slug", "test-page"]]
|
682854
|
+
[1m[36mGuts::Type Load (0.0ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
682855
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
682856
|
+
[1m[36mGuts::Medium Load (0.1ms)[0m [1mSELECT "guts_media".* FROM "guts_media" WHERE "guts_media"."site_id" IS NULL AND "guts_media"."filable_id" = ? AND "guts_media"."filable_type" = ?[0m [["filable_id", 292789487], ["filable_type", "Guts::Content"]]
|
682857
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "guts_media" WHERE "guts_media"."id" = ? [["id", 166075617]]
|
682858
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "destroy"], ["object_id", 166075617], ["object_type", "Guts::Medium"], ["params", "{}"], ["created_at", "2016-04-28 03:45:32.768547"], ["updated_at", "2016-04-28 03:45:32.768547"]]
|
682859
|
+
[1m[35mGuts::Metafield Load (0.1ms)[0m SELECT "guts_metafields".* FROM "guts_metafields" WHERE "guts_metafields"."site_id" IS NULL AND "guts_metafields"."fieldable_id" = ? AND "guts_metafields"."fieldable_type" = ? [["fieldable_id", 292789487], ["fieldable_type", "Guts::Content"]]
|
682860
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "guts_metafields" WHERE "guts_metafields"."id" = ?[0m [["id", 434488443]]
|
682861
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "guts_contents" WHERE "guts_contents"."id" = ? [["id", 292789487]]
|
682862
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "guts_trackers" ("action", "object_id", "object_type", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["action", "destroy"], ["object_id", 292789487], ["object_type", "Guts::Content"], ["params", "{}"], ["created_at", "2016-04-28 03:45:32.774141"], ["updated_at", "2016-04-28 03:45:32.774141"]]
|
682863
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
682864
|
+
Redirected to http://test.host/guts/contents?type=page
|
682865
|
+
Completed 302 Found in 19ms (ActiveRecord: 1.2ms)
|
682866
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL[0m
|
682867
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."id" = ? LIMIT 1 [["id", 186272755]]
|
682868
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
682869
|
+
[1m[35m (0.1ms)[0m begin transaction
|
682870
|
+
--------------------------------------------------------------------------
|
682871
|
+
Guts::ContentsControllerTest: test_should_allow_for_custom_paginated_limit
|
682872
|
+
--------------------------------------------------------------------------
|
682873
|
+
[1m[36mGuts::User Load (0.3ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682874
|
+
[1m[35mGuts::Content Load (0.1ms)[0m SELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."id" = ? LIMIT 1 [["id", 292789487]]
|
682875
|
+
[1m[36mGuts::Type Load (0.3ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."id" = ? LIMIT 1[0m [["id", 186272755]]
|
682876
|
+
Processing by Guts::ContentsController#index as HTML
|
682877
|
+
Parameters: {"per_page"=>"100", "type"=>"page"}
|
682878
|
+
[1m[35mGuts::Site Load (0.1ms)[0m SELECT "guts_sites".* FROM "guts_sites" WHERE "guts_sites"."domain" = ? LIMIT 1 [["domain", "test.host"]]
|
682879
|
+
[1m[36mGuts::User Load (0.1ms)[0m [1mSELECT "guts_users".* FROM "guts_users" WHERE "guts_users"."id" = ? LIMIT 1[0m [["id", 764040363]]
|
682880
|
+
[1m[35mGuts::Group Load (0.1ms)[0m SELECT "guts_groups".* FROM "guts_groups" INNER JOIN "guts_user_groups" ON "guts_groups"."id" = "guts_user_groups"."group_id" WHERE "guts_user_groups"."user_id" = ? [["user_id", 764040363]]
|
682881
|
+
[1m[36mGuts::Type Load (0.1ms)[0m [1mSELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL AND "guts_types"."slug" = ? ORDER BY "guts_types"."id" ASC LIMIT 1[0m [["slug", "page"]]
|
682882
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."type_id" = 186272755
|
682883
|
+
[1m[36mGuts::Content Load (0.1ms)[0m [1mSELECT "guts_contents".* FROM "guts_contents" WHERE "guts_contents"."site_id" IS NULL AND "guts_contents"."type_id" = 186272755 LIMIT 100 OFFSET 0[0m
|
682884
|
+
Rendered /Users/tyler/Development/GitHub/guts/app/views/guts/contents/index.html.erb within layouts/guts/application (16.7ms)
|
682885
|
+
Rendered guts/application/_layout_hook.html.erb (0.1ms)
|
682886
|
+
[1m[35mGuts::Type Load (0.1ms)[0m SELECT "guts_types".* FROM "guts_types" WHERE "guts_types"."site_id" IS NULL
|
682887
|
+
Completed 200 OK in 51ms (Views: 46.1ms | ActiveRecord: 0.7ms)
|
682888
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|