(0.3ms) begin transaction --------------------------------- DismissibleBlocksTest: test_truth ---------------------------------  (0.0ms) rollback transaction  (0.3ms) begin transaction --------------------------------- DismissibleBlocksTest: test_truth ---------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------- DismissibleBlocksTest: test_truth ---------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------- DismissibleBlocksTest: test_truth ---------------------------------  (0.0ms) rollback transaction  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20140303154458)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303154458"]]  (1.2ms) commit transaction  (0.1ms) begin transaction --------------------------------- DismissibleBlocksTest: test_truth ---------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------- DismissibleBlocksTest: test_truth ---------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.0ms) rollback transaction  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20140303154458)  (0.1ms) begin transaction  (2.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303154458"]]  (1.0ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.0ms) rollback transaction  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20140303154458)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303154458"]]  (1.0ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('john@example.com', 'lorem', '2014-03-03 16:11:30', '2014-03-03 16:11:30', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('mike@example.com', 'ipsum', '2014-03-03 16:11:30', '2014-03-03 16:11:30', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.1ms) rollback transaction  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20140303154458)  (0.2ms) begin transaction  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303154458"]]  (6.2ms) commit transaction  (0.2ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "users" Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('john@example.com', 'lorem', '2014-03-03 16:12:16', '2014-03-03 16:12:16', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('mike@example.com', 'ipsum', '2014-03-03 16:12:16', '2014-03-03 16:12:16', 298486374)  (2.0ms) commit transaction  (1.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddDismissedBlocksToUsers (20140303161500)  (0.1ms) begin transaction  (2.1ms) ALTER TABLE "users" ADD "dismissed_blocks" text SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303161500"]]  (0.9ms) commit transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('john@example.com', 'lorem', '2014-03-03 16:15:14', '2014-03-03 16:15:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('mike@example.com', 'ipsum', '2014-03-03 16:15:14', '2014-03-03 16:15:14', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.1ms) rollback transaction  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('john@example.com', 'lorem', '2014-03-03 16:45:19', '2014-03-03 16:45:19', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('mike@example.com', 'ipsum', '2014-03-03 16:45:19', '2014-03-03 16:45:19', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.0ms) rollback transaction  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20140303154458)  (0.1ms) begin transaction  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303154458"]]  (1.1ms) commit transaction Migrating to AddDismissedBlocksToUsers (20140303161500)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "users" ADD "dismissed_blocks" text SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303161500"]]  (0.8ms) commit transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('john@example.com', 'lorem', '2014-03-03 16:46:07', '2014-03-03 16:46:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('mike@example.com', 'ipsum', '2014-03-03 16:46:07', '2014-03-03 16:46:07', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('john@example.com', 'lorem', '2014-03-03 16:52:16', '2014-03-03 16:52:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('mike@example.com', 'ipsum', '2014-03-03 16:52:16', '2014-03-03 16:52:16', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('john@example.com', 'lorem', '2014-03-03 16:52:27', '2014-03-03 16:52:27', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('mike@example.com', 'ipsum', '2014-03-03 16:52:27', '2014-03-03 16:52:27', 298486374)  (1.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('john@example.com', 'lorem', '2014-03-03 16:52:40', '2014-03-03 16:52:40', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('mike@example.com', 'ipsum', '2014-03-03 16:52:40', '2014-03-03 16:52:40', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('john@example.com', 'lorem', '2014-03-03 16:52:50', '2014-03-03 16:52:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('mike@example.com', 'ipsum', '2014-03-03 16:52:50', '2014-03-03 16:52:50', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('patrick', 'lorem', '2014-03-03 19:44:49', '2014-03-03 19:44:49', 980190962)  (1.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.1ms) rollback transaction  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20140303154458)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303154458"]]  (1.9ms) commit transaction Migrating to AddDismissedBlocksToUsers (20140303161500)  (0.1ms) begin transaction  (0.6ms) ALTER TABLE "users" ADD "dismissed_blocks" text SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303161500"]]  (1.5ms) commit transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('patrick', 'lorem', '2014-03-03 20:45:50', '2014-03-03 20:45:50', 980190962)  (1.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('patrick', 'lorem', '2014-03-03 20:54:52', '2014-03-03 20:54:52', 980190962)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.8ms) DELETE FROM "users" Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('patrick', 'lorem', '2014-03-03 21:17:28', '2014-03-03 21:17:28', 980190962)  (0.8ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('patrick', 'lorem', '2014-03-03 21:17:50', '2014-03-03 21:17:50', 980190962)  (1.8ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "users" Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "created_at", "updated_at", "id") VALUES ('patrick', 'lorem', '2014-03-03 21:22:25', '2014-03-03 21:22:25', 980190962)  (2.5ms) commit transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction ------------------------------------ DismissBlockTest: test_dismiss_block ------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction ------------------------------------ DismissBlockTest: test_dismiss_block ------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------ DismissBlockTest: test_dismiss_block ------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_gem_is_of_type_DismissibleBlocks ------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.0ms) rollback transaction  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20140303154458)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303154458"]]  (5.8ms) commit transaction Migrating to AddDismissedBlocksToUsers (20140303161500)  (0.1ms) begin transaction  (1.9ms) ALTER TABLE "users" ADD "dismissed_blocks" text SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303161500"]]  (0.9ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.0ms) rollback transaction  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20140303154458)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303154458"]]  (1.3ms) commit transaction Migrating to AddDismissedBlocksToUsers (20140303161500)  (2.1ms) begin transaction  (0.6ms) ALTER TABLE "users" ADD "dismissed_blocks" text SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303161500"]]  (0.8ms) commit transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 15:24:58', '2014-03-04 15:24:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 15:24:58', '2014-03-04 15:24:58', 298486374)  (0.8ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 15:26:02', '2014-03-04 15:26:02', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 15:26:02', '2014-03-04 15:26:02', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 15:30:41', '2014-03-04 15:30:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 15:30:41', '2014-03-04 15:30:41', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 15:31:22', '2014-03-04 15:31:22', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 15:31:22', '2014-03-04 15:31:22', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 15:52:46', '2014-03-04 15:52:46', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 15:52:46', '2014-03-04 15:52:46', 298486374)  (1.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 15:57:43', '2014-03-04 15:57:43', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 15:57:43', '2014-03-04 15:57:43', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 15:59:59', '2014-03-04 15:59:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 15:59:59', '2014-03-04 15:59:59', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:00:15', '2014-03-04 16:00:15', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:00:15', '2014-03-04 16:00:15', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:03:05', '2014-03-04 16:03:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:03:05', '2014-03-04 16:03:05', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:06:21', '2014-03-04 16:06:21', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:06:21', '2014-03-04 16:06:21', 298486374)  (0.9ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:06:59', '2014-03-04 16:06:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:06:59', '2014-03-04 16:06:59', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:09:05', '2014-03-04 16:09:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:09:05', '2014-03-04 16:09:05', 298486374)  (0.8ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:10:00', '2014-03-04 16:10:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:10:00', '2014-03-04 16:10:00', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:10:36', '2014-03-04 16:10:36', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:10:36', '2014-03-04 16:10:36', 298486374)  (0.9ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (5.4ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:11:07', '2014-03-04 16:11:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:11:07', '2014-03-04 16:11:07', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:11:31', '2014-03-04 16:11:31', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:11:31', '2014-03-04 16:11:31', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:11:44', '2014-03-04 16:11:44', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:11:44', '2014-03-04 16:11:44', 298486374)  (2.0ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:12:16', '2014-03-04 16:12:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:12:16', '2014-03-04 16:12:16', 298486374)  (1.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:13:16', '2014-03-04 16:13:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:13:16', '2014-03-04 16:13:16', 298486374)  (1.3ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:14:50', '2014-03-04 16:14:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:14:50', '2014-03-04 16:14:50', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:15:02', '2014-03-04 16:15:02', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:15:02', '2014-03-04 16:15:02', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:18:05', '2014-03-04 16:18:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:18:05', '2014-03-04 16:18:05', 298486374)  (43.3ms) commit transaction  (0.2ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.5ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:18:34', '2014-03-04 16:18:34', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:18:34', '2014-03-04 16:18:34', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:19:16', '2014-03-04 16:19:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:19:16', '2014-03-04 16:19:16', 298486374)  (1.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:20:21', '2014-03-04 16:20:21', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:20:21', '2014-03-04 16:20:21', 298486374)  (2.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:45:52', '2014-03-04 16:45:52', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:45:52', '2014-03-04 16:45:52', 298486374)  (2.0ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:54:39', '2014-03-04 16:54:39', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:54:39', '2014-03-04 16:54:39', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:54:54', '2014-03-04 16:54:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:54:54', '2014-03-04 16:54:54', 298486374)  (1.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:55:08', '2014-03-04 16:55:08', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:55:08', '2014-03-04 16:55:08', 298486374)  (2.5ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 16:55:30', '2014-03-04 16:55:30', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 16:55:30', '2014-03-04 16:55:30', 298486374)  (1.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:00:15', '2014-03-04 17:00:15', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:00:15', '2014-03-04 17:00:15', 298486374)  (1.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:02:31', '2014-03-04 17:02:31', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:02:31', '2014-03-04 17:02:31', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:03:42', '2014-03-04 17:03:42', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:03:42', '2014-03-04 17:03:42', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:04:01', '2014-03-04 17:04:01', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:04:01', '2014-03-04 17:04:01', 298486374)  (4.4ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.3ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.2ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.2ms) rollback transaction  (0.4ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:04:52', '2014-03-04 17:04:52', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:04:52', '2014-03-04 17:04:52', 298486374)  (2.0ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:05:14', '2014-03-04 17:05:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:05:14', '2014-03-04 17:05:14', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:08:48', '2014-03-04 17:08:48', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:08:48', '2014-03-04 17:08:48', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.3ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:09:01', '2014-03-04 17:09:01', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:09:01', '2014-03-04 17:09:01', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:09:28', '2014-03-04 17:09:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:09:28', '2014-03-04 17:09:28', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:09:36', '2014-03-04 17:09:36', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:09:36', '2014-03-04 17:09:36', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:09:49', '2014-03-04 17:09:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:09:49', '2014-03-04 17:09:49', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:10:59', '2014-03-04 17:10:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:10:59', '2014-03-04 17:10:59', 298486374)  (0.8ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:12:26', '2014-03-04 17:12:26', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:12:26', '2014-03-04 17:12:26', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:13:05', '2014-03-04 17:13:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:13:05', '2014-03-04 17:13:05', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (5.8ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:13:35', '2014-03-04 17:13:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:13:35', '2014-03-04 17:13:35', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:13:44', '2014-03-04 17:13:44', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:13:44', '2014-03-04 17:13:44', 298486374)  (1.3ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:14:08', '2014-03-04 17:14:08', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:14:08', '2014-03-04 17:14:08', 298486374)  (142.0ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:14:41', '2014-03-04 17:14:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:14:41', '2014-03-04 17:14:41', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:14:57', '2014-03-04 17:14:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:14:57', '2014-03-04 17:14:57', 298486374)  (1.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (1.2ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:15:51', '2014-03-04 17:15:51', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:15:51', '2014-03-04 17:15:51', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable ------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:16:07', '2014-03-04 17:16:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:16:07', '2014-03-04 17:16:07', 298486374)  (1.3ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable ------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:16:35', '2014-03-04 17:16:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:16:35', '2014-03-04 17:16:35', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable ------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:21:11', '2014-03-04 17:21:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:21:11', '2014-03-04 17:21:11', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable ------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:21:49', '2014-03-04 17:21:49', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:21:49', '2014-03-04 17:21:49', 298486374)  (2.4ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable ------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:24:28', '2014-03-04 17:24:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:24:28', '2014-03-04 17:24:28', 298486374)  (3.5ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable ------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:25:06', '2014-03-04 17:25:06', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:25:06', '2014-03-04 17:25:06', 298486374)  (2.0ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable ------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:26:05', '2014-03-04 17:26:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:26:05', '2014-03-04 17:26:05', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable ------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (5.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:28:38', '2014-03-04 17:28:38', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:28:38', '2014-03-04 17:28:38', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable ------------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:29:35', '2014-03-04 17:29:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:29:35', '2014-03-04 17:29:35', 298486374)  (2.0ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable ------------------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:30:28', '2014-03-04 17:30:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:30:28', '2014-03-04 17:30:28', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (1.4ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (5.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:30:54', '2014-03-04 17:30:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:30:54', '2014-03-04 17:30:54', 298486374)  (2.0ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:31:07', '2014-03-04 17:31:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:31:07', '2014-03-04 17:31:07', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:31:20', '2014-03-04 17:31:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:31:20', '2014-03-04 17:31:20', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:32:58', '2014-03-04 17:32:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:32:58', '2014-03-04 17:32:58', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable ------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.4ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.3ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:34:28', '2014-03-04 17:34:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:34:28', '2014-03-04 17:34:28', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:34:37', '2014-03-04 17:34:37', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:34:37', '2014-03-04 17:34:37', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.3ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:34:51', '2014-03-04 17:34:51', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:34:51', '2014-03-04 17:34:51', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:37:52', '2014-03-04 17:37:52', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:37:52', '2014-03-04 17:37:52', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:38:07', '2014-03-04 17:38:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:38:07', '2014-03-04 17:38:07', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.8ms) DELETE FROM "users" Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:38:24', '2014-03-04 17:38:24', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:38:24', '2014-03-04 17:38:24', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:39:11', '2014-03-04 17:39:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:39:11', '2014-03-04 17:39:11', 298486374)  (1.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:39:41', '2014-03-04 17:39:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:39:41', '2014-03-04 17:39:41', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:39:59', '2014-03-04 17:39:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:39:59', '2014-03-04 17:39:59', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:44:14', '2014-03-04 17:44:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:44:14', '2014-03-04 17:44:14', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:44:54', '2014-03-04 17:44:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:44:54', '2014-03-04 17:44:54', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:45:33', '2014-03-04 17:45:33', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:45:33', '2014-03-04 17:45:33', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:45:54', '2014-03-04 17:45:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:45:54', '2014-03-04 17:45:54', 298486374)  (2.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:46:05', '2014-03-04 17:46:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:46:05', '2014-03-04 17:46:05', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:47:28', '2014-03-04 17:47:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:47:28', '2014-03-04 17:47:28', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:49:11', '2014-03-04 17:49:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:49:11', '2014-03-04 17:49:11', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:49:26', '2014-03-04 17:49:26', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:49:26', '2014-03-04 17:49:26', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:50:12', '2014-03-04 17:50:12', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:50:12', '2014-03-04 17:50:12', 298486374)  (43.9ms) commit transaction  (0.2ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:51:23', '2014-03-04 17:51:23', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:51:23', '2014-03-04 17:51:23', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:51:48', '2014-03-04 17:51:48', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:51:48', '2014-03-04 17:51:48', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:54:02', '2014-03-04 17:54:02', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:54:02', '2014-03-04 17:54:02', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.3ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:54:26', '2014-03-04 17:54:26', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:54:26', '2014-03-04 17:54:26', 298486374)  (0.9ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:55:32', '2014-03-04 17:55:32', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:55:32', '2014-03-04 17:55:32', 298486374)  (1.9ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:57:46', '2014-03-04 17:57:46', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:57:46', '2014-03-04 17:57:46', 298486374)  (1.9ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:58:31', '2014-03-04 17:58:31', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:58:31', '2014-03-04 17:58:31', 298486374)  (1.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:59:14', '2014-03-04 17:59:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:59:14', '2014-03-04 17:59:14', 298486374)  (2.0ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 17:59:41', '2014-03-04 17:59:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 17:59:41', '2014-03-04 17:59:41', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.7ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:01:20', '2014-03-04 18:01:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:01:20', '2014-03-04 18:01:20', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.3ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:01:58', '2014-03-04 18:01:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:01:58', '2014-03-04 18:01:58', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:03:09', '2014-03-04 18:03:09', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:03:09', '2014-03-04 18:03:09', 298486374)  (2.1ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:03:21', '2014-03-04 18:03:21', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:03:21', '2014-03-04 18:03:21', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:03:36', '2014-03-04 18:03:36', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:03:36', '2014-03-04 18:03:36', 298486374)  (2.0ms) commit transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:05:17', '2014-03-04 18:05:17', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:05:17', '2014-03-04 18:05:17', 298486374)  (1.2ms) commit transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:07:28', '2014-03-04 18:07:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:07:28', '2014-03-04 18:07:28', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:07:41', '2014-03-04 18:07:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:07:41', '2014-03-04 18:07:41', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:08:00', '2014-03-04 18:08:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:08:00', '2014-03-04 18:08:00', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:10:53', '2014-03-04 18:10:53', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:10:53', '2014-03-04 18:10:53', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:13:21', '2014-03-04 18:13:21', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:13:21', '2014-03-04 18:13:21', 298486374)  (1.1ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:13:58', '2014-03-04 18:13:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:13:58', '2014-03-04 18:13:58', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.5ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:15:38', '2014-03-04 18:15:38', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:15:38', '2014-03-04 18:15:38', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:15:51', '2014-03-04 18:15:51', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:15:51', '2014-03-04 18:15:51', 298486374)  (1.3ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:16:09', '2014-03-04 18:16:09', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:16:09', '2014-03-04 18:16:09', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (2.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:16:21', '2014-03-04 18:16:21', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:16:21', '2014-03-04 18:16:21', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:17:02', '2014-03-04 18:17:02', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:17:02', '2014-03-04 18:17:02', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:18:01', '2014-03-04 18:18:01', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:18:01', '2014-03-04 18:18:01', 298486374)  (3.5ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:19:31', '2014-03-04 18:19:31', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:19:31', '2014-03-04 18:19:31', 298486374)  (1.2ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:19:40', '2014-03-04 18:19:40', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:19:40', '2014-03-04 18:19:40', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:21:45', '2014-03-04 18:21:45', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:21:45', '2014-03-04 18:21:45', 298486374)  (1.3ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.6ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:22:52', '2014-03-04 18:22:52', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:22:52', '2014-03-04 18:22:52', 298486374)  (4.6ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:25:15', '2014-03-04 18:25:15', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:25:15', '2014-03-04 18:25:15', 298486374)  (2.0ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:26:12', '2014-03-04 18:26:12', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:26:12', '2014-03-04 18:26:12', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:27:16', '2014-03-04 18:27:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:27:16', '2014-03-04 18:27:16', 298486374)  (2.3ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:27:47', '2014-03-04 18:27:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:27:47', '2014-03-04 18:27:47', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:28:13', '2014-03-04 18:28:13', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:28:13', '2014-03-04 18:28:13', 298486374)  (1.2ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:28:37', '2014-03-04 18:28:37', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:28:37', '2014-03-04 18:28:37', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:30:17', '2014-03-04 18:30:17', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:30:17', '2014-03-04 18:30:17', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:30:31', '2014-03-04 18:30:31', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:30:31', '2014-03-04 18:30:31', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:30:46', '2014-03-04 18:30:46', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:30:46', '2014-03-04 18:30:46', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:30:56', '2014-03-04 18:30:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:30:56', '2014-03-04 18:30:56', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:31:10', '2014-03-04 18:31:10', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:31:10', '2014-03-04 18:31:10', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:31:24', '2014-03-04 18:31:24', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:31:24', '2014-03-04 18:31:24', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:31:56', '2014-03-04 18:31:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:31:56', '2014-03-04 18:31:56', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:32:51', '2014-03-04 18:32:51', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:32:51', '2014-03-04 18:32:51', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:34:07', '2014-03-04 18:34:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:34:07', '2014-03-04 18:34:07', 298486374)  (3.4ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- DismissibleBlocksTest: test_dismiss_block -----------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 18:36:42', '2014-03-04 18:36:42', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 18:36:42', '2014-03-04 18:36:42', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed -----------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed -------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.8ms) DELETE FROM "users" Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:27:18', '2014-03-04 20:27:18', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:27:18', '2014-03-04 20:27:18', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ Processing by DismissibleBlocksController#create as JS Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed -----------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed -------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:29:06', '2014-03-04 20:29:06', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:29:06', '2014-03-04 20:29:06', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JS Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed -----------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed -------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:29:24', '2014-03-04 20:29:24', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:29:24', '2014-03-04 20:29:24', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax ------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JS Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed -----------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed -------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:30:11', '2014-03-04 20:30:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:30:11', '2014-03-04 20:30:11', 298486374)  (2.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JS Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:32:40', '2014-03-04 20:32:40', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:32:40', '2014-03-04 20:32:40', 298486374)  (1.2ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:36:38', '2014-03-04 20:36:38', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:36:38', '2014-03-04 20:36:38', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:38:55', '2014-03-04 20:38:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:38:55', '2014-03-04 20:38:55', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:38:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 38ms (Views: 0.4ms | ActiveRecord: 3.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:39:12', '2014-03-04 20:39:12', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:39:12', '2014-03-04 20:39:12', 298486374)  (0.9ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.9ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:39:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 2.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:39:24', '2014-03-04 20:39:24', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:39:24', '2014-03-04 20:39:24', 298486374)  (0.9ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:39:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 2.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:39:48', '2014-03-04 20:39:48', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:39:48', '2014-03-04 20:39:48', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:39:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 1.9ms)  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:40:16', '2014-03-04 20:40:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:40:16', '2014-03-04 20:40:16', 298486374)  (2.3ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:40:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 2.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksControllerTest: test_zzdismiss_block_fails_via_ajax --------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:41:08', '2014-03-04 20:41:08', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:41:08', '2014-03-04 20:41:08', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.9ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:41:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 2.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:43:01', '2014-03-04 20:43:01', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:43:01', '2014-03-04 20:43:01', 298486374)  (1.9ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:43:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 35ms (Views: 0.3ms | ActiveRecord: 3.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:43:32', '2014-03-04 20:43:32', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:43:32', '2014-03-04 20:43:32', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:43:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 1.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.3ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksControllerTest: test_zzdismiss_block_fails_via_ajax -------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:43:39', '2014-03-04 20:43:39', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:43:39', '2014-03-04 20:43:39', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:43:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 1.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksControllerTest: test_zzdismiss_block_fails_via_ajax -------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:44:56', '2014-03-04 20:44:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:44:56', '2014-03-04 20:44:56', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_no_current_user ----------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:44:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 25ms (Views: 0.2ms | ActiveRecord: 2.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:46:05', '2014-03-04 20:46:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:46:05', '2014-03-04 20:46:05', 298486374)  (2.4ms) commit transaction  (0.2ms) begin transaction ----------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_no_current_user ----------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:46:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 30ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:49:48', '2014-03-04 20:49:48', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:49:48', '2014-03-04 20:49:48', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_no_current_user ----------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_no_current_user.dismissed_blocks ----------------------------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:49:48 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 31ms (Views: 0.3ms | ActiveRecord: 2.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:50:47', '2014-03-04 20:50:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:50:47', '2014-03-04 20:50:47', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_no_current_user ----------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:50:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 46ms (Views: 0.4ms | ActiveRecord: 2.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed -----------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed -------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:51:30', '2014-03-04 20:51:30', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:51:30', '2014-03-04 20:51:30', 298486374)  (2.3ms) commit transaction  (0.2ms) begin transaction ----------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_no_current_user ----------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:51:30 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 60ms (Views: 0.4ms | ActiveRecord: 3.6ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (11.3ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.3ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (4.6ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed -----------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed -------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:52:07', '2014-03-04 20:52:07', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:52:07', '2014-03-04 20:52:07', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_no_current_user ----------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:52:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 0.2ms | ActiveRecord: 2.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed -----------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed -------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:54:39', '2014-03-04 20:54:39', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:54:39', '2014-03-04 20:54:39', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:54:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 2.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (1.4ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed -----------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed -------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:55:05', '2014-03-04 20:55:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:55:05', '2014-03-04 20:55:05', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed -----------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed -------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 20:56:01', '2014-03-04 20:56:01', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 20:56:01', '2014-03-04 20:56:01', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 20:56:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 42ms (Views: 0.2ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed -----------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed -------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:04:19', '2014-03-04 21:04:19', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:04:19', '2014-03-04 21:04:19', 298486374)  (1.1ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:04:19 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 30ms (Views: 0.3ms | ActiveRecord: 3.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed ----------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed ------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:04:29', '2014-03-04 21:04:29', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:04:29', '2014-03-04 21:04:29', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:04:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 1.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed ----------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:04:32 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 216ms  (0.2ms) rollback transaction  (0.4ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed ------------------------------------------------------------------- User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:04:34 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 27ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:06:19', '2014-03-04 21:06:19', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:06:19', '2014-03-04 21:06:19', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:06:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 2.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed ----------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:06:22 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 31ms  (0.2ms) rollback transaction  (0.4ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed ------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:06:24 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 7ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:10:44', '2014-03-04 21:10:44', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:10:44', '2014-03-04 21:10:44', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:10:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 2.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed ----------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:10:48 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 32ms  (0.2ms) rollback transaction  (0.3ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed ------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:10:51 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 9ms  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:11:02', '2014-03-04 21:11:02', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:11:02', '2014-03-04 21:11:02', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:11:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 1.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed ----------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:11:05 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 44ms  (0.2ms) rollback transaction  (0.4ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed ------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:11:07 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 8ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:11:16', '2014-03-04 21:11:16', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:11:16', '2014-03-04 21:11:16', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:11:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 2.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed ----------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:11:20 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 35ms  (0.2ms) rollback transaction  (0.4ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed ------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:11:22 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 8ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:15:48', '2014-03-04 21:15:48', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:15:48', '2014-03-04 21:15:48', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:15:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 3.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed ----------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:15:51 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 42ms (Views: 29.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 16:15:51 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 16:15:51 -0500  (0.2ms) rollback transaction  (0.4ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed ------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:15:54 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 16:15:54 -0500  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:16:47', '2014-03-04 21:16:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:16:47', '2014-03-04 21:16:47', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (1.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (3.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:16:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 75ms (Views: 0.3ms | ActiveRecord: 5.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.9ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed ----------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:16:50 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 52ms  (0.2ms) rollback transaction  (0.3ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed ------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:16:52 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 12ms  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:17:03', '2014-03-04 21:17:03', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:17:03', '2014-03-04 21:17:03', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:17:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 3.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed ----------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:17:06 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 38ms (Views: 25.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 16:17:06 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 16:17:06 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 16:17:06 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:59710/landing Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 16:17:06 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.8ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed ------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:17:06 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:59710/landing Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 16:17:06 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:20:49', '2014-03-04 21:20:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:20:49', '2014-03-04 21:20:49', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:20:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed ----------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:20:52 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 28ms (Views: 17.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 16:20:52 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 16:20:52 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 16:20:52 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:59907/landing Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 16:20:52 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 16:20:52 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:59907/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 16:20:52 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed ------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:20:52 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 16:20:52 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:59907/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 16:20:52 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 16:20:52 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:59907/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 16:20:52 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:22:10', '2014-03-04 21:22:10', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:22:10', '2014-03-04 21:22:10', 298486374)  (2.0ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:22:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (4.9ms) rollback transaction  (0.5ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------- DismissibleBlocksTest: test_verify_block_is_dismissed ----------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:22:13 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 40ms  (0.2ms) rollback transaction  (0.4ms) begin transaction ------------------------------------------------------------------- DismissibleBlocksTest: test_verify_dismissed_block_is_not_displayed ------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:22:15 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 16ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:27:24', '2014-03-04 21:27:24', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:27:24', '2014-03-04 21:27:24', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:27:24 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 34ms (Views: 0.3ms | ActiveRecord: 2.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:27:27 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 28ms (Views: 17.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 16:27:27 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 16:27:27 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 16:27:27 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:60231/landing Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 16:27:27 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 16:27:27 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:60231/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 16:27:27 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:27:27 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 16:27:28 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:60231/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 16:27:28 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 16:27:28 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:60231/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 16:27:28 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:32:34', '2014-03-04 21:32:34', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:32:34', '2014-03-04 21:32:34', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:32:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 23ms (Views: 0.2ms | ActiveRecord: 2.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:32:37 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 36ms  (0.2ms) rollback transaction  (0.6ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:32:39 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 10ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:34:11', '2014-03-04 21:34:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:34:11', '2014-03-04 21:34:11', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:34:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 2.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:34:14 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 35ms  (0.2ms) rollback transaction  (0.3ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:34:16 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 10ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) begin transaction Fixture Delete (0.9ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:35:06', '2014-03-04 21:35:06', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:35:06', '2014-03-04 21:35:06', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:35:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 32ms (Views: 0.3ms | ActiveRecord: 2.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:35:09 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 35ms  (0.2ms) rollback transaction  (0.3ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:35:11 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 9ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:38:30', '2014-03-04 21:38:30', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:38:30', '2014-03-04 21:38:30', 298486374)  (2.3ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:38:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:38:33 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 36ms  (1.0ms) rollback transaction  (0.6ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:38:35 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 17ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:40:21', '2014-03-04 21:40:21', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:40:21', '2014-03-04 21:40:21', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 27ms (Views: 0.2ms | ActiveRecord: 2.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:40:23 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 37ms  (0.2ms) rollback transaction  (0.3ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:40:26 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 8ms  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:42:12', '2014-03-04 21:42:12', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:42:12', '2014-03-04 21:42:12', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:42:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 29ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.9ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:42:14 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 34ms  (0.2ms) rollback transaction  (0.3ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:42:17 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 9ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:43:04', '2014-03-04 21:43:04', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:43:04', '2014-03-04 21:43:04', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:43:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 0.2ms | ActiveRecord: 2.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.2ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:43:07 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 34ms  (0.2ms) rollback transaction  (0.3ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:43:09 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 10ms  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:45:42', '2014-03-04 21:45:42', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:45:42', '2014-03-04 21:45:42', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (3.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:45:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 31ms (Views: 0.3ms | ActiveRecord: 4.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:45:45 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 34ms  (0.2ms) rollback transaction  (0.5ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:45:48 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 15ms  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:48:23', '2014-03-04 21:48:23', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:48:23', '2014-03-04 21:48:23', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:48:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.3ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:48:26 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 34ms  (0.1ms) rollback transaction  (0.3ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:48:28 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 12ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:48:50', '2014-03-04 21:48:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:48:50', '2014-03-04 21:48:50', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (3.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:48:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 34ms (Views: 0.3ms | ActiveRecord: 5.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.7ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.4ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:48:53 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 41ms (Views: 32.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 16:48:53 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 16:48:53 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 16:48:53 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:61880/landing Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 16:48:53 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 16:48:53 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:61880/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 16:48:53 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:48:53 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 16:48:54 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:61880/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 16:48:54 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 16:48:54 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:61880/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 16:48:54 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:50:52', '2014-03-04 21:50:52', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:50:52', '2014-03-04 21:50:52', 298486374)  (2.0ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:50:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:50:55 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 33ms  (0.2ms) rollback transaction  (0.4ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:50:58 -0500 Processing by SessionsController#new as HTML Completed 500 Internal Server Error in 11ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:55:16', '2014-03-04 21:55:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:55:16', '2014-03-04 21:55:16', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:55:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 25ms (Views: 0.3ms | ActiveRecord: 2.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:55:19 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 29ms (Views: 18.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 16:55:19 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 16:55:19 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 16:55:20 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:62212/landing Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 16:55:20 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 16:55:20 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62212/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 16:55:20 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:55:20 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 16:55:20 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:62212/landing Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 16:55:20 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 16:55:20 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62212/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 16:55:20 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (1.3ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:58:28', '2014-03-04 21:58:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:58:28', '2014-03-04 21:58:28', 298486374)  (50.8ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:58:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 2.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:58:32 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 32ms (Views: 21.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 16:58:32 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 16:58:32 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 16:58:32 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:62356/landing Completed 302 Found in 6ms (ActiveRecord: 1.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 16:58:32 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 16:58:32 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62356/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 16:58:32 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:58:32 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 16:58:33 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:62356/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 16:58:33 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 16:58:33 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62356/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 16:58:33 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 21:58:54', '2014-03-04 21:58:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 21:58:54', '2014-03-04 21:58:54', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 21:58:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:58:57 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 33ms (Views: 20.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 16:58:57 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 16:58:57 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 16:58:58 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:62427/landing Completed 302 Found in 3ms (ActiveRecord: 0.6ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 16:58:58 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.6ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 16:58:58 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62427/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 16:58:58 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 16:58:58 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 16:58:58 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:62427/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 16:58:58 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 16:58:58 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62427/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 16:58:58 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:08:39', '2014-03-04 22:08:39', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:08:39', '2014-03-04 22:08:39', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:08:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 2.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:08:43 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 39ms (Views: 28.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:08:43 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:08:43 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:08:43 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:62539/landing Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:08:43 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:08:43 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62539/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:08:43 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:08:43 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 17:08:44 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:62539/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:08:44 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:08:46 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62539/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:08:46 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:09:09', '2014-03-04 22:09:09', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:09:09', '2014-03-04 22:09:09', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:09:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 31ms (Views: 0.3ms | ActiveRecord: 3.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:09:12 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 30ms (Views: 18.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:09:12 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:09:12 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:09:12 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:62640/landing Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:09:12 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:09:15 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62640/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:09:15 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:09:15 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 17:09:16 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:62640/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:09:16 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:09:21 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62640/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:09:21 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:11:58', '2014-03-04 22:11:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:11:58', '2014-03-04 22:11:58', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.9ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:11:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 2.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:12:02 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 43ms (Views: 30.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:12:02 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:12:02 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:12:02 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:62751/landing Completed 302 Found in 3ms (ActiveRecord: 0.6ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:12:02 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:12:02 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:12:02 UTC +00:00]]  (4914.8ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.6ms) rollback transaction Completed 500 Internal Server Error in 4922ms  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:12:07 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:62751/landing Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:12:07 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:14:26', '2014-03-04 22:14:26', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:14:26', '2014-03-04 22:14:26', 298486374)  (1.2ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:14:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 32ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:14:29 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 35ms (Views: 23.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:14:29 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:14:29 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:14:30 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:62883/landing Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:14:30 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:14:30 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62883/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:14:30 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:14:30 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 17:14:30 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:62883/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:14:30 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:14:33 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62883/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:14:33 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:15:24', '2014-03-04 22:15:24', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:15:24', '2014-03-04 22:15:24', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:15:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 46ms (Views: 0.2ms | ActiveRecord: 2.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.3ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:15:27 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 28ms (Views: 18.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:15:27 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:15:27 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:15:27 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:63012/landing Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:15:27 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:15:27 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:15:27 UTC +00:00]]  (4928.1ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.5ms) rollback transaction Completed 500 Internal Server Error in 4937ms  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:15:35 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:63012/landing Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:15:35 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:17:50', '2014-03-04 22:17:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:17:50', '2014-03-04 22:17:50', 298486374)  (2.1ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 29ms (Views: 0.2ms | ActiveRecord: 2.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:17:53 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 35ms (Views: 22.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:17:53 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:17:53 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:17:54 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:63133/landing Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:17:54 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:17:54 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:17:54 UTC +00:00]]  (4919.1ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.7ms) rollback transaction Completed 500 Internal Server Error in 4929ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:18:02 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:63133/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:18:02 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:18:02 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 17:18:02 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:63133/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:18:02 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:18:08 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:63133/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:18:08 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:18:29', '2014-03-04 22:18:29', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:18:29', '2014-03-04 22:18:29', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:18:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:18:32 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 33ms (Views: 20.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:18:32 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:18:33 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:18:33 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:63245/landing Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:18:33 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:18:33 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:18:33 UTC +00:00]]  (4920.3ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.6ms) rollback transaction Completed 500 Internal Server Error in 4930ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:18:40 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:63245/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:18:40 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:18:40 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 17:18:41 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:63245/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:18:41 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:18:45 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:63245/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:18:45 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (1.0ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:19:36', '2014-03-04 22:19:36', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:19:36', '2014-03-04 22:19:36', 298486374)  (36.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:19:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 2.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:19:39 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 29ms (Views: 18.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:19:39 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:19:39 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:19:40 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:63360/landing Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:19:40 -0500 Processing by LandingsController#show as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.4ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:19:40 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:19:40 UTC +00:00]]  (4916.9ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.8ms) rollback transaction Completed 500 Internal Server Error in 4929ms Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:19:45 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:19:45 UTC +00:00]]  (4923.9ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.6ms) rollback transaction Completed 500 Internal Server Error in 4935ms Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:19:50 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:19:50 UTC +00:00]]  (4926.9ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.3ms) rollback transaction Completed 500 Internal Server Error in 4934ms  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:19:55 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:63360/landing Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:19:55 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:23:31', '2014-03-04 22:23:31', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:23:31', '2014-03-04 22:23:31', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:23:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (4.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:23:34 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 35ms (Views: 26.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:23:34 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:23:34 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:23:35 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:63501/landing Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:23:35 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:23:35 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:23:35 UTC +00:00]]  (4916.1ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.4ms) rollback transaction Completed 500 Internal Server Error in 4924ms  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:23:41 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:63501/landing Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:23:41 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:26:27', '2014-03-04 22:26:27', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:26:27', '2014-03-04 22:26:27', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:26:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 29ms (Views: 0.3ms | ActiveRecord: 2.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:26:30 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 31ms (Views: 19.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:26:30 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:26:30 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:26:30 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:63656/landing Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:26:31 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:26:31 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:26:31 UTC +00:00]]  (4916.8ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.7ms) rollback transaction Completed 500 Internal Server Error in 4925ms  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:26:37 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:63656/landing Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:26:37 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (1.3ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:31:59', '2014-03-04 22:31:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:31:59', '2014-03-04 22:31:59', 298486374)  (352.2ms) commit transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.9ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:31:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 32ms (Views: 0.2ms | ActiveRecord: 2.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:32:02 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 33ms (Views: 20.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:32:03 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:32:03 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:32:03 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:63769/landing Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:32:03 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:32:03 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:32:03 UTC +00:00]]  (4928.3ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.7ms) rollback transaction Completed 500 Internal Server Error in 4936ms Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:32:11 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:32:11 UTC +00:00]]  (4926.3ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.6ms) rollback transaction Completed 500 Internal Server Error in 4932ms Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:32:16 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:32:16 UTC +00:00]]  (4923.4ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.6ms) rollback transaction Completed 500 Internal Server Error in 4930ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:32:21 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:63769/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:32:21 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:32:23 -0500 Processing by SessionsController#destroy as HTML Completed 500 Internal Server Error in 1ms  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:32:23 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 17:32:23 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:63769/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:32:23 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:32:26 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:63769/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:32:26 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:33:22', '2014-03-04 22:33:22', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:33:22', '2014-03-04 22:33:22', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:33:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.7ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.3ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:33:25 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 32ms (Views: 21.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:33:25 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:33:25 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:33:25 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:63919/landing Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:33:25 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:33:25 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:33:25 UTC +00:00]]  (4921.4ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.5ms) rollback transaction Completed 500 Internal Server Error in 4930ms  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:33:40 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:63919/landing Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:33:40 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:34:06', '2014-03-04 22:34:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:34:06', '2014-03-04 22:34:06', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:34:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 2.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:34:09 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 28ms (Views: 18.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:34:09 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:34:09 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:34:09 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:64027/landing Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:34:09 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:34:10 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:64027/landing Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:34:10 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:34:36', '2014-03-04 22:34:36', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:34:36', '2014-03-04 22:34:36', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:34:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 2.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:34:39 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 30ms (Views: 20.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:34:39 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:34:39 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:34:40 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:64135/landing Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:34:40 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.7ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:34:40 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:64135/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:34:40 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:34:40 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 17:34:40 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:64135/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:34:40 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:34:42 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:64135/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:34:42 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:39:26', '2014-03-04 22:39:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:39:26', '2014-03-04 22:39:26', 298486374)  (1.4ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (4.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:39:26 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 60ms (Views: 0.3ms | ActiveRecord: 5.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.4ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.9ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.3ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:39:30 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 30ms (Views: 19.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:39:30 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:39:30 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:39:30 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:64315/landing Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:39:30 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:39:30 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:64315/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:39:30 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:39:31 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 17:39:31 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:64315/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:39:31 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:39:31 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:64315/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:39:31 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:39:47', '2014-03-04 22:39:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:39:47', '2014-03-04 22:39:47', 298486374)  (2.0ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.5ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (3.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:39:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 44ms (Views: 0.3ms | ActiveRecord: 4.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:39:50 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 29ms (Views: 18.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:39:50 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:39:50 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:39:50 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:64394/landing Completed 302 Found in 3ms (ActiveRecord: 0.6ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:39:50 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.5ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:39:51 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:39:51 UTC +00:00]]  (4929.0ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.5ms) rollback transaction Completed 500 Internal Server Error in 4938ms  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:39:58 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:64394/landing Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:39:58 -0500 Processing by LandingsController#show as HTML User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 1.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:41:13', '2014-03-04 22:41:13', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:41:13', '2014-03-04 22:41:13', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:41:13 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 0.2ms | ActiveRecord: 2.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:41:16 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 32ms (Views: 22.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:41:16 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:41:16 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:41:16 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:64567/landing Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:41:16 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.5ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:41:16 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:41:16 UTC +00:00]]  (4932.4ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.6ms) rollback transaction Completed 500 Internal Server Error in 4941ms  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:42:54', '2014-03-04 22:42:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:42:54', '2014-03-04 22:42:54', 298486374)  (2.1ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (29.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (2.5ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:42:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 44ms (Views: 0.3ms | ActiveRecord: 5.1ms) User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:42:56 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 28ms (Views: 18.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:42:56 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:42:56 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:42:57 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:64746/landing Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:42:57 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:43:29', '2014-03-04 22:43:29', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:43:29', '2014-03-04 22:43:29', 298486374)  (0.9ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:43:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 32ms (Views: 0.3ms | ActiveRecord: 3.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (3.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:43:33 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 31ms (Views: 19.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:43:33 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:43:33 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:43:33 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:64868/landing Completed 302 Found in 3ms (ActiveRecord: 0.6ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:43:33 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:43:34 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:43:34 UTC +00:00]]  (4920.3ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.6ms) rollback transaction Completed 500 Internal Server Error in 4930ms Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:43:40 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:43:40 UTC +00:00]]  (4928.1ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.1ms) rollback transaction  (0.5ms) rollback transaction Completed 500 Internal Server Error in 4935ms ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:44:08', '2014-03-04 22:44:08', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:44:08', '2014-03-04 22:44:08', 298486374)  (2.1ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:44:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 2.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:44:11 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 30ms (Views: 18.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:44:11 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:44:11 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:44:11 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:64956/landing Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:44:11 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:44:11 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:44:11 UTC +00:00]]  (4919.4ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.7ms) rollback transaction Completed 500 Internal Server Error in 4928ms  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:44:39', '2014-03-04 22:44:39', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:44:39', '2014-03-04 22:44:39', 298486374)  (1.1ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:44:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 3.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:44:42 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 50ms (Views: 37.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:44:42 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:44:42 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:44:43 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:65076/landing Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:44:43 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:44:43 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:44:43 UTC +00:00]]  (4924.1ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.5ms) rollback transaction Completed 500 Internal Server Error in 4934ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 17:45:18 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:65076/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 17:45:18 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:45:24', '2014-03-04 22:45:24', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:45:24', '2014-03-04 22:45:24', 298486374)  (1.2ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:45:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 2.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:45:27 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 29ms (Views: 19.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:45:27 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:45:27 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:45:28 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:65128/landing Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:45:28 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:45:28 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:45:28 UTC +00:00]]  (4920.4ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.4ms) rollback transaction Completed 500 Internal Server Error in 4930ms Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:45:33 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:45:33 UTC +00:00]]  (4916.1ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.7ms) rollback transaction Completed 500 Internal Server Error in 4923ms  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:46:16', '2014-03-04 22:46:16', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:46:16', '2014-03-04 22:46:16', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.9ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:46:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 23ms (Views: 0.3ms | ActiveRecord: 2.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:46:20 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 30ms (Views: 19.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:46:20 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:46:20 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:46:20 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:65253/landing Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:46:20 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:46:20 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:46:20 UTC +00:00]]  (4925.1ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.6ms) rollback transaction Completed 500 Internal Server Error in 4934ms Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:47:20 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:47:20 UTC +00:00]]  (4930.2ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.7ms) rollback transaction Completed 500 Internal Server Error in 4938ms  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:48:03', '2014-03-04 22:48:03', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:48:03', '2014-03-04 22:48:03', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:48:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 34ms (Views: 0.3ms | ActiveRecord: 3.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:48:06 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 30ms (Views: 19.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:48:06 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:48:06 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:48:06 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:65306/landing Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:48:06 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.8ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:48:07 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:48:07 UTC +00:00]]  (4929.6ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.5ms) rollback transaction Completed 500 Internal Server Error in 4937ms Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:48:14 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.0ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:48:14 UTC +00:00]]  (4919.6ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.5ms) rollback transaction Completed 500 Internal Server Error in 4926ms Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:48:29 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:48:29 UTC +00:00]]  (4923.4ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.3ms) rollback transaction Completed 500 Internal Server Error in 4928ms  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:54:09', '2014-03-04 22:54:09', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:54:09', '2014-03-04 22:54:09', 298486374)  (1.5ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:54:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 3.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 22:56:46', '2014-03-04 22:56:46', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 22:56:46', '2014-03-04 22:56:46', 298486374)  (2.9ms) commit transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:56:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 42ms (Views: 0.2ms | ActiveRecord: 2.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (6.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 17:56:50 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 60ms (Views: 33.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 17:56:50 -0500 Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 17:56:50 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 17:56:50 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:65436/landing Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 17:56:50 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 17:56:50 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.2ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 22:56:50 UTC +00:00]]  (4928.3ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.9ms) rollback transaction Completed 500 Internal Server Error in 4938ms  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (1.7ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:03:37', '2014-03-04 23:03:37', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:03:37', '2014-03-04 23:03:37', 298486374)  (1.4ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (4.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:03:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 56ms (Views: 0.3ms | ActiveRecord: 5.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.8ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:03:40 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 33ms (Views: 22.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 18:03:41 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 18:03:41 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 18:03:41 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:65511/landing Completed 302 Found in 6ms (ActiveRecord: 1.7ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:03:41 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 18:03:41 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.8ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:03:41 UTC +00:00]]  (4921.4ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (4.2ms) rollback transaction Completed 500 Internal Server Error in 4939ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:03:46 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:65511/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:03:46 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:03:46 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 18:03:46 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:65511/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:03:46 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:03:46 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:65511/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:03:46 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:04:04', '2014-03-04 23:04:04', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:04:04', '2014-03-04 23:04:04', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.9ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:04:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 2.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:04:06 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 37ms (Views: 25.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 18:04:06 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 18:04:06 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 18:04:07 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:65522/landing Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:04:07 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 18:04:07 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:04:07 UTC +00:00]]  (4931.5ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.2ms) rollback transaction Completed 500 Internal Server Error in 4940ms  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:04:14 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:65522/landing Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:04:14 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:06:56', '2014-03-04 23:06:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:06:56', '2014-03-04 23:06:56', 298486374)  (1.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (6.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 94ms (Views: 0.3ms | ActiveRecord: 3.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.8ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:06:59 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 61ms (Views: 39.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 18:06:59 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 18:06:59 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 18:06:59 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:49177/landing Completed 302 Found in 5ms (ActiveRecord: 1.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:06:59 -0500 Processing by LandingsController#show as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 11ms (Views: 7.6ms | ActiveRecord: 1.6ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 18:06:59 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:06:59 UTC +00:00]]  (4916.0ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.6ms) rollback transaction Completed 500 Internal Server Error in 4926ms  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:07:04 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:49177/landing Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:07:04 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "users" Fixture Insert (0.5ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:07:46', '2014-03-04 23:07:46', 980190962) Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:07:46', '2014-03-04 23:07:46', 298486374)  (6.7ms) commit transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (10.8ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:07:46 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 118ms (Views: 0.3ms | ActiveRecord: 11.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.7ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:07:50 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 57ms (Views: 42.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 18:07:51 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 18:07:51 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 18:07:51 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:49192/landing Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:07:51 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 18:07:51 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:07:51 UTC +00:00]]  (4916.0ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.6ms) rollback transaction Completed 500 Internal Server Error in 4925ms  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:07:58 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:49192/landing Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:07:58 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:08:34', '2014-03-04 23:08:34', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:08:34', '2014-03-04 23:08:34', 298486374)  (1.1ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (3.8ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:08:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 42ms (Views: 0.2ms | ActiveRecord: 4.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:08:38 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 50ms (Views: 34.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 18:08:38 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 18:08:38 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 18:08:38 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:49367/landing Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:08:38 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 18:08:39 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:08:39 UTC +00:00]]  (4929.3ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.6ms) rollback transaction Completed 500 Internal Server Error in 4937ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:08:44 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:49367/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:08:44 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:08:44 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 18:08:44 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:49367/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:08:44 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:08:44 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:49367/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:08:44 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "users" Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:09:51', '2014-03-04 23:09:51', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:09:51', '2014-03-04 23:09:51', 298486374)  (1.3ms) commit transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (5.5ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:09:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 60ms (Views: 0.2ms | ActiveRecord: 3.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (5.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:09:55 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 40ms (Views: 27.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 18:09:55 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 18:09:55 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 18:09:55 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:49449/landing Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:09:55 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 18:09:56 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:09:56 UTC +00:00]]  (4920.0ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.7ms) rollback transaction Completed 500 Internal Server Error in 4930ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:10:00 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:49449/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:10:01 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:10:01 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 18:10:01 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:49449/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:10:01 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:10:01 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:49449/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:10:01 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:13:01', '2014-03-04 23:13:01', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:13:01', '2014-03-04 23:13:01', 298486374)  (0.8ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (3.9ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:13:01 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 37ms (Views: 0.3ms | ActiveRecord: 4.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:13:05 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 42ms (Views: 31.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 18:13:05 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 18:13:05 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 18:13:05 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:49610/landing Completed 302 Found in 3ms (ActiveRecord: 0.6ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:13:05 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 18:13:05 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:13:05 UTC +00:00]]  (4918.9ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.2ms) rollback transaction  (0.5ms) rollback transaction  (0.1ms) begin transaction Completed 500 Internal Server Error in 4939ms --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:13:10 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:49610/landing Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:13:10 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:15:41', '2014-03-04 23:15:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:15:41', '2014-03-04 23:15:41', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.9ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:15:41 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 33ms (Views: 0.3ms | ActiveRecord: 3.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.4ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:15:45 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 43ms (Views: 32.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 18:15:45 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 18:15:45 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 18:15:45 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:49895/landing Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:15:45 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 1.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 18:15:46 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:15:46 UTC +00:00]]  (4920.9ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.8ms) rollback transaction Completed 500 Internal Server Error in 4929ms Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 18:15:51 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:15:51 UTC +00:00]]  (4913.9ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.5ms) rollback transaction Completed 500 Internal Server Error in 4921ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:16:01 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:49895/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:16:01 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:16:01 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 18:16:02 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:49895/landing Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:16:02 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:16:02 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:49895/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:16:02 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:20:01', '2014-03-04 23:20:01', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:20:01', '2014-03-04 23:20:01', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.9ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:20:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 34ms (Views: 0.4ms | ActiveRecord: 3.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:20:05 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 44ms (Views: 30.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 18:20:05 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 18:20:05 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 18:20:06 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:50168/landing Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:20:06 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 18:20:06 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:20:06 UTC +00:00]]  (4914.2ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.7ms) rollback transaction Completed 500 Internal Server Error in 4923ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:20:21 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:50168/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:20:21 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:20:21 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 18:20:21 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:50168/landing Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:20:21 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:20:22 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:50168/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:20:22 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:25:20', '2014-03-04 23:25:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:25:20', '2014-03-04 23:25:20', 298486374)  (0.9ms) commit transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:25:20', '2014-03-04 23:25:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:25:20', '2014-03-04 23:25:20', 298486374)  (1.0ms) commit transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (6.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:25:20 UTC +00:00]]  (39.3ms) commit transaction Completed 200 OK in 74ms (Views: 0.4ms | ActiveRecord: 46.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:25:20', '2014-03-04 23:25:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:25:20', '2014-03-04 23:25:20', 298486374)  (5.2ms) commit transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:25:20', '2014-03-04 23:25:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:25:20', '2014-03-04 23:25:20', 298486374)  (1.4ms) commit transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:25:20', '2014-03-04 23:25:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:25:20', '2014-03-04 23:25:20', 298486374)  (0.9ms) commit transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:25:20', '2014-03-04 23:25:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:25:20', '2014-03-04 23:25:20', 298486374)  (1.0ms) commit transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:25:20', '2014-03-04 23:25:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:25:20', '2014-03-04 23:25:20', 298486374)  (1.0ms) commit transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:25:20', '2014-03-04 23:25:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:25:20', '2014-03-04 23:25:20', 298486374)  (0.9ms) commit transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:25:20', '2014-03-04 23:25:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:25:20', '2014-03-04 23:25:20', 298486374)  (1.1ms) commit transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:26:22', '2014-03-04 23:26:22', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:26:22', '2014-03-04 23:26:22', 298486374)  (1.0ms) commit transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction Fixture Delete (2.7ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:26:22', '2014-03-04 23:26:22', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:26:22', '2014-03-04 23:26:22', 298486374)  (11.7ms) commit transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (2.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (5.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:26:22 UTC +00:00]]  (1.1ms) commit transaction Completed 200 OK in 65ms (Views: 0.3ms | ActiveRecord: 7.5ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:26:22', '2014-03-04 23:26:22', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:26:22', '2014-03-04 23:26:22', 298486374)  (23.4ms) commit transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:26:22', '2014-03-04 23:26:22', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:26:22', '2014-03-04 23:26:22', 298486374)  (2.6ms) commit transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (3.7ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:26:22', '2014-03-04 23:26:22', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:26:22', '2014-03-04 23:26:22', 298486374)  (1.2ms) commit transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:26:22', '2014-03-04 23:26:22', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:26:22', '2014-03-04 23:26:22', 298486374)  (3.2ms) commit transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:26:22', '2014-03-04 23:26:22', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:26:22', '2014-03-04 23:26:22', 298486374)  (0.8ms) commit transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:26:22', '2014-03-04 23:26:22', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:26:22', '2014-03-04 23:26:22', 298486374)  (0.8ms) commit transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:26:22', '2014-03-04 23:26:22', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:26:22', '2014-03-04 23:26:22', 298486374)  (1.1ms) commit transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms) ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array ----------------------------------------------------------------------------- ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable ------------------------------------------------------------------------------- ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable --------------------------------------------------------------------------- -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:27:35', '2014-03-04 23:27:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:27:35', '2014-03-04 23:27:35', 298486374)  (2.3ms) commit transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (5.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:27:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 112ms (Views: 0.3ms | ActiveRecord: 6.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:27:38 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 45ms (Views: 33.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 18:27:38 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 18:27:38 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 18:27:39 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:50363/landing Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:27:39 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 18:27:39 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:27:39 UTC +00:00]]  (4920.1ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (2.2ms) rollback transaction Completed 500 Internal Server Error in 4931ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:27:54 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:50363/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:27:54 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:27:54 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 18:27:55 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:50363/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:27:55 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:27:55 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:50363/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:27:55 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.9ms) DELETE FROM "users" Fixture Insert (0.5ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:39:17', '2014-03-04 23:39:17', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:39:17', '2014-03-04 23:39:17', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (4.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:39:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 36ms (Views: 0.3ms | ActiveRecord: 5.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (17.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:39:56', '2014-03-04 23:39:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:39:56', '2014-03-04 23:39:56', 298486374)  (2.2ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:39:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 29ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (0.1ms) rollback transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:41:15', '2014-03-04 23:41:15', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:41:15', '2014-03-04 23:41:15', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:41:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 33ms (Views: 0.3ms | ActiveRecord: 2.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (2.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:41:19 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 48ms (Views: 35.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 18:41:19 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 18:41:19 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 18:41:20 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:50662/landing Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:41:20 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 18:41:20 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:41:20 UTC +00:00]]  (4912.2ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.3ms) rollback transaction Completed 500 Internal Server Error in 4921ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:41:35 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:50662/login Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:41:35 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:41:36 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 18:41:36 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:50662/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:41:36 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:41:36 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:50662/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:41:36 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:41:44', '2014-03-04 23:41:44', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:41:44', '2014-03-04 23:41:44', 298486374)  (0.9ms) commit transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:41:44', '2014-03-04 23:41:44', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:41:44', '2014-03-04 23:41:44', 298486374)  (2.3ms) commit transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (3.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:41:44 UTC +00:00]]  (0.8ms) commit transaction Completed 200 OK in 32ms (Views: 0.3ms | ActiveRecord: 4.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:41:45', '2014-03-04 23:41:45', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:41:45', '2014-03-04 23:41:45', 298486374)  (1.0ms) commit transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:41:45', '2014-03-04 23:41:45', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:41:45', '2014-03-04 23:41:45', 298486374)  (0.8ms) commit transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:41:45', '2014-03-04 23:41:45', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:41:45', '2014-03-04 23:41:45', 298486374)  (1.7ms) commit transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:41:45', '2014-03-04 23:41:45', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:41:45', '2014-03-04 23:41:45', 298486374)  (1.0ms) commit transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:41:45', '2014-03-04 23:41:45', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:41:45', '2014-03-04 23:41:45', 298486374)  (1.7ms) commit transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:41:45', '2014-03-04 23:41:45', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:41:45', '2014-03-04 23:41:45', 298486374)  (0.9ms) commit transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:41:45', '2014-03-04 23:41:45', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:41:45', '2014-03-04 23:41:45', 298486374)  (0.9ms) commit transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:42:11', '2014-03-04 23:42:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:42:11', '2014-03-04 23:42:11', 298486374)  (0.9ms) commit transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:42:11', '2014-03-04 23:42:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:42:11', '2014-03-04 23:42:11', 298486374)  (1.0ms) commit transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:42:11 UTC +00:00]]  (1.2ms) commit transaction Completed 200 OK in 32ms (Views: 0.3ms | ActiveRecord: 4.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:42:11', '2014-03-04 23:42:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:42:11', '2014-03-04 23:42:11', 298486374)  (0.9ms) commit transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:42:11', '2014-03-04 23:42:11', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:42:11', '2014-03-04 23:42:11', 298486374)  (2.5ms) commit transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:42:11', '2014-03-04 23:42:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:42:11', '2014-03-04 23:42:11', 298486374)  (0.9ms) commit transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:42:11', '2014-03-04 23:42:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:42:11', '2014-03-04 23:42:11', 298486374)  (3.5ms) commit transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:42:11', '2014-03-04 23:42:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:42:11', '2014-03-04 23:42:11', 298486374)  (2.4ms) commit transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.2ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:42:11', '2014-03-04 23:42:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:42:11', '2014-03-04 23:42:11', 298486374)  (1.4ms) commit transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:42:11', '2014-03-04 23:42:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:42:11', '2014-03-04 23:42:11', 298486374)  (1.7ms) commit transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:48:56', '2014-03-04 23:48:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:48:56', '2014-03-04 23:48:56', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in ---------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.2ms) rollback transaction  (3.2ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed ---------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:51:19', '2014-03-04 23:51:19', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:51:19', '2014-03-04 23:51:19', 298486374)  (1.1ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in ---------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed ---------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:51:35', '2014-03-04 23:51:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:51:35', '2014-03-04 23:51:35', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in ---------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------  (3.5ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed ---------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:52:00', '2014-03-04 23:52:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:52:00', '2014-03-04 23:52:00', 298486374)  (2.5ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in ---------------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.0ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.7ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.8ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.7ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (2.7ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.7ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (2.3ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed ---------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:53:16', '2014-03-04 23:53:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:53:16', '2014-03-04 23:53:16', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in ---------------------------------------------------------------------------------  (0.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (1.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.8ms) rollback transaction  (1.7ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (3.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.9ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.7ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.7ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed ---------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (25.5ms) rollback transaction  (48.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20140303154458)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303154458"]]  (1.3ms) commit transaction Migrating to AddDismissedBlocksToUsers (20140303161500)  (5.1ms) begin transaction  (0.8ms) ALTER TABLE "users" ADD "dismissed_blocks" text SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303161500"]]  (1.0ms) commit transaction  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:53:52', '2014-03-04 23:53:52', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:53:52', '2014-03-04 23:53:52', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in ---------------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (7.6ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.5ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.7ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.4ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.8ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed ---------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.8ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:54:23', '2014-03-04 23:54:23', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:54:23', '2014-03-04 23:54:23', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (3.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:54:23 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 59ms (Views: 0.3ms | ActiveRecord: 4.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.4ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:54:28 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 49ms (Views: 32.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 18:54:28 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 18:54:28 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 18:54:29 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:50875/landing Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:54:29 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 11ms (Views: 8.2ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 18:54:29 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:54:29 UTC +00:00]]  (4918.6ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.7ms) rollback transaction Completed 500 Internal Server Error in 4928ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:54:34 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:50875/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:54:34 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:54:34 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 18:54:35 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:50875/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:54:35 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:54:35 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:50875/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:54:35 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:57:32', '2014-03-04 23:57:32', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:57:32', '2014-03-04 23:57:32', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (3.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:57:32 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 39ms (Views: 0.3ms | ActiveRecord: 4.0ms) User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (4.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (2.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (3.9ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:57:36 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 43ms (Views: 30.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 18:57:37 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 18:57:37 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 18:57:37 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:50998/landing Completed 302 Found in 6ms (ActiveRecord: 1.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:57:37 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 18:57:37 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:57:37 UTC +00:00]]  (4915.2ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.5ms) rollback transaction Completed 500 Internal Server Error in 4925ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:57:42 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:50998/login Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:57:42 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 18:57:42 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 18:57:43 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:50998/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 18:57:43 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 18:57:43 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:50998/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 18:57:43 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:58:10', '2014-03-04 23:58:10', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:58:10', '2014-03-04 23:58:10', 298486374)  (0.9ms) commit transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction Fixture Delete (1.1ms) DELETE FROM "users" Fixture Insert (0.7ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:58:10', '2014-03-04 23:58:10', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:58:10', '2014-03-04 23:58:10', 298486374)  (1.2ms) commit transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Tue, 04 Mar 2014 23:58:10 UTC +00:00]]  (0.9ms) commit transaction Completed 200 OK in 36ms (Views: 0.3ms | ActiveRecord: 4.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.0ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:58:10', '2014-03-04 23:58:10', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:58:10', '2014-03-04 23:58:10', 298486374)  (1.5ms) commit transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:58:10', '2014-03-04 23:58:10', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:58:10', '2014-03-04 23:58:10', 298486374)  (1.0ms) commit transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (1.1ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:58:10', '2014-03-04 23:58:10', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:58:10', '2014-03-04 23:58:10', 298486374)  (1.0ms) commit transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (2.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "users" Fixture Insert (0.8ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:58:10', '2014-03-04 23:58:10', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:58:10', '2014-03-04 23:58:10', 298486374)  (1.0ms) commit transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:58:10', '2014-03-04 23:58:10', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:58:10', '2014-03-04 23:58:10', 298486374)  (1.0ms) commit transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:58:10', '2014-03-04 23:58:10', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:58:10', '2014-03-04 23:58:10', 298486374)  (1.1ms) commit transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.9ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-04 23:58:10', '2014-03-04 23:58:10', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-04 23:58:10', '2014-03-04 23:58:10', 298486374)  (1.1ms) commit transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.3ms) DELETE FROM "users";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.6ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 00:24:38', '2014-03-05 00:24:38', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 00:24:38', '2014-03-05 00:24:38', 298486374)  (0.8ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 00:24:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 32ms (Views: 0.3ms | ActiveRecord: 3.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 19:24:42 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 47ms (Views: 35.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 19:24:42 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 19:24:42 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 19:24:43 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:51215/landing Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 19:24:43 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 19:24:43 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 00:24:43 UTC +00:00]]  (4933.9ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.6ms) rollback transaction Completed 500 Internal Server Error in 4941ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 19:24:48 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:51215/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 19:24:48 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 19:24:48 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 19:24:49 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:51215/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 19:24:49 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 19:24:49 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:51215/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 19:24:49 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 00:26:12', '2014-03-05 00:26:12', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 00:26:12', '2014-03-05 00:26:12', 298486374)  (0.8ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 00:26:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 19:26:14 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 37ms (Views: 22.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 19:26:14 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 19:26:14 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 19:26:15 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:51303/landing Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 19:26:15 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 19:26:15 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 00:26:15 UTC +00:00]]  (4929.5ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (1.7ms) rollback transaction Completed 500 Internal Server Error in 4941ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 19:26:20 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:51303/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 19:26:20 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 19:26:20 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 19:26:20 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:51303/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 19:26:20 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 19:26:21 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:51303/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 19:26:21 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (1.5ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (2.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (2.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (1.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (1.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (3.6ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------  (1.4ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed ---------------------------------------------------------------------  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'users'; ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:19:49', '2014-03-05 01:19:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:19:49', '2014-03-05 01:19:49', 298486374)  (0.9ms) commit transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (1.8ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:19:49', '2014-03-05 01:19:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:19:49', '2014-03-05 01:19:49', 298486374)  (1.3ms) commit transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (5.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:19:49 UTC +00:00]]  (1.2ms) commit transaction Completed 200 OK in 39ms (Views: 0.3ms | ActiveRecord: 6.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (2.7ms) DELETE FROM "users";  (0.9ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (4.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.2ms) begin transaction Fixture Delete (0.8ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:19:49', '2014-03-05 01:19:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:19:49', '2014-03-05 01:19:49', 298486374)  (14.5ms) commit transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (3.5ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:19:49', '2014-03-05 01:19:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:19:49', '2014-03-05 01:19:49', 298486374)  (2.7ms) commit transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (1.4ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:19:49', '2014-03-05 01:19:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:19:49', '2014-03-05 01:19:49', 298486374)  (1.1ms) commit transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:19:49', '2014-03-05 01:19:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:19:49', '2014-03-05 01:19:49', 298486374)  (1.0ms) commit transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:19:49', '2014-03-05 01:19:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:19:49', '2014-03-05 01:19:49', 298486374)  (0.9ms) commit transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (1.0ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:19:49', '2014-03-05 01:19:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:19:49', '2014-03-05 01:19:49', 298486374)  (0.8ms) commit transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:19:49', '2014-03-05 01:19:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:19:49', '2014-03-05 01:19:49', 298486374)  (0.8ms) commit transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (2.7ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (1.5ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (1.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (1.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (1.4ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (3.0ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (2.7ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (2.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------  (9.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed ---------------------------------------------------------------------  (1.4ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:22:52', '2014-03-05 01:22:52', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:22:52', '2014-03-05 01:22:52', 298486374)  (2.2ms) commit transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:22:52', '2014-03-05 01:22:52', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:22:52', '2014-03-05 01:22:52', 298486374)  (1.8ms) commit transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:22:52 UTC +00:00]]  (0.9ms) commit transaction Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 3.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:22:52', '2014-03-05 01:22:52', 980190962) Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:22:52', '2014-03-05 01:22:52', 298486374)  (0.9ms) commit transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.4ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:22:52', '2014-03-05 01:22:52', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:22:52', '2014-03-05 01:22:52', 298486374)  (2.4ms) commit transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:22:52', '2014-03-05 01:22:52', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:22:52', '2014-03-05 01:22:52', 298486374)  (0.9ms) commit transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (4.9ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:22:52', '2014-03-05 01:22:52', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:22:52', '2014-03-05 01:22:52', 298486374)  (1.5ms) commit transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (6.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:22:52', '2014-03-05 01:22:52', 980190962) Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:22:52', '2014-03-05 01:22:52', 298486374)  (4.6ms) commit transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (2.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:22:52', '2014-03-05 01:22:52', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:22:52', '2014-03-05 01:22:52', 298486374)  (3.6ms) commit transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.8ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:22:52', '2014-03-05 01:22:52', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:22:52', '2014-03-05 01:22:52', 298486374)  (1.0ms) commit transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (3.4ms) DELETE FROM "users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (2.6ms) DELETE FROM sqlite_sequence where name = 'users';  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (4.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (2.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (2.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (1.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (1.9ms) DELETE FROM "users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (1.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------  (1.1ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed ---------------------------------------------------------------------  (1.1ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (2.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (1.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (2.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (1.0ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (1.6ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed ---------------------------------------------------------------------  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (2.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (1.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (1.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (1.7ms) DELETE FROM "users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'users'; --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (4.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed ---------------------------------------------------------------------  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (2.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (1.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (2.8ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (1.5ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------  (1.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users'; --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed ---------------------------------------------------------------------  (1.4ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:24:47', '2014-03-05 01:24:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:24:47', '2014-03-05 01:24:47', 298486374)  (2.3ms) commit transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (18.8ms) DELETE FROM "users";  (1.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (6.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:24:47', '2014-03-05 01:24:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:24:47', '2014-03-05 01:24:47', 298486374)  (1.0ms) commit transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:24:47 UTC +00:00]]  (0.9ms) commit transaction Completed 200 OK in 28ms (Views: 0.2ms | ActiveRecord: 3.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:24:47', '2014-03-05 01:24:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:24:47', '2014-03-05 01:24:47', 298486374)  (0.9ms) commit transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (1.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:24:47', '2014-03-05 01:24:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:24:47', '2014-03-05 01:24:47', 298486374)  (1.0ms) commit transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:24:47', '2014-03-05 01:24:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:24:47', '2014-03-05 01:24:47', 298486374)  (1.0ms) commit transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (1.1ms) DELETE FROM "users";  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:24:47', '2014-03-05 01:24:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:24:47', '2014-03-05 01:24:47', 298486374)  (1.8ms) commit transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:24:47', '2014-03-05 01:24:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:24:47', '2014-03-05 01:24:47', 298486374)  (1.1ms) commit transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:24:47', '2014-03-05 01:24:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:24:47', '2014-03-05 01:24:47', 298486374)  (0.9ms) commit transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.0ms) DELETE FROM "users";  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:24:47', '2014-03-05 01:24:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:24:47', '2014-03-05 01:24:47', 298486374)  (0.8ms) commit transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:17', '2014-03-05 01:25:17', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:17', '2014-03-05 01:25:17', 298486374)  (2.1ms) commit transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (3.3ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:17', '2014-03-05 01:25:17', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:17', '2014-03-05 01:25:17', 298486374)  (2.6ms) commit transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (3.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:25:17 UTC +00:00]]  (1.4ms) commit transaction Completed 200 OK in 35ms (Views: 0.3ms | ActiveRecord: 5.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:17', '2014-03-05 01:25:17', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:17', '2014-03-05 01:25:17', 298486374)  (0.9ms) commit transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:17', '2014-03-05 01:25:17', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:17', '2014-03-05 01:25:17', 298486374)  (0.9ms) commit transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:17', '2014-03-05 01:25:17', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:17', '2014-03-05 01:25:17', 298486374)  (0.9ms) commit transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (4.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.3ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:17', '2014-03-05 01:25:17', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:17', '2014-03-05 01:25:17', 298486374)  (1.8ms) commit transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.5ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:17', '2014-03-05 01:25:17', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:17', '2014-03-05 01:25:17', 298486374)  (1.1ms) commit transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:17', '2014-03-05 01:25:17', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:17', '2014-03-05 01:25:17', 298486374)  (1.0ms) commit transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:17', '2014-03-05 01:25:17', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:17', '2014-03-05 01:25:17', 298486374)  (0.9ms) commit transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.6ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:41', '2014-03-05 01:25:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:41', '2014-03-05 01:25:41', 298486374)  (1.0ms) commit transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:41', '2014-03-05 01:25:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:41', '2014-03-05 01:25:41', 298486374)  (0.8ms) commit transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:25:41 UTC +00:00]]  (1.1ms) commit transaction Completed 200 OK in 27ms (Views: 0.2ms | ActiveRecord: 3.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.1ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:41', '2014-03-05 01:25:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:41', '2014-03-05 01:25:41', 298486374)  (1.1ms) commit transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (1.5ms) DELETE FROM "users";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.9ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:41', '2014-03-05 01:25:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:41', '2014-03-05 01:25:41', 298486374)  (0.9ms) commit transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (2.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.7ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:41', '2014-03-05 01:25:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:41', '2014-03-05 01:25:41', 298486374)  (0.9ms) commit transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.3ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:41', '2014-03-05 01:25:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:41', '2014-03-05 01:25:41', 298486374)  (1.0ms) commit transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.0ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:41', '2014-03-05 01:25:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:41', '2014-03-05 01:25:41', 298486374)  (0.9ms) commit transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (1.1ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.8ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:41', '2014-03-05 01:25:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:41', '2014-03-05 01:25:41', 298486374)  (1.0ms) commit transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:25:41', '2014-03-05 01:25:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:25:41', '2014-03-05 01:25:41', 298486374)  (1.0ms) commit transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.5ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:26:05', '2014-03-05 01:26:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:26:05', '2014-03-05 01:26:05', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.9ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:26:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 0.2ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:26:09 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 41ms (Views: 29.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 20:26:09 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 20:26:09 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 20:26:09 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:51569/landing Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:26:09 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.5ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 20:26:09 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:26:09 UTC +00:00]]  (4922.5ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.8ms) rollback transaction Completed 500 Internal Server Error in 4935ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:26:14 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:51569/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:26:14 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:26:14 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 20:26:15 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:51569/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:26:15 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:26:15 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:51569/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:26:15 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:27:21', '2014-03-05 01:27:21', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:27:21', '2014-03-05 01:27:21', 298486374)  (0.9ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.7ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:27:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 3.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (1.5ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:27:25 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 39ms (Views: 28.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 20:27:25 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 20:27:25 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 20:27:25 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:51655/landing Completed 302 Found in 3ms (ActiveRecord: 0.6ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:27:25 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 20:27:25 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) begin transaction User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:27:25 UTC +00:00]]  (4930.8ms) commit transaction SQLite3::BusyException: database is locked: commit transaction  (0.7ms) rollback transaction Completed 500 Internal Server Error in 4939ms Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:27:30 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:51655/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:27:30 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:27:30 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 20:27:31 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:51655/landing Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:27:31 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:27:31 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:51655/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:27:31 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:27:41', '2014-03-05 01:27:41', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:27:41', '2014-03-05 01:27:41', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 2.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (4.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.6ms) rollback transaction  (17.6ms) DELETE FROM "users";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.9ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:37:32', '2014-03-05 01:37:32', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:37:32', '2014-03-05 01:37:32', 298486374)  (2.3ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:37:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.2ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.3ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (1.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (3.3ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.8ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:37:36 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 41ms (Views: 27.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 20:37:36 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 20:37:36 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 20:37:37 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:51897/landing Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:37:37 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 20:37:37 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:37:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.0ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:37:37 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:51897/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:37:37 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.2ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.5ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:37:37 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 20:37:37 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:51897/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:37:37 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:37:37 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:51897/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:37:37 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.4ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:38:56', '2014-03-05 01:38:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:38:56', '2014-03-05 01:38:56', 298486374)  (2.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.9ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 23ms (Views: 0.3ms | ActiveRecord: 2.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:39:00 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 61ms (Views: 39.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 20:39:00 -0500 Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 20:39:00 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 20:39:01 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:51980/landing Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:39:01 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 20:39:01 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:39:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:39:01 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:51980/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:39:01 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:39:02 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 20:39:02 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:51980/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:39:02 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:39:02 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:51980/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:39:02 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:40:47', '2014-03-05 01:40:47', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:40:47', '2014-03-05 01:40:47', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:40:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 2.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (1.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) begin transaction Fixture Delete (1.4ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:41:05', '2014-03-05 01:41:05', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:41:05', '2014-03-05 01:41:05', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:41:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 31ms (Views: 0.2ms | ActiveRecord: 2.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:41:09 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 44ms (Views: 27.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 20:41:09 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 20:41:09 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 20:41:09 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:52068/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:41:09 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 20:41:09 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.8ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:41:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 1.5ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:41:09 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52068/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:41:09 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:41:09 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 20:41:09 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:52068/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:41:09 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:41:09 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52068/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:41:09 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:43:45', '2014-03-05 01:43:45', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:43:45', '2014-03-05 01:43:45', 298486374)  (1.1ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:43:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 1.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:43:50 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 59ms (Views: 37.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 20:43:50 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 20:43:50 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 20:43:51 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:52120/landing Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:43:51 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 20:43:51 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.8ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:43:51 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 1.5ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:43:51 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52120/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:43:51 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:43:51 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 20:43:52 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:52120/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:43:52 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:44:06', '2014-03-05 01:44:06', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:44:06', '2014-03-05 01:44:06', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.9ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:44:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 2.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:44:09 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 43ms (Views: 26.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 20:44:10 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 20:44:10 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 20:44:10 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:52277/landing Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:44:10 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 20:44:10 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:44:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.1ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:44:10 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52277/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:44:10 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:44:10 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 20:44:11 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:52277/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:44:11 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:44:11 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52277/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:44:11 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:45:29', '2014-03-05 01:45:29', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:45:29', '2014-03-05 01:45:29', 298486374)  (1.1ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:45:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 2.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (2.2ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:45:32 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 36ms (Views: 23.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 20:45:32 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 20:45:32 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 20:45:33 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:52362/landing Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:45:33 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 20:45:33 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:45:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.9ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:45:33 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52362/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:45:33 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:45:33 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 20:45:34 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:52362/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:45:34 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:45:34 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52362/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:45:34 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:49:28', '2014-03-05 01:49:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:49:28', '2014-03-05 01:49:28', 298486374)  (0.8ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:49:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 23ms (Views: 0.2ms | ActiveRecord: 2.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:49:32 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 74ms (Views: 59.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 20:49:32 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 20:49:32 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 20:49:33 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:52468/landing Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:49:33 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 20:49:33 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.8ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:49:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 1.4ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:49:33 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52468/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:49:33 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:49:33 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 20:49:34 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:52468/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:49:34 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:49:34 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52468/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:49:34 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:49:45', '2014-03-05 01:49:45', 980190962) Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:49:45', '2014-03-05 01:49:45', 298486374)  (2.1ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:49:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 2.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.3ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (1.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:49:45 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 46ms (Views: 27.8ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 20:49:45 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://www.example.com/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:49:45 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:49:45 -0500 Processing by SessionsController#new as HTML Redirected to http://www.example.com/landing Completed 302 Found in 2ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:49:45 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 01:57:21', '2014-03-05 01:57:21', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 01:57:21', '2014-03-05 01:57:21', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:57:24 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 30ms (Views: 18.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 20:57:24 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 20:57:24 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 20:57:24 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:52569/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:57:24 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 20:57:24 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 01:57:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.8ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:57:24 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52569/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:57:24 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 20:57:25 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 20:57:25 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:52569/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 20:57:25 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 20:57:25 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52569/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 20:57:25 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 02:54:02', '2014-03-05 02:54:02', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 02:54:02', '2014-03-05 02:54:02', 298486374)  (1.0ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 02:54:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 66ms (Views: 0.4ms | ActiveRecord: 3.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 21:54:05 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 43ms (Views: 30.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 21:54:05 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 21:54:05 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 21:54:05 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:52829/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 21:54:05 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 21:54:06 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 02:54:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.0ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 21:54:06 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52829/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 21:54:06 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 21:54:06 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 21:54:06 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:52829/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 21:54:06 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 21:54:06 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52829/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 21:54:06 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "users" Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 03:18:36', '2014-03-05 03:18:36', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 03:18:36', '2014-03-05 03:18:36', 298486374)  (1.5ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (4.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 03:18:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 36ms (Views: 0.3ms | ActiveRecord: 5.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 22:18:39 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 45ms (Views: 34.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 22:18:40 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 22:18:40 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 22:18:40 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:53171/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 22:18:40 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 22:18:40 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 03:18:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.8ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 22:18:40 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53171/login Completed 302 Found in 4ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 22:18:40 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 22:18:40 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 22:18:41 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:53171/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 22:18:41 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 22:18:41 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53171/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 22:18:41 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "users" Fixture Insert (0.5ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 03:30:49', '2014-03-05 03:30:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 03:30:49', '2014-03-05 03:30:49', 298486374)  (1.4ms) commit transaction  (0.2ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.9ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 03:30:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 0.2ms | ActiveRecord: 3.5ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 22:30:54 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 56ms (Views: 41.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 22:30:54 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 22:30:54 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 22:30:54 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:53326/landing Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 22:30:54 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 22:30:55 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 03:30:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 1.0ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 22:30:55 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53326/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 22:30:55 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 22:30:55 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 22:30:55 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:53326/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 22:30:55 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 22:30:55 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53326/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 22:30:55 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 03:39:04', '2014-03-05 03:39:04', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 03:39:04', '2014-03-05 03:39:04', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 03:39:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 0.2ms | ActiveRecord: 2.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 22:39:07 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 40ms (Views: 26.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 22:39:07 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 22:39:07 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 22:39:07 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:53551/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 22:39:07 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 22:39:07 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 03:39:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.8ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 22:39:07 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53551/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 22:39:07 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 22:39:08 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 22:39:08 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:53551/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 22:39:08 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 22:39:08 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53551/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 22:39:08 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 03:52:16', '2014-03-05 03:52:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 03:52:16', '2014-03-05 03:52:16', 298486374)  (2.2ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.0ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 03:52:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 2.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.9ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-04 22:52:20 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 51ms (Views: 35.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-04 22:52:20 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-04 22:52:20 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-04 22:52:20 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:54053/landing Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 22:52:20 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-04 22:52:20 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 03:52:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.9ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 22:52:20 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54053/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 22:52:20 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.2ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-04 22:52:21 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-04 22:52:21 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:54053/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-04 22:52:21 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-04 22:52:21 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54053/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-04 22:52:21 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.8ms) DELETE FROM "users" Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 13:51:02', '2014-03-05 13:51:02', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 13:51:02', '2014-03-05 13:51:02', 298486374)  (0.8ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.8ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 13:51:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 35ms (Views: 0.3ms | ActiveRecord: 3.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.2ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-05 08:51:05 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 47ms (Views: 33.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-05 08:51:05 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-05 08:51:05 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-05 08:51:05 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:55060/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-05 08:51:05 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-05 08:51:05 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 13:51:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.1ms) Started GET "/logout" for 127.0.0.1 at 2014-03-05 08:51:06 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55060/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-05 08:51:06 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-05 08:51:06 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-05 08:51:06 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:55060/landing Completed 302 Found in 1ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-05 08:51:06 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-05 08:51:06 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55060/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-05 08:51:06 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 15:18:59', '2014-03-05 15:18:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 15:18:59', '2014-03-05 15:18:59', 298486374)  (0.8ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 15:18:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 0.2ms | ActiveRecord: 3.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-05 10:19:04 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 56ms (Views: 33.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-05 10:19:04 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-05 10:19:04 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-05 10:19:04 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:55946/landing Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-05 10:19:04 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-05 10:19:05 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 15:19:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.9ms) Started GET "/logout" for 127.0.0.1 at 2014-03-05 10:19:05 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55946/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-05 10:19:05 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-05 10:19:05 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-05 10:19:05 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:55946/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-05 10:19:05 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-05 10:19:05 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55946/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-05 10:19:05 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 15:36:05', '2014-03-05 15:36:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 15:36:05', '2014-03-05 15:36:05', 298486374)  (2.4ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 15:36:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 20ms (Views: 0.2ms | ActiveRecord: 2.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-05 10:36:08 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 37ms (Views: 27.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-05 10:36:08 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-05 10:36:08 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-05 10:36:09 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:56306/landing Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-05 10:36:09 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-05 10:36:09 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 15:36:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.1ms) Started GET "/logout" for 127.0.0.1 at 2014-03-05 10:36:09 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56306/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-05 10:36:09 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-05 10:36:09 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-05 10:36:09 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:56306/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-03-05 10:36:09 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-05 10:36:09 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56306/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-05 10:36:09 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 15:36:15', '2014-03-05 15:36:15', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 15:36:15', '2014-03-05 15:36:15', 298486374)  (1.3ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (1.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 15:36:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 20ms (Views: 0.2ms | ActiveRecord: 1.9ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.9ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-05 10:36:18 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 42ms (Views: 29.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-05 10:36:19 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-05 10:36:19 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-05 10:36:19 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:56386/landing Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/landing" for 127.0.0.1 at 2014-03-05 10:36:19 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-05 10:36:19 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 15:36:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.0ms) Started GET "/logout" for 127.0.0.1 at 2014-03-05 10:36:19 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56386/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-05 10:36:19 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-05 10:36:19 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-05 10:36:20 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:56386/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-05 10:36:20 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-05 10:36:20 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56386/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-05 10:36:20 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (1.0ms) DELETE FROM "users" Fixture Insert (0.4ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-03-05 16:54:40', '2014-03-05 16:54:40', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-03-05 16:54:40', '2014-03-05 16:54:40', 298486374)  (0.8ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (2.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 16:54:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 0.3ms | ActiveRecord: 3.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-03-05 11:54:43 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 40ms (Views: 30.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-03-05 11:54:43 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-03-05 11:54:43 -0500 Started POST "/login" for 127.0.0.1 at 2014-03-05 11:54:44 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:49663/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-05 11:54:44 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-03-05 11:54:44 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", Wed, 05 Mar 2014 16:54:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.9ms) Started GET "/logout" for 127.0.0.1 at 2014-03-05 11:54:44 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:49663/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-05 11:54:44 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-03-05 11:54:44 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-03-05 11:54:44 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:49663/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-03-05 11:54:44 -0500 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-03-05 11:54:45 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:49663/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-03-05 11:54:45 -0500 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-05-17 16:15:14', '2014-05-17 16:15:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-05-17 16:15:14', '2014-05-17 16:15:14', 298486374)  (5.4ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-05-17 16:15:14.510471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 20ms (Views: 0.2ms | ActiveRecord: 0.9ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-05-17 12:15:19 -0400 Processing by SessionsController#new as HTML Completed 200 OK in 151ms (Views: 132.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.js" for 127.0.0.1 at 2014-05-17 12:15:19 -0400 Started GET "/assets/application.css" for 127.0.0.1 at 2014-05-17 12:15:19 -0400 Started POST "/login" for 127.0.0.1 at 2014-05-17 12:15:19 -0400 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' AND "users"."password" = 'lorem' LIMIT 1 Redirected to http://127.0.0.1:63125/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-05-17 12:15:19 -0400 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1 Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-05-17 12:15:20 -0400 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-05-17 16:15:20.450797"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 1.0ms) Started GET "/logout" for 127.0.0.1 at 2014-05-17 12:15:20 -0400 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:63125/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-05-17 12:15:20 -0400 Processing by SessionsController#new as HTML Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-05-17 12:15:20 -0400 Processing by SessionsController#new as HTML Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-05-17 12:15:21 -0400 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' AND "users"."password" = 'ipsum' LIMIT 1 Redirected to http://127.0.0.1:63125/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-05-17 12:15:21 -0400 Processing by LandingsController#show as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'mike' LIMIT 1 Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET "/logout" for 127.0.0.1 at 2014-05-17 12:15:21 -0400 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:63125/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-05-17 12:15:21 -0400 Processing by SessionsController#new as HTML Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-20 17:35:29', '2014-12-20 17:35:29', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-20 17:35:29', '2014-12-20 17:35:29', 298486374)  (1.8ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'john' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = 980190962 [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-20 17:35:29.709906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-20 17:37:43', '2014-12-20 17:37:43', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-20 17:37:43', '2014-12-20 17:37:43', 298486374)  (1.2ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-20 17:37:43.651168"], ["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-20 12:37:46 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (3.3ms) Completed 200 OK in 61ms (Views: 51.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-20 12:37:46 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-20 12:37:46 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-20 12:37:46 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:63388/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-20 12:37:46 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.3ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-20 12:37:46 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-20 17:37:46.760122"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-20 12:37:46 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:63388/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-20 12:37:46 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-20 12:37:46 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-20 12:37:47 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:63388/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-20 12:37:47 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-20 12:37:47 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:63388/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-20 12:37:47 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.8ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-20 17:40:54', '2014-12-20 17:40:54', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-20 17:40:54', '2014-12-20 17:40:54', 298486374)  (1.3ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-20 17:40:54.850329"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-20 12:40:57 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 27ms (Views: 18.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-20 12:40:57 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-20 12:40:57 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-20 12:40:57 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:63484/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-20 12:40:57 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.7ms) Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-20 12:40:57 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-20 17:40:57.916671"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-20 12:40:57 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:63484/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-20 12:40:57 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-20 12:40:58 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-20 12:40:58 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:63484/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-20 12:40:58 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-20 12:40:58 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:63484/login Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-20 12:40:58 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-20 17:41:24', '2014-12-20 17:41:24', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-20 17:41:24', '2014-12-20 17:41:24', 298486374)  (1.6ms) commit transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-20 12:41:26 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.3ms) Completed 200 OK in 24ms (Views: 16.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-20 12:41:26 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-20 12:41:26 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-20 12:41:26 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:63571/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-20 12:41:26 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.1ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-20 12:41:26 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-20 17:41:26.531193"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-20 12:41:26 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:63571/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-20 12:41:26 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-20 12:41:26 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-20 12:41:26 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:63571/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-20 12:41:26 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-20 12:41:26 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:63571/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-20 12:41:26 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-20 17:41:26.967503"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-20 18:44:50', '2014-12-20 18:44:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-20 18:44:50', '2014-12-20 18:44:50', 298486374)  (0.9ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-20 13:44:53 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.4ms) Completed 200 OK in 32ms (Views: 24.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-20 13:44:53 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-20 13:44:53 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-20 13:44:53 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:64452/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-20 13:44:53 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.1ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-20 13:44:53 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-20 18:44:53.628792"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 0.6ms) Started GET "/logout" for 127.0.0.1 at 2014-12-20 13:44:53 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:64452/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-20 13:44:53 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-20 13:44:53 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-20 13:44:53 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:64452/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-20 13:44:53 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-20 13:44:53 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:64452/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-20 13:44:53 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-20 18:44:54.025991"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 15:54:15', '2014-12-22 15:54:15', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 15:54:15', '2014-12-22 15:54:15', 298486374)  (0.6ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 15:54:15.911248"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:34:45', '2014-12-22 16:34:45', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:34:45', '2014-12-22 16:34:45', 298486374)  (0.6ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:34:45.311654"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.6ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:34:48 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.4ms) Completed 200 OK in 58ms (Views: 50.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 11:34:48 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 11:34:48 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 11:34:48 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:52948/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:34:48 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (1.2ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:34:48 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52948/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:34:48 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:34:48 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 11:34:48 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:52948/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:34:48 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 11:34:48 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:34:48.744934"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.4ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:34:48 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:52948/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:34:48 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:35:55', '2014-12-22 16:35:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:35:55', '2014-12-22 16:35:55', 298486374)  (1.8ms) commit transaction  (0.2ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:35:55.478304"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:36:49', '2014-12-22 16:36:49', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:36:49', '2014-12-22 16:36:49', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:36:49.341535"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:36:51 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.2ms) Completed 200 OK in 26ms (Views: 17.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 11:36:51 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 11:36:51 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 11:36:51 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:53041/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:36:51 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 11:36:51 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:36:51.664592"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.6ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:36:51 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53041/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:36:51 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:36:51 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 11:36:51 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:53041/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:36:51 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:36:52 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53041/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:36:52 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:36:56', '2014-12-22 16:36:56', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:36:56', '2014-12-22 16:36:56', 298486374)  (1.3ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:36:56.827165"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:36:58 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.8ms) Completed 200 OK in 28ms (Views: 18.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 11:36:58 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 11:36:58 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 11:36:59 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:53123/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:36:59 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.9ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:36:59 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53123/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:36:59 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.6ms) rollback transaction  (0.2ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:36:59 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 11:36:59 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:53123/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:36:59 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 11:36:59 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.9ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:36:59.444815"], ["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.1ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:36:59 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53123/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:36:59 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:38:54', '2014-12-22 16:38:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:38:54', '2014-12-22 16:38:54', 298486374)  (1.3ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:38:54.548204"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.3ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:39:43', '2014-12-22 16:39:43', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:39:43', '2014-12-22 16:39:43', 298486374)  (1.4ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:39:43.387961"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:39:47', '2014-12-22 16:39:47', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:39:47', '2014-12-22 16:39:47', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:39:47.950040"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:39:52', '2014-12-22 16:39:52', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:39:52', '2014-12-22 16:39:52', 298486374)  (0.7ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:39:52.829743"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:41:18', '2014-12-22 16:41:18', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:41:18', '2014-12-22 16:41:18', 298486374)  (1.2ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:41:18.116043"], ["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:42:23', '2014-12-22 16:42:23', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:42:23', '2014-12-22 16:42:23', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:42:23.932733"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:42:25 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.1ms) Completed 200 OK in 23ms (Views: 15.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 11:42:25 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 11:42:25 -0500 Started GET "/favicon.ico" for 127.0.0.1 at 2014-12-22 11:42:25 -0500 Started GET "/favicon.ico" for 127.0.0.1 at 2014-12-22 11:42:25 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 11:42:26 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:53239/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:42:26 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 11:42:26 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:42:26.254288"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.7ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:42:26 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:53239/landing Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:42:26 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:42:57', '2014-12-22 16:42:57', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:42:57', '2014-12-22 16:42:57', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:42:57.276381"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:42:59 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.3ms) Completed 200 OK in 27ms (Views: 18.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 11:42:59 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 11:42:59 -0500 Started GET "/favicon.ico" for 127.0.0.1 at 2014-12-22 11:42:59 -0500 Started GET "/favicon.ico" for 127.0.0.1 at 2014-12-22 11:42:59 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 11:42:59 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:53357/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:42:59 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 11:42:59 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:42:59.609902"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.5ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:42:59 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:53357/landing Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:42:59 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed ---------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed ---------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed --------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing -------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ----------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed --------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:48:16', '2014-12-22 16:48:16', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:48:16', '2014-12-22 16:48:16', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:48:16.168716"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.7ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:48:52', '2014-12-22 16:48:52', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:48:52', '2014-12-22 16:48:52', 298486374)  (1.4ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:48:52.923148"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:48:55 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.4ms) Completed 200 OK in 24ms (Views: 17.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 11:48:55 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 11:48:55 -0500 Started GET "/favicon.ico" for 127.0.0.1 at 2014-12-22 11:48:55 -0500 Started GET "/favicon.ico" for 127.0.0.1 at 2014-12-22 11:48:55 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 11:48:55 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:53568/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:48:55 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 11:48:55 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:48:55.782794"], ["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.8ms)  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:48:55 -0500 Processing by SessionsController#new as HTML Redirected to http://127.0.0.1:53568/landing Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:48:55 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:49:27', '2014-12-22 16:49:27', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:49:27', '2014-12-22 16:49:27', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:49:27.392955"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:52:10', '2014-12-22 16:52:10', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:52:10', '2014-12-22 16:52:10', 298486374)  (1.1ms) commit transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:52:12 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.2ms) Completed 200 OK in 24ms (Views: 15.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 11:52:12 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 11:52:12 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 11:52:13 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:53700/landing Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:52:13 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.1ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 11:52:13 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:52:13.166752"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.6ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:52:13 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53700/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:52:13 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:52:13 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 11:52:13 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:53700/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:52:13 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:52:13 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53700/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:52:13 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:52:13.598176"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:52:18', '2014-12-22 16:52:18', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:52:18', '2014-12-22 16:52:18', 298486374)  (1.7ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:52:18.578676"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:52:41', '2014-12-22 16:52:41', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:52:41', '2014-12-22 16:52:41', 298486374)  (1.2ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:52:41.134248"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:52:43 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.9ms) Completed 200 OK in 26ms (Views: 17.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 11:52:43 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 11:52:43 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 11:52:43 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:53789/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:52:43 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.0ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 11:52:43 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:52:43.463839"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.7ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:52:43 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53789/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:52:43 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:52:43 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 11:52:43 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:53789/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:52:43 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:52:43 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53789/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:52:43 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:52:49', '2014-12-22 16:52:49', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:52:49', '2014-12-22 16:52:49', 298486374)  (1.2ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:52:49.437992"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:52:53', '2014-12-22 16:52:53', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:52:53', '2014-12-22 16:52:53', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:52:53.947140"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:52:55 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.2ms) Completed 200 OK in 24ms (Views: 15.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 11:52:55 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 11:52:55 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 11:52:56 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:53870/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:52:56 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.9ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 11:52:56 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:52:56.306781"], ["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:52:56 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53870/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:52:56 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:52:56 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 11:52:56 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:53870/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:52:56 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:52:56 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53870/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:52:56 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:53:06', '2014-12-22 16:53:06', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:53:06', '2014-12-22 16:53:06', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:53:06.651681"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:53:10', '2014-12-22 16:53:10', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:53:10', '2014-12-22 16:53:10', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:53:10.817597"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.6ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:53:12 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.9ms) Completed 200 OK in 24ms (Views: 16.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 11:53:12 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 11:53:12 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 11:53:13 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:53951/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:53:13 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.9ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:53:13 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53951/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:53:13 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:53:13 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 11:53:13 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:53951/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:53:13 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 11:53:13 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:53:13.470301"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:53:13 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:53951/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:53:13 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 16:53:51', '2014-12-22 16:53:51', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 16:53:51', '2014-12-22 16:53:51', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:53:51.438768"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:53:53 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.4ms) Completed 200 OK in 23ms (Views: 16.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 11:53:53 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 11:53:53 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 11:53:53 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:54033/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:53:53 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (1.4ms) Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:53:53 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54033/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:53:53 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.5ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 11:53:53 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.6ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 11:53:53 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:54033/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 11:53:53 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 11:53:54 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 16:53:54.094655"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.7ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 11:53:54 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54033/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 11:53:54 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:13:15', '2014-12-22 17:13:15', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:13:15', '2014-12-22 17:13:15', 298486374)  (0.6ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:13:15.365662"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:13:20', '2014-12-22 17:13:20', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:13:20', '2014-12-22 17:13:20', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:13:22 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.2ms) Completed 200 OK in 22ms (Views: 15.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:13:22 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:13:22 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:13:23 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:54337/landing Completed 302 Found in 2ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:13:23 -0500 Processing by LandingsController#show as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (2.1ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:13:23 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:13:23.214011"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.4ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:13:23 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54337/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:13:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:13:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:13:23 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:54337/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:13:23 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:13:23 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54337/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:13:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.7ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:13:23.624576"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:15:48', '2014-12-22 17:15:48', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:15:48', '2014-12-22 17:15:48', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:15:48.999739"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:19:06', '2014-12-22 17:19:06', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:19:06', '2014-12-22 17:19:06', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:19:06.054305"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.6ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:19:08 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.2ms) Completed 200 OK in 23ms (Views: 15.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:19:08 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:19:08 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:19:08 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:54470/landing Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:19:08 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:19:08 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.7ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:19:08.880459"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.9ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:19:08 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54470/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:19:08 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:19:08 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:19:09 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:54470/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:19:09 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:19:09 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54470/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:19:09 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:23:34', '2014-12-22 17:23:34', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:23:34', '2014-12-22 17:23:34', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:23:34.788463"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:23:38', '2014-12-22 17:23:38', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:23:38', '2014-12-22 17:23:38', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:23:38.948924"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:23:41 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.4ms) Completed 200 OK in 24ms (Views: 15.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:23:41 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:23:41 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:23:41 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:54585/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:23:41 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.9ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:23:41 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:23:41.800193"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:23:41 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54585/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:23:41 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:23:41 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:23:42 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:54585/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:23:42 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:23:42 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54585/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:23:42 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:24:07', '2014-12-22 17:24:07', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:24:07', '2014-12-22 17:24:07', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:24:07.715950"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:24:13', '2014-12-22 17:24:13', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:24:13', '2014-12-22 17:24:13', 298486374)  (0.9ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:24:13.251910"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:24:17', '2014-12-22 17:24:17', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:24:17', '2014-12-22 17:24:17', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:24:17.624998"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:24:21', '2014-12-22 17:24:21', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:24:21', '2014-12-22 17:24:21', 298486374)  (0.6ms) commit transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:24:21.992574"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:24:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.1ms) Completed 200 OK in 22ms (Views: 15.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:24:23 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:24:23 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:24:24 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:54674/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:24:24 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:24:24 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:24:24.332055"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:24:24 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54674/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:24:24 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:24:24 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:24:24 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:54674/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:24:24 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:24:24 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54674/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:24:24 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:24:44', '2014-12-22 17:24:44', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:24:44', '2014-12-22 17:24:44', 298486374)  (0.9ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:24:44.203645"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:24:46 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (2.0ms) Completed 200 OK in 24ms (Views: 16.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:24:46 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:24:46 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:24:46 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:54755/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:24:46 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.9ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:24:46 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:24:46.539934"], ["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.8ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:24:46 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54755/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:24:46 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:24:46 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:24:46 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:54755/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:24:46 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:24:46 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54755/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:24:46 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:25:16', '2014-12-22 17:25:16', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:25:16', '2014-12-22 17:25:16', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:25:16.673419"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:25:21', '2014-12-22 17:25:21', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:25:21', '2014-12-22 17:25:21', 298486374)  (1.2ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:25:21.178050"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:25:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.3ms) Completed 200 OK in 27ms (Views: 18.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:25:23 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:25:23 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:25:23 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:54836/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:25:23 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:25:23 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:25:23.472991"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.1ms | ActiveRecord: 0.6ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:25:23 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54836/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:25:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.7ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:25:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:25:23 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:54836/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:25:23 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:25:23 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54836/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:25:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:25:49', '2014-12-22 17:25:49', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:25:49', '2014-12-22 17:25:49', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:25:51 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 24ms (Views: 16.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:25:51 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:25:51 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:25:51 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:54918/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:25:51 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.2ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:25:51 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:25:51.696036"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:25:51 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54918/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:25:51 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:25:51 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:25:51 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:54918/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:25:51 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:25:52 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54918/login Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:25:52 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:25:52.093930"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:26:14', '2014-12-22 17:26:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:26:14', '2014-12-22 17:26:14', 298486374)  (1.2ms) commit transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:26:16 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.3ms) Completed 200 OK in 26ms (Views: 17.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:26:16 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:26:16 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:26:16 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:54999/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:26:16 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.1ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:26:16 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:26:16.953179"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:26:16 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54999/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:26:16 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:26:17 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:26:17 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:54999/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:26:17 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:26:17 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:54999/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:26:17 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:26:17.356774"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:27:20', '2014-12-22 17:27:20', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:27:20', '2014-12-22 17:27:20', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:27:20.374312"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:27:22 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.2ms) Completed 200 OK in 24ms (Views: 16.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:27:22 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:27:22 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:27:22 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:55081/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:27:22 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:27:22 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:27:22.693861"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:27:22 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55081/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:27:22 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:27:22 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:27:22 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:55081/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:27:22 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:27:23 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55081/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:27:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:37:05', '2014-12-22 17:37:05', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:37:05', '2014-12-22 17:37:05', 298486374)  (1.1ms) commit transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:37:05.883757"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:37:10', '2014-12-22 17:37:10', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:37:10', '2014-12-22 17:37:10', 298486374)  (0.7ms) commit transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:37:10.532973"], ["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 0.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.5ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:37:13 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.4ms) Completed 200 OK in 24ms (Views: 16.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:37:13 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:37:13 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:37:13 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:55252/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:37:13 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (1.0ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:37:13 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55252/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:37:13 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:37:13 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:37:13 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:55252/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:37:13 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:37:13 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:37:13.789570"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.4ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:37:13 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55252/login Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:37:13 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:43:04', '2014-12-22 17:43:04', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:43:04', '2014-12-22 17:43:04', 298486374)  (9.4ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:43:04.863627"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:43:06 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.4ms) Completed 200 OK in 24ms (Views: 15.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:43:06 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:43:06 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:43:07 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:55422/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:43:07 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (1.0ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:43:07 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55422/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:43:07 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:43:07 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:43:07 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:55422/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:43:07 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:43:07 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:43:07.469424"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:43:07 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55422/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:43:07 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.5ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:44:00', '2014-12-22 17:44:00', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:44:00', '2014-12-22 17:44:00', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:44:00.182886"], ["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:44:02 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.9ms) Completed 200 OK in 25ms (Views: 17.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:44:02 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:44:02 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:44:02 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:55506/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:44:02 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.9ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:44:03 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:44:03.015510"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:44:03 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55506/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:44:03 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.7ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:44:03 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:44:03 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:55506/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:44:03 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:44:03 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55506/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:44:03 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_helper_method_dismissible_blocks_controller?_exists -----------------------------------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:45:53', '2014-12-22 17:45:53', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:45:53', '2014-12-22 17:45:53', 298486374)  (1.3ms) commit transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:45:54.011556"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:45:55 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.5ms) Completed 200 OK in 26ms (Views: 17.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:45:56 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:45:56 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:45:56 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:55598/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:45:56 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (1.0ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:45:56 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55598/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:45:56 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:45:56 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:45:56 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:55598/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:45:56 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:45:56 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:45:56.663422"], ["id", 980190962]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 1.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:45:56 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55598/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:45:56 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:46:27', '2014-12-22 17:46:27', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:46:27', '2014-12-22 17:46:27', 298486374)  (0.7ms) commit transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:46:29 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.3ms) Completed 200 OK in 24ms (Views: 15.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:46:29 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:46:29 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:46:29 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:55682/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:46:29 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (1.4ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:46:29 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55682/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:46:29 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:46:29 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:46:30 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:55682/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:46:30 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:46:30 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:46:30.248831"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:46:30 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55682/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:46:30 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:46:30.362464"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:53:37', '2014-12-22 17:53:37', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:53:37', '2014-12-22 17:53:37', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:53:37.557434"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:53:44', '2014-12-22 17:53:44', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:53:44', '2014-12-22 17:53:44', 298486374)  (1.2ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:53:44.257245"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:53:46 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.4ms) Completed 200 OK in 25ms (Views: 17.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:53:46 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:53:46 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:53:47 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:55803/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:53:47 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:53:47 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.5ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:53:47.235499"], ["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.8ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:53:47 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55803/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:53:47 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:53:47 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:53:47 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:55803/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:53:47 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:53:47 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55803/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:53:47 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (1.1ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:53:53', '2014-12-22 17:53:53', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:53:53', '2014-12-22 17:53:53', 298486374)  (0.8ms) commit transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:53:53.307916"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:56:24', '2014-12-22 17:56:24', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:56:24', '2014-12-22 17:56:24', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:56:24.048330"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:59:13', '2014-12-22 17:59:13', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:59:13', '2014-12-22 17:59:13', 298486374)  (0.6ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:59:13.217676"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.6ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:59:48', '2014-12-22 17:59:48', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:59:48', '2014-12-22 17:59:48', 298486374)  (1.2ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:59:48.054332"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.6ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:59:50 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.3ms) Completed 200 OK in 24ms (Views: 16.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:59:50 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:59:50 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:59:50 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:55940/landing Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:59:50 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.0ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:59:50 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:59:50.926932"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:59:50 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55940/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:59:50 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:59:51 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:59:51 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:55940/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:59:51 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:59:51 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:55940/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:59:51 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "users" Fixture Insert (0.9ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 17:59:56', '2014-12-22 17:59:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 17:59:56', '2014-12-22 17:59:56', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:59:58 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 24ms (Views: 16.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 12:59:58 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 12:59:58 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 12:59:58 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:56027/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:59:58 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.3ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 12:59:58 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:59:58.421564"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:59:58 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56027/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:59:58 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 12:59:58 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.5ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 12:59:58 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:56027/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 12:59:58 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 12:59:58 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56027/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 12:59:58 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 17:59:58.835963"], ["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 18:00:04', '2014-12-22 18:00:04', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 18:00:04', '2014-12-22 18:00:04', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:00:04.459914"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.3ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:00:06 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (2.0ms) Completed 200 OK in 30ms (Views: 20.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 13:00:06 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 13:00:06 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 13:00:06 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:56108/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:00:06 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 13:00:06 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:00:06.803596"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:00:06 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56108/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:00:06 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.5ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:00:06 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 13:00:07 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:56108/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:00:07 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:00:07 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56108/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:00:07 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.6ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 18:00:12', '2014-12-22 18:00:12', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 18:00:12', '2014-12-22 18:00:12', 298486374)  (0.5ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.6ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:00:12.935218"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.8ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.6ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:00:14 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 28ms (Views: 20.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 13:00:14 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 13:00:14 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 13:00:15 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:56191/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:00:15 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.0ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 13:00:15 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.4ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:00:15.329268"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.6ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:00:15 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56191/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:00:15 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:00:15 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 13:00:15 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:56191/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:00:15 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:00:15 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56191/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:00:15 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.4ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 18:00:21', '2014-12-22 18:00:21', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 18:00:21', '2014-12-22 18:00:21', 298486374)  (0.8ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:00:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.9ms) Completed 200 OK in 24ms (Views: 16.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 13:00:23 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 13:00:23 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 13:00:23 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:56272/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:00:23 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (1.2ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:00:23 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56272/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:00:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:00:24 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 13:00:24 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:56272/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:00:24 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 13:00:24 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:00:24.324276"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:00:24 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56272/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:00:24 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:00:24.445137"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 18:00:34', '2014-12-22 18:00:34', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 18:00:34', '2014-12-22 18:00:34', 298486374)  (0.5ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:00:34.268070"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 18:05:49', '2014-12-22 18:05:49', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 18:05:49', '2014-12-22 18:05:49', 298486374)  (0.7ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:05:51 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.2ms) Completed 200 OK in 23ms (Views: 15.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 13:05:51 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 13:05:51 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 13:05:51 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:56369/landing Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:05:51 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.4ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 13:05:52 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:05:52.098962"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:05:52 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56369/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:05:52 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:05:52 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.6ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 13:05:52 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:56369/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:05:52 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:05:52 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56369/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:05:52 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.3ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:05:52.496268"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.5ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 18:05:57', '2014-12-22 18:05:57', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 18:05:57', '2014-12-22 18:05:57', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:05:58 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (2.2ms) Completed 200 OK in 24ms (Views: 16.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 13:05:59 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 13:05:59 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 13:05:59 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:56456/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:05:59 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.2ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 13:05:59 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:05:59.369211"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:05:59 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56456/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:05:59 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.5ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:05:59 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.8ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 13:05:59 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:56456/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:05:59 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:05:59 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56456/login Completed 302 Found in 0ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:05:59 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:05:59.810634"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.3ms) DELETE FROM "users" Fixture Insert (0.2ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 18:08:13', '2014-12-22 18:08:13', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 18:08:13', '2014-12-22 18:08:13', 298486374)  (1.2ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:08:13.063466"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 0.6ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:15 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.3ms) Completed 200 OK in 23ms (Views: 15.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 13:08:15 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 13:08:15 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 13:08:15 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:56542/landing Completed 302 Found in 2ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:08:15 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.7ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 13:08:16 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.1ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:08:16.055892"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:08:16 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56542/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:16 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:16 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 13:08:16 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:56542/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:08:16 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:08:16 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56542/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:16 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 18:08:21', '2014-12-22 18:08:21', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 18:08:21', '2014-12-22 18:08:21', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:08:21.129280"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (2.4ms) Completed 200 OK in 29ms (Views: 20.0ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 13:08:23 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 13:08:23 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 13:08:23 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:56630/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:08:23 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (1.1ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:08:23 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56630/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 13:08:23 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:56630/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:08:23 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 13:08:23 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:08:23.762143"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:08:23 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56630/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:23 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 18:08:28', '2014-12-22 18:08:28', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 18:08:28', '2014-12-22 18:08:28', 298486374)  (1.1ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:30 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.7ms) Completed 200 OK in 26ms (Views: 19.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 13:08:30 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 13:08:30 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 13:08:30 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:56713/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:08:30 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.2ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 13:08:30 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:08:30.868164"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.1ms | ActiveRecord: 0.5ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:08:30 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56713/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:30 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:30 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 13:08:31 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:56713/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:08:31 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.5ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:08:31 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56713/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:31 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.1ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:08:31.275285"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.2ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "password" varchar, "created_at" datetime, "updated_at" datetime, "dismissed_blocks" text)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.0ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303161500')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303154458') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2014-12-22 18:08:36', '2014-12-22 18:08:36', 980190962) Fixture Insert (0.0ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2014-12-22 18:08:36', '2014-12-22 18:08:36', 298486374)  (1.0ms) commit transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksTest: test_block_is_displayed_and_dismissed ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:38 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (2.1ms) Completed 200 OK in 24ms (Views: 16.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2014-12-22 13:08:38 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2014-12-22 13:08:38 -0500 Started POST "/login" for 127.0.0.1 at 2014-12-22 13:08:38 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"john", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "john"], ["password", "lorem"]] Redirected to http://127.0.0.1:56795/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:08:38 -0500 Processing by LandingsController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]] Rendered landings/show.html.erb within layouts/application (1.2ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2014-12-22 13:08:38 -0500 Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem", "dismissible_block"=>{"block"=>"lorem"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.3ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:08:38.726279"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 0.1ms | ActiveRecord: 0.7ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:08:38 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56795/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:38 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------- DismissibleBlocksTest: test_block_is_not_displayed;_already_dismissed --------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]] Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:38 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2014-12-22 13:08:39 -0500 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "username"=>"mike", "password"=>"[FILTERED]", "commit"=>"Login"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? AND "users"."password" = ? LIMIT 1 [["username", "mike"], ["password", "ipsum"]] Redirected to http://127.0.0.1:56795/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2014-12-22 13:08:39 -0500 Processing by LandingsController#show as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "mike"]] Rendered landings/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started GET "/logout" for 127.0.0.1 at 2014-12-22 13:08:39 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:56795/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2014-12-22 13:08:39 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.4ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- DismissibleBlocksHelperTest: test_render_block_because_not_dismissed -------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- DismissibleBlocksHelperTest: test_omit_block_because_dismissed -------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_model_unavailable ---------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_verify_block_name_added_to_html5_data_attributes ---------------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_not_array -----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_content_missing ------------------------------------------------------------------------- User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- DismissibleBlocksHelperTest: test_raise_exception_because_attribute_unavailable -------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_be_DismissibleBlocksController ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------- DismissibleBlocks::Controllers::HelpersTest: test_should_not_be_DismissibleBlocksController -------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ DismissibleBlocksControllerTest: test_dismiss_block_via_ajax ------------------------------------------------------------ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = ? LIMIT 1 [["username", "john"]]  (0.0ms) SAVEPOINT active_record_1 User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'john' AND "users"."id" != 980190962) LIMIT 1 SQL (0.2ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2014-12-22 18:08:39.187101"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms) User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]  (0.4ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- DismissibleBlocksControllerTest: test_dismiss_block_fails_via_ajax;_not_logged_in --------------------------------------------------------------------------------- Processing by DismissibleBlocksController#create as JSON Parameters: {"block"=>"lorem"} Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction