(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.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.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, '2015-02-26 17:00:16', '2015-02-26 17:00:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2015-02-26 17:00:16', '2015-02-26 17:00:16', 298486374)  (0.6ms) commit 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 2015-02-26 12:00:18 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (2.3ms) Completed 200 OK in 36ms (Views: 29.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css" for 127.0.0.1 at 2015-02-26 12:00:18 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-02-26 12:00:18 -0500 Started POST "/login" for 127.0.0.1 at 2015-02-26 12:00:18 -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:62057/landing Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2015-02-26 12:00:18 -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.4ms) Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.3ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2015-02-26 12:00:19 -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", "2015-02-26 17:00:19.054600"], ["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 0.1ms | ActiveRecord: 0.6ms) Started GET "/logout" for 127.0.0.1 at 2015-02-26 12:00:19 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62057/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2015-02-26 12:00:19 -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)  (1.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 2015-02-26 12:00:19 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.6ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2015-02-26 12:00:19 -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:62057/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2015-02-26 12:00:19 -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 2015-02-26 12:00:19 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62057/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2015-02-26 12:00:19 -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 --------------------------------------------------------------------------------------- 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_yields_name_to_the_content_block ------------------------------------------------------------------ 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_attribute_unavailable -------------------------------------------------------------------------------  (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_model_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_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_does_not_modify_data_attributes_that_already_have_values ------------------------------------------------------------------------------------------ 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.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.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", "2015-02-26 17:00:19.834843"], ["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.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.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.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.3ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2015-02-26 17:00:35', '2015-02-26 17:00:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2015-02-26 17:00:35', '2015-02-26 17:00:35', 298486374)  (0.6ms) 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", "2015-02-26 17:00:35.148541"], ["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.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------------------ DismissibleBlocksHelperTest: test_does_not_modify_data_attributes_that_already_have_values ------------------------------------------------------------------------------------------ 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.1ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksHelperTest: test_yields_name_to_the_content_block ------------------------------------------------------------------ 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.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_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 --------------------------------------------------------------------------------------- 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 ------------------------------------------------------------ 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"  (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.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.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.2ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('john', 'lorem', NULL, '2015-02-26 17:01:11', '2015-02-26 17:01:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("username", "password", "dismissed_blocks", "created_at", "updated_at", "id") VALUES ('mike', 'ipsum', '--- - lorem ', '2015-02-26 17:01:11', '2015-02-26 17:01:11', 298486374)  (1.6ms) commit 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.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_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_does_not_modify_data_attributes_that_already_have_values ------------------------------------------------------------------------------------------ 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.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 298486374]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------ DismissibleBlocksHelperTest: test_yields_name_to_the_content_block ------------------------------------------------------------------ User Load (0.0ms) 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.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", "2015-02-26 17:01:11.696473"], ["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  (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_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 2015-02-26 12:01:13 -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 2015-02-26 12:01:13 -0500 Started GET "/assets/application.js" for 127.0.0.1 at 2015-02-26 12:01:13 -0500 Started POST "/login" for 127.0.0.1 at 2015-02-26 12:01:13 -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:62278/landing Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/landing" for 127.0.0.1 at 2015-02-26 12:01: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.0ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.1ms) Started POST "/dismissible_blocks.json" for 127.0.0.1 at 2015-02-26 12:01: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.8ms) UPDATE "users" SET "dismissed_blocks" = ?, "updated_at" = ? WHERE "users"."id" = ? [["dismissed_blocks", "---\n- lorem\n"], ["updated_at", "2015-02-26 17:01:13.626497"], ["id", 980190962]]  (0.0ms) 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 2015-02-26 12:01:13 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62278/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2015-02-26 12:01:13 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.0ms) Completed 200 OK in 3ms (Views: 2.3ms | 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 2015-02-26 12:01:13 -0500 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (0.9ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST "/login" for 127.0.0.1 at 2015-02-26 12:01:14 -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:62278/landing Completed 302 Found in 1ms (ActiveRecord: 0.1ms) Started GET "/landing" for 127.0.0.1 at 2015-02-26 12:01:14 -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.7ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.1ms) Started GET "/logout" for 127.0.0.1 at 2015-02-26 12:01:14 -0500 Processing by SessionsController#destroy as HTML Redirected to http://127.0.0.1:62278/login Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/login" for 127.0.0.1 at 2015-02-26 12:01:14 -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.1ms) rollback transaction