[1m[36m (2.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m [1m[35m (0.1ms)[0m select sqlite_version(*) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DeviseTokenAuthCreateUsers (20140715061447) [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "reset_password_redirect_url" varchar(255), "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "confirmation_token" varchar(255), "confirmed_at" datetime, "confirmation_sent_at" datetime, "confirm_success_url" varchar(255), "unconfirmed_email" varchar(255), "name" varchar(255), "nickname" varchar(255), "image" varchar(255), "provider" varchar(255), "uid" varchar(255) DEFAULT '' NOT NULL, "tokens" text, "created_at" datetime, "updated_at" datetime) [1m[36m (0.1ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m [1m[35m (0.1ms)[0m SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' [1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_uid" ON "users" ("uid")[0m [1m[35m (0.1ms)[0m SELECT sql FROM sqlite_master WHERE name='index_users_on_uid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_uid' AND type='index' [1m[36m (0.1ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' [0m [1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140715061447"]] [1m[35m (0.7ms)[0m commit transaction Migrating to DeviseTokenAuthCreateMangs (20140715061805) [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35m (0.3ms)[0m CREATE TABLE "mangs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "reset_password_redirect_url" varchar(255), "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "confirmation_token" varchar(255), "confirmed_at" datetime, "confirmation_sent_at" datetime, "confirm_success_url" varchar(255), "unconfirmed_email" varchar(255), "name" varchar(255), "nickname" varchar(255), "image" varchar(255), "provider" varchar(255), "uid" varchar(255) DEFAULT '' NOT NULL, "tokens" text, "created_at" datetime, "updated_at" datetime) [1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mangs_on_email" ON "mangs" ("email")[0m [1m[35m (0.1ms)[0m SELECT sql FROM sqlite_master WHERE name='index_mangs_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mangs_on_email' AND type='index' [1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_mangs_on_uid" ON "mangs" ("uid")[0m [1m[35m (0.1ms)[0m SELECT sql FROM sqlite_master WHERE name='index_mangs_on_uid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mangs_on_uid' AND type='index' [1m[36m (0.1ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_mangs_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mangs_on_email' AND type='index' [0m [1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_mangs_on_reset_password_token" ON "mangs" ("reset_password_token") [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140715061805"]] [1m[35m (0.6ms)[0m commit transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (0.1ms)[0m SELECT sql FROM sqlite_master WHERE name='index_mangs_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mangs_on_reset_password_token' AND type='index' [1m[36m (0.1ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_mangs_on_uid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mangs_on_uid' AND type='index' [0m [1m[35m (0.1ms)[0m SELECT sql FROM sqlite_master WHERE name='index_mangs_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mangs_on_email' AND type='index' [1m[36m (0.1ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index' [0m [1m[35m (0.1ms)[0m SELECT sql FROM sqlite_master WHERE name='index_users_on_uid' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_uid' AND type='index' [1m[36m (0.1ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' [0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('garnet.hirthe@schiller.net', 'garnet.hirthe@schiller.net', 'email', '2014-07-28 01:08:32', '2014-07-28 01:08:32', '2014-07-28 01:08:32', 'http://bechtelar.info/abel_heaney', '$2a$04$fsTk.Vwx2/vaN0auObpdbus8p9jR3sO1AAUbLPkKs0sG3sD11brLi', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('4685436073', 'chad_mitchell@beattyharris.net', 'facebook', '2014-07-28 01:08:32', '2014-07-28 01:08:32', '2014-07-28 01:08:32', '$2a$04$jFQ2IUixX6i1tCrt1LwNe.t8M/Lfg8XTFDwkuYPcppsEKfHZtdLiW', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('hermann@shields.biz', 'hermann@shields.biz', 'email', 'http://bogan.biz/jedidiah', '2014-07-28 01:08:32', '2014-07-28 01:08:32', '$2a$04$oVkHyCSz2eqplv7SOUQ0feOcmyq.chqouO6blMR/TT7Kv7HpiVBaq', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('abe_kertzmann@vonrueden.name', 'abe_kertzmann@vonrueden.name', 'email', '2014-07-28 01:08:33', '2014-07-28 01:08:33', '2014-07-28 01:08:33', 'http://connschuppe.name/mina', '$2a$04$M3dFR2wiBDQW5JLpIfG19OOBVcII8eNdFpYb5A92I1TnqYMIgAUiu', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('7787769757', 'kristy_weimann@waelchi.com', 'facebook', '2014-07-28 01:08:33', '2014-07-28 01:08:33', '2014-07-28 01:08:33', '$2a$04$VaHmel8yWITJ3QzMXmnx9ekgE0CMAenis0io2QJvWqLeXrHBf0aka', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('cathrine@swiftgerhold.biz', 'cathrine@swiftgerhold.biz', 'email', 'http://koelpin.info/jamel_kautzer', '2014-07-28 01:08:33', '2014-07-28 01:08:33', '$2a$04$CqCgyed2z3Au54royz6/He95RAMxq4QyocGdwZCox8hy2MWkM7i9C', 701484147)[0m [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0001_should allow both requests through --------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 06:08:33.228084"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:33.230586"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"VAMPQ-rm8OMRHYmNlBcNXg\":{\"token\":\"$2a$10$f2GpUS1qHwMrNYzxmJARw.Z7UI.km9oenu.rS3dXeJJLBBjCl8S7O\",\"expiry\":1408946913,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:33 -0500\"}}"], ["updated_at", "2014-08-11 06:08:33.291601"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0002_should return the same auth headers for both requests ---------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 06:08:33.320671"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:33.321177"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"yFdBwcje430IKo4pabNt-A\":{\"token\":\"$2a$10$pGgZDqlw3/DteCjs3JJxGOtXSD3apHX6PFEhHlwsFIst2Z6jajuti\",\"expiry\":1408946913,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:33 -0500\"}}"], ["updated_at", "2014-08-11 06:08:33.385432"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------ DeviseTokenAuth::PasswordsController::Alternate user class: test_response_should_return_success_status ------------------------------------------------------------------------------------------------------ [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"garnet.hirthe@schiller.net", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'garnet.hirthe@schiller.net' AND "mangs"."provider" = 'email' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "mangs" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:33.400445"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'garnet.hirthe@schiller.net' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = '96c8fb6330a5b0ad857d65c85d099e7867862ec4dfd6e1b38e5f0c29434da6c5' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.3ms)[0m UPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 06:08:33.616894"], ["reset_password_token", "96c8fb6330a5b0ad857d65c85d099e7867862ec4dfd6e1b38e5f0c29434da6c5"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:33.617177"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 23.9ms Sent mail to garnet.hirthe@schiller.net (9.8ms) Date: Mon, 11 Aug 2014 01:08:33 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: garnet.hirthe@schiller.net Message-ID: <53e85de19f201_50b93fe761465be479e@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Hello garnet.hirthe@schiller.net!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 264ms (Views: 0.2ms | ActiveRecord: 1.1ms) [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Alternate user class: test_the_email_body_should_contain_a_link_with_reset_token_as_a_query_param --------------------------------------------------------------------------------------------------------------------------------------- [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"garnet.hirthe@schiller.net", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'garnet.hirthe@schiller.net' AND "mangs"."provider" = 'email' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:33.664276"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'garnet.hirthe@schiller.net' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = 'ba5456ec2d324d2699dd546312624d5be73838bfe6f2666b91c08882ea70b7ce' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 06:08:33.666079"], ["reset_password_token", "ba5456ec2d324d2699dd546312624d5be73838bfe6f2666b91c08882ea70b7ce"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:33.666237"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 7.0ms Sent mail to garnet.hirthe@schiller.net (5.6ms) Date: Mon, 11 Aug 2014 01:08:33 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: garnet.hirthe@schiller.net Message-ID: <53e85de1a4d3a_50b93fe761465be48097@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello garnet.hirthe@schiller.net!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = 'ba5456ec2d324d2699dd546312624d5be73838bfe6f2666b91c08882ea70b7ce' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:33.682331"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::change password::password mismatch error: test_response_should_fail ------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"BVUv0P1Nv7dNkmdXpeYTAg\":{\"token\":\"$2a$10$H50uqh.SJRFwrh84K3jCOes32QIAljr3Xh2TD4IhwUrOUgMm6gixG\",\"expiry\":1408946913,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:33 -0500\"}}"], ["updated_at", "2014-08-11 06:08:33.746177"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DeviseTokenAuth::PasswordsController#update as JS Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"} Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------- default user model::from api to provider: test_request_should_determine_the_correct_resource_class -------------------------------------------------------------------------------------------------- Started GET "/auth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 01:08:33 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-08-11 01:08:33 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 01:08:33 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '123545' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmed_at", "2014-08-11 06:08:33.852211"], ["created_at", "2014-08-11 06:08:33.852884"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$hsIGIS8ppl9Jdt.p8nc7yOdxOINK6xfRSzOwQC7AdkF7wU/JFfy6e"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"1Vh42Fn2o53XwzrtjH9QKg\":{\"token\":\"$2a$10$UNbljgnoKYH.qZhSjs6pgOMiROen8HaqD9acUzPTxvQZszE2tux1K\",\"expiry\":1408946913}}"], ["uid", "123545"], ["updated_at", "2014-08-11 06:08:33.852884"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 69ms (Views: 2.9ms | ActiveRecord: 0.7ms) [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------- default user model::from api to provider: test_request_should_pass_correct_redirect_url --------------------------------------------------------------------------------------- Started GET "/auth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 01:08:33 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-08-11 01:08:33 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 01:08:33 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '123545' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmed_at", "2014-08-11 06:08:33.929263"], ["created_at", "2014-08-11 06:08:33.929789"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$jvErYi4KhpFGntvhssw0yOlMQfWceUHuUIzCRz/K7gc06waiGfIgS"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"81_YSGne22CYdhu4zBt6_w\":{\"token\":\"$2a$10$gQoGUB4Msb1.OTPgDRLX4eP.unR4jA1Sns0HqyECqSVuhMRfrCAA6\",\"expiry\":1408946913}}"], ["uid", "123545"], ["updated_at", "2014-08-11 06:08:33.929789"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 65ms (Views: 0.5ms | ActiveRecord: 0.5ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------- default user model::from api to provider: test_status_should_be_success ----------------------------------------------------------------------- Started GET "/auth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 01:08:33 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-08-11 01:08:33 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 01:08:33 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '123545' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmed_at", "2014-08-11 06:08:34.002474"], ["created_at", "2014-08-11 06:08:34.003005"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$oPlFRW0fWOb/0olsgfLut.4JLwl1G.2dgdhhcpl2FHgVnjYvD0N5a"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"q0oOXwAlKxlvABRoWe54GA\":{\"token\":\"$2a$10$EJWiqU7NLX54b7ePB4gGAuERDl2qJUnDjimbl2AE2QztPgzObnbs6\",\"expiry\":1408946914}}"], ["uid", "123545"], ["updated_at", "2014-08-11 06:08:34.003005"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 65ms (Views: 0.5ms | ActiveRecord: 0.5ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------- default user model::from api to provider: test_user_should_be_assigned_info_from_provider ----------------------------------------------------------------------------------------- Started GET "/auth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 01:08:34 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-08-11 01:08:34 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 01:08:34 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '123545' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmed_at", "2014-08-11 06:08:34.076204"], ["created_at", "2014-08-11 06:08:34.076751"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$gI6njFBoynkj7pBC0YuqWeLa9IKBsjVV8Mc6AcoSgkkdQvZj5T6/."], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"Oeif_8subBcOf7AE4OqG-A\":{\"token\":\"$2a$10$EnEHGqA2PkxT9rZrOSb3kOP6KizmPKbIyGkW8JoM6VqfyO9yE4H0y\",\"expiry\":1408946914}}"], ["uid", "123545"], ["updated_at", "2014-08-11 06:08:34.076751"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 65ms (Views: 0.5ms | ActiveRecord: 0.6ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------- default user model::from api to provider: test_user_should_be_of_the_correct_class ---------------------------------------------------------------------------------- Started GET "/auth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 01:08:34 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-08-11 01:08:34 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 01:08:34 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '123545' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmed_at", "2014-08-11 06:08:34.148391"], ["created_at", "2014-08-11 06:08:34.148943"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$s1746t0jvJY00ZYrRCDLoe4/JdOoQYoRcMaHG8ldwjt6IGFL4I4y6"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"RYN4v1iKfpGZLqv4RMhbTg\":{\"token\":\"$2a$10$6FoBin/EFo9d1ukF8LdJGOKLBjmS9i8bv./VTVq8lhgbiNpwGk0r6\",\"expiry\":1408946914}}"], ["uid", "123545"], ["updated_at", "2014-08-11 06:08:34.148943"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 64ms (Views: 0.4ms | ActiveRecord: 0.6ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------- default user model::from api to provider: test_user_should_have_been_created ---------------------------------------------------------------------------- Started GET "/auth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 01:08:34 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-08-11 01:08:34 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 01:08:34 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '123545' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmed_at", "2014-08-11 06:08:34.219721"], ["created_at", "2014-08-11 06:08:34.220246"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$zyF/M4rwWZpctmOxWYSsEuL65wc2uS/IlvZ6iDZn2La0sgN3ldvyy"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"EzWe06wPTyc4NNnfJZMCJg\":{\"token\":\"$2a$10$PYi8XxijPSYl1jffANlaxeVK77TTcxOixmDvmGxxFIYwV7gvvfUHy\",\"expiry\":1408946914}}"], ["uid", "123545"], ["updated_at", "2014-08-11 06:08:34.220246"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 64ms (Views: 0.6ms | ActiveRecord: 0.6ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Confirmed user::success: test_request_should_return_user_data -------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 06:08:34.226280"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.226744"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "password"=>"[FILTERED]"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"GaFSe-FgsKVqKJPa5KoYhQ\":{\"token\":\"$2a$10$LTt5ou54CQNRZycNgfd6MepeJOvLAvQIFsoiHr9euAHIikX24BN1u\",\"expiry\":1408946914}}"], ["updated_at", "2014-08-11 06:08:34.293468"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"GaFSe-FgsKVqKJPa5KoYhQ\":{\"token\":\"$2a$10$VKMXcwrngUizWxMemWZ2XuIOR9gVqKSt6ipTlE.STRilvecdxo9/S\",\"expiry\":1408946914,\"last_token\":\"$2a$10$LTt5ou54CQNRZycNgfd6MepeJOvLAvQIFsoiHr9euAHIikX24BN1u\",\"updated_at\":\"2014-08-11 01:08:34 -0500\"}}"], ["updated_at", "2014-08-11 06:08:34.354825"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 125ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Confirmed user::success: test_request_should_succeed ----------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 06:08:34.358943"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.359356"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "password"=>"[FILTERED]"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"b-oWo4iFUnawuv0E0F1OXw\":{\"token\":\"$2a$10$TpOPgl8Bb5X5x9nKFlcnS.EN3Cdz15BOfh2uQAr7ao3caFKwRp3AW\",\"expiry\":1408946914}}"], ["updated_at", "2014-08-11 06:08:34.424246"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"b-oWo4iFUnawuv0E0F1OXw\":{\"token\":\"$2a$10$GAqmaNlzuDGPiLZyfc31cO5fnnv/p7SF8YLw7p22nPQv.Y.2YTMBa\",\"expiry\":1408946914,\"last_token\":\"$2a$10$TpOPgl8Bb5X5x9nKFlcnS.EN3Cdz15BOfh2uQAr7ao3caFKwRp3AW\",\"updated_at\":\"2014-08-11 01:08:34 -0500\"}}"], ["updated_at", "2014-08-11 06:08:34.488845"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 128ms (Views: 1.6ms | ActiveRecord: 0.9ms) [1m[35m (1.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_action_should_save_password_reset_redirect_url_to_user_table ----------------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.497612"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '540b0a664dd38d153b5c5b220117da077cab2d44855655e5354a7e355f0b30ff' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 06:08:34.506587"], ["reset_password_token", "540b0a664dd38d153b5c5b220117da077cab2d44855655e5354a7e355f0b30ff"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.506832"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 7.6ms Sent mail to abe_kertzmann@vonrueden.name (5.8ms) Date: Mon, 11 Aug 2014 01:08:34 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: abe_kertzmann@vonrueden.name Message-ID: <53e85de27e2c9_50b93fe761465be48146@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello abe_kertzmann@vonrueden.name!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 26ms (Views: 0.2ms | ActiveRecord: 1.0ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_action_should_send_an_email -------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.527187"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' ORDER BY "users"."id" ASC LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'd928c87e6887653a2ef3baef70a46361a1029ffe947e0d163780512d62f3cd4b' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 06:08:34.528983"], ["reset_password_token", "d928c87e6887653a2ef3baef70a46361a1029ffe947e0d163780512d62f3cd4b"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.529149"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 6.6ms Sent mail to abe_kertzmann@vonrueden.name (5.8ms) Date: Mon, 11 Aug 2014 01:08:34 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: abe_kertzmann@vonrueden.name Message-ID: <53e85de28341e_50b93fe761465be482f0@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello abe_kertzmann@vonrueden.name!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 17ms (Views: 0.1ms | ActiveRecord: 0.9ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------ DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_response_should_return_success_status ------------------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.548143"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '586613eeb1a52b379497a167aea2c5f73b72ddf51e744b545f48833c9477d53e' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 06:08:34.549958"], ["reset_password_token", "586613eeb1a52b379497a167aea2c5f73b72ddf51e744b545f48833c9477d53e"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.550142"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 6.9ms Sent mail to abe_kertzmann@vonrueden.name (5.4ms) Date: Mon, 11 Aug 2014 01:08:34 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: abe_kertzmann@vonrueden.name Message-ID: <53e85de288747_50b93fe761465be48372@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello abe_kertzmann@vonrueden.name!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_body_should_contain_a_link_with_redirect_url_as_a_query_param ---------------------------------------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.570284"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' ORDER BY "users"."id" ASC LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'd90bfb707984c6b64a1de458bed607614ed982ef81693f8040afce1d2c431f58' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 06:08:34.572520"], ["reset_password_token", "d90bfb707984c6b64a1de458bed607614ed982ef81693f8040afce1d2c431f58"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.572754"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 7.0ms Sent mail to abe_kertzmann@vonrueden.name (5.4ms) Date: Mon, 11 Aug 2014 01:08:34 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: abe_kertzmann@vonrueden.name Message-ID: <53e85de28e0f7_50b93fe761465be484f6@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello abe_kertzmann@vonrueden.name!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 1.0ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_body_should_contain_a_link_with_reset_token_as_a_query_param --------------------------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.592650"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '78eafba1e5c28d066a4324867113a5366ea2c2fdcc03f5232d01942c6fe9794c' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 06:08:34.594468"], ["reset_password_token", "78eafba1e5c28d066a4324867113a5366ea2c2fdcc03f5232d01942c6fe9794c"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.594659"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 7.0ms Sent mail to abe_kertzmann@vonrueden.name (5.5ms) Date: Mon, 11 Aug 2014 01:08:34 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: abe_kertzmann@vonrueden.name Message-ID: <53e85de2935bc_50b93fe761465be4851a@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello abe_kertzmann@vonrueden.name!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 18ms (Views: 0.1ms | ActiveRecord: 0.9ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '78eafba1e5c28d066a4324867113a5366ea2c2fdcc03f5232d01942c6fe9794c' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.610688"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_should_be_addressed_to_the_user ---------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.615592"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' ORDER BY "users"."id" ASC LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '67c47763321dcc9f023651e2f19e79cbbffbff31c7aa110e93da8ccb3666346a' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 06:08:34.617306"], ["reset_password_token", "67c47763321dcc9f023651e2f19e79cbbffbff31c7aa110e93da8ccb3666346a"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.617467"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 7.5ms Sent mail to abe_kertzmann@vonrueden.name (5.7ms) Date: Mon, 11 Aug 2014 01:08:34 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: abe_kertzmann@vonrueden.name Message-ID: <53e85de29909c_50b93fe761465be48696@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello abe_kertzmann@vonrueden.name!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------- routes: test_route_method_is_appended_to_routes_file ---------------------------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------- routes: test_subsequent_runs_do_not_modify_file ----------------------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------ existing user model: test_subsequent_runs_do_not_modify_file ------------------------------------------------------------ [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------- existing user model: test_user_concern_is_injected_into_existing_model ---------------------------------------------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Confirmed user::failure: test_request_should_fail -------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 06:08:34.678963"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.679448"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "password"=>"[FILTERED]"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' LIMIT 1 Completed 401 Unauthorized in 2ms (Views: 0.1ms | ActiveRecord: 0.1ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Confirmed user::failure: test_response_should_contain_errors ------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 06:08:34.685349"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.685750"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "password"=>"[FILTERED]"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' LIMIT 1[0m Completed 401 Unauthorized in 2ms (Views: 0.1ms | ActiveRecord: 0.1ms) [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_new_user_data_should_be_returned_as_json ---------------------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fcec9555678@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 197ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[36m (1.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_new_user_password_should_not_be_returned ---------------------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fcec9287518@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 0.5ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------ DeviseTokenAuth::RegistrationsController::Successful registration: test_new_user_should_receive_confirmation_email ------------------------------------------------------------------------------------------------------------------ Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fcec90416c8@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_request_should_be_successful ---------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fcec2da6e28@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_user_should_have_been_created ----------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fcec2a06840@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_user_should_not_be_confirmed ---------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fcec71b4958@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Confirmation::success: test_should_redirect_to_success_url ---------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 701484147]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '99cfbb05796397b98f4429e22f427f0d1881ed5c8daae03da0327524b0d861ba' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `confirmation_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_sent_at", "2014-08-11 06:08:34.997485"], ["confirmation_token", "99cfbb05796397b98f4429e22f427f0d1881ed5c8daae03da0327524b0d861ba"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:34.997736"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#confirmation_instructions: processed outbound mail in 6.3ms Sent mail to cathrine@swiftgerhold.biz (5.5ms) Date: Mon, 11 Aug 2014 01:08:35 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: cathrine@swiftgerhold.biz Message-ID: <53e85de3176a_50b93fe761465be49371@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome cathrine@swiftgerhold.biz!
You can confirm your account email through the link below:
Processing by DeviseTokenAuth::ConfirmationsController#show as JS Parameters: {"confirmation_token"=>"E1n2c3gqySKsikxPR96b"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '99cfbb05796397b98f4429e22f427f0d1881ed5c8daae03da0327524b0d861ba' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_token", nil], ["confirmed_at", "2014-08-11 06:08:35.013416"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.013636"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147 [["confirmation_token", "E1n2c3gqySKsikxPR96b"], ["tokens", "{\"uztpjZCzdqG9qcxcS6dZjg\":{\"token\":\"$2a$10$r/msWxPp34tLnolQ/mg7Cu/EKzE2mPYb/mVnH/B4tehKtOINN0iMK\",\"expiry\":1408946915}}"], ["updated_at", "2014-08-11 06:08:35.074508"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://koelpin.info/jamel_kautzer?account_confirmation_success=true&client_id=uztpjZCzdqG9qcxcS6dZjg&expiry=1408946915&token=k6VVyEcanN_R_oZyYFzIzA&uid=cathrine%40swiftgerhold.biz Completed 302 Found in 63ms (ActiveRecord: 0.7ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Confirmation::success: test_user_should_now_be_confirmed -------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 701484147]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'a322ad4ef3055d9fddce0e333d2075d3ea88da42d93ba0f58f7ce283ee2901be' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `confirmation_token` [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_sent_at", "2014-08-11 06:08:35.078567"], ["confirmation_token", "a322ad4ef3055d9fddce0e333d2075d3ea88da42d93ba0f58f7ce283ee2901be"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.078764"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#confirmation_instructions: processed outbound mail in 6.4ms Sent mail to cathrine@swiftgerhold.biz (5.4ms) Date: Mon, 11 Aug 2014 01:08:35 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: cathrine@swiftgerhold.biz Message-ID: <53e85de315398_50b93fe761465be494f3@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome cathrine@swiftgerhold.biz!
You can confirm your account email through the link below:
Processing by DeviseTokenAuth::ConfirmationsController#show as JS Parameters: {"confirmation_token"=>"xhJSGnjvuiNYxJxkLieG"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'a322ad4ef3055d9fddce0e333d2075d3ea88da42d93ba0f58f7ce283ee2901be' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_token", nil], ["confirmed_at", "2014-08-11 06:08:35.093498"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.093701"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147 [["confirmation_token", "xhJSGnjvuiNYxJxkLieG"], ["tokens", "{\"15FQSAlcUMeOEffdMYCpRg\":{\"token\":\"$2a$10$CmMbIfyIt5zFaJrCKsgGTOJwnkjFzFoLc9VMyVgzOF/4KBdSB4ljS\",\"expiry\":1408946915}}"], ["updated_at", "2014-08-11 06:08:35.155070"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://koelpin.info/jamel_kautzer?account_confirmation_success=true&client_id=15FQSAlcUMeOEffdMYCpRg&expiry=1408946915&token=YU5oOgug3ycmepPRdyv7Ag&uid=cathrine%40swiftgerhold.biz Completed 302 Found in 64ms (ActiveRecord: 0.6ms) [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------------------------------ DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link failure: test_request_should_not_be_authorized ------------------------------------------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.163734"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'b136b36707acdf53213a6822c64baf6fc4efaea057c532783a7e3cbb1ccf7e8d' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 06:08:35.165855"], ["reset_password_token", "b136b36707acdf53213a6822c64baf6fc4efaea057c532783a7e3cbb1ccf7e8d"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.166053"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 7.0ms Sent mail to abe_kertzmann@vonrueden.name (5.7ms) Date: Mon, 11 Aug 2014 01:08:35 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: abe_kertzmann@vonrueden.name Message-ID: <53e85de32abc1_50b93fe761465be495fb@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello abe_kertzmann@vonrueden.name!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 1.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#edit as JS Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '40181768d23216b4143018d5d1a3b53727d1bf806790e5d489878ce189c9da30' ORDER BY "users"."id" ASC LIMIT 1[0m Completed 404 Not Found in 2ms [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Confirmation: test_should_generate_raw_token -------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 701484147]] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'be9a09d5859f818faebca48ab2c7236c9c1ca893ae1c17ca9e215e564759f26a' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `confirmation_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_sent_at", "2014-08-11 06:08:35.188084"], ["confirmation_token", "be9a09d5859f818faebca48ab2c7236c9c1ca893ae1c17ca9e215e564759f26a"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.188321"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#confirmation_instructions: processed outbound mail in 7.0ms Sent mail to cathrine@swiftgerhold.biz (5.4ms) Date: Mon, 11 Aug 2014 01:08:35 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: cathrine@swiftgerhold.biz Message-ID: <53e85de3302bd_50b93fe761465be496f8@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome cathrine@swiftgerhold.biz!
You can confirm your account email through the link below:
[1m[36m (33.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Confirmation: test_should_store_token_hash_in_user -------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 701484147]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '2aafde10e548467dba5e4e2a51f343cd26ab2f3a3141fad3eb99e3173d79d828' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `confirmation_token` [1m[35mSQL (13.4ms)[0m UPDATE "users" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147 [["confirmation_sent_at", "2014-08-11 06:08:35.237494"], ["confirmation_token", "2aafde10e548467dba5e4e2a51f343cd26ab2f3a3141fad3eb99e3173d79d828"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.237698"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#confirmation_instructions: processed outbound mail in 6.6ms Sent mail to cathrine@swiftgerhold.biz (6.8ms) Date: Mon, 11 Aug 2014 01:08:35 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: cathrine@swiftgerhold.biz Message-ID: <53e85de33f584_50b93fe761465be497ba@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome cathrine@swiftgerhold.biz!
You can confirm your account email through the link below:
[1m[35m (34.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------------------------------------------ DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link success: test_respones_should_have_success_redirect_status ------------------------------------------------------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (12.3ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.305030"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'd6b98dbf2f0dea9424821a4a08942c9c52ed636206ffd7d1b686c561c352ac08' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (26.7ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 06:08:35.319862"], ["reset_password_token", "d6b98dbf2f0dea9424821a4a08942c9c52ed636206ffd7d1b686c561c352ac08"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.320158"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 6.8ms Sent mail to abe_kertzmann@vonrueden.name (11.2ms) Date: Mon, 11 Aug 2014 01:08:35 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: abe_kertzmann@vonrueden.name Message-ID: <53e85de356e52_50b93fe761465be4988c@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello abe_kertzmann@vonrueden.name!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 63ms (Views: 0.2ms | ActiveRecord: 39.7ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#edit as JS Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'd6b98dbf2f0dea9424821a4a08942c9c52ed636206ffd7d1b686c561c352ac08' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (4.4ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.369494"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_token", "_rtBas3GSnRaJG5DJrie"], ["tokens", "{\"iGOXGiMSGQ-NLZQof8x63w\":{\"token\":\"$2a$10$viUcB1YaOu7uqSgv4fFsMO75vOyPkkedHgl46njRxTjfnoh4rZVhe\",\"expiry\":1408946915}}"], ["updated_at", "2014-08-11 06:08:35.434400"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://ng-token-auth.dev?client_id=iGOXGiMSGQ-NLZQof8x63w&expiry=1408946915&reset_password=true&token=fFgyIOIUw8XiUd7dptozTQ&uid=abe_kertzmann%40vonrueden.name Completed 302 Found in 67ms (Views: 0.2ms | ActiveRecord: 44.5ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link success: test_response_auth_params_should_be_valid ---------------------------------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.441668"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' ORDER BY "users"."id" ASC LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '4fd1769c6e79d5888ec647d494b49be2d17a2cae253899bca6cf5e64c30cb43d' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 06:08:35.443839"], ["reset_password_token", "4fd1769c6e79d5888ec647d494b49be2d17a2cae253899bca6cf5e64c30cb43d"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.444058"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 6.7ms Sent mail to abe_kertzmann@vonrueden.name (5.4ms) Date: Mon, 11 Aug 2014 01:08:35 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: abe_kertzmann@vonrueden.name Message-ID: <53e85de36e8c8_50b93fe761465be4999f@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello abe_kertzmann@vonrueden.name!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 18ms (Views: 0.1ms | ActiveRecord: 1.0ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#edit as JS Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '4fd1769c6e79d5888ec647d494b49be2d17a2cae253899bca6cf5e64c30cb43d' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.460305"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_token", "FuvE8dpMMyTe5uAP-Qgw"], ["tokens", "{\"9KwWXI5m7xzJ6Iaf0bbPDQ\":{\"token\":\"$2a$10$pyBC4fzDpka6S1wWylWFY.HjXbjvp2gnoAz1nkkw4whIJd0Ecuh2C\",\"expiry\":1408946915}}"], ["updated_at", "2014-08-11 06:08:35.520775"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://ng-token-auth.dev?client_id=9KwWXI5m7xzJ6Iaf0bbPDQ&expiry=1408946915&reset_password=true&token=Ss_tCZVlHvppKm3ddRN2BA&uid=abe_kertzmann%40vonrueden.name Completed 302 Found in 63ms (Views: 0.1ms | ActiveRecord: 1.4ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link success: test_response_should_contain_auth_params --------------------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.585153"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'abe_kertzmann@vonrueden.name' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'e04014e7f7afd63f80afb98d374aa0531c129e5797633d66a5ff3c1bb65514e0' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 06:08:35.586760"], ["reset_password_token", "e04014e7f7afd63f80afb98d374aa0531c129e5797633d66a5ff3c1bb65514e0"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.586937"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 6.3ms Sent mail to abe_kertzmann@vonrueden.name (5.7ms) Date: Mon, 11 Aug 2014 01:08:35 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: abe_kertzmann@vonrueden.name Message-ID: <53e85de391434_50b93fe761465be4100d3@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello abe_kertzmann@vonrueden.name!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#edit as JS Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'e04014e7f7afd63f80afb98d374aa0531c129e5797633d66a5ff3c1bb65514e0' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.602895"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_token", "aftTaHTmqrz-fxHdibQL"], ["tokens", "{\"pmTVKKUcZLcy_rGu2iVJGA\":{\"token\":\"$2a$10$5pMerX670xH81oxL56mAYeRjUa2WCM86kECxY6Y6ExYhKrAaDTPU6\",\"expiry\":1408946915}}"], ["updated_at", "2014-08-11 06:08:35.664205"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://ng-token-auth.dev?client_id=pmTVKKUcZLcy_rGu2iVJGA&expiry=1408946915&reset_password=true&token=qhXSDOrJIfrndHCGTLu5BA&uid=abe_kertzmann%40vonrueden.name Completed 302 Found in 64ms (Views: 0.2ms | ActiveRecord: 1.2ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0001_should allow the first request through -------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 06:08:35.669024"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.669465"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"0t7vyTxAwSrGj3HBP-oyvw\":{\"token\":\"$2a$10$dLwSAF0o8cixHhFC2n11geTj.E9zrRR8DZ5kUDt4WXYze6kd2lLMC\",\"expiry\":1408946915,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:35 -0500\"}}"], ["updated_at", "2014-08-11 06:08:35.730971"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0002_should not allow the second request through ------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 06:08:35.734961"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.735420"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Z8TKwte6Y9gCojPJkU_3aw\":{\"token\":\"$2a$10$M5jYPgX29sTS/OuETb4rue4bnCgd4qf2lave9fKjhTzMKSfDWBTm2\",\"expiry\":1408946915,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:35 -0500\"}}"], ["updated_at", "2014-08-11 06:08:35.797907"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0003_should return auth headers from the first request ------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 06:08:35.866324"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.866802"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"kmSueYaWyz_YwUPRX2UzzA\":{\"token\":\"$2a$10$um2gevooeFeXpkTDAxo3m.1tuG6Uh2Kaeq9P4zHc2lLBGkFTir17q\",\"expiry\":1408946915,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:35 -0500\"}}"], ["updated_at", "2014-08-11 06:08:35.929539"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::batch requests::time out: test_0004_should not return auth headers from the second request ------------------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 06:08:35.998769"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:35.999287"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"eq8DZAwchh1Yr93AFFiohQ\":{\"token\":\"$2a$10$GeOhYy497xho6Vyqcd2fv.0p8VaNAyel0eZGnV2Hd5qonb2AYWGuq\",\"expiry\":1408946916,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:36 -0500\"}}"], ["updated_at", "2014-08-11 06:08:36.061166"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0005_should define user during first request --------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 06:08:36.131896"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:36.132556"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"y7BacXak9ipIc5VjqPPpoQ\":{\"token\":\"$2a$10$zR0TuOLUYbzOxg6Na1Flxu4.YCgtV.DdspI1Eb0XUsjPfWmqXwdrm\",\"expiry\":1408946916,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:36 -0500\"}}"], ["updated_at", "2014-08-11 06:08:36.195688"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0006_should not define user during second request -------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 06:08:36.268061"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:36.268788"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"UI3zKaO9jypSxPh3zwtWcw\":{\"token\":\"$2a$10$wx6JoNVf5Mq3DYf6qKBde.kbpzHAOtx43m.1AAVoTaOFdLioex.xa\",\"expiry\":1408946916,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:36 -0500\"}}"], ["updated_at", "2014-08-11 06:08:36.332411"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Alternate user class: test_request_should_be_successful ------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fcec2cff830@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:144 (lambda)>!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Alternate user class: test_use_should_be_a_Mang ----------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fcec3ccca88@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:144 (lambda)>!
You can confirm your account email through the link below:
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------- default values, clean install: test_initializer_is_created ---------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------- default values, clean install: test_migration_is_created -------------------------------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------- default values, clean install: test_subsequent_runs_raise_no_errors ------------------------------------------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------ default values, clean install: test_user_model_is_created,_concern_is_included ------------------------------------------------------------------------------ [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Confirmation::failure: test_user_should_not_be_confirmed -------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 701484147]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '3967d4ad4dd37e99dacb30e1fbe9ee93c958efcfb215182e724351e22db1f39c' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `confirmation_token` [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147 [["confirmation_sent_at", "2014-08-11 06:08:36.549824"], ["confirmation_token", "3967d4ad4dd37e99dacb30e1fbe9ee93c958efcfb215182e724351e22db1f39c"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:36.550085"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#confirmation_instructions: processed outbound mail in 6.2ms Sent mail to cathrine@swiftgerhold.biz (6.2ms) Date: Mon, 11 Aug 2014 01:08:36 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: cathrine@swiftgerhold.biz Message-ID: <53e85de4884b5_50b93fe761465be410320@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome cathrine@swiftgerhold.biz!
You can confirm your account email through the link below:
Processing by DeviseTokenAuth::ConfirmationsController#show as JS Parameters: {"confirmation_token"=>"bogus"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'c328eea0e5166b1585e65cef50050f9fcdbe73bb35ca71dc734e8c9b05aaa260' ORDER BY "users"."id" ASC LIMIT 1 Completed 404 Not Found in 1ms [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Mismatched passwords: test_error_should_be_returned_in_the_response ------------------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome hermann@shields.biz!
You can confirm your account email through the link below:
Processing by DeviseTokenAuth::ConfirmationsController#show as JS Parameters: {"confirmation_token"=>"Gynnbe5yoBy3xW_cn3eG"} [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."confirmation_token" = '93e69bfd0511b5ff9a3f6a579a953568a1106ce0719362a3806f307b0b1967fc' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "mangs" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 701484147[0m [["confirmation_token", nil], ["confirmed_at", "2014-08-11 06:08:37.025742"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:37.025924"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 701484147 [["confirmation_token", "Gynnbe5yoBy3xW_cn3eG"], ["tokens", "{\"2zKlAUIlirs1iQslEZKLqQ\":{\"token\":\"$2a$10$yXYP0tZXzmSGXJRdHt7dR.Vpa5sJHHT9kS245moH/wrNHGH3QgMii\",\"expiry\":1408946917}}"], ["updated_at", "2014-08-11 06:08:37.088226"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://bogan.biz/jedidiah?account_confirmation_success=true&client_id=2zKlAUIlirs1iQslEZKLqQ&expiry=1408946917&token=5DaTZjBqajCMYYborxzemg&uid=hermann%40shields.biz Completed 302 Found in 64ms (ActiveRecord: 0.7ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0001_should allow the first request through ---------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 06:08:37.092732"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:37.093171"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"yvYm8092KcvUf_HahOgKFA\":{\"token\":\"$2a$10$MeipiV8QtnTwHgGeF6uwneS/GCNDZCb/Wo8vZHbyD63vvEDOZKKmi\",\"expiry\":1408946917,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:37 -0500\"}}"], ["updated_at", "2014-08-11 06:08:37.154394"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0002_should allow the second request through ----------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 06:08:37.158433"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:37.158842"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"ElVAcr0brs4JCQTFXfafkQ\":{\"token\":\"$2a$10$xjPhYJXOX3YD5bUlbv2M5O.EDPn6PldZ79//13pBsSDPD2yk.PJPa\",\"expiry\":1408946917,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:37 -0500\"}}"], ["updated_at", "2014-08-11 06:08:37.220040"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0003_should return auth headers from the first request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 06:08:37.293280"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:37.293748"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"VtncMkmFOYOFB-Idi_ctYQ\":{\"token\":\"$2a$10$d2VtZbd13bFY/UNBbzwBc./jOt80EJMd2OMW8GW6vkR1Ipb89Dp4i\",\"expiry\":1408946917,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:37 -0500\"}}"], ["updated_at", "2014-08-11 06:08:37.355199"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0004_should return auth headers from the second request ---------------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 06:08:37.426234"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:37.426712"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"1A0t56sva1W8LJhXHFt6Cg\":{\"token\":\"$2a$10$FiLxjk1gGJIAy17AYJYcbecf73Hqw3S/u9BKks1fXgZueQVevkzP2\",\"expiry\":1408946917,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:37 -0500\"}}"], ["updated_at", "2014-08-11 06:08:37.488168"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0005_should define user during first request ----------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 06:08:37.563574"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:37.564300"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"yeth7yIsMmsZ7v58wvMP4g\":{\"token\":\"$2a$10$SkP4ENJC1LHUyJ4KnR9YCuhrHXnB5A3EZd7QHKM6yRTyORZzU.oVS\",\"expiry\":1408946917,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:37 -0500\"}}"], ["updated_at", "2014-08-11 06:08:37.629492"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::disable change_headers_on_each_request: test_0006_should define user during second request ------------------------------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 06:08:37.694732"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:37.695422"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"dugbs8K4TSVX9DGblsvALQ\":{\"token\":\"$2a$10$UwCiaC.Irw38RFCTXsE08uB8Iwpfy3XVALKDsfBe7D6VyFq6pgzSO\",\"expiry\":1408946917,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:37 -0500\"}}"], ["updated_at", "2014-08-11 06:08:37.759409"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------- User::email registration: test_model_should_not_save_if_confirm_success_url_is_not_provided ------------------------------------------------------------------------------------------- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."provider" = 'email' AND "users"."email" = 'hayley@wilkinson.org'[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------- User::email registration: test_model_should_not_save_if_email_is_blank ---------------------------------------------------------------------- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."provider" = 'email' AND "users"."email" IS NULL [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------- application controller: test_controller_concern_is_appended_to_application_controller ------------------------------------------------------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------- application controller: test_subsequent_runs_do_not_modify_file --------------------------------------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::succesive requests: test_0001_should not treat this request as a batch request -------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 06:08:37.856126"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:37.856585"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"L7CmPA0DlhPdLlhpOeYwcA\":{\"token\":\"$2a$10$AOxFqTMYvHBRM0J64/N0s.kQity89hezcZxAZQwVuO9.UBo3ZQFFy\",\"expiry\":1408946917,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:37 -0500\"}}"], ["updated_at", "2014-08-11 06:08:37.917369"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (1.2ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::succesive requests: test_0002_should allow a new request to be made using new token ------------------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 06:08:37.961524"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:37.962009"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"LsU8SQMkQJAuQK6YmuOeuQ\":{\"token\":\"$2a$10$rXn2gAKaa7gT0bkJckC8TOwmLOK.9sOdVMtQF7tAVVB//ESWh5hQi\",\"expiry\":1408946918,\"last_token\":null,\"updated_at\":\"2014-08-11 01:08:38 -0500\"}}"], ["updated_at", "2014-08-11 06:08:38.025791"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------- routes::subsequent models: test_devise_for_block_is_appended_to_routes_file --------------------------------------------------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------- routes::subsequent models: test_migration_is_created ---------------------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------- routes::subsequent models: test_route_method_is_appended_to_routes_file ----------------------------------------------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Alternate user model: test_should_generate_raw_token ---------------------------------------------------------------------------------------------- [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 701484147]] [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."confirmation_token" = '63892bfc8be3d1551c638cb99bf56cd5ba73f4a1901032301138d12d880665dc' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `confirmation_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 701484147[0m [["confirmation_sent_at", "2014-08-11 06:08:38.228531"], ["confirmation_token", "63892bfc8be3d1551c638cb99bf56cd5ba73f4a1901032301138d12d880665dc"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:38.228769"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#confirmation_instructions: processed outbound mail in 5.8ms Sent mail to hermann@shields.biz (5.3ms) Date: Mon, 11 Aug 2014 01:08:38 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: hermann@shields.biz Message-ID: <53e85de639b67_50b93fe761465be4105fc@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome hermann@shields.biz!
You can confirm your account email through the link below:
[1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Alternate user model: test_should_store_token_hash_in_user ---------------------------------------------------------------------------------------------------- [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1[0m [["id", 701484147]] [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."confirmation_token" = 'fcb226aa7e6f4912397553a21b0b9c8f3674870a6980fdb932740304713e833f' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `confirmation_token` [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 701484147 [["confirmation_sent_at", "2014-08-11 06:08:38.245091"], ["confirmation_token", "fcb226aa7e6f4912397553a21b0b9c8f3674870a6980fdb932740304713e833f"], ["tokens", "{}"], ["updated_at", "2014-08-11 06:08:38.245312"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#confirmation_instructions: processed outbound mail in 6.0ms Sent mail to hermann@shields.biz (5.2ms) Date: Mon, 11 Aug 2014 01:08:38 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: hermann@shields.biz Message-ID: <53e85de63dc78_50b93fe761465be41064d@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome hermann@shields.biz!
You can confirm your account email through the link below:
[1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Existing users: test_error_should_be_returned_in_the_response ------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"abe_kertzmann@vonrueden.name", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"#Welcome kristy_weimann@waelchi.com!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 0.6ms) [1m[35m (1.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Ouath user has existing email: test_request_should_be_successful ---------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 396948535]] Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"kristy_weimann@waelchi.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"#Welcome kristy_weimann@waelchi.com!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Ouath user has existing email: test_user_should_have_been_created ----------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 396948535]] Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"kristy_weimann@waelchi.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"#Welcome kristy_weimann@waelchi.com!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (1.4ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('onie@mclaughlin.info', 'onie@mclaughlin.info', 'email', '2014-07-28 11:01:00', '2014-07-28 11:01:00', '2014-07-28 11:01:00', 'http://homenickwalsh.info/zakary.harber', '$2a$04$wADUU7kssOHUGmnUvcl5Zu6sBSybmiUuuixg7mHXw/seAHSzegDl.', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('1761567929', 'rick.mills@windler.name', 'facebook', '2014-07-28 11:01:00', '2014-07-28 11:01:00', '2014-07-28 11:01:00', '$2a$04$AWMzDaB0rNA5Glwls5ZVqOZoKDsGlRiZZibor0t5t78Dfc7R0JTMK', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('earl@stiedemann.net', 'earl@stiedemann.net', 'email', 'http://purdy.biz/broderick', '2014-07-28 11:01:00', '2014-07-28 11:01:00', '$2a$04$PNnIx5344ayPfmOWvNgG0esaV3llOSbIBPztC2KHWa0RFNejgUcw6', 701484147)[0m [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('marina.cronin@jacobidietrich.biz', 'marina.cronin@jacobidietrich.biz', 'email', '2014-07-28 11:01:01', '2014-07-28 11:01:01', '2014-07-28 11:01:01', 'http://schroederbayer.org/westley.cronin', '$2a$04$agiWFjuyAbXnptbqslcTeOLdzoLA3.aH2qMnbnnvJ.qrEKONReELq', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('2681720777', 'darrel@hyattreichel.org', 'facebook', '2014-07-28 11:01:01', '2014-07-28 11:01:01', '2014-07-28 11:01:01', '$2a$04$4Q0iGR8ZC5a8hRGUFkbuVeTDTgHqJHby92F8OuuF8YsrRODfhLoju', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('karlee_stracke@berge.org', 'karlee_stracke@berge.org', 'email', 'http://stark.biz/stanton.boehm', '2014-07-28 11:01:01', '2014-07-28 11:01:01', '$2a$04$0mXAmV8rSxdIYZ1eu1lVx.XhBOGhHqcoXCX5Y4e6Vva47W93Omr5i', 701484147)[0m [1m[35m (0.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Confirmed user::success: test_request_should_return_user_data -------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:01:01.230937"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:01.234250"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "password"=>"[FILTERED]"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Qa-p5HLbQiXIWkFe79v04g\":{\"token\":\"$2a$10$CozrX668nbjEx7gyOOMzhOX9YwrCyLtDfCDnGzVSlPXIi/Tij7mIi\",\"expiry\":1408982461}}"], ["updated_at", "2014-08-11 16:01:01.331853"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Qa-p5HLbQiXIWkFe79v04g\":{\"token\":\"$2a$10$2xAHAnKIeNFgzKx.UJAmGOEtSL3BAAy.SC9QS1ia1gaPtVpYxOaCu\",\"expiry\":1408982461,\"last_token\":\"$2a$10$CozrX668nbjEx7gyOOMzhOX9YwrCyLtDfCDnGzVSlPXIi/Tij7mIi\",\"updated_at\":\"2014-08-11 11:01:01 -0500\"}}"], ["updated_at", "2014-08-11 16:01:01.395440"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 132ms (Views: 0.3ms | ActiveRecord: 1.1ms) [1m[36m (1.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Confirmed user::success: test_request_should_succeed ----------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:01:01.399206"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:01.399627"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "password"=>"[FILTERED]"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"EOy4HTLPTq6W06IDktayFA\":{\"token\":\"$2a$10$LoHR4r1Lug2kxdm0rYK0ueazfFY.XcCugXRp6JlZkCcIrEhg2pczS\",\"expiry\":1408982461}}"], ["updated_at", "2014-08-11 16:01:01.464310"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"EOy4HTLPTq6W06IDktayFA\":{\"token\":\"$2a$10$P5mWATvB90lzm96T73xDdeA0oBd4n3ZwihAXNqlrRWxTmIx3As9yi\",\"expiry\":1408982461,\"last_token\":\"$2a$10$LoHR4r1Lug2kxdm0rYK0ueazfFY.XcCugXRp6JlZkCcIrEhg2pczS\",\"updated_at\":\"2014-08-11 11:01:01 -0500\"}}"], ["updated_at", "2014-08-11 16:01:01.526174"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 126ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0001_should allow the first request through -------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:01:01.530831"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:01.531282"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"ou5w9v4Z7fn6TrCk7OAZCw\":{\"token\":\"$2a$10$IaKlbc/r..aEjsfgbqeedeERZD.DNH69tSTza7rv9Sj2rRJdKma0.\",\"expiry\":1408982461,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:01 -0500\"}}"], ["updated_at", "2014-08-11 16:01:01.593241"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0002_should not allow the second request through ------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:01:01.596904"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:01.597335"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"ID-TqIWJb15bdToxF9Zhgg\":{\"token\":\"$2a$10$T6JF3JqFlSTFPcc.lHtNh.vbv55B.GNaIVBrAP6U1rYLaDUIYzcDK\",\"expiry\":1408982461,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:01 -0500\"}}"], ["updated_at", "2014-08-11 16:01:01.658930"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0003_should return auth headers from the first request ------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:01:01.662483"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:01.662928"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"oeU8koP17KZT7fcsTUcmrw\":{\"token\":\"$2a$10$/a9jD6U0sQlU4rlRslF8GOOjyoJT3J5/VbtXFojujRwuI9uHCtRCK\",\"expiry\":1408982461,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:01 -0500\"}}"], ["updated_at", "2014-08-11 16:01:01.724508"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.2ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::batch requests::time out: test_0004_should not return auth headers from the second request ------------------------------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:01:01.728311"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:01.728764"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"ZabN6j2lH-xHXjswo1ZC4A\":{\"token\":\"$2a$10$Mpr7JGRhVhc.ORdtFmTaguXiw706HFoPdAxLAkGXfGvmvp2QMt1M.\",\"expiry\":1408982461,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:01 -0500\"}}"], ["updated_at", "2014-08-11 16:01:01.789841"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0005_should define user during first request --------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:01:01.793311"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:01.793759"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"DU2DTk4pvQI7TG41NBscXQ\":{\"token\":\"$2a$10$adscg1GRneAXcEelL5LmfOT2lslUXTso2I9MgycXxY2tmCCbXeG92\",\"expiry\":1408982461,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:01 -0500\"}}"], ["updated_at", "2014-08-11 16:01:01.854882"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0006_should not define user during second request -------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:01:01.858422"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:01.858887"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"D7hedu9UToVgOnlTPSxFZw\":{\"token\":\"$2a$10$IeFIK10/ux6uL3dzQPkNW.mJ8916D5wARkfRRiCDwkdaecr5epM5m\",\"expiry\":1408982461,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:01 -0500\"}}"], ["updated_at", "2014-08-11 16:01:01.919758"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Confirmed user::failure: test_request_should_fail -------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:01:01.923999"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:01.924432"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "password"=>"[FILTERED]"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' LIMIT 1 Completed 401 Unauthorized in 2ms (Views: 0.1ms | ActiveRecord: 0.1ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Confirmed user::failure: test_response_should_contain_errors ------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:01:01.930122"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:01.930491"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "password"=>"[FILTERED]"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' LIMIT 1[0m Completed 401 Unauthorized in 2ms (Views: 0.1ms | ActiveRecord: 0.1ms) [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------------------------------------------ DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link success: test_respones_should_have_success_redirect_status ------------------------------------------------------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:01.940426"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '5a081b1f0db86720fcf5530859759a0d828ece14ba798524e20b233d6b1e521c' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 16:01:02.128594"], ["reset_password_token", "5a081b1f0db86720fcf5530859759a0d828ece14ba798524e20b233d6b1e521c"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.128862"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 22.4ms Sent mail to marina.cronin@jacobidietrich.biz (9.9ms) Date: Mon, 11 Aug 2014 11:01:02 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: marina.cronin@jacobidietrich.biz Message-ID: <53e8e8be281e3_a7ee3fe04d465bf0838e0@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello marina.cronin@jacobidietrich.biz!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 232ms (Views: 0.2ms | ActiveRecord: 0.9ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#edit as JS Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '5a081b1f0db86720fcf5530859759a0d828ece14ba798524e20b233d6b1e521c' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.173667"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_token", "5Lxxtyy3ntFjJA1mmFJk"], ["tokens", "{\"JEEk43f35xwogRPSOkT6Fw\":{\"token\":\"$2a$10$O5JePHwzUKl5KMIm/OAoserM8hcCd40xPppaSktJD1ncuh6sdsIAu\",\"expiry\":1408982462}}"], ["updated_at", "2014-08-11 16:01:02.235301"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://ng-token-auth.dev?client_id=JEEk43f35xwogRPSOkT6Fw&expiry=1408982462&reset_password=true&token=hSm9NGDCyDjpnibXzF2a3A&uid=marina.cronin%40jacobidietrich.biz Completed 302 Found in 65ms (Views: 0.2ms | ActiveRecord: 1.5ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link success: test_response_auth_params_should_be_valid ---------------------------------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.242523"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' ORDER BY "users"."id" ASC LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'dce86d7afe76123fd0e9c73fda25ff04add41c3c1e1b644677fe449a6e3d2521' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 16:01:02.244431"], ["reset_password_token", "dce86d7afe76123fd0e9c73fda25ff04add41c3c1e1b644677fe449a6e3d2521"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.244605"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 7.1ms Sent mail to marina.cronin@jacobidietrich.biz (5.9ms) Date: Mon, 11 Aug 2014 11:01:02 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: marina.cronin@jacobidietrich.biz Message-ID: <53e8e8be3dea4_a7ee3fe04d465bf083999@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello marina.cronin@jacobidietrich.biz!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#edit as JS Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'dce86d7afe76123fd0e9c73fda25ff04add41c3c1e1b644677fe449a6e3d2521' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.262034"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_token", "sJy9vxm4Vmdj_j9Zxnkf"], ["tokens", "{\"5or36lir1UxaF8zNQdf-vg\":{\"token\":\"$2a$10$TaoEX7UST.f9.0bn1oKlQ.42.MAEq56tDbrKgKtbmUKSyPGWwCsVq\",\"expiry\":1408982462}}"], ["updated_at", "2014-08-11 16:01:02.322784"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://ng-token-auth.dev?client_id=5or36lir1UxaF8zNQdf-vg&expiry=1408982462&reset_password=true&token=6CnCGTG6sBz26IIfv6h7Rw&uid=marina.cronin%40jacobidietrich.biz Completed 302 Found in 63ms (Views: 0.2ms | ActiveRecord: 1.2ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link success: test_response_should_contain_auth_params --------------------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.389803"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '33594cb170d8cda2b72e80896e5bad59968b221be5bb29529838e7c186233893' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 16:01:02.391669"], ["reset_password_token", "33594cb170d8cda2b72e80896e5bad59968b221be5bb29529838e7c186233893"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.391853"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 7.5ms Sent mail to marina.cronin@jacobidietrich.biz (5.8ms) Date: Mon, 11 Aug 2014 11:01:02 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: marina.cronin@jacobidietrich.biz Message-ID: <53e8e8be61f17_a7ee3fe04d465bf084022@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello marina.cronin@jacobidietrich.biz!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#edit as JS Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '33594cb170d8cda2b72e80896e5bad59968b221be5bb29529838e7c186233893' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.409821"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_token", "3AVWvRQZMhRT__9c-nZq"], ["tokens", "{\"pMJzswPruLWzNKwJ2xpz6A\":{\"token\":\"$2a$10$hwor131f3w0WkuRkLTiTt.1CRe7pXWsl5.oc7.CAyZWVv4WwczVLW\",\"expiry\":1408982462}}"], ["updated_at", "2014-08-11 16:01:02.471122"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://ng-token-auth.dev?client_id=pMJzswPruLWzNKwJ2xpz6A&expiry=1408982462&reset_password=true&token=VVJdxQZA31V5rPvXcdCLAg&uid=marina.cronin%40jacobidietrich.biz Completed 302 Found in 64ms (Views: 0.2ms | ActiveRecord: 1.2ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0001_should return success status ---------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:01:02.476514"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.476995"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"sXVQpJRXAwq91DHfUgL6tg\":{\"token\":\"$2a$10$VQlR2CKr2vNpopmvVPOfsO66zGg1TbJyhMKcULd9zVWAbDMFmaFwq\",\"expiry\":1408982462,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:02 -0500\"}}"], ["updated_at", "2014-08-11 16:01:02.538756"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0002_should receive new token after successful request ------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:01:02.542473"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.542949"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"sU4Row8wyCBCGnQ1cmqzJA\":{\"token\":\"$2a$10$VxU0PLUOELS/XxocdnjvueyGxHmO78Rp0jHU6RP1YawtlSAqBz156\",\"expiry\":1408982462,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:02 -0500\"}}"], ["updated_at", "2014-08-11 16:01:02.605894"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0003_should preserve the client id from the first request ---------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:01:02.609740"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.610196"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"mohGquXfYteA7Ag9tSdxjg\":{\"token\":\"$2a$10$RkfmrVcUt8Xe/VZKWfV43eJSHQB7EXCyxwtuLbddiIK6On133B3/W\",\"expiry\":1408982462,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:02 -0500\"}}"], ["updated_at", "2014-08-11 16:01:02.671503"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0004_should return the user's uid in the auth header ----------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:01:02.675817"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.676370"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Jmhf7tdImK0450YKhf7p6Q\":{\"token\":\"$2a$10$KBjOJyak8qXW2BOcQIntH.T1AG9Lq2r.Uzc341SCoeJ/YG7ppJHyK\",\"expiry\":1408982462,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:02 -0500\"}}"], ["updated_at", "2014-08-11 16:01:02.738359"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------ DemoController::Token access::successful request: test_0005_should not treat this request as a batch request ------------------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:01:02.741971"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.742435"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"24E7eQSm3blj7ECtonK7Eg\":{\"token\":\"$2a$10$r0IFL5lFmExvhfUJIIUc4ufnUBG9Ekw6ZzmXNaSKdO2JyCY31Sst6\",\"expiry\":1408982462,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:02 -0500\"}}"], ["updated_at", "2014-08-11 16:01:02.803889"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Alternate user class: test_request_should_return_user_data ----------------------------------------------------------------------------------------------- [1m[35mMang Load (0.2ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "mangs" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["confirmed_at", "2014-08-11 16:01:02.808520"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.809072"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"onie@mclaughlin.info", "password"=>"[FILTERED]"} [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'onie@mclaughlin.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["tokens", "{\"o6T04usaw-7LZL6LerCtag\":{\"token\":\"$2a$10$IN.Z4zo7nFObAZIqwggiMuVatv.JHsIk9fiMv0EzyOpNh6d4LLYAi\",\"expiry\":1408982462}}"], ["updated_at", "2014-08-11 16:01:02.874121"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["tokens", "{\"o6T04usaw-7LZL6LerCtag\":{\"token\":\"$2a$10$Y8LlK4vcMXOzsEcJUJaiFeF8mV6bIQCbkY8ZuPli.QI8cC4wvrwI6\",\"expiry\":1408982462,\"last_token\":\"$2a$10$IN.Z4zo7nFObAZIqwggiMuVatv.JHsIk9fiMv0EzyOpNh6d4LLYAi\",\"updated_at\":\"2014-08-11 11:01:02 -0500\"}}"], ["updated_at", "2014-08-11 16:01:02.936169"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 126ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[36m (1.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Alternate user class: test_request_should_succeed -------------------------------------------------------------------------------------- [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "mangs" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:01:02.939879"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:02.940319"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"onie@mclaughlin.info", "password"=>"[FILTERED]"} [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'onie@mclaughlin.info' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["tokens", "{\"erYqMLU9w0WZIGnYb8eomg\":{\"token\":\"$2a$10$FRBBlUE7b.1RTd1hvGEVauqO/Gd/SZvvym4l55ZG1FM/cNZ0l0hwe\",\"expiry\":1408982463}}"], ["updated_at", "2014-08-11 16:01:03.004202"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["tokens", "{\"erYqMLU9w0WZIGnYb8eomg\":{\"token\":\"$2a$10$yKy0nL9ISZbNcuTsr/SngeaRKcKg8E3VYzKCB63suBXE6msfghTBC\",\"expiry\":1408982463,\"last_token\":\"$2a$10$FRBBlUE7b.1RTd1hvGEVauqO/Gd/SZvvym4l55ZG1FM/cNZ0l0hwe\",\"updated_at\":\"2014-08-11 11:01:03 -0500\"}}"], ["updated_at", "2014-08-11 16:01:03.066352"]] [1m[36m (5.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 131ms (Views: 0.3ms | ActiveRecord: 6.2ms) [1m[35m (1.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------- DemoController::Alternate user class: test_0001_should return success status ---------------------------------------------------------------------------- [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["confirmed_at", "2014-08-11 16:01:03.076491"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:03.076941"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["tokens", "{\"KNcnQ_Mtc-RZ4sA8ti_niw\":{\"token\":\"$2a$10$sPBCzza46C/hFbs8lITueOsnTwYaq/YO22BAeeEGzZXFS06aujoi6\",\"expiry\":1408982463,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:03 -0500\"}}"], ["updated_at", "2014-08-11 16:01:03.137642"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------ existing user model: test_subsequent_runs_do_not_modify_file ------------------------------------------------------------ [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------- existing user model: test_user_concern_is_injected_into_existing_model ---------------------------------------------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::change password::unauthorized user: test_response_should_fail ------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"JzdoQtSoeZeI84zM1rDc0Q\":{\"token\":\"$2a$10$1vfE/zte/Po2lxSbnwgzhOtBk9O/LwZnkle3X7ztNszpemnKOX./e\",\"expiry\":1408982463,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:03 -0500\"}}"], ["updated_at", "2014-08-11 16:01:03.220038"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DeviseTokenAuth::PasswordsController#update as JS Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"} Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------------------------------------------- routes::subsequent models: test_devise_for_block_is_appended_to_routes_file --------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------- routes::subsequent models: test_migration_is_created ---------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------------------------------------------------------- routes::subsequent models: test_route_method_is_appended_to_routes_file ----------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_new_user_data_should_be_returned_as_json ---------------------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fc0a0a1e650@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 205ms (Views: 0.3ms | ActiveRecord: 0.8ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_new_user_password_should_not_be_returned ---------------------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fc09efb57f0@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------ DeviseTokenAuth::RegistrationsController::Successful registration: test_new_user_should_receive_confirmation_email ------------------------------------------------------------------------------------------------------------------ Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fc09ed041c8@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_request_should_be_successful ---------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fc09eb75bb8@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_user_should_have_been_created ----------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fc09b6c0468@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_user_should_not_be_confirmed ---------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fc09b3f86e0@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------- application controller: test_controller_concern_is_appended_to_application_controller ------------------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------- application controller: test_subsequent_runs_do_not_modify_file --------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Unconfirmed user: test_request_should_fail ------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 701484147]] Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"karlee_stracke@berge.org", "password"=>"[FILTERED]"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'karlee_stracke@berge.org' LIMIT 1 Completed 401 Unauthorized in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------ DeviseTokenAuth::SessionsController::Unconfirmed user: test_response_should_contain_errors ------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 701484147]] Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"karlee_stracke@berge.org", "password"=>"[FILTERED]"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'karlee_stracke@berge.org' LIMIT 1 Completed 401 Unauthorized in 2ms (Views: 0.1ms | ActiveRecord: 0.1ms) [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------- alternate user model::from api to provider: test_request_should_determine_the_correct_resource_class ---------------------------------------------------------------------------------------------------- Started GET "/bong/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=Mang" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[36mMang Load (0.2ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = '123545' AND "mangs"."provider" = 'facebook' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mangs" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirmed_at", "2014-08-11 16:01:03.694401"], ["created_at", "2014-08-11 16:01:03.695011"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$PgbMyd5p3op1d2mSON9n.OzOkolX107q9xNriuNW7TpPEjthfqisC"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"jZiG6OwYt-rqN4shc2djFA\":{\"token\":\"$2a$10$IBCIP1b0ITRQoKzxW/yt5eE4E25FMRCR4Ivc23jOMW.JEFUyZoely\",\"expiry\":1408982463}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:01:03.695011"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 68ms (Views: 3.4ms | ActiveRecord: 0.6ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------------------------------------------------------------------------- alternate user model::from api to provider: test_request_should_pass_correct_redirect_url ----------------------------------------------------------------------------------------- Started GET "/bong/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=Mang" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = '123545' AND "mangs"."provider" = 'facebook' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mangs" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirmed_at", "2014-08-11 16:01:03.768912"], ["created_at", "2014-08-11 16:01:03.769477"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$hd/B/XecPNdErs7a6guRJexMY95/zcTDj.7vzCr6PE6k9QTi8rhXW"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"9lAlmnoMH8PRZdHcKRmkkg\":{\"token\":\"$2a$10$Ca6QS6BkWe2XzIoGZrEus.3z4lFdeuIbPkjhqEO5G3vy0C7XaK1P2\",\"expiry\":1408982463}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:01:03.769477"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 64ms (Views: 0.4ms | ActiveRecord: 0.5ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------- alternate user model::from api to provider: test_status_should_be_success ------------------------------------------------------------------------- Started GET "/bong/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=Mang" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[36mMang Load (0.2ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = '123545' AND "mangs"."provider" = 'facebook' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mangs" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirmed_at", "2014-08-11 16:01:03.840784"], ["created_at", "2014-08-11 16:01:03.841385"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$M.QJ1BqjqkVMUXypFfUVd.RGh/h2ErSD/sMEJXNoLpUUhGn87ibJ6"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"E4B91pttpTxMN-A4hnnEiw\":{\"token\":\"$2a$10$WoeGOVNGMho6H.Sa0dfihOzNJglqCRblDWBPFNva7104bGSo7EsuG\",\"expiry\":1408982463}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:01:03.841385"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 65ms (Views: 0.4ms | ActiveRecord: 0.5ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------- alternate user model::from api to provider: test_user_should_be_assigned_info_from_provider ------------------------------------------------------------------------------------------- Started GET "/bong/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=Mang" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[36mMang Load (0.2ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = '123545' AND "mangs"."provider" = 'facebook' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mangs" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirmed_at", "2014-08-11 16:01:03.912345"], ["created_at", "2014-08-11 16:01:03.912852"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$dDLlFaYQTjsCRdlbVAuO6OqUZt4nocIt2xeP6ttnTT8LtOJuiGIeC"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"3DVkSMvRhJnTubGTbx5zhw\":{\"token\":\"$2a$10$emq.tRwKXb7fRfOil7WX..lvEMLSTgbCnFMKGL.8DkWA7lVsixD/W\",\"expiry\":1408982463}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:01:03.912852"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 65ms (Views: 0.6ms | ActiveRecord: 0.5ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------ alternate user model::from api to provider: test_user_should_be_of_the_correct_class ------------------------------------------------------------------------------------ Started GET "/bong/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=Mang" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[36mMang Load (0.2ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = '123545' AND "mangs"."provider" = 'facebook' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mangs" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirmed_at", "2014-08-11 16:01:03.986229"], ["created_at", "2014-08-11 16:01:03.986762"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$xwLi63eGPWskpmmSg8oAkuQQAGMNlnlbL.Xa8uQ.OfuPdNo2my6c2"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"j-xObjtoJ6rX3_Ch_4bPPg\":{\"token\":\"$2a$10$rMmZ0HlTyoN8Ua6LCDQa6.8dgA49pIBpqOOpYaVt9dA51Fii1UUB2\",\"expiry\":1408982463}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:01:03.986762"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 65ms (Views: 0.4ms | ActiveRecord: 0.5ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------ alternate user model::from api to provider: test_user_should_have_been_created ------------------------------------------------------------------------------ Started GET "/bong/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=Mang" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:01:03 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[36mMang Load (0.2ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = '123545' AND "mangs"."provider" = 'facebook' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mangs" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirmed_at", "2014-08-11 16:01:04.059781"], ["created_at", "2014-08-11 16:01:04.060328"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$u3zA9QGoDoyD1Tseq/AfjOdKBpbvoF8POlWUvlWyRo9lI1U2SCD2."], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"Lp12G9THlaoUDo1i7e5x_Q\":{\"token\":\"$2a$10$5aoARl/vLzwMtcdizDMfcuUbsM7Q0HFtVCTFZp5xxfcIB1.cynfVq\",\"expiry\":1408982464}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:01:04.060328"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 65ms (Views: 0.4ms | ActiveRecord: 0.5ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Mismatched passwords: test_error_should_be_returned_in_the_response ------------------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome earl@stiedemann.net!
You can confirm your account email through the link below:
[1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Alternate user model: test_should_store_token_hash_in_user ---------------------------------------------------------------------------------------------------- [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1[0m [["id", 701484147]] [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."confirmation_token" = 'f04192e9c9b75d60557abe91130356de5c39310f3d14110375ebd36a563add7d' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `confirmation_token` [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 701484147 [["confirmation_sent_at", "2014-08-11 16:01:04.538139"], ["confirmation_token", "f04192e9c9b75d60557abe91130356de5c39310f3d14110375ebd36a563add7d"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:04.538353"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#confirmation_instructions: processed outbound mail in 6.6ms Sent mail to earl@stiedemann.net (5.7ms) Date: Mon, 11 Aug 2014 11:01:04 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: earl@stiedemann.net Message-ID: <53e8e8c085847_a7ee3fe04d465bf0848fc@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome earl@stiedemann.net!
You can confirm your account email through the link below:
[1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------------------------------ DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link failure: test_request_should_not_be_authorized ------------------------------------------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:04.557227"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '62f4a478bb5547854698c517f0f2203e7c613a3f54191686d430be364959b10c' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 16:01:04.559062"], ["reset_password_token", "62f4a478bb5547854698c517f0f2203e7c613a3f54191686d430be364959b10c"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:04.559238"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 7.0ms Sent mail to marina.cronin@jacobidietrich.biz (5.8ms) Date: Mon, 11 Aug 2014 11:01:04 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: marina.cronin@jacobidietrich.biz Message-ID: <53e8e8c08ab34_a7ee3fe04d465bf0849b@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello marina.cronin@jacobidietrich.biz!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#edit as JS Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '40181768d23216b4143018d5d1a3b53727d1bf806790e5d489878ce189c9da30' ORDER BY "users"."id" ASC LIMIT 1[0m Completed 404 Not Found in 2ms [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Existing users: test_error_should_be_returned_in_the_response ------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"#Welcome earl@stiedemann.net!
You can confirm your account email through the link below:
Processing by DeviseTokenAuth::ConfirmationsController#show as JS Parameters: {"confirmation_token"=>"ECHPmx2jRbZb5vw_MsNe"} [1m[36mMang Load (0.2ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."confirmation_token" = 'fe8a7d5bf20ebff17fc39de3d529580c2678160935f57715571977087eb6d322' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 701484147[0m [["confirmation_token", nil], ["confirmed_at", "2014-08-11 16:01:05.171200"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.171423"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 701484147 [["confirmation_token", "ECHPmx2jRbZb5vw_MsNe"], ["tokens", "{\"hsVhCXlowodoxPsq-gBFaw\":{\"token\":\"$2a$10$MPqLarhmsH0jG5OnO5LFJe/0pZORDeK4dxnZJyagA8HpZmN7/1Kx.\",\"expiry\":1408982465}}"], ["updated_at", "2014-08-11 16:01:05.233204"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://purdy.biz/broderick?account_confirmation_success=true&client_id=hsVhCXlowodoxPsq-gBFaw&expiry=1408982465&token=k6c0nmSUSVT8Wz9z7Fn3WQ&uid=earl%40stiedemann.net Completed 302 Found in 64ms (ActiveRecord: 0.7ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Alternate user class: test_request_should_be_successful ------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fc0a0b15fe0@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:144 (lambda)>!
You can confirm your account email through the link below:
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 23ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Alternate user class: test_use_should_be_a_Mang ----------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007fc0a085ba48@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:144 (lambda)>!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Non-existing user: test_request_should_fail -------------------------------------------------------------------------------- Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"#Welcome karlee_stracke@berge.org!
You can confirm your account email through the link below:
[1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Confirmation: test_should_store_token_hash_in_user -------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 701484147]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'ae70b315438a6a5d9501085fef2cc93d74f97e45dd8a30ed468d108898adee8f' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `confirmation_token` [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147 [["confirmation_sent_at", "2014-08-11 16:01:05.317335"], ["confirmation_token", "ae70b315438a6a5d9501085fef2cc93d74f97e45dd8a30ed468d108898adee8f"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.317542"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#confirmation_instructions: processed outbound mail in 7.4ms Sent mail to karlee_stracke@berge.org (6.0ms) Date: Mon, 11 Aug 2014 11:01:05 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: karlee_stracke@berge.org Message-ID: <53e8e8c14fd17_a7ee3fe04d465bf085466@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome karlee_stracke@berge.org!
You can confirm your account email through the link below:
[1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------- routes: test_route_method_is_appended_to_routes_file ---------------------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------- routes: test_subsequent_runs_do_not_modify_file ----------------------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Confirmation::failure: test_user_should_not_be_confirmed -------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 701484147]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '1c020b8aaffafb98d3f649a5c25251e9b8728f46057c82b26cdaf0e8978bcc58' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `confirmation_token` [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_sent_at", "2014-08-11 16:01:05.353218"], ["confirmation_token", "1c020b8aaffafb98d3f649a5c25251e9b8728f46057c82b26cdaf0e8978bcc58"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.353456"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#confirmation_instructions: processed outbound mail in 6.2ms Sent mail to karlee_stracke@berge.org (5.5ms) Date: Mon, 11 Aug 2014 11:01:05 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: karlee_stracke@berge.org Message-ID: <53e8e8c158475_a7ee3fe04d465bf08551f@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome karlee_stracke@berge.org!
You can confirm your account email through the link below:
Processing by DeviseTokenAuth::ConfirmationsController#show as JS Parameters: {"confirmation_token"=>"bogus"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'c328eea0e5166b1585e65cef50050f9fcdbe73bb35ca71dc734e8c9b05aaa260' ORDER BY "users"."id" ASC LIMIT 1[0m Completed 404 Not Found in 1ms [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------ DeviseTokenAuth::PasswordsController::Alternate user class: test_response_should_return_success_status ------------------------------------------------------------------------------------------------------ [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"onie@mclaughlin.info", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'onie@mclaughlin.info' AND "mangs"."provider" = 'email' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.374179"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'onie@mclaughlin.info' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = 'c1df84eb2c51c5d8307254662937fa2cb3ccf9a45ff7f438324dfa083c66d743' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.2ms)[0m UPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 16:01:05.376004"], ["reset_password_token", "c1df84eb2c51c5d8307254662937fa2cb3ccf9a45ff7f438324dfa083c66d743"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.376186"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 6.1ms Sent mail to onie@mclaughlin.info (5.3ms) Date: Mon, 11 Aug 2014 11:01:05 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: onie@mclaughlin.info Message-ID: <53e8e8c15dc76_a7ee3fe04d465bf08562e@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello onie@mclaughlin.info!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Alternate user class: test_the_email_body_should_contain_a_link_with_reset_token_as_a_query_param --------------------------------------------------------------------------------------------------------------------------------------- [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"onie@mclaughlin.info", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'onie@mclaughlin.info' AND "mangs"."provider" = 'email' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "mangs" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.393949"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'onie@mclaughlin.info' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = 'd8c83b57abe9b5631b9dc6e31d0518ec0f28ee29222198b3b2dfacb55f98b09e' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 16:01:05.395731"], ["reset_password_token", "d8c83b57abe9b5631b9dc6e31d0518ec0f28ee29222198b3b2dfacb55f98b09e"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.395909"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 6.0ms Sent mail to onie@mclaughlin.info (5.3ms) Date: Mon, 11 Aug 2014 11:01:05 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: onie@mclaughlin.info Message-ID: <53e8e8c1628f0_a7ee3fe04d465bf085734@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello onie@mclaughlin.info!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = 'd8c83b57abe9b5631b9dc6e31d0518ec0f28ee29222198b3b2dfacb55f98b09e' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.410597"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------- default values, clean install: test_initializer_is_created ---------------------------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------- default values, clean install: test_migration_is_created -------------------------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------- default values, clean install: test_subsequent_runs_raise_no_errors ------------------------------------------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------ default values, clean install: test_user_model_is_created,_concern_is_included ------------------------------------------------------------------------------ [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::succesive requests: test_0001_should not treat this request as a batch request -------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:01:05.445063"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.445558"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"AtOKYS9Ugvsvk35oCaDapg\":{\"token\":\"$2a$10$mv.zuKtUw4MdE.w/WBcHk./sJBjxyPf8ibZmY6sn8M7iA97jZXtJa\",\"expiry\":1408982465,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:05 -0500\"}}"], ["updated_at", "2014-08-11 16:01:05.507078"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::succesive requests: test_0002_should allow a new request to be made using new token ------------------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:01:05.510925"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.511362"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"uaxg-GpC7k1ZXCgv9694sw\":{\"token\":\"$2a$10$JocAFgxuv6h9sJaNKVNBK.OW9rmmwc4bHWYPBMcbqzKnsFO8IWudK\",\"expiry\":1408982465,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:05 -0500\"}}"], ["updated_at", "2014-08-11 16:01:05.572635"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_action_should_save_password_reset_redirect_url_to_user_table ----------------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.580242"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'f64faf3f42a7e9e900d1ee49bd5537abd34747d1f36e57e0d516cfc6939432a6' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 16:01:05.582558"], ["reset_password_token", "f64faf3f42a7e9e900d1ee49bd5537abd34747d1f36e57e0d516cfc6939432a6"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.582741"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 6.8ms Sent mail to marina.cronin@jacobidietrich.biz (5.6ms) Date: Mon, 11 Aug 2014 11:01:05 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: marina.cronin@jacobidietrich.biz Message-ID: <53e8e8c190635_a7ee3fe04d465bf08581b@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello marina.cronin@jacobidietrich.biz!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_action_should_send_an_email -------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.601517"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' ORDER BY "users"."id" ASC LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'ff929c6e3a1357372533efadf03a16a1bb85369757846763ffb5ca7806ba4d34' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 16:01:05.603250"], ["reset_password_token", "ff929c6e3a1357372533efadf03a16a1bb85369757846763ffb5ca7806ba4d34"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.603421"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 6.3ms Sent mail to marina.cronin@jacobidietrich.biz (5.6ms) Date: Mon, 11 Aug 2014 11:01:05 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: marina.cronin@jacobidietrich.biz Message-ID: <53e8e8c195470_a7ee3fe04d465bf0859c4@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello marina.cronin@jacobidietrich.biz!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------ DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_response_should_return_success_status ------------------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.621317"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '602491e0411eda148ac7bbbee4e03d95ee31856aecea2ef468807794a1aebe13' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 16:01:05.623060"], ["reset_password_token", "602491e0411eda148ac7bbbee4e03d95ee31856aecea2ef468807794a1aebe13"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.623225"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 6.4ms Sent mail to marina.cronin@jacobidietrich.biz (5.5ms) Date: Mon, 11 Aug 2014 11:01:05 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: marina.cronin@jacobidietrich.biz Message-ID: <53e8e8c19a250_a7ee3fe04d465bf08609b@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello marina.cronin@jacobidietrich.biz!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_body_should_contain_a_link_with_redirect_url_as_a_query_param ---------------------------------------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.641242"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' ORDER BY "users"."id" ASC LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '6418bf5f2633fbfae633f4ed876b4b9cf8d268f7c7993f2adb40d45ed7af5b9d' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 16:01:05.642997"], ["reset_password_token", "6418bf5f2633fbfae633f4ed876b4b9cf8d268f7c7993f2adb40d45ed7af5b9d"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.643173"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 6.4ms Sent mail to marina.cronin@jacobidietrich.biz (5.6ms) Date: Mon, 11 Aug 2014 11:01:05 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: marina.cronin@jacobidietrich.biz Message-ID: <53e8e8c19f03a_a7ee3fe04d465bf08613a@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello marina.cronin@jacobidietrich.biz!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_body_should_contain_a_link_with_reset_token_as_a_query_param --------------------------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.661236"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '6cab0bf6c47146a7296729cc84740824ac107202efbc3cbde50563887b635c61' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 16:01:05.663061"], ["reset_password_token", "6cab0bf6c47146a7296729cc84740824ac107202efbc3cbde50563887b635c61"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.663251"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 6.3ms Sent mail to marina.cronin@jacobidietrich.biz (5.5ms) Date: Mon, 11 Aug 2014 11:01:05 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: marina.cronin@jacobidietrich.biz Message-ID: <53e8e8c1a3e71_a7ee3fe04d465bf0862da@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello marina.cronin@jacobidietrich.biz!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '6cab0bf6c47146a7296729cc84740824ac107202efbc3cbde50563887b635c61' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.678405"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_should_be_addressed_to_the_user ---------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"marina.cronin@jacobidietrich.biz", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.683230"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'marina.cronin@jacobidietrich.biz' ORDER BY "users"."id" ASC LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '503ebabc38f3d552dcf899622877e8251afad62df069f5725a70e2a8ff16196f' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 16:01:05.685024"], ["reset_password_token", "503ebabc38f3d552dcf899622877e8251afad62df069f5725a70e2a8ff16196f"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.685209"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 6.5ms Sent mail to marina.cronin@jacobidietrich.biz (5.5ms) Date: Mon, 11 Aug 2014 11:01:05 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: marina.cronin@jacobidietrich.biz Message-ID: <53e8e8c1a9550_a7ee3fe04d465bf0863e6@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello marina.cronin@jacobidietrich.biz!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0001_should not return any auth headers ------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:01:05.702259"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.702740"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"hn52F0FoMmiN-DLGCzGTJg\":{\"token\":\"$2a$10$Zu6yZpqlE7FfsxkiXvi3LeyrCB39MRmgbfiNZrvkLHJE29xMWZIJe\",\"expiry\":1408982465,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:05 -0500\"}}"], ["updated_at", "2014-08-11 16:01:05.763817"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0002_should return error: unauthorized status ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:01:05.767914"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.768430"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Z7wbW37Pvx-sT5jc5s6rdw\":{\"token\":\"$2a$10$35dIbBfnlrFZnN/ItpKz9uoSUsHhmdwS6VJ3Wdkxhw56/TgPrdjwa\",\"expiry\":1408982465,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:05 -0500\"}}"], ["updated_at", "2014-08-11 16:01:05.829933"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------- User::email registration: test_model_should_not_save_if_confirm_success_url_is_not_provided ------------------------------------------------------------------------------------------- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" WHERE "users"."provider" = 'email' AND "users"."email" = 'kaci@schambergerhirthe.name'[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------- User::email registration: test_model_should_not_save_if_email_is_blank ---------------------------------------------------------------------- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users" WHERE "users"."provider" = 'email' AND "users"."email" IS NULL [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::change password::password mismatch error: test_response_should_fail ------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"TbeLY5UPgNVOH7_OrFPvlQ\":{\"token\":\"$2a$10$hxw4ZO3lMaQuOWlNFK88AeRGQ7t76LkoThofoyC9BpGFddN0n80mK\",\"expiry\":1408982465,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:05 -0500\"}}"], ["updated_at", "2014-08-11 16:01:05.901465"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DeviseTokenAuth::PasswordsController#update as JS Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"} Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Confirmation::success: test_should_redirect_to_success_url ---------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 701484147]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '762437ebf2abd4691ea712fb98d6d8844d7fb3bfd192b7b670f8226a20ef5262' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `confirmation_token` [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_sent_at", "2014-08-11 16:01:05.907997"], ["confirmation_token", "762437ebf2abd4691ea712fb98d6d8844d7fb3bfd192b7b670f8226a20ef5262"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.908219"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#confirmation_instructions: processed outbound mail in 6.0ms Sent mail to karlee_stracke@berge.org (5.4ms) Date: Mon, 11 Aug 2014 11:01:05 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: karlee_stracke@berge.org Message-ID: <53e8e8c1dfa79_a7ee3fe04d465bf0864b7@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome karlee_stracke@berge.org!
You can confirm your account email through the link below:
Processing by DeviseTokenAuth::ConfirmationsController#show as JS Parameters: {"confirmation_token"=>"XhEHy8utJM5MMwT6zUPr"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '762437ebf2abd4691ea712fb98d6d8844d7fb3bfd192b7b670f8226a20ef5262' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_token", nil], ["confirmed_at", "2014-08-11 16:01:05.922737"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.922953"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147 [["confirmation_token", "XhEHy8utJM5MMwT6zUPr"], ["tokens", "{\"AZOCE8t4cSPHwfg7jTFTIw\":{\"token\":\"$2a$10$VD7juv2QdTp4hNzJlB0T0uqgccnDAq4g0LmVtrs3mD5Idg0bc.pge\",\"expiry\":1408982465}}"], ["updated_at", "2014-08-11 16:01:05.984571"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://stark.biz/stanton.boehm?account_confirmation_success=true&client_id=AZOCE8t4cSPHwfg7jTFTIw&expiry=1408982465&token=GoHCudETQQ_8TEafC5YllA&uid=karlee_stracke%40berge.org Completed 302 Found in 64ms (ActiveRecord: 0.7ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Confirmation::success: test_user_should_now_be_confirmed -------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 701484147]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'b04559b4bd2f813d47f8a5f73723281103b2f6b1477518ace30ca0604bb616f2' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `confirmation_token` [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_sent_at", "2014-08-11 16:01:05.988390"], ["confirmation_token", "b04559b4bd2f813d47f8a5f73723281103b2f6b1477518ace30ca0604bb616f2"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:05.988587"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#confirmation_instructions: processed outbound mail in 6.0ms Sent mail to karlee_stracke@berge.org (5.4ms) Date: Mon, 11 Aug 2014 11:01:05 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: karlee_stracke@berge.org Message-ID: <53e8e8c1f342c_a7ee3fe04d465bf0865b6@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome karlee_stracke@berge.org!
You can confirm your account email through the link below:
Processing by DeviseTokenAuth::ConfirmationsController#show as JS Parameters: {"confirmation_token"=>"WDsdQEHUYQAJfj3K_-J3"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'b04559b4bd2f813d47f8a5f73723281103b2f6b1477518ace30ca0604bb616f2' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_token", nil], ["confirmed_at", "2014-08-11 16:01:06.003033"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:06.003249"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147 [["confirmation_token", "WDsdQEHUYQAJfj3K_-J3"], ["tokens", "{\"MQ819m1MGDTR_Wlqf978rQ\":{\"token\":\"$2a$10$0FZ2cMsKFJ7AqLBYRfQ4ie2kK1O/AnqMduN/hge55zzLcGHYbmlY6\",\"expiry\":1408982466}}"], ["updated_at", "2014-08-11 16:01:06.063952"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://stark.biz/stanton.boehm?account_confirmation_success=true&client_id=MQ819m1MGDTR_Wlqf978rQ&expiry=1408982466&token=1DssiocIWwomhPVwiV0Vag&uid=karlee_stracke%40berge.org Completed 302 Found in 63ms (ActiveRecord: 0.6ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Ouath user has existing email: test_new_user_data_should_be_returned_as_json ---------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 396948535]] Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"darrel@hyattreichel.org", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"#Welcome darrel@hyattreichel.org!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Ouath user has existing email: test_request_should_be_successful ---------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 396948535]] Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"darrel@hyattreichel.org", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"#Welcome darrel@hyattreichel.org!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Ouath user has existing email: test_user_should_have_been_created ----------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 396948535]] Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"darrel@hyattreichel.org", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"#Welcome darrel@hyattreichel.org!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0001_should allow both requests through --------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:01:06.136492"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:06.136997"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"t1j6b7sLsi336JV3iQWMNw\":{\"token\":\"$2a$10$WWTG4sIAmk42MqGT2I5gzeB29j31sr90ds6kmSDKvaOJYDZnKR3Pm\",\"expiry\":1408982466,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:06 -0500\"}}"], ["updated_at", "2014-08-11 16:01:06.197365"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0002_should return the same auth headers for both requests ---------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:01:06.201380"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:01:06.201830"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"4iymvU_mU3IKsPxcCHjqzQ\":{\"token\":\"$2a$10$QbfOxnkpYK2r6UNqLneueuAQcUA58MoxwDTrifFkrPW9e2K9kqsJi\",\"expiry\":1408982466,\"last_token\":null,\"updated_at\":\"2014-08-11 11:01:06 -0500\"}}"], ["updated_at", "2014-08-11 16:01:06.264988"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('kendrick.swaniawski@reilly.net', 'kendrick.swaniawski@reilly.net', 'email', '2014-07-28 11:04:05', '2014-07-28 11:04:05', '2014-07-28 11:04:05', 'http://will.com/kayla_feil', '$2a$04$qjiI3xQclwo8arLB1JGkyOd.7fsJ3I6aIMz79oLa7iV5/TCwKRAXG', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('7427556469', 'pamela@volkmangottlieb.org', 'facebook', '2014-07-28 11:04:05', '2014-07-28 11:04:05', '2014-07-28 11:04:05', '$2a$04$DOxaLF5jHN3y8wwE.xyQ0.nkDcI2mQ6/vlsAYIn8ZAcyy9pPJIdSK', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('hallie@walker.net', 'hallie@walker.net', 'email', 'http://ratkeheathcote.org/wilburn', '2014-07-28 11:04:05', '2014-07-28 11:04:05', '$2a$04$K24zo33TnAotKQC7HB4Dh.84Zg/IgZFkfwGjtLp/ViQKpUd2pS21.', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('fannie@reichert.name', 'fannie@reichert.name', 'email', '2014-07-28 11:04:05', '2014-07-28 11:04:05', '2014-07-28 11:04:05', 'http://collier.net/ethan', '$2a$04$DHLNirVOIQplbrOK0PYpA.YZYsQ/UZ3wA.vEjLpAP1sxdNIkM3w4y', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('5986258520', 'willard@boyle.info', 'facebook', '2014-07-28 11:04:05', '2014-07-28 11:04:05', '2014-07-28 11:04:05', '$2a$04$GO2UGb0KYa/JMwZXpMa.pOepYX7P5JpPlJFZxf.vupxNokjqkXbEC', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('abbie.bergnaum@oconnell.org', 'abbie.bergnaum@oconnell.org', 'email', 'http://okunevalueilwitz.net/matt.ratke', '2014-07-28 11:04:05', '2014-07-28 11:04:05', '$2a$04$DzEITjGWvXLrgxaYPwDiaOCWCe24cNL7vhHOaipc3PXg1BJURQCoa', 701484147)[0m [1m[35m (2.5ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0001_should allow both requests through --------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:05.943762"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:05.946433"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"B9dY6lcDl3m32SfCNgna0g\":{\"token\":\"$2a$10$4GhMQ/MWphCaQYsb73EntOmW060ChBqOLDov/b6b8ygNw0/PmT2sW\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:06 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.008231"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0002_should return the same auth headers for both requests ---------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:04:06.022988"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:06.023664"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"k9PEbyIoWVLBcNMRY_s6sw\":{\"token\":\"$2a$10$sdYnFv2B.8dZEqe8P6JnNer1rZRPOe7PQQ8.oZBaqWXlWoWYqX3GW\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:06 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.085225"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::succesive requests: test_0001_should not treat this request as a batch request -------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:06.091970"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:06.092523"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"R551j0yXsjffyu12YaJbkg\":{\"token\":\"$2a$10$un2yTUDyKPEFVD5a68g3E.1RW0Ne4WNRplPfHqfGAV1xi43ft7JYu\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:06 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.154033"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"R551j0yXsjffyu12YaJbkg\":{\"token\":\"$2a$10$un2yTUDyKPEFVD5a68g3E.1RW0Ne4WNRplPfHqfGAV1xi43ft7JYu\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:51 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.155786"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'fannie@reichert.name' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"R551j0yXsjffyu12YaJbkg\":{\"token\":\"$2a$10$ZriU40FJY1a8SxQoepJDceDGwfA3ZUdgDAdomvxPDc99N4xRCxKDq\",\"expiry\":1408982646,\"last_token\":\"$2a$10$un2yTUDyKPEFVD5a68g3E.1RW0Ne4WNRplPfHqfGAV1xi43ft7JYu\",\"updated_at\":\"2014-08-11 11:04:06 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.284019"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 128ms (Views: 0.7ms | ActiveRecord: 0.5ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"R551j0yXsjffyu12YaJbkg\":{\"token\":\"$2a$10$ZriU40FJY1a8SxQoepJDceDGwfA3ZUdgDAdomvxPDc99N4xRCxKDq\",\"expiry\":1408982646,\"last_token\":\"$2a$10$un2yTUDyKPEFVD5a68g3E.1RW0Ne4WNRplPfHqfGAV1xi43ft7JYu\",\"updated_at\":\"2014-08-11 11:03:51 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.286000"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::succesive requests: test_0002_should allow a new request to be made using new token ------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:06.291041"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:06.291544"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"kz9RJ0s8g5aEyHBh3McAqQ\":{\"token\":\"$2a$10$Ut5Y2AqUqOmudi64oJEYlOS3FVeMcAD/KrXME4swBEg0znLJwmBZ.\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:06 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.352786"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"kz9RJ0s8g5aEyHBh3McAqQ\":{\"token\":\"$2a$10$Ut5Y2AqUqOmudi64oJEYlOS3FVeMcAD/KrXME4swBEg0znLJwmBZ.\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:51 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.354334"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'fannie@reichert.name' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"kz9RJ0s8g5aEyHBh3McAqQ\":{\"token\":\"$2a$10$9y6BQiNVFIEG6c1Ayy6UK.ETgkVUQ4QuQAJHrZS8z4xFEiAR3T6KS\",\"expiry\":1408982646,\"last_token\":\"$2a$10$Ut5Y2AqUqOmudi64oJEYlOS3FVeMcAD/KrXME4swBEg0znLJwmBZ.\",\"updated_at\":\"2014-08-11 11:04:06 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.477518"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 122ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"kz9RJ0s8g5aEyHBh3McAqQ\":{\"token\":\"$2a$10$9y6BQiNVFIEG6c1Ayy6UK.ETgkVUQ4QuQAJHrZS8z4xFEiAR3T6KS\",\"expiry\":1408982646,\"last_token\":\"$2a$10$Ut5Y2AqUqOmudi64oJEYlOS3FVeMcAD/KrXME4swBEg0znLJwmBZ.\",\"updated_at\":\"2014-08-11 11:03:51 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.479455"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0001_should allow the first request through ---------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:06.484790"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:06.485278"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"h-r4AIC71Yd3lqg0U59ekA\":{\"token\":\"$2a$10$eBWWac2DyInyW5qhLxlHE.JCJv9nPztqw61CHE7AqPA4SSsL85jy.\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:06 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.546799"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"h-r4AIC71Yd3lqg0U59ekA\":{\"token\":\"$2a$10$eBWWac2DyInyW5qhLxlHE.JCJv9nPztqw61CHE7AqPA4SSsL85jy.\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:51 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.548667"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0002_should allow the second request through ----------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:04:06.554674"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:06.555194"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"yAa002tZPENukW8oO-RQ8g\":{\"token\":\"$2a$10$UAFEmO/wMVW9zyeXCxcBn.NScDSieoeDUKKDvSEuPbMr0BTnP3qKe\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:06 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.616342"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"yAa002tZPENukW8oO-RQ8g\":{\"token\":\"$2a$10$UAFEmO/wMVW9zyeXCxcBn.NScDSieoeDUKKDvSEuPbMr0BTnP3qKe\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:51 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.618664"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0003_should return auth headers from the first request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:06.623775"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:06.624392"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"witwUZDovqedwr9j2Xh-RQ\":{\"token\":\"$2a$10$GaIrc7AZCobm3urxjrcFGeisirPplCIak0PPfwniRuabYUTvF4PTm\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:06 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.687045"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"witwUZDovqedwr9j2Xh-RQ\":{\"token\":\"$2a$10$GaIrc7AZCobm3urxjrcFGeisirPplCIak0PPfwniRuabYUTvF4PTm\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:51 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.688925"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0004_should return auth headers from the second request ---------------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:04:06.694353"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:06.695071"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"0r0zL1UiMLv_zb0sz4RyTQ\":{\"token\":\"$2a$10$P4DQjn522U33zfwPWHcWZeQz2GvlsXLfygMFCAZTBVboAftWhXjF6\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:06 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.755457"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"0r0zL1UiMLv_zb0sz4RyTQ\":{\"token\":\"$2a$10$P4DQjn522U33zfwPWHcWZeQz2GvlsXLfygMFCAZTBVboAftWhXjF6\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:51 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.757973"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0005_should define user during first request ----------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:06.763059"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:06.763562"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"W2Y8AGYBl_jUn-ewJ4MpvQ\":{\"token\":\"$2a$10$6taWlJnPiO/hPE6IuLbnqesqgViZV4nG7c4cqibITwQEnSzM8Q7sO\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:06 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.825390"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.3ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"W2Y8AGYBl_jUn-ewJ4MpvQ\":{\"token\":\"$2a$10$6taWlJnPiO/hPE6IuLbnqesqgViZV4nG7c4cqibITwQEnSzM8Q7sO\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:51 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.827505"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::disable change_headers_on_each_request: test_0006_should define user during second request ------------------------------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:04:06.832611"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:06.833138"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"ZOvS0HYfd2dRUDOyrxVNVQ\":{\"token\":\"$2a$10$BAwoXb8NhiG39dZpbl5oxOXU5ly3VLKh7r7fjJSBGhU3y65I8fclG\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:06 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.894049"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"ZOvS0HYfd2dRUDOyrxVNVQ\":{\"token\":\"$2a$10$BAwoXb8NhiG39dZpbl5oxOXU5ly3VLKh7r7fjJSBGhU3y65I8fclG\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:51 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.896061"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0001_should not return any auth headers ------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:06.904361"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:06.904948"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"16cEBMcU2uE0eYSRe2aUQA\":{\"token\":\"$2a$10$6Lz/3s4p7Pth0XO.dYpGn.OF/8T6wg1Lfj.ETSXQyx2c40ndq8UyS\",\"expiry\":1408982646,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:06 -0500\"}}"], ["updated_at", "2014-08-11 16:04:06.966650"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0002_should return error: unauthorized status ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:04:06.999251"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:06.999725"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"N7cEBPxsW3xdQV3kub5OHw\":{\"token\":\"$2a$10$08.O/qDiW2dCc2nrLc76vu6lygaWS3Go2/Q5TVEV3epCY2OEmuazi\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:07 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.061294"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0001_should allow the first request through -------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:07.066737"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:07.067223"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"xl4Gln2XKfvq2GbBcx-_LA\":{\"token\":\"$2a$10$uESrlsVTs/XniePk4akuT.QUnvjoArXfoNBaL6zvwhg6t6/WmvaOS\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:07 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.128928"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"xl4Gln2XKfvq2GbBcx-_LA\":{\"token\":\"$2a$10$uESrlsVTs/XniePk4akuT.QUnvjoArXfoNBaL6zvwhg6t6/WmvaOS\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:52 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.130595"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0002_should not allow the second request through ------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:04:07.135275"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:07.135751"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"HQEnQSTfU6bRUKgyR3quEw\":{\"token\":\"$2a$10$QifkiooKu95qMtFruTuhOu3hYMfRnRVoa/jxZzWV6nykaHVOJa7C6\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:07 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.197082"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"HQEnQSTfU6bRUKgyR3quEw\":{\"token\":\"$2a$10$QifkiooKu95qMtFruTuhOu3hYMfRnRVoa/jxZzWV6nykaHVOJa7C6\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:52 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.198743"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0003_should return auth headers from the first request ------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:07.203373"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:07.203856"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"guYKjZATSTZL4-MH9TMhfg\":{\"token\":\"$2a$10$LLVyyuiUJbth4vPJR.9xQePpcRobCSuNBLe3heo91r0XGiNMgz4Ze\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:07 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.265445"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"guYKjZATSTZL4-MH9TMhfg\":{\"token\":\"$2a$10$LLVyyuiUJbth4vPJR.9xQePpcRobCSuNBLe3heo91r0XGiNMgz4Ze\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:52 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.267121"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::batch requests::time out: test_0004_should not return auth headers from the second request ------------------------------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:04:07.272133"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:07.272672"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"9s2n8o8HIbYJJC-R_HBnYg\":{\"token\":\"$2a$10$sOOvTnhrku7LJOhMviu0vOj75Cwoa5YdXWVhb2atf9edqIqdZehxi\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:07 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.335483"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"9s2n8o8HIbYJJC-R_HBnYg\":{\"token\":\"$2a$10$sOOvTnhrku7LJOhMviu0vOj75Cwoa5YdXWVhb2atf9edqIqdZehxi\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:52 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.337303"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0005_should define user during first request --------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:07.343240"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:07.343726"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"0UIutdHKV5tqPYMDrYGNdA\":{\"token\":\"$2a$10$FB.GrDw0qzX4GcjVn.tT.uMd/HNfZTdIYOhvUVirDCYXr6ogwQ1JC\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:07 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.405326"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"0UIutdHKV5tqPYMDrYGNdA\":{\"token\":\"$2a$10$FB.GrDw0qzX4GcjVn.tT.uMd/HNfZTdIYOhvUVirDCYXr6ogwQ1JC\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:52 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.407056"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0006_should not define user during second request -------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:04:07.412157"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:07.412730"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"PSZx59-vhNKphjpzqa2nBA\":{\"token\":\"$2a$10$87oaSDWfji4RQQ8MxHuQBuBfUh2qRVjQ34RJ/C4NFg8aISFdVTOD2\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:07 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.474376"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"PSZx59-vhNKphjpzqa2nBA\":{\"token\":\"$2a$10$87oaSDWfji4RQQ8MxHuQBuBfUh2qRVjQ34RJ/C4NFg8aISFdVTOD2\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:52 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.476082"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0001_should return success status ---------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:07.483200"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:07.483712"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"7SHgPuOa1Arq8KWFlvvl6A\":{\"token\":\"$2a$10$X4WxOy0t1RK4W2LLo2A6N.DfGRvFOvMtezbiAkFa5beSR.Da7dAB6\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:07 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.545837"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"7SHgPuOa1Arq8KWFlvvl6A\":{\"token\":\"$2a$10$X4WxOy0t1RK4W2LLo2A6N.DfGRvFOvMtezbiAkFa5beSR.Da7dAB6\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:52 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.547001"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'fannie@reichert.name' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"7SHgPuOa1Arq8KWFlvvl6A\":{\"token\":\"$2a$10$oTSayRqgP7lgfEFh0mWrKuL5SRFh69o91I51mkIyTIhEGDR2799ky\",\"expiry\":1408982647,\"last_token\":\"$2a$10$X4WxOy0t1RK4W2LLo2A6N.DfGRvFOvMtezbiAkFa5beSR.Da7dAB6\",\"updated_at\":\"2014-08-11 11:04:07 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.669708"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 122ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0002_should receive new token after successful request ------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:07.674237"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:07.674701"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"X1GeQyTFgVqdLoJ5g3ISTg\":{\"token\":\"$2a$10$PCHHdt..5j7lZSSFdd19oufyzet2GrcBR5mpjwxn0SYLZFT69.emO\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:07 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.736024"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"X1GeQyTFgVqdLoJ5g3ISTg\":{\"token\":\"$2a$10$PCHHdt..5j7lZSSFdd19oufyzet2GrcBR5mpjwxn0SYLZFT69.emO\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:52 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.737230"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'fannie@reichert.name' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"X1GeQyTFgVqdLoJ5g3ISTg\":{\"token\":\"$2a$10$Kwn0l0Nor1kB313EywEZD.9IEwEUQ/oLEk/iQ6yStcs55rt0HWufC\",\"expiry\":1408982647,\"last_token\":\"$2a$10$PCHHdt..5j7lZSSFdd19oufyzet2GrcBR5mpjwxn0SYLZFT69.emO\",\"updated_at\":\"2014-08-11 11:04:07 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.861515"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.7ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0003_should preserve the client id from the first request ---------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:07.866720"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:07.867223"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"CrkMRH5-pzFT3JiM-lDhUA\":{\"token\":\"$2a$10$HHdhi5vB6b6PxzzmSBEgouSDCYxpXieCO8w5a1ocsnc5ywib1AfNq\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:07 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.929434"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"CrkMRH5-pzFT3JiM-lDhUA\":{\"token\":\"$2a$10$HHdhi5vB6b6PxzzmSBEgouSDCYxpXieCO8w5a1ocsnc5ywib1AfNq\",\"expiry\":1408982647,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:52 -0500\"}}"], ["updated_at", "2014-08-11 16:04:07.930677"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'fannie@reichert.name' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"CrkMRH5-pzFT3JiM-lDhUA\":{\"token\":\"$2a$10$TZw9X0emHH78oa3pjuD93.OZDzxKS1ZZG64kj8DiDfpoTIL08f4JW\",\"expiry\":1408982648,\"last_token\":\"$2a$10$HHdhi5vB6b6PxzzmSBEgouSDCYxpXieCO8w5a1ocsnc5ywib1AfNq\",\"updated_at\":\"2014-08-11 11:04:08 -0500\"}}"], ["updated_at", "2014-08-11 16:04:08.055640"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 124ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0004_should return the user's uid in the auth header ----------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:08.059639"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:08.060026"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"CSkDMySonCPJu0moo8Bj8g\":{\"token\":\"$2a$10$WZkSYMTWN/v1DNl60Uzjdup8CM/YKbMgyN1BpvB0dwz9rGNLm.iw.\",\"expiry\":1408982648,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:08 -0500\"}}"], ["updated_at", "2014-08-11 16:04:08.122280"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"CSkDMySonCPJu0moo8Bj8g\":{\"token\":\"$2a$10$WZkSYMTWN/v1DNl60Uzjdup8CM/YKbMgyN1BpvB0dwz9rGNLm.iw.\",\"expiry\":1408982648,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:53 -0500\"}}"], ["updated_at", "2014-08-11 16:04:08.123838"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'fannie@reichert.name' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"CSkDMySonCPJu0moo8Bj8g\":{\"token\":\"$2a$10$3HusL98BNRo5k.ZF2H4D/OsqiOoUOBkue.MQJNWB.EEZ/It9.wroC\",\"expiry\":1408982648,\"last_token\":\"$2a$10$WZkSYMTWN/v1DNl60Uzjdup8CM/YKbMgyN1BpvB0dwz9rGNLm.iw.\",\"updated_at\":\"2014-08-11 11:04:08 -0500\"}}"], ["updated_at", "2014-08-11 16:04:08.251075"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 126ms (Views: 0.6ms | ActiveRecord: 0.4ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------ DemoController::Token access::successful request: test_0005_should not treat this request as a batch request ------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:08.253618"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:08.254009"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"CV7bU37zAef9QWsGAzTeiA\":{\"token\":\"$2a$10$uf4NYM/0n.bpY1gF7WopTu6rI/sY96U2meG3xNMomY61AeDFNz.li\",\"expiry\":1408982648,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:08 -0500\"}}"], ["updated_at", "2014-08-11 16:04:08.315281"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"CV7bU37zAef9QWsGAzTeiA\":{\"token\":\"$2a$10$uf4NYM/0n.bpY1gF7WopTu6rI/sY96U2meG3xNMomY61AeDFNz.li\",\"expiry\":1408982648,\"last_token\":null,\"updated_at\":\"2014-08-11 11:03:53 -0500\"}}"], ["updated_at", "2014-08-11 16:04:08.316387"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'fannie@reichert.name' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"CV7bU37zAef9QWsGAzTeiA\":{\"token\":\"$2a$10$i0KzZRhW4G6Xnw9zWQypJeZsJQauDySGr/NWTZXCviFU2pZonniPq\",\"expiry\":1408982648,\"last_token\":\"$2a$10$uf4NYM/0n.bpY1gF7WopTu6rI/sY96U2meG3xNMomY61AeDFNz.li\",\"updated_at\":\"2014-08-11 11:04:08 -0500\"}}"], ["updated_at", "2014-08-11 16:04:08.439971"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------- DemoController::Alternate user class: test_0001_should return success status ---------------------------------------------------------------------------- [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "mangs" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["confirmed_at", "2014-08-11 16:04:08.445508"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:04:08.446082"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["tokens", "{\"tTA2OIzemRcrQKVVBA9Nvw\":{\"token\":\"$2a$10$iMnLDX2z9hqQaW3JGR6AD.jL50zcQE91eoSKLyKRF4bSzT7onC5vy\",\"expiry\":1408982648,\"last_token\":null,\"updated_at\":\"2014-08-11 11:04:08 -0500\"}}"], ["updated_at", "2014-08-11 16:04:08.507532"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('bettye_bashirian@damoresenger.com', 'bettye_bashirian@damoresenger.com', 'email', '2014-07-28 11:05:40', '2014-07-28 11:05:40', '2014-07-28 11:05:40', 'http://wintheiser.org/sven', '$2a$04$PGLhx2Yj1b.ylzqRLSqzLOZk9ThYaUfVwYss98Gie2sPiGL3af362', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('5320753891', 'lottie@wintheiser.biz', 'facebook', '2014-07-28 11:05:40', '2014-07-28 11:05:40', '2014-07-28 11:05:40', '$2a$04$t9fmh4PPAUW4t1ybwr6VsuxybtxNgBWvIGmcN/pPz9G4k1yjnScZa', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('damion_kihn@weimann.info', 'damion_kihn@weimann.info', 'email', 'http://reynoldskirlin.net/jamarcus.waters', '2014-07-28 11:05:40', '2014-07-28 11:05:40', '$2a$04$icr2HH5g/DhZv5usp38roujmGd3Tq9xQUGKnUd4Ica2v33.vyA5vG', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('ryann@barrowsblock.info', 'ryann@barrowsblock.info', 'email', '2014-07-28 11:05:40', '2014-07-28 11:05:40', '2014-07-28 11:05:40', 'http://heathcote.name/bradley', '$2a$04$nxJC4NNxK81rnSqUFKfYm.a4AUA4I6mdfCdqUkpQy/O7op.9t8Ak6', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('2005118126', 'kiley.marks@glover.net', 'facebook', '2014-07-28 11:05:40', '2014-07-28 11:05:40', '2014-07-28 11:05:40', '$2a$04$z5e4VPjYoQaU33gFxUjHxuObEy28ahnHZPBAAPdmzO43anQVMBMPu', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('dusty_bergstrom@feilrenner.org', 'dusty_bergstrom@feilrenner.org', 'email', 'http://murazik.info/zackary_white', '2014-07-28 11:05:40', '2014-07-28 11:05:40', '$2a$04$GmwE/mjREvoufpwewdMtYexm/bf5L1lCseJQKNYHnYUaKkB5o7o02', 701484147)[0m [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0001_should return success status ---------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:05:40.409377"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:05:40.411978"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"a-PfAkwUpmiXY-NRQ0JeCA\":{\"token\":\"$2a$10$0EPYe/NOaxBRyafZVBx1beXQywqO.9jwqfFEDPkWIivelfF5Sj58W\",\"expiry\":1408982740,\"last_token\":null,\"updated_at\":\"2014-08-11 11:05:40 -0500\"}}"], ["updated_at", "2014-08-11 16:05:40.473444"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"a-PfAkwUpmiXY-NRQ0JeCA\":{\"token\":\"$2a$10$0EPYe/NOaxBRyafZVBx1beXQywqO.9jwqfFEDPkWIivelfF5Sj58W\",\"expiry\":1408982740,\"last_token\":null,\"updated_at\":\"2014-08-11 11:05:25 -0500\"}}"], ["updated_at", "2014-08-11 16:05:40.475361"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ryann@barrowsblock.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"a-PfAkwUpmiXY-NRQ0JeCA\":{\"token\":\"$2a$10$DKX4.A1aSgkuabHPdorpNefSHPJchQrZG4oPL/hCFMN/VksDOw0Pi\",\"expiry\":1408982740,\"last_token\":\"$2a$10$0EPYe/NOaxBRyafZVBx1beXQywqO.9jwqfFEDPkWIivelfF5Sj58W\",\"updated_at\":\"2014-08-11 11:05:40 -0500\"}}"], ["updated_at", "2014-08-11 16:05:40.606060"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 127ms (Views: 0.9ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('lennie.goldner@bahringer.org', 'lennie.goldner@bahringer.org', 'email', '2014-07-28 11:05:42', '2014-07-28 11:05:42', '2014-07-28 11:05:42', 'http://prosacco.com/bettye', '$2a$04$QfHmQtkjlwawhWtRQlDWtOlq8bx9noTW9sCQjCjtgwL3FP6Os71si', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('0261376242', 'freeman@fadel.net', 'facebook', '2014-07-28 11:05:42', '2014-07-28 11:05:42', '2014-07-28 11:05:42', '$2a$04$/Rq8WN6UIhOAKp2gveRuyuegG71G9IFRCo4gphm4umM8euAExMahS', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('libbie@graham.org', 'libbie@graham.org', 'email', 'http://rau.org/collin.keebler', '2014-07-28 11:05:42', '2014-07-28 11:05:42', '$2a$04$YcBxsVczGqTluRNh10Pq5.pRndVjHJw0pM3qpdP11.IL8Yjuaz2rO', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('kristopher.klein@littel.info', 'kristopher.klein@littel.info', 'email', '2014-07-28 11:05:43', '2014-07-28 11:05:43', '2014-07-28 11:05:43', 'http://fadel.com/jefferey.okeefe', '$2a$04$oHTBRrqSaIr6tDeucMS5Fut47jcMCRnVSgkN9AVK3EA8wkSxl7ixC', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('1886526800', 'sammie@ferry.com', 'facebook', '2014-07-28 11:05:43', '2014-07-28 11:05:43', '2014-07-28 11:05:43', '$2a$04$3tZVggw72gfRI8Ueeoz9lOsFGczGwHK0kvBGNJrjZlHdrK3zK1A3m', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('bernadette.toy@flatleymuller.biz', 'bernadette.toy@flatleymuller.biz', 'email', 'http://bradtkeeichmann.net/alfonzo.frami', '2014-07-28 11:05:43', '2014-07-28 11:05:43', '$2a$04$wv2yOYND3.FUDZRo6jA4P.zTzWB2xCADrxZN8S9KX11tVcKC/bSFu', 701484147)[0m [1m[35m (2.5ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0001_should return success status ---------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:05:43.110168"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:05:43.112300"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"JNGIKSmAuuFBGrrL0EDRAw\":{\"token\":\"$2a$10$6i2yDQRH2GgnDWKLzLp9uOvBDIwqgc3iMB0CPI88YDj1KG9RYOqMK\",\"expiry\":1408982743,\"last_token\":null,\"updated_at\":\"2014-08-11 11:05:43 -0500\"}}"], ["updated_at", "2014-08-11 16:05:43.173213"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"JNGIKSmAuuFBGrrL0EDRAw\":{\"token\":\"$2a$10$6i2yDQRH2GgnDWKLzLp9uOvBDIwqgc3iMB0CPI88YDj1KG9RYOqMK\",\"expiry\":1408982743,\"last_token\":null,\"updated_at\":\"2014-08-11 11:05:28 -0500\"}}"], ["updated_at", "2014-08-11 16:05:43.174899"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kristopher.klein@littel.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"JNGIKSmAuuFBGrrL0EDRAw\":{\"token\":\"$2a$10$k4GTP8NoBVMyFPtPgv/GNu.X4QOXEicy/sVIpMyWwJYNniYAkSTQu\",\"expiry\":1408982743,\"last_token\":\"$2a$10$6i2yDQRH2GgnDWKLzLp9uOvBDIwqgc3iMB0CPI88YDj1KG9RYOqMK\",\"updated_at\":\"2014-08-11 11:05:43 -0500\"}}"], ["updated_at", "2014-08-11 16:05:43.303894"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 126ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.7ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('jay@wilkinson.org', 'jay@wilkinson.org', 'email', '2014-07-28 11:05:49', '2014-07-28 11:05:49', '2014-07-28 11:05:49', 'http://kuhic.biz/hilton_klocko', '$2a$04$pai2QXZ0pCGW1Uliuv3IUufCms.VdVGbfYHIqQLCcODwDuZZ2ntG6', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3338651434', 'kaya@gottlieb.com', 'facebook', '2014-07-28 11:05:49', '2014-07-28 11:05:49', '2014-07-28 11:05:49', '$2a$04$QVNZwnffRunE/owhoHWT0uAXxjalUZeYqfL2r8LRk/gRC0HIvPEi6', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('amya.schiller@yost.name', 'amya.schiller@yost.name', 'email', 'http://carterjenkins.com/georgiana.gleason', '2014-07-28 11:05:49', '2014-07-28 11:05:49', '$2a$04$NL6FdjYHx8N5DlnBUGSxhOQcvOMvhANW43R3dnaknLJ/jh0jOXdTy', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('kennedi@nolan.name', 'kennedi@nolan.name', 'email', '2014-07-28 11:05:49', '2014-07-28 11:05:49', '2014-07-28 11:05:49', 'http://keelingzemlak.info/johanna', '$2a$04$Sc5XJIEmtJfnPf29guyrMeu6hQh4sWXn4CaQRIp0SORbWmxWg5N9y', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('7527966588', 'treie_howell@welch.biz', 'facebook', '2014-07-28 11:05:49', '2014-07-28 11:05:49', '2014-07-28 11:05:49', '$2a$04$nTYIeRcOKJndOJJPGK.lFOWRuaUMRVYF89wu02HXG4P7sJTHpRvnS', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('ruth@johnson.info', 'ruth@johnson.info', 'email', 'http://swaniawski.name/minerva', '2014-07-28 11:05:49', '2014-07-28 11:05:49', '$2a$04$BtRpcbDeMYQOL9wV8M300.5GwYgZYQY8xNqWRk3RSxVBRyX3Aqwg6', 701484147)[0m [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0002_should receive new token after successful request ------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:05:49.377141"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:05:49.379357"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Ek8o6ykhw30TCrs-xMfumQ\":{\"token\":\"$2a$10$58fn05khQ/v79GmOWrk2XuAeBNsb9Bf2asVPAs/uc6hA98V51qbWO\",\"expiry\":1408982749,\"last_token\":null,\"updated_at\":\"2014-08-11 11:05:49 -0500\"}}"], ["updated_at", "2014-08-11 16:05:49.440522"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Ek8o6ykhw30TCrs-xMfumQ\":{\"token\":\"$2a$10$58fn05khQ/v79GmOWrk2XuAeBNsb9Bf2asVPAs/uc6hA98V51qbWO\",\"expiry\":1408982749,\"last_token\":null,\"updated_at\":\"2014-08-11 11:05:34 -0500\"}}"], ["updated_at", "2014-08-11 16:05:49.442235"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kennedi@nolan.name' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Ek8o6ykhw30TCrs-xMfumQ\":{\"token\":\"$2a$10$5GsHgaPKY1ORlREEiR40.OyslcWA8YlHHzz7MNYmg6kHx9oVdwoJO\",\"expiry\":1408982749,\"last_token\":\"$2a$10$58fn05khQ/v79GmOWrk2XuAeBNsb9Bf2asVPAs/uc6hA98V51qbWO\",\"updated_at\":\"2014-08-11 11:05:49 -0500\"}}"], ["updated_at", "2014-08-11 16:05:49.571016"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 126ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('bertha@ferry.net', 'bertha@ferry.net', 'email', '2014-07-28 11:06:15', '2014-07-28 11:06:15', '2014-07-28 11:06:15', 'http://tremblaydicki.net/everette_funk', '$2a$04$jNPEy7goZNR0rEens0vB1uY.ER/fXdtp8.RamyAKERWGkyY21dcOa', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('7430681143', 'oral@abbott.com', 'facebook', '2014-07-28 11:06:15', '2014-07-28 11:06:15', '2014-07-28 11:06:15', '$2a$04$bOkRKkw11cgTCW3DqdXN5ujfL5rfMHnN.N823Mz7Cu1eixEBzL8MG', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('pinkie_bins@williamson.biz', 'pinkie_bins@williamson.biz', 'email', 'http://swaniawski.net/chyna.wolff', '2014-07-28 11:06:15', '2014-07-28 11:06:15', '$2a$04$jcjKxBtHuPoj33Aq7r7IGOQ/4gn3hdXkzokdsuVR5Zi/yP.dBZgkW', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('martine.strosin@wilkinson.com', 'martine.strosin@wilkinson.com', 'email', '2014-07-28 11:06:15', '2014-07-28 11:06:15', '2014-07-28 11:06:15', 'http://rowebashirian.info/estrella_hegmann', '$2a$04$o7q4lEU7vLSS2uTfEhidEumrFtfopA0zbulL8Bc7KnBMzWFMY3rsS', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('4566531327', 'gardner@altenwerth.com', 'facebook', '2014-07-28 11:06:15', '2014-07-28 11:06:15', '2014-07-28 11:06:15', '$2a$04$tSzO9ZiPwr8sysiRWQ.66ee6FC.EYJNOs6owLxQKCoaME6kgsbdiG', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('enid_mclaughlin@oconnermarks.biz', 'enid_mclaughlin@oconnermarks.biz', 'email', 'http://schaeferko.net/ida', '2014-07-28 11:06:15', '2014-07-28 11:06:15', '$2a$04$5EC5K989lCdnDfT2hX26rOO3sMY85xtaWKrJYoTUfR5G0w1B3qaAK', 701484147)[0m [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0002_should receive new token after successful request ------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:06:15.317314"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:06:15.319488"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"IF2ITAzqo6sAx9WlNZIGsA\":{\"token\":\"$2a$10$9unjB8Ipw33AZt8aK4pOLuqeaPp8KbRUxmbMgsC3PwUpKV4Jk6tSq\",\"expiry\":1408982775,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:15 -0500\"}}"], ["updated_at", "2014-08-11 16:06:15.380784"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"IF2ITAzqo6sAx9WlNZIGsA\":{\"token\":\"$2a$10$9unjB8Ipw33AZt8aK4pOLuqeaPp8KbRUxmbMgsC3PwUpKV4Jk6tSq\",\"expiry\":1408982775,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:00 -0500\"}}"], ["updated_at", "2014-08-11 16:06:15.382561"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'martine.strosin@wilkinson.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"IF2ITAzqo6sAx9WlNZIGsA\":{\"token\":\"$2a$10$mLQtjnV.myFfHJqJBP4gl.LHVNPalL2tEvmdAXm5ZX999A3xvKxAW\",\"expiry\":1408982775,\"last_token\":\"$2a$10$9unjB8Ipw33AZt8aK4pOLuqeaPp8KbRUxmbMgsC3PwUpKV4Jk6tSq\",\"updated_at\":\"2014-08-11 11:06:15 -0500\"}}"], ["updated_at", "2014-08-11 16:06:15.511749"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 126ms (Views: 0.7ms | ActiveRecord: 0.3ms) [1m[35m (3.4ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('adonis_volkman@bernharddare.com', 'adonis_volkman@bernharddare.com', 'email', '2014-07-28 11:06:17', '2014-07-28 11:06:17', '2014-07-28 11:06:17', 'http://kunze.org/lola.carter', '$2a$04$uNiERquAETxcBpZ49JhxyetIicKSt224n4qknv3yTb0nJILVO9CE2', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('1272379520', 'hollie@hane.net', 'facebook', '2014-07-28 11:06:17', '2014-07-28 11:06:17', '2014-07-28 11:06:17', '$2a$04$TuoTKzOW49PEzTzvqJDNjeO1p1DVi7RqMmnu1IP0z7xgRP/ZAdvpe', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('domenic@bahringer.name', 'domenic@bahringer.name', 'email', 'http://renner.name/lance', '2014-07-28 11:06:17', '2014-07-28 11:06:17', '$2a$04$jm0EhiGXIo8yi0TMgm5mcOH/F8L8wqp6e4Vwdh9aPqrEGBe3jXoxu', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('lizeth_bernier@quigleyjacobson.org', 'lizeth_bernier@quigleyjacobson.org', 'email', '2014-07-28 11:06:18', '2014-07-28 11:06:18', '2014-07-28 11:06:18', 'http://senger.net/jeika', '$2a$04$lhRJ185KY/p.ju6bGEnbCOEUGiNnpQL6pMwmNi06/peyggOmnJx7K', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('2513189356', 'lue@nitzschehoppe.com', 'facebook', '2014-07-28 11:06:18', '2014-07-28 11:06:18', '2014-07-28 11:06:18', '$2a$04$xNsFMOj..Oh2ObEMWcrVPeuN/hPgCl6ZSPWeWh8Aa.zYvG0LfRv9S', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('rolando_daniel@gradybins.org', 'rolando_daniel@gradybins.org', 'email', 'http://hyatt.org/brennan', '2014-07-28 11:06:18', '2014-07-28 11:06:18', '$2a$04$fODzXwN7rC0KEnuDm0CXyOB8eN9lHCCVPGMaCs7H8gwcuRFM7TDX6', 701484147)[0m [1m[35m (2.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0002_should receive new token after successful request ------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:06:18.043460"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:06:18.045982"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"6valm0k1QoJGizKSHx-GYA\":{\"token\":\"$2a$10$2k.K.Mcon5gTzUJwZcXGnuITEENRUbmZPZ8a3bGPjRnw3FMwdqf4O\",\"expiry\":1408982778,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:18 -0500\"}}"], ["updated_at", "2014-08-11 16:06:18.108469"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"6valm0k1QoJGizKSHx-GYA\":{\"token\":\"$2a$10$2k.K.Mcon5gTzUJwZcXGnuITEENRUbmZPZ8a3bGPjRnw3FMwdqf4O\",\"expiry\":1408982778,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:03 -0500\"}}"], ["updated_at", "2014-08-11 16:06:18.110113"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'lizeth_bernier@quigleyjacobson.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"6valm0k1QoJGizKSHx-GYA\":{\"token\":\"$2a$10$aHmCGtr.yIZGORQn213c7OJa4rJN.wp43jVIWoC8WRHas54cGlXBy\",\"expiry\":1408982778,\"last_token\":\"$2a$10$2k.K.Mcon5gTzUJwZcXGnuITEENRUbmZPZ8a3bGPjRnw3FMwdqf4O\",\"updated_at\":\"2014-08-11 11:06:18 -0500\"}}"], ["updated_at", "2014-08-11 16:06:18.239466"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 126ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (4.1ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('katheryn@tremblayzieme.name', 'katheryn@tremblayzieme.name', 'email', '2014-07-28 11:06:22', '2014-07-28 11:06:22', '2014-07-28 11:06:22', 'http://zemlak.name/marjolaine', '$2a$04$BtqVmaI.Re1nHuIMQmIIaOPDsf7uDoUrCHd8KID/PIW1T5co8Mafu', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('9441887353', 'uriah@dubuque.name', 'facebook', '2014-07-28 11:06:22', '2014-07-28 11:06:22', '2014-07-28 11:06:22', '$2a$04$PjAw1UMrZ.Qh07A5JgPMpOc2mxqM6iS69VveTf6JXS8v.6ZKpKsx.', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('treie.abshire@leffler.biz', 'treie.abshire@leffler.biz', 'email', 'http://rippin.com/clovis.lebsack', '2014-07-28 11:06:22', '2014-07-28 11:06:22', '$2a$04$uBpggFyyRX1i6JB4vYutHecG9yS1j7qGEOm/ONfau0N5P.DeLfrSi', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('grayce@okuneva.biz', 'grayce@okuneva.biz', 'email', '2014-07-28 11:06:23', '2014-07-28 11:06:23', '2014-07-28 11:06:23', 'http://goldner.info/brenda', '$2a$04$7HxrS28PNwAl0B7rv.cBnOvcFzHPlcWjQqdykDG4JZsmzpBsmKeQG', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('6548301453', 'rowan@braun.org', 'facebook', '2014-07-28 11:06:23', '2014-07-28 11:06:23', '2014-07-28 11:06:23', '$2a$04$CNMoBPeHjw94CD3njQpq.OwJ7gwhx9dF5szkVrAtskWB7pv523Qoe', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('herminio@goyette.biz', 'herminio@goyette.biz', 'email', 'http://bergstrommaggio.org/demario', '2014-07-28 11:06:23', '2014-07-28 11:06:23', '$2a$04$/OO/Y43l1oIAjwhNSf9ys.Lvn8jQq3DlR5WXQezzGq.v1blTdoBPm', 701484147)[0m [1m[35m (1.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0003_should preserve the client id from the first request ---------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:06:23.277756"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:06:23.280054"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"FDehH2fujXqew9s0PmFpNQ\":{\"token\":\"$2a$10$sHAfeCGYxF2EKJFKNuQ6HuUz4cT8XS5Ky3CSReCwdvpKglPqND5MW\",\"expiry\":1408982783,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:23 -0500\"}}"], ["updated_at", "2014-08-11 16:06:23.341628"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"FDehH2fujXqew9s0PmFpNQ\":{\"token\":\"$2a$10$sHAfeCGYxF2EKJFKNuQ6HuUz4cT8XS5Ky3CSReCwdvpKglPqND5MW\",\"expiry\":1408982783,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:08 -0500\"}}"], ["updated_at", "2014-08-11 16:06:23.343530"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'grayce@okuneva.biz' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"FDehH2fujXqew9s0PmFpNQ\":{\"token\":\"$2a$10$IoGIikaCdJ/gXu90gXwXhutOkAklaIFsujCoiCwiU97x1JHFqXpNu\",\"expiry\":1408982783,\"last_token\":\"$2a$10$sHAfeCGYxF2EKJFKNuQ6HuUz4cT8XS5Ky3CSReCwdvpKglPqND5MW\",\"updated_at\":\"2014-08-11 11:06:23 -0500\"}}"], ["updated_at", "2014-08-11 16:06:23.472895"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 126ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.7ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('juanita.witting@turner.org', 'juanita.witting@turner.org', 'email', '2014-07-28 11:06:28', '2014-07-28 11:06:28', '2014-07-28 11:06:28', 'http://turcotte.name/amina', '$2a$04$A7f3h4tm95/SnBiNMNV6ZeOhJW7eVJ3ILK0jquoDqcH7ehDPZT67e', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('5760495259', 'blair@kochgerhold.com', 'facebook', '2014-07-28 11:06:28', '2014-07-28 11:06:28', '2014-07-28 11:06:28', '$2a$04$j/YUFOv14YZwZgCjfrqUP.F88K6ODHZhjQUwGgnTJk30gI25qetzO', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('julian@erdmankutch.net', 'julian@erdmankutch.net', 'email', 'http://beier.info/erna.witting', '2014-07-28 11:06:28', '2014-07-28 11:06:28', '$2a$04$b6DPHen28nOkwnWBgSAS5OD3AAqP4KfRuw8x.6AenNpptoB4NMrnC', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('joel@smith.com', 'joel@smith.com', 'email', '2014-07-28 11:06:28', '2014-07-28 11:06:28', '2014-07-28 11:06:28', 'http://lubowitz.name/evalyn.torp', '$2a$04$oLKInmSdSiPHDt1Ae4AU4eF5l.D6NqmYKNBWQmjm2icB37c/IltWu', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3286717936', 'kurtis_hickle@rippin.org', 'facebook', '2014-07-28 11:06:28', '2014-07-28 11:06:28', '2014-07-28 11:06:28', '$2a$04$TUk2muRFopOho.3f4U9W3.jr3JpykydfDjt3HLEhwExg8haNyik86', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('myah_aufderhar@stiedemann.info', 'myah_aufderhar@stiedemann.info', 'email', 'http://daniel.biz/chet.heaney', '2014-07-28 11:06:28', '2014-07-28 11:06:28', '$2a$04$XSuQpOvDV9PMlMwPs6x5CO621I.J6fL2SWK5J12kW6WIFIpYap/rK', 701484147)[0m [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0004_should return the user's uid in the auth header ----------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:06:29.009177"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:06:29.011441"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"IfiARB-LGT5Aq7fANTElqg\":{\"token\":\"$2a$10$JRTKvHR3yNDnLwqZZbaV..8pBYNL7xEU4bqxA1wEosP5OVMlQl2IS\",\"expiry\":1408982789,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:29 -0500\"}}"], ["updated_at", "2014-08-11 16:06:29.073795"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"IfiARB-LGT5Aq7fANTElqg\":{\"token\":\"$2a$10$JRTKvHR3yNDnLwqZZbaV..8pBYNL7xEU4bqxA1wEosP5OVMlQl2IS\",\"expiry\":1408982789,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:14 -0500\"}}"], ["updated_at", "2014-08-11 16:06:29.075981"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'joel@smith.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"IfiARB-LGT5Aq7fANTElqg\":{\"token\":\"$2a$10$P3XvRiuhzVHPNwjv.NE7N.nDVVPG0E8w4ODWnJFD9d2kragQt0s0m\",\"expiry\":1408982789,\"last_token\":\"$2a$10$JRTKvHR3yNDnLwqZZbaV..8pBYNL7xEU4bqxA1wEosP5OVMlQl2IS\",\"updated_at\":\"2014-08-11 11:06:29 -0500\"}}"], ["updated_at", "2014-08-11 16:06:29.205605"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 126ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.8ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('vincenza_sipes@hillscrooks.org', 'vincenza_sipes@hillscrooks.org', 'email', '2014-07-28 11:06:31', '2014-07-28 11:06:31', '2014-07-28 11:06:31', 'http://christiansen.biz/morris', '$2a$04$4U1uihRlDcdmwvNb1gixbeOtJ7XWQE2peh4uE13bMq66cMR5xwU52', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3150860265', 'valerie@nolan.name', 'facebook', '2014-07-28 11:06:31', '2014-07-28 11:06:31', '2014-07-28 11:06:31', '$2a$04$XVHmRcw578NUZk7IkxKnI.k4G4AScYR5QPqkOmB9xLRupI04hDt/.', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('trever_blanda@sanfordkirlin.biz', 'trever_blanda@sanfordkirlin.biz', 'email', 'http://brakus.net/bradley.corwin', '2014-07-28 11:06:31', '2014-07-28 11:06:31', '$2a$04$S37F/RK6qGVFE1S2YXlcl.sKN8CJxiS1MdgFZhDHg3N3tGGU/nbUS', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('keyshawn_kertzmann@keebler.org', 'keyshawn_kertzmann@keebler.org', 'email', '2014-07-28 11:06:31', '2014-07-28 11:06:31', '2014-07-28 11:06:31', 'http://stokes.org/lula', '$2a$04$LlSAZKtoviX7mnlk0318NuTRDrf068HVN4aJJa5xXD6HvBbtQ6Nt.', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('0362922464', 'ulises@bogisich.biz', 'facebook', '2014-07-28 11:06:31', '2014-07-28 11:06:31', '2014-07-28 11:06:31', '$2a$04$5MXk5ydmTw19OJ8KDeNhB.mwFrBgshOlYi4IwXvvR6T53iIsFptke', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('dameon@schneider.info', 'dameon@schneider.info', 'email', 'http://wunsch.info/vivian_hilpert', '2014-07-28 11:06:31', '2014-07-28 11:06:31', '$2a$04$AQr7HCb6SuCKE5hKd1EAK.oCqp2i4JtaVdCYwz/jBnF37ZJCtU3nG', 701484147)[0m [1m[35m (2.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0004_should return the user's uid in the auth header ----------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:06:31.746267"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:06:31.748855"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"MQLQUTb0eBmUcm2F4gOkDA\":{\"token\":\"$2a$10$A70xYlW5TfEi7GuhR3./f.9RiRvIFIgHPmvEBrju1atmDGDSyIqZm\",\"expiry\":1408982791,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:31 -0500\"}}"], ["updated_at", "2014-08-11 16:06:31.811781"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"MQLQUTb0eBmUcm2F4gOkDA\":{\"token\":\"$2a$10$A70xYlW5TfEi7GuhR3./f.9RiRvIFIgHPmvEBrju1atmDGDSyIqZm\",\"expiry\":1408982791,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:16 -0500\"}}"], ["updated_at", "2014-08-11 16:06:31.813743"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'keyshawn_kertzmann@keebler.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"MQLQUTb0eBmUcm2F4gOkDA\":{\"token\":\"$2a$10$G2EphRxoz5/.F.mqlnSOpuo1jiNMRsKRWDg3N2Vae.wbYN8Fdf23u\",\"expiry\":1408982791,\"last_token\":\"$2a$10$A70xYlW5TfEi7GuhR3./f.9RiRvIFIgHPmvEBrju1atmDGDSyIqZm\",\"updated_at\":\"2014-08-11 11:06:31 -0500\"}}"], ["updated_at", "2014-08-11 16:06:31.943699"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 127ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('korey.wyman@gleason.info', 'korey.wyman@gleason.info', 'email', '2014-07-28 11:06:34', '2014-07-28 11:06:34', '2014-07-28 11:06:34', 'http://dibbert.info/demario_rowe', '$2a$04$pAtCG5mCdyTnx.LbvUrBLOnEVl57kwZCrwscDXBzs5DntZwC82e4O', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('2156120675', 'zora.rippin@gerhold.biz', 'facebook', '2014-07-28 11:06:34', '2014-07-28 11:06:34', '2014-07-28 11:06:34', '$2a$04$x.AiTGbq3SkrULpuMBmCvOWKxADphDv3s6Ezwedy28gWFxBQr0Thm', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('cindy_price@gulgowski.com', 'cindy_price@gulgowski.com', 'email', 'http://schaefertrantow.info/geovany', '2014-07-28 11:06:34', '2014-07-28 11:06:34', '$2a$04$nSdaVZlb6SrsBDxgwc6RBuUirPWqN9hwMktFZOIDnTEyq.eoORI76', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('nestor@ernserchristiansen.org', 'nestor@ernserchristiansen.org', 'email', '2014-07-28 11:06:34', '2014-07-28 11:06:34', '2014-07-28 11:06:34', 'http://weimann.net/saige', '$2a$04$3neUtIWPmmRdd/HTALGBveyLxYBp.WBDS5feRL.tsvQe8V//C4WZm', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('4663473538', 'frederique.macgyver@williamsonmraz.info', 'facebook', '2014-07-28 11:06:34', '2014-07-28 11:06:34', '2014-07-28 11:06:34', '$2a$04$yEBDHMWbnSqMUd7DofyQoeUnx1LgcLg17eh1r98R9T1BBGJKpO2c6', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('marina.gislason@stiedemann.name', 'marina.gislason@stiedemann.name', 'email', 'http://hahn.info/jake_swaniawski', '2014-07-28 11:06:34', '2014-07-28 11:06:34', '$2a$04$/TrrEcYn0nDr12UWg1eUkOK0HxozEo9qqF5PjqfLhYBeP6eEU1Dw.', 701484147)[0m [1m[35m (2.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------ DemoController::Token access::successful request: test_0005_should not treat this request as a batch request ------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:06:34.480059"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:06:34.482519"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"vzdIX5sV6e0kt6qTElL1eQ\":{\"token\":\"$2a$10$r9fsS6GR6SIQ8QruqZ8b1ukfySuX6QeEa7DfAZ/gg5h.lz1OpKOry\",\"expiry\":1408982794,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:34 -0500\"}}"], ["updated_at", "2014-08-11 16:06:34.543733"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"vzdIX5sV6e0kt6qTElL1eQ\":{\"token\":\"$2a$10$r9fsS6GR6SIQ8QruqZ8b1ukfySuX6QeEa7DfAZ/gg5h.lz1OpKOry\",\"expiry\":1408982794,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:19 -0500\"}}"], ["updated_at", "2014-08-11 16:06:34.545475"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'nestor@ernserchristiansen.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"vzdIX5sV6e0kt6qTElL1eQ\":{\"token\":\"$2a$10$fWVyMYI6.6ZSzUvHZ1XrI.u.sjFi/u7KfUWf/VzcxlM02ZKKgsKwq\",\"expiry\":1408982794,\"last_token\":\"$2a$10$r9fsS6GR6SIQ8QruqZ8b1ukfySuX6QeEa7DfAZ/gg5h.lz1OpKOry\",\"updated_at\":\"2014-08-11 11:06:34 -0500\"}}"], ["updated_at", "2014-08-11 16:06:34.675536"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 127ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (2.8ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('julio@vonoconnell.biz', 'julio@vonoconnell.biz', 'email', '2014-07-28 11:06:36', '2014-07-28 11:06:36', '2014-07-28 11:06:36', 'http://walker.net/marcelle', '$2a$04$4utAOdIqFN8P9RU0Fc2VcO8qfz0NFVxEHz5uFHmxOOctgvMrEcXrC', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('8163862967', 'arielle_keler@ziemann.biz', 'facebook', '2014-07-28 11:06:36', '2014-07-28 11:06:36', '2014-07-28 11:06:36', '$2a$04$y1CkFySSoRdN2Mf/guZC.O4mH4V86ezBzZgEljo4kACa6/iT3yO8i', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('alexander.harris@labadiecrooks.net', 'alexander.harris@labadiecrooks.net', 'email', 'http://schroeder.com/kendrick', '2014-07-28 11:06:36', '2014-07-28 11:06:36', '$2a$04$c8lluLzTd06kAPDLml.OU.7pl4ggZza8gLBDbqgjAAgiheyQo8vxu', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('gregorio@satterfield.info', 'gregorio@satterfield.info', 'email', '2014-07-28 11:06:37', '2014-07-28 11:06:37', '2014-07-28 11:06:37', 'http://langosh.biz/felicita', '$2a$04$APYrBspQ0Pt7k/H8.Vxf.O5iJ7L18/MZtR7uWml2eTT1Q0YS1SMy.', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('2418397371', 'kristopher@goldnerblick.biz', 'facebook', '2014-07-28 11:06:37', '2014-07-28 11:06:37', '2014-07-28 11:06:37', '$2a$04$iCCJzOwdTqh/FW1O5glTGedU8NOgZ.k9WsYXOhd0frIRCuqEmLa9q', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('augustine.blick@balistreri.name', 'augustine.blick@balistreri.name', 'email', 'http://miller.org/elinore', '2014-07-28 11:06:37', '2014-07-28 11:06:37', '$2a$04$AAEcikf66V1/TLnDCQZEFeAo2tXFam.YGnOPGt53/InCqZ47aSCBa', 701484147)[0m [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------ DemoController::Token access::successful request: test_0005_should not treat this request as a batch request ------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:06:37.273846"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:06:37.276140"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"9XRM-61kElcJvRyfX-8Olw\":{\"token\":\"$2a$10$RrZpZwR/m3dP8rsV8I6yK.7rxJ1H1uvaSFmbYiwSG7gY3ocWyOID2\",\"expiry\":1408982797,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:37 -0500\"}}"], ["updated_at", "2014-08-11 16:06:37.337492"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"9XRM-61kElcJvRyfX-8Olw\":{\"token\":\"$2a$10$RrZpZwR/m3dP8rsV8I6yK.7rxJ1H1uvaSFmbYiwSG7gY3ocWyOID2\",\"expiry\":1408982797,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:22 -0500\"}}"], ["updated_at", "2014-08-11 16:06:37.339132"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'gregorio@satterfield.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"9XRM-61kElcJvRyfX-8Olw\":{\"token\":\"$2a$10$8vQBqO1rMqMdKIAfX/jhQ.k.rZkebdUP2uyILw/2mq9/YnyCupjj6\",\"expiry\":1408982797,\"last_token\":\"$2a$10$RrZpZwR/m3dP8rsV8I6yK.7rxJ1H1uvaSFmbYiwSG7gY3ocWyOID2\",\"updated_at\":\"2014-08-11 11:06:37 -0500\"}}"], ["updated_at", "2014-08-11 16:06:37.467728"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 125ms (Views: 0.7ms | ActiveRecord: 0.3ms) [1m[35m (4.0ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('mathew_kutch@ritchiedeckow.info', 'mathew_kutch@ritchiedeckow.info', 'email', '2014-07-28 11:06:45', '2014-07-28 11:06:45', '2014-07-28 11:06:45', 'http://simonisokon.biz/dominique.casper', '$2a$04$dOrk45aZk4tT85FqnUWRu.YyC0YLOU7GRRB957lteQEGZTm7VamYq', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('7927899686', 'imani@borer.name', 'facebook', '2014-07-28 11:06:45', '2014-07-28 11:06:45', '2014-07-28 11:06:45', '$2a$04$Jw3TjXXR/7cY2VXqLro3uus5wlRIN765baPsnB7RU9GJkjPKdCEPC', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('delta@littleharris.net', 'delta@littleharris.net', 'email', 'http://price.info/yvonne', '2014-07-28 11:06:45', '2014-07-28 11:06:45', '$2a$04$X74xCF8KLitUXwI93nVrLON8ZwzM1IVOwXZ4.UziZMp.gnUO2QJWG', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('jarret.kertzmann@heaney.info', 'jarret.kertzmann@heaney.info', 'email', '2014-07-28 11:06:45', '2014-07-28 11:06:45', '2014-07-28 11:06:45', 'http://reichel.net/eldora_schamberger', '$2a$04$gsDmU9GJN7uWUEheNcjTF.0SZ0NpsPt7bI1pAkgijmjz5kv.4oczS', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('2170783390', 'desiree_lowe@carrollcorwin.org', 'facebook', '2014-07-28 11:06:45', '2014-07-28 11:06:45', '2014-07-28 11:06:45', '$2a$04$LJmb7TRrNf0LDbtf5/2F0uLoTND5tgp7HAXeB0E.rhn33vTUfCuDC', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('jaqueline_pfeffer@raynor.net', 'jaqueline_pfeffer@raynor.net', 'email', 'http://schoen.org/barton', '2014-07-28 11:06:45', '2014-07-28 11:06:45', '$2a$04$aJrzoUWmrbxRirajMG4EquIh50amCLrop0T8AQramIDnIJDZauUWG', 701484147)[0m [1m[35m (2.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::succesive requests: test_0001_should not treat this request as a batch request -------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:06:45.882057"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:06:45.884383"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"qlhq2RahDP0IZaarAGFT-Q\":{\"token\":\"$2a$10$//68m1Jo6ViizjuJ9JOpn.duKpuGrLDDpwrl5h0nVaDqzoGdwO362\",\"expiry\":1408982805,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:45 -0500\"}}"], ["updated_at", "2014-08-11 16:06:45.945416"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"qlhq2RahDP0IZaarAGFT-Q\":{\"token\":\"$2a$10$//68m1Jo6ViizjuJ9JOpn.duKpuGrLDDpwrl5h0nVaDqzoGdwO362\",\"expiry\":1408982805,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:30 -0500\"}}"], ["updated_at", "2014-08-11 16:06:45.947173"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'jarret.kertzmann@heaney.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"qlhq2RahDP0IZaarAGFT-Q\":{\"token\":\"$2a$10$YxM8wAebSDkVUohR6aXfE.tQeefvnSeLYYBNJM6vXTZuMVGG95YYO\",\"expiry\":1408982806,\"last_token\":\"$2a$10$//68m1Jo6ViizjuJ9JOpn.duKpuGrLDDpwrl5h0nVaDqzoGdwO362\",\"updated_at\":\"2014-08-11 11:06:46 -0500\"}}"], ["updated_at", "2014-08-11 16:06:46.076832"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 126ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"qlhq2RahDP0IZaarAGFT-Q\":{\"token\":\"$2a$10$YxM8wAebSDkVUohR6aXfE.tQeefvnSeLYYBNJM6vXTZuMVGG95YYO\",\"expiry\":1408982806,\"last_token\":\"$2a$10$//68m1Jo6ViizjuJ9JOpn.duKpuGrLDDpwrl5h0nVaDqzoGdwO362\",\"updated_at\":\"2014-08-11 11:06:31 -0500\"}}"], ["updated_at", "2014-08-11 16:06:46.078724"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.6ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('jazmyn.mitchell@romagueragoodwin.info', 'jazmyn.mitchell@romagueragoodwin.info', 'email', '2014-07-28 11:06:48', '2014-07-28 11:06:48', '2014-07-28 11:06:48', 'http://wiza.name/jan', '$2a$04$IUNFshen8hZoQGRNwtYJ2e3hUBZroD7nBApWYLwaWoM59ConmR2da', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3861228340', 'alberta@senger.info', 'facebook', '2014-07-28 11:06:48', '2014-07-28 11:06:48', '2014-07-28 11:06:48', '$2a$04$xo7rvfojiH.0znK6pfc0ku8jppc1U8YVp4i0/el7wpY.mBsJoaeXi', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('dorothy@ziemann.biz', 'dorothy@ziemann.biz', 'email', 'http://terryjaskolski.info/sharon', '2014-07-28 11:06:48', '2014-07-28 11:06:48', '$2a$04$sZ0udLGn8m.DbvENeAT6J.xjEKbED2ZI2zHQNPpKMIX3KzUc.UQ/C', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('garnett@ferryklocko.name', 'garnett@ferryklocko.name', 'email', '2014-07-28 11:06:48', '2014-07-28 11:06:48', '2014-07-28 11:06:48', 'http://heidenreich.biz/nora', '$2a$04$bh7q/STSMBDQuHoL6xKEtOkidPAsOP15hcd44kB7AJ0/tJN95g6tW', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('0073036967', 'brody.volkman@kautzer.name', 'facebook', '2014-07-28 11:06:48', '2014-07-28 11:06:48', '2014-07-28 11:06:48', '$2a$04$KmebUDRvz6SEPBnzOeTGd.4J2vAtGLvaR6XeDZDx93pKNbMWqvfD2', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('edythe_von@welchbrekke.info', 'edythe_von@welchbrekke.info', 'email', 'http://reynoldscruickshank.com/vicenta', '2014-07-28 11:06:48', '2014-07-28 11:06:48', '$2a$04$kMj6T7nI4D4FJoDWL8XGjO1xYj6dkUpFBILKnNPPB6it29LLiUGp2', 701484147)[0m [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::succesive requests: test_0001_should not treat this request as a batch request -------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:06:48.592058"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:06:48.594196"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"onJWF_Bu5WPQRNqEFvu9Ow\":{\"token\":\"$2a$10$urzhdJKSvB6ztwcJyWrjie6LPq.OzlfwcRZzzbsVRGoLSMwxTepB6\",\"expiry\":1408982808,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:48 -0500\"}}"], ["updated_at", "2014-08-11 16:06:48.655138"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"onJWF_Bu5WPQRNqEFvu9Ow\":{\"token\":\"$2a$10$urzhdJKSvB6ztwcJyWrjie6LPq.OzlfwcRZzzbsVRGoLSMwxTepB6\",\"expiry\":1408982808,\"last_token\":null,\"updated_at\":\"2014-08-11 11:06:33 -0500\"}}"], ["updated_at", "2014-08-11 16:06:48.656844"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'garnett@ferryklocko.name' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"onJWF_Bu5WPQRNqEFvu9Ow\":{\"token\":\"$2a$10$grX3F9XzXB1fmCbC0cyM4OOiNvfFzcQn4dkG.N98Xpg0lAksUdynS\",\"expiry\":1408982808,\"last_token\":\"$2a$10$urzhdJKSvB6ztwcJyWrjie6LPq.OzlfwcRZzzbsVRGoLSMwxTepB6\",\"updated_at\":\"2014-08-11 11:06:48 -0500\"}}"], ["updated_at", "2014-08-11 16:06:48.786424"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 126ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"onJWF_Bu5WPQRNqEFvu9Ow\":{\"token\":\"$2a$10$grX3F9XzXB1fmCbC0cyM4OOiNvfFzcQn4dkG.N98Xpg0lAksUdynS\",\"expiry\":1408982808,\"last_token\":\"$2a$10$urzhdJKSvB6ztwcJyWrjie6LPq.OzlfwcRZzzbsVRGoLSMwxTepB6\",\"updated_at\":\"2014-08-11 11:06:33 -0500\"}}"], ["updated_at", "2014-08-11 16:06:48.788293"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.6ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('myra@pagac.net', 'myra@pagac.net', 'email', '2014-07-28 11:07:24', '2014-07-28 11:07:24', '2014-07-28 11:07:24', 'http://beer.com/jarret_abbott', '$2a$04$ODtXgjKXq2uv0jhQpr42AOJspsOMZMXex6j2RElVZqF/F8ir7M66C', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3661146434', 'nyah_bailey@tremblay.biz', 'facebook', '2014-07-28 11:07:24', '2014-07-28 11:07:24', '2014-07-28 11:07:24', '$2a$04$y40TrsPQGdgHYvvlVtMAxeOUmSomrsycscpwwgak88aLRwFC7VR/2', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('jameson@johnstonmurazik.org', 'jameson@johnstonmurazik.org', 'email', 'http://okeefe.name/karianne_hudson', '2014-07-28 11:07:24', '2014-07-28 11:07:24', '$2a$04$1CBGfSw8aEcpkTXe9x799.wp0ZXNIaZJB3UuPOsiZvlz3QuZ25PS.', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('maida@treutel.biz', 'maida@treutel.biz', 'email', '2014-07-28 11:07:24', '2014-07-28 11:07:24', '2014-07-28 11:07:24', 'http://balistreri.org/jacynthe.gorczany', '$2a$04$al9IElUgsNlmdb/0onTuOucbwl4dEwZXmtakhQFqgYU0f4Xt00/Oa', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3228812822', 'eloise.champlin@brakusgutkowski.info', 'facebook', '2014-07-28 11:07:24', '2014-07-28 11:07:24', '2014-07-28 11:07:24', '$2a$04$zujrkPw37Z77p2pyf.CvbelbCod/k/jNUYCX9iLdsYbxJtYUua3Iu', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('francesca@boyle.net', 'francesca@boyle.net', 'email', 'http://wehnerbogan.org/addison', '2014-07-28 11:07:24', '2014-07-28 11:07:24', '$2a$04$RueLBX5DWwBiNK79MlaZcO472LTct7HGRZpB20MpGfUU53g7GpE0u', 701484147)[0m [1m[35m (1.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::subsequent requests: test_0001_should not treat this request as a batch request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:07:24.596142"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:07:24.598301"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"pt-6et9tYb_JeAxvHY3MHQ\":{\"token\":\"$2a$10$KUOATDls9D46thyrQjp/SejJ3.b6f.qs1FH0VoLi3Pa43JWFcK8Qe\",\"expiry\":1408982844,\"last_token\":null,\"updated_at\":\"2014-08-11 11:07:24 -0500\"}}"], ["updated_at", "2014-08-11 16:07:24.661786"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"pt-6et9tYb_JeAxvHY3MHQ\":{\"token\":\"$2a$10$KUOATDls9D46thyrQjp/SejJ3.b6f.qs1FH0VoLi3Pa43JWFcK8Qe\",\"expiry\":1408982844,\"last_token\":null,\"updated_at\":\"2014-08-11 11:07:09 -0500\"}}"], ["updated_at", "2014-08-11 16:07:24.663727"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'maida@treutel.biz' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"pt-6et9tYb_JeAxvHY3MHQ\":{\"token\":\"$2a$10$abOvDFJ19OZL0eOgrGgx8.QwWTVVVlrMUc4O7DZzZ4vu1fHFJ7Bcq\",\"expiry\":1408982844,\"last_token\":\"$2a$10$KUOATDls9D46thyrQjp/SejJ3.b6f.qs1FH0VoLi3Pa43JWFcK8Qe\",\"updated_at\":\"2014-08-11 11:07:24 -0500\"}}"], ["updated_at", "2014-08-11 16:07:24.795268"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 129ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"pt-6et9tYb_JeAxvHY3MHQ\":{\"token\":\"$2a$10$abOvDFJ19OZL0eOgrGgx8.QwWTVVVlrMUc4O7DZzZ4vu1fHFJ7Bcq\",\"expiry\":1408982844,\"last_token\":\"$2a$10$KUOATDls9D46thyrQjp/SejJ3.b6f.qs1FH0VoLi3Pa43JWFcK8Qe\",\"updated_at\":\"2014-08-11 11:07:09 -0500\"}}"], ["updated_at", "2014-08-11 16:07:24.797712"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (1.6ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('lisa@marquardt.net', 'lisa@marquardt.net', 'email', '2014-07-28 11:18:27', '2014-07-28 11:18:27', '2014-07-28 11:18:27', 'http://pagac.info/xander', '$2a$04$qVgV0X8TC0fayknw9//n3ecbfE6BUI39VJDkO29IIBBkPqhvcIZXK', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('2515752072', 'ettie_ondricka@millerdubuque.org', 'facebook', '2014-07-28 11:18:27', '2014-07-28 11:18:27', '2014-07-28 11:18:27', '$2a$04$WGIHCKHrTcQYTppUWw/P9e7yGIdmL/7rB69O3dzKhhfe47.bhCFd.', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('chris@mrazfunk.org', 'chris@mrazfunk.org', 'email', 'http://daniel.com/agustina', '2014-07-28 11:18:27', '2014-07-28 11:18:27', '$2a$04$A2UC2m4Mx.JYPzknEStzuuz2Znyq1ehoajs1VTa/8xuvIVtokcVK6', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('ahmad@fahey.com', 'ahmad@fahey.com', 'email', '2014-07-28 11:18:27', '2014-07-28 11:18:27', '2014-07-28 11:18:27', 'http://leuschkebalistreri.name/louvenia', '$2a$04$Jhgm1K56dnd.guYZ9fZMZ.C8.r307.S9U1VO4Spq1qrXRj1GYwMIq', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('2637618685', 'kariane@bodehintz.biz', 'facebook', '2014-07-28 11:18:27', '2014-07-28 11:18:27', '2014-07-28 11:18:27', '$2a$04$/rg20lZLm3mU5qijByieQuORgN.VyCx9dhIVxKIBHEKPMexKUSdFy', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('shemar@tremblayjohns.com', 'shemar@tremblayjohns.com', 'email', 'http://osinskipadberg.name/celestine.spencer', '2014-07-28 11:18:27', '2014-07-28 11:18:27', '$2a$04$pWbSUzzPEZk3iCBJ2zt0QesukNwgxmv57Oh72ah9nKoMnNmN5hwiW', 701484147)[0m [1m[35m (1.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::subsequent requests: test_0001_should not treat this request as a batch request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:18:27.740921"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:18:27.743388"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.9ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"W2FQnkh7l87gZP-L4g4DNQ\":{\"token\":\"$2a$10$ILP4UhKQi4jVuu177gpqDekr8LVqQWGdrNhJKGfsrnMax7N.cFP4C\",\"expiry\":1408983507,\"last_token\":null,\"updated_at\":\"2014-08-11 11:18:27 -0500\"}}"], ["updated_at", "2014-08-11 16:18:27.805371"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"W2FQnkh7l87gZP-L4g4DNQ\":{\"token\":\"$2a$10$ILP4UhKQi4jVuu177gpqDekr8LVqQWGdrNhJKGfsrnMax7N.cFP4C\",\"expiry\":1408983507,\"last_token\":null,\"updated_at\":\"2014-08-11 11:18:12 -0500\"}}"], ["updated_at", "2014-08-11 16:18:27.807634"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ahmad@fahey.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"W2FQnkh7l87gZP-L4g4DNQ\":{\"token\":\"$2a$10$VIcPcKRolJrEE0Ct8XUyO.hrp/h3pJrNZQBVWf5h32G/1hMaNob/a\",\"expiry\":1408983507,\"last_token\":\"$2a$10$ILP4UhKQi4jVuu177gpqDekr8LVqQWGdrNhJKGfsrnMax7N.cFP4C\",\"updated_at\":\"2014-08-11 11:18:27 -0500\"}}"], ["updated_at", "2014-08-11 16:18:27.937945"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 127ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"W2FQnkh7l87gZP-L4g4DNQ\":{\"token\":\"$2a$10$VIcPcKRolJrEE0Ct8XUyO.hrp/h3pJrNZQBVWf5h32G/1hMaNob/a\",\"expiry\":1408983507,\"last_token\":\"$2a$10$ILP4UhKQi4jVuu177gpqDekr8LVqQWGdrNhJKGfsrnMax7N.cFP4C\",\"updated_at\":\"2014-08-11 11:18:12 -0500\"}}"], ["updated_at", "2014-08-11 16:18:27.940774"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ahmad@fahey.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"W2FQnkh7l87gZP-L4g4DNQ\":{\"token\":\"$2a$10$Xxl3ICAeuhM4Y6YBl2XDP.w99DoSDYzjn48vYMsz7z9f0aktruGTG\",\"expiry\":1408983508,\"last_token\":\"$2a$10$VIcPcKRolJrEE0Ct8XUyO.hrp/h3pJrNZQBVWf5h32G/1hMaNob/a\",\"updated_at\":\"2014-08-11 11:18:28 -0500\"}}"], ["updated_at", "2014-08-11 16:18:28.064341"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.5ms | ActiveRecord: 0.5ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('kari@fahey.org', 'kari@fahey.org', 'email', '2014-07-28 11:18:35', '2014-07-28 11:18:35', '2014-07-28 11:18:35', 'http://legros.info/alexandrine', '$2a$04$LTbt834cowLdzFV82HXz.eXlZgexXgeLq20K4E96P0kHidSfx3JSS', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('5966990746', 'lawson@wilkinson.net', 'facebook', '2014-07-28 11:18:35', '2014-07-28 11:18:35', '2014-07-28 11:18:35', '$2a$04$vXBGT1QAxnPOnL62kM7MeuKVMe7nxj9.A0ekcAjbUXMiyf8aII946', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('tad@beer.org', 'tad@beer.org', 'email', 'http://haleygraham.info/melisa_hermann', '2014-07-28 11:18:35', '2014-07-28 11:18:35', '$2a$04$Irvy/4P5T980XvxvA/uuI.mGeLjgCxtnHNjC1RPu5co8VttRsbZvK', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('watson@berge.org', 'watson@berge.org', 'email', '2014-07-28 11:18:35', '2014-07-28 11:18:35', '2014-07-28 11:18:35', 'http://kirlinvandervort.biz/ryder_schneider', '$2a$04$FE3qSmdTGU078P58FWzB1.zbF01BIT6NI8K/G2P0fAGrQ5vqc959e', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3548588111', 'geovanny.kiehn@stamm.com', 'facebook', '2014-07-28 11:18:35', '2014-07-28 11:18:35', '2014-07-28 11:18:35', '$2a$04$ZK/yvOrTYhFYILUh0cbJoOBHALLytLYises1GQGdyWwONb5Zly33G', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('hollie.bechtelar@jaskolski.com', 'hollie.bechtelar@jaskolski.com', 'email', 'http://senger.biz/lexie', '2014-07-28 11:18:35', '2014-07-28 11:18:35', '$2a$04$6tN3gvpfN/9RMICi0R5ee.oWw4r.liaagbiD4DrGqNSS9Eh0YaD1W', 701484147)[0m [1m[35m (2.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::subsequent requests: test_0002_should allow a new request to be made using new token -------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:18:35.307529"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:18:35.309766"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"AWEuQkR36o-xFlmmwk6qfg\":{\"token\":\"$2a$10$Fdczb8cFs1dZKyVMhBq1Vet05dRDwSKFzj8iwsVmWbhXnIZerskIO\",\"expiry\":1408983515,\"last_token\":null,\"updated_at\":\"2014-08-11 11:18:35 -0500\"}}"], ["updated_at", "2014-08-11 16:18:35.370684"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"AWEuQkR36o-xFlmmwk6qfg\":{\"token\":\"$2a$10$Fdczb8cFs1dZKyVMhBq1Vet05dRDwSKFzj8iwsVmWbhXnIZerskIO\",\"expiry\":1408983515,\"last_token\":null,\"updated_at\":\"2014-08-11 11:18:20 -0500\"}}"], ["updated_at", "2014-08-11 16:18:35.372458"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'watson@berge.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"AWEuQkR36o-xFlmmwk6qfg\":{\"token\":\"$2a$10$Zp6QZmP6EF3WheZBaVJpIueoU3tHfDiZ3IdvGjA/asN0AzAc5C2IK\",\"expiry\":1408983515,\"last_token\":\"$2a$10$Fdczb8cFs1dZKyVMhBq1Vet05dRDwSKFzj8iwsVmWbhXnIZerskIO\",\"updated_at\":\"2014-08-11 11:18:35 -0500\"}}"], ["updated_at", "2014-08-11 16:18:35.501082"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 125ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"AWEuQkR36o-xFlmmwk6qfg\":{\"token\":\"$2a$10$Zp6QZmP6EF3WheZBaVJpIueoU3tHfDiZ3IdvGjA/asN0AzAc5C2IK\",\"expiry\":1408983515,\"last_token\":\"$2a$10$Fdczb8cFs1dZKyVMhBq1Vet05dRDwSKFzj8iwsVmWbhXnIZerskIO\",\"updated_at\":\"2014-08-11 11:18:20 -0500\"}}"], ["updated_at", "2014-08-11 16:18:35.502965"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'watson@berge.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"AWEuQkR36o-xFlmmwk6qfg\":{\"token\":\"$2a$10$XCRjhEVKEP1gjJ75rAHMcuSik5EEeUN8gmu2SesJczxVWhYLeqyVe\",\"expiry\":1408983515,\"last_token\":\"$2a$10$Zp6QZmP6EF3WheZBaVJpIueoU3tHfDiZ3IdvGjA/asN0AzAc5C2IK\",\"updated_at\":\"2014-08-11 11:18:35 -0500\"}}"], ["updated_at", "2014-08-11 16:18:35.626528"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.5ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('savanna.fritsch@koepp.name', 'savanna.fritsch@koepp.name', 'email', '2014-07-28 11:18:47', '2014-07-28 11:18:47', '2014-07-28 11:18:47', 'http://ohara.org/lucinda_boyle', '$2a$04$Mbj64Z7ZP07LGMAYSC5PkuvIYZE/l3NarKlY51PgvguQQ.B4G04mG', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('6448935674', 'arjun.krajcik@ondricka.net', 'facebook', '2014-07-28 11:18:47', '2014-07-28 11:18:47', '2014-07-28 11:18:47', '$2a$04$tgUK5LSFbWEZNjoejN9lge86sgYvPCVGjgA0n/ZZ88dq1UpV8V1Uy', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('euna@okuneva.net', 'euna@okuneva.net', 'email', 'http://ondrickapfannerstill.name/titus', '2014-07-28 11:18:47', '2014-07-28 11:18:47', '$2a$04$8pX0JigNj9VWoNN3AvSXqe.OYNEmeZP8tOcBzRwgrrjTFP2Z07skS', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('collin.cummerata@littel.net', 'collin.cummerata@littel.net', 'email', '2014-07-28 11:18:47', '2014-07-28 11:18:47', '2014-07-28 11:18:47', 'http://gulgowski.info/candice', '$2a$04$hX71oSi9GNHGj81o61sp8e8hKQJNyeVfn09zJvIc98roPGHhViMli', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('7178550887', 'jermain@glover.name', 'facebook', '2014-07-28 11:18:47', '2014-07-28 11:18:47', '2014-07-28 11:18:47', '$2a$04$3ol3wDKIxkohZV7oJFHft.m2I/G.82aozABqZYudQhgrlGX54l.9y', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('leie@johnson.name', 'leie@johnson.name', 'email', 'http://bartell.biz/emilio', '2014-07-28 11:18:47', '2014-07-28 11:18:47', '$2a$04$UwQorObg6RxWT4etQAzGrutkdu6kp2hL6mSrC6BAeYFOwsMcFJnnS', 701484147)[0m [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0001_should not return any auth headers ------------------------------------------------------------------------------------------ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:18:47.756151"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:18:47.758398"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"CGm_-qMF_Db-94Vh_RkPfA\":{\"token\":\"$2a$10$GW1/TUU1T5xK4t75tE6gzeFsm7xnc.16oiBoSHnllaqjZLSEd8TEq\",\"expiry\":1408983527,\"last_token\":null,\"updated_at\":\"2014-08-11 11:18:47 -0500\"}}"], ["updated_at", "2014-08-11 16:18:47.820378"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('maegan.schaden@baumbach.biz', 'maegan.schaden@baumbach.biz', 'email', '2014-07-28 11:18:49', '2014-07-28 11:18:49', '2014-07-28 11:18:49', 'http://goodwin.biz/jo.schultz', '$2a$04$Fdnh7jk1JjgbehqcjETKEew9qE5rvYQuMLU9YA58ravNXheaNrmuu', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3328278717', 'ashtyn@pacochagreenfelder.com', 'facebook', '2014-07-28 11:18:49', '2014-07-28 11:18:49', '2014-07-28 11:18:49', '$2a$04$9gDMLdf5TsznbWAwJg0weeKwGDssqzvDg/0HfidUWHWnDjJgMMJgu', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('marie_toy@dickinson.com', 'marie_toy@dickinson.com', 'email', 'http://yost.biz/darwin_green', '2014-07-28 11:18:49', '2014-07-28 11:18:49', '$2a$04$TAkb3/HNBWW4BWbj.6vrMunHK0lKQ/ZcdAnugCPzWDapf4vvVTDvK', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('hayden.collier@gislason.info', 'hayden.collier@gislason.info', 'email', '2014-07-28 11:18:50', '2014-07-28 11:18:50', '2014-07-28 11:18:50', 'http://schoen.biz/edwardo.barton', '$2a$04$tlEmbYXK8RKAL2rZXv25OOIr/dtPUBAJHc3wLWrgcTuFkf0V.nY8K', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('5892785940', 'vallie@hartmann.org', 'facebook', '2014-07-28 11:18:50', '2014-07-28 11:18:50', '2014-07-28 11:18:50', '$2a$04$EVYsT07hMJIFMi/Qef3bY.i9d2TyrpGptPFa5EwUf3j01AeuHSBCm', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('dashawn@balistreriokon.com', 'dashawn@balistreriokon.com', 'email', 'http://johnson.net/yeenia', '2014-07-28 11:18:50', '2014-07-28 11:18:50', '$2a$04$TFZDEENLM/kHz5hvf68xmeVUZFjtW0.U13w0nm9pxTSnlgLStl/Tu', 701484147)[0m [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0001_should not return any auth headers ------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:18:50.327780"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:18:50.329978"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"mNKZNedl95kgIGt7ii3LzA\":{\"token\":\"$2a$10$OFV6WJhmyUiG6aFmUnGZwupxghTGMymh0pS1ViXOWWJP58MDfJ.W6\",\"expiry\":1408983530,\"last_token\":null,\"updated_at\":\"2014-08-11 11:18:50 -0500\"}}"], ["updated_at", "2014-08-11 16:18:50.391704"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('arch@mosciskilubowitz.net', 'arch@mosciskilubowitz.net', 'email', '2014-07-28 11:18:53', '2014-07-28 11:18:53', '2014-07-28 11:18:53', 'http://cummingsvonrueden.biz/elwyn_strosin', '$2a$04$zVwK7OlqjaL092aB9zq4tOqWDjKIpQ4/DGoHz56tgDmNv266zFpry', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('8991657216', 'jerrell@gleichnerhauck.biz', 'facebook', '2014-07-28 11:18:53', '2014-07-28 11:18:53', '2014-07-28 11:18:53', '$2a$04$6y3AICi9HDvJoeegliKbd.PJ5z5FSFPNPAFdFnYj5aIqr2Q.ec7g2', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('lottie@schamberger.info', 'lottie@schamberger.info', 'email', 'http://robelgrady.name/dewayne', '2014-07-28 11:18:53', '2014-07-28 11:18:53', '$2a$04$luhvtiIRpoENRgb8aF9st.RWb2AV7pCqTkDWG.YPP8ySuc1oH9R8W', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('robbie@zulaufjerde.com', 'robbie@zulaufjerde.com', 'email', '2014-07-28 11:18:54', '2014-07-28 11:18:54', '2014-07-28 11:18:54', 'http://collins.biz/itzel_larkin', '$2a$04$faAB2JQC9KZZSnlmU/oP6.sel6jCTHuDqOCHY37KzCAYOitPC7AYS', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('9476356335', 'flavie_jacobi@lockman.info', 'facebook', '2014-07-28 11:18:54', '2014-07-28 11:18:54', '2014-07-28 11:18:54', '$2a$04$Z5vlQtrHG6N2r/OKOEWOrOFiWSmOnRmcJuaOObrKmFuW0dODgLexC', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('amira@bogisichbarrows.com', 'amira@bogisichbarrows.com', 'email', 'http://okonhettinger.biz/lauretta', '2014-07-28 11:18:54', '2014-07-28 11:18:54', '$2a$04$I2BqKNO0Kubdoh61xa6fpeZybG/6NPJ6bxUpUL8Kjm5sZVvk239yO', 701484147)[0m [1m[35m (2.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0002_should return error: unauthorized status ------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:18:54.253127"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:18:54.255274"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"NahLYEuvylEyG98LKPL81w\":{\"token\":\"$2a$10$1roKCUbSBZMxwjoTtCdSg.FU7klxUN6a8u9CL4QghxEUyg1y6iRWy\",\"expiry\":1408983534,\"last_token\":null,\"updated_at\":\"2014-08-11 11:18:54 -0500\"}}"], ["updated_at", "2014-08-11 16:18:54.316092"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('karlie.farrell@donnelly.name', 'karlie.farrell@donnelly.name', 'email', '2014-07-28 11:18:56', '2014-07-28 11:18:56', '2014-07-28 11:18:56', 'http://wildermangoyette.org/simone', '$2a$04$Acm5mltbnGJRf9/4pbH1WurYzj.frbiySy9U34wF.FsNlLgkpl8rK', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('4417827407', 'bonita.dibbert@boyle.info', 'facebook', '2014-07-28 11:18:56', '2014-07-28 11:18:56', '2014-07-28 11:18:56', '$2a$04$Ab.A7d5AKj4gUmvv2b8uUutIVTw7StlBxyW9TOBVCi1lqCTFJ1rbK', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('merlin@prosacco.org', 'merlin@prosacco.org', 'email', 'http://gleichner.name/elsie', '2014-07-28 11:18:56', '2014-07-28 11:18:56', '$2a$04$RGRcCSUEYpQbqqZlDBMHIOmRbWrzdAKW5bkA0SyQoVAQXeSY92n4a', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('dannie@ferry.com', 'dannie@ferry.com', 'email', '2014-07-28 11:18:56', '2014-07-28 11:18:56', '2014-07-28 11:18:56', 'http://okeefe.name/cicero', '$2a$04$A3FJM9FZntBVTFzmbqauRu9uqOmSW9jriRjvxLfEEBLGTSJG1SE8O', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('5361487357', 'gregorio.collins@stehrrenner.com', 'facebook', '2014-07-28 11:18:56', '2014-07-28 11:18:56', '2014-07-28 11:18:56', '$2a$04$vy8R2OgbE8D5XF/J44PtJepGikyQhxmtHHv1GYsO8rmgHK6USFWXK', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('providenci@dare.info', 'providenci@dare.info', 'email', 'http://wolfharris.net/sofia.davis', '2014-07-28 11:18:56', '2014-07-28 11:18:56', '$2a$04$0LC9Cv/Vng7vXympdH0Z7ueyJBTeTG4Bx/IPqUzCF8TsO6r5nbYLq', 701484147)[0m [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0002_should return error: unauthorized status ------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:18:56.924849"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:18:56.927135"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"IEO1fl8vh_9HPKJbZL8LPQ\":{\"token\":\"$2a$10$fpU4G/eLwUw3qedG44Gpbu5gBg6ncuLFGaNmwT.T6tVbsC2UhQa3S\",\"expiry\":1408983536,\"last_token\":null,\"updated_at\":\"2014-08-11 11:18:56 -0500\"}}"], ["updated_at", "2014-08-11 16:18:56.991071"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('dashawn@douglas.biz', 'dashawn@douglas.biz', 'email', '2014-07-28 11:20:10', '2014-07-28 11:20:10', '2014-07-28 11:20:10', 'http://ritchieschumm.org/lucas', '$2a$04$d9pkUCP2X4OOWDnYlUkSGege/XFnaDQxy/EuMOLtSTRfOGJqFdity', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('1327888451', 'destinee@little.com', 'facebook', '2014-07-28 11:20:10', '2014-07-28 11:20:10', '2014-07-28 11:20:10', '$2a$04$rk/2Vp9YgJ71RG2DIZOniuLuna8lWHvtOVegn51fnIgn/lnSmaZ3u', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('trey@murphy.com', 'trey@murphy.com', 'email', 'http://ratke.biz/charles', '2014-07-28 11:20:10', '2014-07-28 11:20:10', '$2a$04$ysAXfHZMDI7Rg/qH6miX2OgCHjJAMdH0HjJQiiYbLcZp.XWzgSzP6', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('ettie_nader@schumm.com', 'ettie_nader@schumm.com', 'email', '2014-07-28 11:20:10', '2014-07-28 11:20:10', '2014-07-28 11:20:10', 'http://rath.info/camden', '$2a$04$3E6wBWLldWzYrlv0bA45.OzB8OFSa/fjk3VplprngKwWSWEI73TmG', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('4142357617', 'treva@marvinprohaska.biz', 'facebook', '2014-07-28 11:20:10', '2014-07-28 11:20:10', '2014-07-28 11:20:10', '$2a$04$2h1q77RZkXByU9ZnXUy8.O/mefWAFXVJxqPQBeo/woIi42yyC6ave', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('rhiannon.sanford@bruenankunding.biz', 'rhiannon.sanford@bruenankunding.biz', 'email', 'http://lubowitz.org/regan_adams', '2014-07-28 11:20:10', '2014-07-28 11:20:10', '$2a$04$ggsbWIX4d.3Bahw9QDd59.UHZPotQyCWYaFlKrSGWUEDrJPmEA19.', 701484147)[0m [1m[35m (2.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0001_should allow the first request through ---------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:20:10.433861"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:20:10.436060"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"I_yUiI-rS1OyRLF5hnOG5A\":{\"token\":\"$2a$10$GhlvkJZPu6AfEQNvDwCZXOyJQ7gBodk9eHv.9B98RVnPPVcvcLFua\",\"expiry\":1408983610,\"last_token\":null,\"updated_at\":\"2014-08-11 11:20:10 -0500\"}}"], ["updated_at", "2014-08-11 16:20:10.497076"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"I_yUiI-rS1OyRLF5hnOG5A\":{\"token\":\"$2a$10$GhlvkJZPu6AfEQNvDwCZXOyJQ7gBodk9eHv.9B98RVnPPVcvcLFua\",\"expiry\":1408983610,\"last_token\":null,\"updated_at\":\"2014-08-11 11:19:55 -0500\"}}"], ["updated_at", "2014-08-11 16:20:10.499376"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ettie_nader@schumm.com' LIMIT 1[0m Completed 200 OK in 63ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35m (1.7ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('bell@wunsch.name', 'bell@wunsch.name', 'email', '2014-07-28 11:20:12', '2014-07-28 11:20:12', '2014-07-28 11:20:12', 'http://goyettebuckridge.name/lee', '$2a$04$gGQ5cIW2peUDyi942WXPzeKTCK5gTqoRqPUBtxtA2SerYbvB0.LtW', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('7175695848', 'maurine.welch@turner.info', 'facebook', '2014-07-28 11:20:12', '2014-07-28 11:20:12', '2014-07-28 11:20:12', '$2a$04$8YbxcL/FPqEhgOfSah4hwOVXTRqGZuWAZqNq.JaNRBLxAstUq1.qq', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('idell@stroman.info', 'idell@stroman.info', 'email', 'http://price.com/rebekah.wisoky', '2014-07-28 11:20:12', '2014-07-28 11:20:12', '$2a$04$WLqYiTJwZ.dvD1VWaEumXui9Kr4c/Es3IlFD4O2dm9b0ixlTTdnM.', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('shany.leannon@walter.info', 'shany.leannon@walter.info', 'email', '2014-07-28 11:20:13', '2014-07-28 11:20:13', '2014-07-28 11:20:13', 'http://goldner.com/monte', '$2a$04$DEAns0GYPSZXcY6GKSCvdeJOnIHqJPeLRkS.nhmkYmkO1Qf9N1HG6', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('9454732522', 'adrien@abshire.org', 'facebook', '2014-07-28 11:20:13', '2014-07-28 11:20:13', '2014-07-28 11:20:13', '$2a$04$.iLLYtcFSWJjvrr4tF.OJ.w9KUYM0PTjoJm4tHZNrD2qJo.zvIWnO', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('aimee@gleason.com', 'aimee@gleason.com', 'email', 'http://kuphalhuels.info/aniya.huels', '2014-07-28 11:20:13', '2014-07-28 11:20:13', '$2a$04$tJCeD3efzKDP9uAJ0fhZH.3J/0eQmyBLzNVhiQ.6YaO95g2A5z0sS', 701484147)[0m [1m[35m (1.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0001_should allow the first request through ---------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:20:13.069610"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:20:13.071784"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"al-0Zw64-z0uagN3soO3tQ\":{\"token\":\"$2a$10$6jnY9nz7rIfpA3DY2IMnU.Sezx3pZe9yqANBQ7WM6Jo7zqcyTj9Gy\",\"expiry\":1408983613,\"last_token\":null,\"updated_at\":\"2014-08-11 11:20:13 -0500\"}}"], ["updated_at", "2014-08-11 16:20:13.133269"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"al-0Zw64-z0uagN3soO3tQ\":{\"token\":\"$2a$10$6jnY9nz7rIfpA3DY2IMnU.Sezx3pZe9yqANBQ7WM6Jo7zqcyTj9Gy\",\"expiry\":1408983613,\"last_token\":null,\"updated_at\":\"2014-08-11 11:19:58 -0500\"}}"], ["updated_at", "2014-08-11 16:20:13.135772"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'shany.leannon@walter.info' LIMIT 1[0m Completed 200 OK in 65ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('mohamed_fritsch@kunde.org', 'mohamed_fritsch@kunde.org', 'email', '2014-07-28 11:22:29', '2014-07-28 11:22:29', '2014-07-28 11:22:29', 'http://graham.org/kali', '$2a$04$lCTDiFwQH1YzsAKKQMFT2eDTB2OM3EPWYOnOeQsTNV3vrATdIamQO', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('6755144866', 'dianna@jaskolskitoy.biz', 'facebook', '2014-07-28 11:22:29', '2014-07-28 11:22:29', '2014-07-28 11:22:29', '$2a$04$wE6bAZog7mguQk1hDqQY...7MWRECFZwJip.FWArqwVCp3uGBiLBu', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('horace.daniel@runte.info', 'horace.daniel@runte.info', 'email', 'http://herman.org/angelo', '2014-07-28 11:22:29', '2014-07-28 11:22:29', '$2a$04$02MlToHKb1..eQsW.Q7cbu2CDPmzGwHGdDZ/WDfADSsZcnyXITqfK', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('emily.walsh@dare.net', 'emily.walsh@dare.net', 'email', '2014-07-28 11:22:29', '2014-07-28 11:22:29', '2014-07-28 11:22:29', 'http://jacobs.name/joanne.champlin', '$2a$04$c746kUoCfOoRlSsFl6KcCu1QydfdcY1vgKGITzLbwP1vik98XQzHy', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('1811567342', 'henry.hansen@kuphal.name', 'facebook', '2014-07-28 11:22:29', '2014-07-28 11:22:29', '2014-07-28 11:22:29', '$2a$04$m9aUpOB8XEJp6qErR.10BeD2PBZqSegXxBsdqHiadSUULDp0LWtm.', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('finn@conn.org', 'finn@conn.org', 'email', 'http://donnellybreitenberg.org/jewel', '2014-07-28 11:22:29', '2014-07-28 11:22:29', '$2a$04$RmtB9YNOm3EWMUIKUD88/e1yZufD88E./nRbUeKyE1LmS7Zrihz36', 701484147)[0m [1m[35m (1.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0001_should allow the first request through ---------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:22:29.366726"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:22:29.368982"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"lEUl1JRM0WElc11RGJrSNA\":{\"token\":\"$2a$10$uoLMaVpnlkxtzZ.Hct7yre1sWz.EzZr6g8MZuguY.yKFzZ0N5E2ES\",\"expiry\":1408983749,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:29 -0500\"}}"], ["updated_at", "2014-08-11 16:22:29.430723"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"lEUl1JRM0WElc11RGJrSNA\":{\"token\":\"$2a$10$uoLMaVpnlkxtzZ.Hct7yre1sWz.EzZr6g8MZuguY.yKFzZ0N5E2ES\",\"expiry\":1408983749,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:14 -0500\"}}"], ["updated_at", "2014-08-11 16:22:29.433899"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'emily.walsh@dare.net' LIMIT 1[0m Completed 200 OK in 65ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('ilene.johns@rutherfordwillms.org', 'ilene.johns@rutherfordwillms.org', 'email', '2014-07-28 11:22:31', '2014-07-28 11:22:31', '2014-07-28 11:22:31', 'http://kuvalis.name/maximillia', '$2a$04$u.FrTwCPH1DvlZf7uYEjjeUB3eMFA8x.9GoAsD2SzLQ7kAMa5AG8.', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('2275649707', 'felicia@wehner.info', 'facebook', '2014-07-28 11:22:31', '2014-07-28 11:22:31', '2014-07-28 11:22:31', '$2a$04$X4TkgLslPmb2uMkwgQMdmu540WqhFTJTRS1kLF2IrP8cMuGhnNJQS', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('howell_flatley@hahn.biz', 'howell_flatley@hahn.biz', 'email', 'http://welchbernier.net/leland', '2014-07-28 11:22:31', '2014-07-28 11:22:31', '$2a$04$7X0pYXesBVqKZNKiS/ErWuY7EJa4GnxufEGOAjLj0SWVgkcd28Ka.', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('patsy_kulas@steuber.com', 'patsy_kulas@steuber.com', 'email', '2014-07-28 11:22:31', '2014-07-28 11:22:31', '2014-07-28 11:22:31', 'http://marquardt.org/kaleigh_deckow', '$2a$04$w1a24gfOLHF3xxp3Vkojs.YMa76VttzMFkCs8J.81KXwXn8lKKZU2', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('5261323242', 'vernon@reynoldipes.name', 'facebook', '2014-07-28 11:22:31', '2014-07-28 11:22:31', '2014-07-28 11:22:31', '$2a$04$W3t9JyHeeXa.3N2naWSLQeiRABR5zlEFLmVfqCacm2/u/gP9O/G2C', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('bernard_mayer@gorczany.biz', 'bernard_mayer@gorczany.biz', 'email', 'http://boyerdamore.org/eleanore', '2014-07-28 11:22:31', '2014-07-28 11:22:31', '$2a$04$UiJUrhekns/qlVYAHOdej.KwftQt1IJtI5hibFX2CLuf8cHGPsHhi', 701484147)[0m [1m[35m (1.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0001_should allow the first request through ---------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:22:32.012202"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:22:32.014683"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"7nol6yDsQbZ53dxua26Svg\":{\"token\":\"$2a$10$hOoCBUuoKi4mjZZIdlC9LuJfcxGSHtl6gXAs9E4kyN1mNF1RviuHq\",\"expiry\":1408983752,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:32 -0500\"}}"], ["updated_at", "2014-08-11 16:22:32.076900"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"7nol6yDsQbZ53dxua26Svg\":{\"token\":\"$2a$10$hOoCBUuoKi4mjZZIdlC9LuJfcxGSHtl6gXAs9E4kyN1mNF1RviuHq\",\"expiry\":1408983752,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:17 -0500\"}}"], ["updated_at", "2014-08-11 16:22:32.079613"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'patsy_kulas@steuber.com' LIMIT 1[0m Completed 200 OK in 65ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35m (1.4ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('clemens.terry@gutmann.info', 'clemens.terry@gutmann.info', 'email', '2014-07-28 11:22:49', '2014-07-28 11:22:49', '2014-07-28 11:22:49', 'http://dare.org/rocky.fritsch', '$2a$04$81sdiybSuBmwTa6gdjFbMuJOy7NSzZL87kp6.IBu1dJXtSVe0v5gK', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('6670077152', 'eliane.hudson@schmelerbernhard.info', 'facebook', '2014-07-28 11:22:49', '2014-07-28 11:22:49', '2014-07-28 11:22:49', '$2a$04$5LKLPvaLnLUuEDl/DtG1E.OrCSFnQY/ogSQ6DCoBXXyrTJ2CSi5R.', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('ezequiel.ledner@bednar.biz', 'ezequiel.ledner@bednar.biz', 'email', 'http://leschsimonis.name/mozelle.waelchi', '2014-07-28 11:22:49', '2014-07-28 11:22:49', '$2a$04$nrLg6DsRuDt8chv1nt7j1e35o/GAivt5WH1MR9q9z98B.nqigkQwG', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('matilda@flatleyrobel.org', 'matilda@flatleyrobel.org', 'email', '2014-07-28 11:22:50', '2014-07-28 11:22:50', '2014-07-28 11:22:50', 'http://turcotte.com/hans_davis', '$2a$04$dAMbECjd7CPsrHI.obcK3O59UzZnlqBzVV6n7FRkY6qYMdATKriq.', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('2430269114', 'niko@jaskolski.com', 'facebook', '2014-07-28 11:22:50', '2014-07-28 11:22:50', '2014-07-28 11:22:50', '$2a$04$zESxAyTAEPGe6UnMs4piweItQmoJGI.SU5FEG4PpwI6Y76S2FIw9m', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('stephanie.hagenes@goldner.org', 'stephanie.hagenes@goldner.org', 'email', 'http://reilly.net/angeline', '2014-07-28 11:22:50', '2014-07-28 11:22:50', '$2a$04$JUOOWpvprpo2mSfiW9U7DOsN8ppx.v787a9hdkGAA19Ckhx9oFWem', 701484147)[0m [1m[35m (1.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0001_should allow the first request through ---------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:22:50.066522"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:22:50.068698"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"LnfG47PyBl7D1vYU-rPttg\":{\"token\":\"$2a$10$i19IAWx4HNuaBojmXBTi8Ov4nUCe9/ajvIQU8AMdr4WsDMBOS.7na\",\"expiry\":1408983770,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:50 -0500\"}}"], ["updated_at", "2014-08-11 16:22:50.130272"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"LnfG47PyBl7D1vYU-rPttg\":{\"token\":\"$2a$10$i19IAWx4HNuaBojmXBTi8Ov4nUCe9/ajvIQU8AMdr4WsDMBOS.7na\",\"expiry\":1408983770,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:35 -0500\"}}"], ["updated_at", "2014-08-11 16:22:50.132707"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'matilda@flatleyrobel.org' LIMIT 1[0m Completed 200 OK in 65ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"LnfG47PyBl7D1vYU-rPttg\":{\"token\":\"$2a$10$i19IAWx4HNuaBojmXBTi8Ov4nUCe9/ajvIQU8AMdr4WsDMBOS.7na\",\"expiry\":1408983770,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:35 -0500\"}}"], ["updated_at", "2014-08-11 16:22:50.203456"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'matilda@flatleyrobel.org' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36m (2.3ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('yolanda.upton@feil.net', 'yolanda.upton@feil.net', 'email', '2014-07-28 11:22:52', '2014-07-28 11:22:52', '2014-07-28 11:22:52', 'http://millsdonnelly.biz/gracie.zieme', '$2a$04$IsadcsqbzHk6kyjR7zxYIO7qZPnRje77evLoI1TRuE7ZpCFGvhPze', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('8448511882', 'kattie@kuvalis.org', 'facebook', '2014-07-28 11:22:52', '2014-07-28 11:22:52', '2014-07-28 11:22:52', '$2a$04$T9bzwYOkifroYvkf0qD74ue5yNXhbKyrD6ee5sVrEJIEtkdxH7SlG', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('rosie.zulauf@wisozk.org', 'rosie.zulauf@wisozk.org', 'email', 'http://littel.info/isabella.gottlieb', '2014-07-28 11:22:52', '2014-07-28 11:22:52', '$2a$04$0m9UjvwbMjIS8zDw3.g.hOdpeH9r/ImcpYrxHimFfOheg/gvm5HxG', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('josie@ferry.net', 'josie@ferry.net', 'email', '2014-07-28 11:22:52', '2014-07-28 11:22:52', '2014-07-28 11:22:52', 'http://paucek.biz/hunter', '$2a$04$Nji3LrJhQY/K6tjM0j88suP1Xr9sZ2i0qGvkW3Irae/hEMzKAYB/C', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3143121367', 'stephanie.wyman@bogan.com', 'facebook', '2014-07-28 11:22:52', '2014-07-28 11:22:52', '2014-07-28 11:22:52', '$2a$04$g7vYK/HS5LW487n79shtTefaEtWwoc4cpzqoeT9Zll7M03gfis2mu', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('keon@keler.name', 'keon@keler.name', 'email', 'http://olson.info/erich_batz', '2014-07-28 11:22:52', '2014-07-28 11:22:52', '$2a$04$3IoYFK8acZB6waKBxsBXo.CL6DWansKrZbNelGT4ic9uDHrjGR0wm', 701484147)[0m [1m[35m (1.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0001_should allow the first request through ---------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:22:52.872335"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:22:52.875014"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Bm1tlzfyQ5AWzpxjBgje6A\":{\"token\":\"$2a$10$uwincpjtWT2WGJrtly2SneYaezX2vzcSBDWMSRiEmoWYeDatKeoPK\",\"expiry\":1408983772,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:52 -0500\"}}"], ["updated_at", "2014-08-11 16:22:52.937589"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Bm1tlzfyQ5AWzpxjBgje6A\":{\"token\":\"$2a$10$uwincpjtWT2WGJrtly2SneYaezX2vzcSBDWMSRiEmoWYeDatKeoPK\",\"expiry\":1408983772,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:37 -0500\"}}"], ["updated_at", "2014-08-11 16:22:52.940422"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'josie@ferry.net' LIMIT 1[0m Completed 200 OK in 65ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Bm1tlzfyQ5AWzpxjBgje6A\":{\"token\":\"$2a$10$uwincpjtWT2WGJrtly2SneYaezX2vzcSBDWMSRiEmoWYeDatKeoPK\",\"expiry\":1408983772,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:38 -0500\"}}"], ["updated_at", "2014-08-11 16:22:53.012899"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'josie@ferry.net' LIMIT 1 Completed 200 OK in 64ms (Views: 0.7ms | ActiveRecord: 0.3ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('virgie_steuber@langosh.org', 'virgie_steuber@langosh.org', 'email', '2014-07-28 11:22:56', '2014-07-28 11:22:56', '2014-07-28 11:22:56', 'http://wiza.net/griffin', '$2a$04$HxYR91836.F6qJqJvZnszu722PDpNd1eYOh/Dc4km8feT.xnu2MGm', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('0314958504', 'marianne_wolff@hackettpowlowski.org', 'facebook', '2014-07-28 11:22:56', '2014-07-28 11:22:56', '2014-07-28 11:22:56', '$2a$04$eDU4hEwES0lbpz5HfOSPHOiNrrQ/Agr9qYM/Sn76N3CMFC1rhcWfy', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('camylle_waters@gutkowskiflatley.biz', 'camylle_waters@gutkowskiflatley.biz', 'email', 'http://dickinson.info/cordie_cremin', '2014-07-28 11:22:56', '2014-07-28 11:22:56', '$2a$04$hnBMsDZMWkifUcyK4JnjDehvPHukanrbdQqvXJa6pyZFUzSGEbVqq', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('mallory.kunze@marquardt.name', 'mallory.kunze@marquardt.name', 'email', '2014-07-28 11:22:57', '2014-07-28 11:22:57', '2014-07-28 11:22:57', 'http://townewilkinson.info/brett', '$2a$04$5Ow2hO1/tzaxZWzij3ILxutDE2UFj7OQ68H02QSx1Sr3oG7mC7lry', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('0535377254', 'caden_wyman@faywalker.name', 'facebook', '2014-07-28 11:22:57', '2014-07-28 11:22:57', '2014-07-28 11:22:57', '$2a$04$1N0YXMxsb.DYFBLASF63furC2BiWGNxm6uHBauyZTROCAVhMl3X8S', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('melisa@pagac.name', 'melisa@pagac.name', 'email', 'http://oconner.com/oleta.maggio', '2014-07-28 11:22:57', '2014-07-28 11:22:57', '$2a$04$Th6R09lSWJyLw/jc/IebK.Uq4D2ZKXQ7J2xOpUwcY057MZp4b8Yj6', 701484147)[0m [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0002_should allow the second request through ----------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:22:57.186861"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:22:57.189085"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"hP5fN-dDyToN-p5-0qMLKA\":{\"token\":\"$2a$10$g91rpneMuqfHGlz/AkzeAO0/9dcHtlYrpuU4DYgf2RnPLIdTJqK7m\",\"expiry\":1408983777,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:57 -0500\"}}"], ["updated_at", "2014-08-11 16:22:57.250149"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"hP5fN-dDyToN-p5-0qMLKA\":{\"token\":\"$2a$10$g91rpneMuqfHGlz/AkzeAO0/9dcHtlYrpuU4DYgf2RnPLIdTJqK7m\",\"expiry\":1408983777,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:42 -0500\"}}"], ["updated_at", "2014-08-11 16:22:57.252444"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'mallory.kunze@marquardt.name' LIMIT 1[0m Completed 200 OK in 64ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"hP5fN-dDyToN-p5-0qMLKA\":{\"token\":\"$2a$10$g91rpneMuqfHGlz/AkzeAO0/9dcHtlYrpuU4DYgf2RnPLIdTJqK7m\",\"expiry\":1408983777,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:42 -0500\"}}"], ["updated_at", "2014-08-11 16:22:57.322025"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'mallory.kunze@marquardt.name' LIMIT 1 Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('anya@connelly.biz', 'anya@connelly.biz', 'email', '2014-07-28 11:22:59', '2014-07-28 11:22:59', '2014-07-28 11:22:59', 'http://lockman.info/oswaldo.roberts', '$2a$04$TdK3w89EDWWq6bFacZkoK.nABcBwCgkDO2G9TPzqEYlLDu8FFobSu', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('8945220531', 'katelyn@wintheiser.org', 'facebook', '2014-07-28 11:22:59', '2014-07-28 11:22:59', '2014-07-28 11:22:59', '$2a$04$lzhqUOuEjUpqmzMcXIAeXedf/zH4pkE19eD7sCaW8pV43XOnTLJ.i', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('dee@watsica.org', 'dee@watsica.org', 'email', 'http://hahn.net/kari_braun', '2014-07-28 11:22:59', '2014-07-28 11:22:59', '$2a$04$2We/OwVuNBbYWUswQw5vWOtdujzpH26HfKsXeKfGIKo7ckyRTGOge', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('georgianna_blick@braun.net', 'georgianna_blick@braun.net', 'email', '2014-07-28 11:22:59', '2014-07-28 11:22:59', '2014-07-28 11:22:59', 'http://mclaughlin.com/lowell', '$2a$04$3UWFz8ushIizXqXFGnN04OOSvxFxnFiWga3E03Qdhwv1zq5FuvMUi', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('5818116058', 'candelario_smitham@toy.org', 'facebook', '2014-07-28 11:22:59', '2014-07-28 11:22:59', '2014-07-28 11:22:59', '$2a$04$7TG6E7Zq6BNxinwbsjm1b.JDsibOciyl/1Xpj.Sqr0r8xTlSgVKmq', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('leanna_kreiger@heelkoepp.biz', 'leanna_kreiger@heelkoepp.biz', 'email', 'http://walsh.biz/shakira', '2014-07-28 11:22:59', '2014-07-28 11:22:59', '$2a$04$PlaCEnuoV0sCE0klJ1tzhuLtzvCCSdHswi1Vi2/5iukXAiyVxWXLm', 701484147)[0m [1m[35m (2.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0002_should allow the second request through ----------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:22:59.897861"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:22:59.900415"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"8la097JSAaPG2SXs6tYRpg\":{\"token\":\"$2a$10$QVgvuRODUasCWztye3SiQuttxMH66Lqlo5S84V87acvGeCw9BisxC\",\"expiry\":1408983779,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:59 -0500\"}}"], ["updated_at", "2014-08-11 16:22:59.963077"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"8la097JSAaPG2SXs6tYRpg\":{\"token\":\"$2a$10$QVgvuRODUasCWztye3SiQuttxMH66Lqlo5S84V87acvGeCw9BisxC\",\"expiry\":1408983779,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:44 -0500\"}}"], ["updated_at", "2014-08-11 16:22:59.965367"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'georgianna_blick@braun.net' LIMIT 1[0m Completed 200 OK in 65ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"8la097JSAaPG2SXs6tYRpg\":{\"token\":\"$2a$10$QVgvuRODUasCWztye3SiQuttxMH66Lqlo5S84V87acvGeCw9BisxC\",\"expiry\":1408983779,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:45 -0500\"}}"], ["updated_at", "2014-08-11 16:23:00.035595"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'georgianna_blick@braun.net' LIMIT 1 Completed 200 OK in 63ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('mckayla@ebert.org', 'mckayla@ebert.org', 'email', '2014-07-28 11:23:03', '2014-07-28 11:23:03', '2014-07-28 11:23:03', 'http://gulgowskinader.net/quinn', '$2a$04$HXP5Mbwt/vTBIwPYVPYFSOKr.RfvKzzf9kR4yY9xWmKQsDmMYA4Si', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('6023934113', 'rosella_schaden@feeneylind.biz', 'facebook', '2014-07-28 11:23:03', '2014-07-28 11:23:03', '2014-07-28 11:23:03', '$2a$04$4OKBEU.ZuubHLCDqoOkvYe8GzfPDjG.cAzeluyOhmeM8REFSfBqCK', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('sam_torp@zemlak.name', 'sam_torp@zemlak.name', 'email', 'http://hahn.info/marquis', '2014-07-28 11:23:03', '2014-07-28 11:23:03', '$2a$04$3DM02.5rZ4KbxCAdWK2G/.pagivHoi1ZBdaWUa5O4iAR24FDB0NfK', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('josie@hegmann.com', 'josie@hegmann.com', 'email', '2014-07-28 11:23:03', '2014-07-28 11:23:03', '2014-07-28 11:23:03', 'http://langosh.name/dannie', '$2a$04$AafBSgv6vnID1Y8CV0Qn4e4D5GFxgbHPNxhhE9JiS3QUYMh.W9Vbm', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3760288666', 'jarvis@stantonlindgren.info', 'facebook', '2014-07-28 11:23:03', '2014-07-28 11:23:03', '2014-07-28 11:23:03', '$2a$04$RKrQI1y/YltXWhCC9M1h3.08j7VbF.muQ.dOmMCGTeOo0WBO0W0nW', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('melia_bauch@batz.name', 'melia_bauch@batz.name', 'email', 'http://stoltenberg.net/mayra', '2014-07-28 11:23:03', '2014-07-28 11:23:03', '$2a$04$QssULkwBLLN4Ne80D5pKtObQu42RYnT15bDhmdSJG5HP5Ewy9yG2K', 701484147)[0m [1m[35m (1.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0003_should return auth headers from the first request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:23:03.385967"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:23:03.388129"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"R0S10nZlo3g4SSVcnkJoHw\":{\"token\":\"$2a$10$ayEGXfYXSV6YciiAHGAkoOKwk/v1EBHF9kM6GXrvvGb9RLdnyfg1u\",\"expiry\":1408983783,\"last_token\":null,\"updated_at\":\"2014-08-11 11:23:03 -0500\"}}"], ["updated_at", "2014-08-11 16:23:03.449497"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"R0S10nZlo3g4SSVcnkJoHw\":{\"token\":\"$2a$10$ayEGXfYXSV6YciiAHGAkoOKwk/v1EBHF9kM6GXrvvGb9RLdnyfg1u\",\"expiry\":1408983783,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:48 -0500\"}}"], ["updated_at", "2014-08-11 16:23:03.452080"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'josie@hegmann.com' LIMIT 1[0m Completed 200 OK in 64ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"R0S10nZlo3g4SSVcnkJoHw\":{\"token\":\"$2a$10$ayEGXfYXSV6YciiAHGAkoOKwk/v1EBHF9kM6GXrvvGb9RLdnyfg1u\",\"expiry\":1408983783,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:48 -0500\"}}"], ["updated_at", "2014-08-11 16:23:03.522232"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'josie@hegmann.com' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('dorcas.johnson@wilkinson.name', 'dorcas.johnson@wilkinson.name', 'email', '2014-07-28 11:23:05', '2014-07-28 11:23:05', '2014-07-28 11:23:05', 'http://nader.com/saige', '$2a$04$GQqyutIjdcXu72XSkTouRuJb1zsJ5ZGJprUTr9BL2FAW0bWQL2J9y', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('4827864747', 'amber@macejkovic.name', 'facebook', '2014-07-28 11:23:05', '2014-07-28 11:23:05', '2014-07-28 11:23:05', '$2a$04$P8/LVNmW95Xkjz5LV3huBunFXwaKuJgJJdySnpL1AiBQPxs1a1eFG', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('alexis.dare@weinat.biz', 'alexis.dare@weinat.biz', 'email', 'http://powlowskiheller.name/helmer', '2014-07-28 11:23:05', '2014-07-28 11:23:05', '$2a$04$JQe0PlG0Tme7urQsvLfJqurmjnllKCy6TDM/dlgfzRwHOCDUcs2Mm', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('dayana@cole.name', 'dayana@cole.name', 'email', '2014-07-28 11:23:06', '2014-07-28 11:23:06', '2014-07-28 11:23:06', 'http://glover.com/kayla.hermiston', '$2a$04$vtgSsSjcuhwST2vd01K09uhbCHFlFtE.HXc8ySYSaURxVeHlpXmhi', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3577732304', 'garett_effertz@hahn.name', 'facebook', '2014-07-28 11:23:06', '2014-07-28 11:23:06', '2014-07-28 11:23:06', '$2a$04$Ywj3LTeiUvklo9F8F6ZFBOK6BSTkWhU94Rq8q339K0tbxSW7ppQIS', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('lowell@metz.com', 'lowell@metz.com', 'email', 'http://herman.com/torrance_hauck', '2014-07-28 11:23:06', '2014-07-28 11:23:06', '$2a$04$V6bt6eHhSBsu9VdnNRMoc.l.Qa21pIgCgdjLpTEE7lzqrXwgXMm8u', 701484147)[0m [1m[35m (2.5ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0003_should return auth headers from the first request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:23:06.129349"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:23:06.131527"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"qEKEBq4f0aVcBVsjt_H1iA\":{\"token\":\"$2a$10$VmTjUe/6iIhDBuV.KGyajOsXlLGDm0/Y6oGwvnkDktTL/j6dvExuO\",\"expiry\":1408983786,\"last_token\":null,\"updated_at\":\"2014-08-11 11:23:06 -0500\"}}"], ["updated_at", "2014-08-11 16:23:06.192631"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"qEKEBq4f0aVcBVsjt_H1iA\":{\"token\":\"$2a$10$VmTjUe/6iIhDBuV.KGyajOsXlLGDm0/Y6oGwvnkDktTL/j6dvExuO\",\"expiry\":1408983786,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:51 -0500\"}}"], ["updated_at", "2014-08-11 16:23:06.195044"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'dayana@cole.name' LIMIT 1[0m Completed 200 OK in 65ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"qEKEBq4f0aVcBVsjt_H1iA\":{\"token\":\"$2a$10$VmTjUe/6iIhDBuV.KGyajOsXlLGDm0/Y6oGwvnkDktTL/j6dvExuO\",\"expiry\":1408983786,\"last_token\":null,\"updated_at\":\"2014-08-11 11:22:51 -0500\"}}"], ["updated_at", "2014-08-11 16:23:06.265962"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'dayana@cole.name' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('oscar.wisoky@crookshickle.info', 'oscar.wisoky@crookshickle.info', 'email', '2014-07-28 11:25:25', '2014-07-28 11:25:25', '2014-07-28 11:25:25', 'http://kozey.biz/jamaal_orn', '$2a$04$UxKsg1W5a.jlM2dFZ/8BQORw/dG.fep6RKIjAW9IG9Pa2GHbMtjCO', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('9638272403', 'carmelo_rice@gleichnermertz.org', 'facebook', '2014-07-28 11:25:25', '2014-07-28 11:25:25', '2014-07-28 11:25:25', '$2a$04$0wx4WvM758kuEGuyYvmyxu3rAPIs20PgrFgql0Q8mNgBvrZzQfPKu', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('diana.haley@wuckerttromp.biz', 'diana.haley@wuckerttromp.biz', 'email', 'http://bode.com/lauriane_schmitt', '2014-07-28 11:25:25', '2014-07-28 11:25:25', '$2a$04$KcbMRVVurbUcDp3uEu9dQevMoU1Xj7mli8TVnbnjhZKNYsmD2Avae', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('kamron.wiza@moriette.net', 'kamron.wiza@moriette.net', 'email', '2014-07-28 11:25:25', '2014-07-28 11:25:25', '2014-07-28 11:25:25', 'http://thiel.com/shaylee', '$2a$04$5E14k8DdWF7yYW7njLisPuU/.Ljfph9bJRz5C7Yo0MzYOAJS7vuLe', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3321932145', 'mario_corkery@greenholt.net', 'facebook', '2014-07-28 11:25:25', '2014-07-28 11:25:25', '2014-07-28 11:25:25', '$2a$04$OgdFgs4ugoJJGmQ/aSwhUu7a4Wv5e4ZZaQNzzLG9CX7cMzu3larkS', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('patricia.prohaska@steuber.org', 'patricia.prohaska@steuber.org', 'email', 'http://bartolettipagac.net/bernice_bayer', '2014-07-28 11:25:25', '2014-07-28 11:25:25', '$2a$04$obdAspXQ8Gra5/69L8X1kuo0zaPQjgSKeoppNZIhVou.vkyJosgp.', 701484147)[0m [1m[35m (15.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0003_should return auth headers from the first request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:25:25.340804"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:25:25.343281"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"4Y2WrjyRaDdJtzB0vGrAHQ\":{\"token\":\"$2a$10$Jhpc3EMqp8c5ulaEhchQ6e0i5/2qWV3/Dzb.gH33Gd0vPCukl5sNu\",\"expiry\":1408983925,\"last_token\":null,\"updated_at\":\"2014-08-11 11:25:25 -0500\"}}"], ["updated_at", "2014-08-11 16:25:25.404396"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"4Y2WrjyRaDdJtzB0vGrAHQ\":{\"token\":\"$2a$10$Jhpc3EMqp8c5ulaEhchQ6e0i5/2qWV3/Dzb.gH33Gd0vPCukl5sNu\",\"expiry\":1408983925,\"last_token\":null,\"updated_at\":\"2014-08-11 11:25:10 -0500\"}}"], ["updated_at", "2014-08-11 16:25:25.406917"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'kamron.wiza@moriette.net' LIMIT 1[0m Completed 200 OK in 64ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"4Y2WrjyRaDdJtzB0vGrAHQ\":{\"token\":\"$2a$10$Jhpc3EMqp8c5ulaEhchQ6e0i5/2qWV3/Dzb.gH33Gd0vPCukl5sNu\",\"expiry\":1408983925,\"last_token\":null,\"updated_at\":\"2014-08-11 11:25:10 -0500\"}}"], ["updated_at", "2014-08-11 16:25:25.477348"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kamron.wiza@moriette.net' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('ellie@fadelfay.org', 'ellie@fadelfay.org', 'email', '2014-07-28 11:26:29', '2014-07-28 11:26:29', '2014-07-28 11:26:29', 'http://lynch.com/murray', '$2a$04$EbTOGLror1bW9ZTxJmMjX.jBt..wXwZiEQbjnPREkj9z.sENAv/B.', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('9896916161', 'afton@mraz.net', 'facebook', '2014-07-28 11:26:29', '2014-07-28 11:26:29', '2014-07-28 11:26:29', '$2a$04$viXYUyWyQujIjrTt.ewnMea8gEhm8hyUpiN7TpO56CM3mehB20mcC', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('max@stokes.biz', 'max@stokes.biz', 'email', 'http://harber.info/rylan.willms', '2014-07-28 11:26:29', '2014-07-28 11:26:29', '$2a$04$NpmtLvmEGsKw4B4TOTXSC.OV4gEoDqenRIa.MT4FkkuK7hVApmcvu', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('christophe.durgan@watsica.org', 'christophe.durgan@watsica.org', 'email', '2014-07-28 11:26:29', '2014-07-28 11:26:29', '2014-07-28 11:26:29', 'http://hodkiewiczhintz.com/karley', '$2a$04$kAMj5UY63qne28XkBhctQORaoWcHVWmb2dcJIELvuQZShsGqhbrMq', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('0156622553', 'jeie_harber@mckenzie.net', 'facebook', '2014-07-28 11:26:29', '2014-07-28 11:26:29', '2014-07-28 11:26:29', '$2a$04$NAC.L4/rQI5lw1y15/05.eLRXRMzaZeQnY.QIN4LFviuMGanMqnIO', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('lauren@lubowitz.name', 'lauren@lubowitz.name', 'email', 'http://kuphal.com/katherine', '2014-07-28 11:26:29', '2014-07-28 11:26:29', '$2a$04$zAf50GqeHwqp2yj7gZuWOelNW/xACVinuv1AFrjuS.1xwJs8A5FLC', 701484147)[0m [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0003_should return auth headers from the first request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:26:29.380578"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:26:29.383011"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"6nwH2-rq9EWPRrg5WybA-g\":{\"token\":\"$2a$10$n4.OEGRJkbcH4/iV31OcYeRMtDYWWgQWVZDXBZz2yAYyJpMHjGp/i\",\"expiry\":1408983989,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:29 -0500\"}}"], ["updated_at", "2014-08-11 16:26:29.445346"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"6nwH2-rq9EWPRrg5WybA-g\":{\"token\":\"$2a$10$n4.OEGRJkbcH4/iV31OcYeRMtDYWWgQWVZDXBZz2yAYyJpMHjGp/i\",\"expiry\":1408983989,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:14 -0500\"}}"], ["updated_at", "2014-08-11 16:26:29.447697"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'christophe.durgan@watsica.org' LIMIT 1[0m Completed 200 OK in 64ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"6nwH2-rq9EWPRrg5WybA-g\":{\"token\":\"$2a$10$n4.OEGRJkbcH4/iV31OcYeRMtDYWWgQWVZDXBZz2yAYyJpMHjGp/i\",\"expiry\":1408983989,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:14 -0500\"}}"], ["updated_at", "2014-08-11 16:26:29.517080"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'christophe.durgan@watsica.org' LIMIT 1 Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('josiane_fritsch@sporerblick.info', 'josiane_fritsch@sporerblick.info', 'email', '2014-07-28 11:26:36', '2014-07-28 11:26:36', '2014-07-28 11:26:36', 'http://deckow.com/reggie', '$2a$04$c8M4dGddoRPMzYyoDaT0Qu5mLsIhgLUHm2.IvGjzsktXYS.lh1sW.', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('7643303142', 'golden@leuschke.info', 'facebook', '2014-07-28 11:26:36', '2014-07-28 11:26:36', '2014-07-28 11:26:36', '$2a$04$kjjMVOe7f6GahLQgV/qlCOgJGppGsWfPtY/ccX6BDBSgS2HVdSQEW', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('lonny_corkery@metzwaelchi.name', 'lonny_corkery@metzwaelchi.name', 'email', 'http://feeney.net/reggie', '2014-07-28 11:26:36', '2014-07-28 11:26:36', '$2a$04$qFTWHPPNSitHUnqyk4wkTOXA1JHx1/3OJKLOKuT0wzxj9x/yTtopq', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('hortense@hoeger.biz', 'hortense@hoeger.biz', 'email', '2014-07-28 11:26:36', '2014-07-28 11:26:36', '2014-07-28 11:26:36', 'http://bosco.info/kianna.murray', '$2a$04$WRuvnel7FTCAIyd0xkOeGOYvCaU0b2JyUkgrErkkv.w01WPRXalEa', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('8877867416', 'brook@huelhudson.com', 'facebook', '2014-07-28 11:26:36', '2014-07-28 11:26:36', '2014-07-28 11:26:36', '$2a$04$liMc916An/lOWuc8.0F1X.dsZEOMY4v44T.UVNtwj5CDHMc5cp0Pq', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('keeley@okeefe.info', 'keeley@okeefe.info', 'email', 'http://haley.org/lavina', '2014-07-28 11:26:36', '2014-07-28 11:26:36', '$2a$04$HwxtxtQipd8K1OCWN37.5ucUFnU2WjpjWUkDaW4TSuBhzAYzKuzpG', 701484147)[0m [1m[35m (1.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0003_should return auth headers from the first request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:26:36.696447"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:26:36.698619"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"c-gbqb-lx7XowNd-LUpHGg\":{\"token\":\"$2a$10$C9n7DmfO4yV.Qmqw8AeVLOXnFW0TuWU7PtrwiCG.woBRAvXteFsRK\",\"expiry\":1408983996,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:36 -0500\"}}"], ["updated_at", "2014-08-11 16:26:36.760208"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"c-gbqb-lx7XowNd-LUpHGg\":{\"token\":\"$2a$10$C9n7DmfO4yV.Qmqw8AeVLOXnFW0TuWU7PtrwiCG.woBRAvXteFsRK\",\"expiry\":1408983996,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:21 -0500\"}}"], ["updated_at", "2014-08-11 16:26:36.762574"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'hortense@hoeger.biz' LIMIT 1[0m Completed 200 OK in 64ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"c-gbqb-lx7XowNd-LUpHGg\":{\"token\":\"$2a$10$C9n7DmfO4yV.Qmqw8AeVLOXnFW0TuWU7PtrwiCG.woBRAvXteFsRK\",\"expiry\":1408983996,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:21 -0500\"}}"], ["updated_at", "2014-08-11 16:26:36.832287"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'hortense@hoeger.biz' LIMIT 1 Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (1.7ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('kiana.bogan@white.net', 'kiana.bogan@white.net', 'email', '2014-07-28 11:26:42', '2014-07-28 11:26:42', '2014-07-28 11:26:42', 'http://dibbert.org/sonia.jakubowski', '$2a$04$gjA8W1nrFrnKglYKtou/Hek21.nAjN/BNYU02y4rTk4KeuNcMKdBa', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('1142643918', 'buddy.koch@mcclure.info', 'facebook', '2014-07-28 11:26:42', '2014-07-28 11:26:42', '2014-07-28 11:26:42', '$2a$04$poYY6Y5dwf4hREmEZC/OVuTbqwD76k.4C5staUlHs4dIMT6wcJgCS', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('brandt@adams.org', 'brandt@adams.org', 'email', 'http://olsonfunk.info/coty', '2014-07-28 11:26:42', '2014-07-28 11:26:42', '$2a$04$GTesR/tx2fMd/1sV1TX8Iu36PX2uu8LhzZ3FVAFG6MoxnVoJ1Xsp2', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('jane.block@jastreynolds.name', 'jane.block@jastreynolds.name', 'email', '2014-07-28 11:26:42', '2014-07-28 11:26:42', '2014-07-28 11:26:42', 'http://langworthschultz.net/marco_wilderman', '$2a$04$p99yX/xhh3g1odH3niPyNepWEuXOGR3AndGx3amTmqD9nL69xUhY6', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('4123301960', 'erick@cole.com', 'facebook', '2014-07-28 11:26:42', '2014-07-28 11:26:42', '2014-07-28 11:26:42', '$2a$04$Nkb1I1tcTZm6j3vD2hWyWerPkx/DEYEcaFL.38jzSiHAfgTC.Gdxu', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('savanna_haag@hermanoberbrunner.net', 'savanna_haag@hermanoberbrunner.net', 'email', 'http://fisher.name/jazmin', '2014-07-28 11:26:42', '2014-07-28 11:26:42', '$2a$04$YzQG4Z68Ku4t0.IO1z2eRe6X2rqAKqDY1TPZDcb3fQRKk.UL.xB/i', 701484147)[0m [1m[35m (2.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0004_should return auth headers from the second request ---------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:26:42.674633"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:26:42.676757"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"4N_Rptpm9DHFV62fpSuNCw\":{\"token\":\"$2a$10$8SXLsTc0O4uaOMilLhKAUeMM5KhFOsxLWZfRvyP04VxoxxuVN/1hC\",\"expiry\":1408984002,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:42 -0500\"}}"], ["updated_at", "2014-08-11 16:26:42.738002"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"4N_Rptpm9DHFV62fpSuNCw\":{\"token\":\"$2a$10$8SXLsTc0O4uaOMilLhKAUeMM5KhFOsxLWZfRvyP04VxoxxuVN/1hC\",\"expiry\":1408984002,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:27 -0500\"}}"], ["updated_at", "2014-08-11 16:26:42.740312"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'jane.block@jastreynolds.name' LIMIT 1[0m Completed 200 OK in 66ms (Views: 0.7ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"4N_Rptpm9DHFV62fpSuNCw\":{\"token\":\"$2a$10$8SXLsTc0O4uaOMilLhKAUeMM5KhFOsxLWZfRvyP04VxoxxuVN/1hC\",\"expiry\":1408984002,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:27 -0500\"}}"], ["updated_at", "2014-08-11 16:26:42.812200"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'jane.block@jastreynolds.name' LIMIT 1 Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('bill@framikris.info', 'bill@framikris.info', 'email', '2014-07-28 11:26:45', '2014-07-28 11:26:45', '2014-07-28 11:26:45', 'http://rice.net/haylee', '$2a$04$4f1vs9iRLvxsGz/81yzFR.OOLFejOlSnMdL/6sV0nc2F9gBnzaWQW', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('9681892832', 'gay@mccullough.name', 'facebook', '2014-07-28 11:26:45', '2014-07-28 11:26:45', '2014-07-28 11:26:45', '$2a$04$gZhxh/aPr1PO8u.97IJE4OUVftXLWgwhzfyntXJILCXE4kwa3oW0G', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('travon@monahan.com', 'travon@monahan.com', 'email', 'http://schummgraham.org/haskell', '2014-07-28 11:26:45', '2014-07-28 11:26:45', '$2a$04$1V419sn2AULWg9O7cVLFb.6ue8v6eVzQNeNMTGojoiPHdv.C0IprO', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('jayde_stanton@medhurst.net', 'jayde_stanton@medhurst.net', 'email', '2014-07-28 11:26:45', '2014-07-28 11:26:45', '2014-07-28 11:26:45', 'http://bradtke.org/jackson_mitchell', '$2a$04$cvWrY6ZzMFIvb.Sk3SSIwOwyROkQB6E6z87wHRMRketba7IiS4Sge', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3443421811', 'aron@beier.net', 'facebook', '2014-07-28 11:26:45', '2014-07-28 11:26:45', '2014-07-28 11:26:45', '$2a$04$g3SDaYLPwAMqF0f27FSjGOr6GW1gPa2u9VO8LLSAqqt5cB14ork2C', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('audra_welch@volkman.org', 'audra_welch@volkman.org', 'email', 'http://roobkiehn.name/geovanny_kozey', '2014-07-28 11:26:45', '2014-07-28 11:26:45', '$2a$04$Zln1it/ulQ6hPqq6ncUpj.bqEePBiXxOL3/kHk2Nx6tCHJZn/Vk2y', 701484147)[0m [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0004_should return auth headers from the second request ---------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:26:45.402396"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:26:45.404787"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"msYq-n5JsnGk8pqx3czjnA\":{\"token\":\"$2a$10$.JoM9c8S9zaqxta/UhFqN.0R6Izka0IZHOAgamscD3zVeoGP5hegm\",\"expiry\":1408984005,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:45 -0500\"}}"], ["updated_at", "2014-08-11 16:26:45.466762"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"msYq-n5JsnGk8pqx3czjnA\":{\"token\":\"$2a$10$.JoM9c8S9zaqxta/UhFqN.0R6Izka0IZHOAgamscD3zVeoGP5hegm\",\"expiry\":1408984005,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:30 -0500\"}}"], ["updated_at", "2014-08-11 16:26:45.469640"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'jayde_stanton@medhurst.net' LIMIT 1[0m Completed 200 OK in 65ms (Views: 0.7ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"msYq-n5JsnGk8pqx3czjnA\":{\"token\":\"$2a$10$.JoM9c8S9zaqxta/UhFqN.0R6Izka0IZHOAgamscD3zVeoGP5hegm\",\"expiry\":1408984005,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:30 -0500\"}}"], ["updated_at", "2014-08-11 16:26:45.540813"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'jayde_stanton@medhurst.net' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36m (1.7ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('brady_mclaughlin@kling.biz', 'brady_mclaughlin@kling.biz', 'email', '2014-07-28 11:26:47', '2014-07-28 11:26:47', '2014-07-28 11:26:47', 'http://simoniskoepp.name/hoyt_breitenberg', '$2a$04$bgIoYmmG5XaJdEGCAnJ9FO8bofMnsDVKPIfWxux9lI157MxN7Wa26', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('7554676041', 'raymond@terry.com', 'facebook', '2014-07-28 11:26:47', '2014-07-28 11:26:47', '2014-07-28 11:26:47', '$2a$04$w6G.EF0xbdn2B.SCQIz97epPkafcih2EmRuF70Lwid28LrSgT4mmO', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('iliana.upton@smithdooley.biz', 'iliana.upton@smithdooley.biz', 'email', 'http://farrellkuhn.biz/gabriella_greenholt', '2014-07-28 11:26:47', '2014-07-28 11:26:47', '$2a$04$aqZ1g8nfxxo/hQrUHjgw5.doEK.zKh9i1h0GZ0Ga7dDi8zCn92xBS', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('misty.koepp@halvorson.com', 'misty.koepp@halvorson.com', 'email', '2014-07-28 11:26:48', '2014-07-28 11:26:48', '2014-07-28 11:26:48', 'http://pagachoppe.name/madisen.dibbert', '$2a$04$L8hncF5JG0QuMlOJTSjLp.qTvWILI7mOFWyScSpB7pQYVvmB1aoNK', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('4016538628', 'jennifer@wolf.biz', 'facebook', '2014-07-28 11:26:48', '2014-07-28 11:26:48', '2014-07-28 11:26:48', '$2a$04$lTA5gu5t5Vbf7V/r5RZMPOy90TS78FUJmscxkhkK5Rez2..l9OMoS', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('wilmer.hilpert@krajcikbarrows.name', 'wilmer.hilpert@krajcikbarrows.name', 'email', 'http://macgyverwyman.name/toni', '2014-07-28 11:26:48', '2014-07-28 11:26:48', '$2a$04$0NEop9nu./fOldtjGRb3juID5mvj.eqAB308sJh6ihABZTqs0nEbq', 701484147)[0m [1m[35m (2.5ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0005_should define user during first request ----------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:26:48.190990"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:26:48.193246"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"fjBo56gAQ6atkAyx0pCjpw\":{\"token\":\"$2a$10$quetZ8Yh5KTXFnxd0Zuk.u9.wEVx1xGV/klDTMdLUFco4jyHrl74m\",\"expiry\":1408984008,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:48 -0500\"}}"], ["updated_at", "2014-08-11 16:26:48.254227"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"fjBo56gAQ6atkAyx0pCjpw\":{\"token\":\"$2a$10$quetZ8Yh5KTXFnxd0Zuk.u9.wEVx1xGV/klDTMdLUFco4jyHrl74m\",\"expiry\":1408984008,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:33 -0500\"}}"], ["updated_at", "2014-08-11 16:26:48.256673"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'misty.koepp@halvorson.com' LIMIT 1[0m Completed 200 OK in 64ms (Views: 0.7ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"fjBo56gAQ6atkAyx0pCjpw\":{\"token\":\"$2a$10$quetZ8Yh5KTXFnxd0Zuk.u9.wEVx1xGV/klDTMdLUFco4jyHrl74m\",\"expiry\":1408984008,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:33 -0500\"}}"], ["updated_at", "2014-08-11 16:26:48.327125"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'misty.koepp@halvorson.com' LIMIT 1 Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('jace@runolfsdottir.info', 'jace@runolfsdottir.info', 'email', '2014-07-28 11:26:50', '2014-07-28 11:26:50', '2014-07-28 11:26:50', 'http://hayes.org/emerson', '$2a$04$rzK51tqfQ9A0adZ/quN0FeRgYZm1QqwtQiA9UfW9kQpNbsYn6g7lO', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('9185237323', 'anna_harvey@wuckertkris.com', 'facebook', '2014-07-28 11:26:50', '2014-07-28 11:26:50', '2014-07-28 11:26:50', '$2a$04$lrxqfxw6s/1EPKsKwW0ecOF6DhO9zyyyOYwtWJjPFJqXValkDwTFy', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('jefferey@nader.com', 'jefferey@nader.com', 'email', 'http://bradtke.name/ernestina.little', '2014-07-28 11:26:50', '2014-07-28 11:26:50', '$2a$04$QAY6KEaJJTpQUNbx1nVrsecavXIVGA2qxHvlNnpKXcwDEmr04btEe', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('cleora_lubowitz@haley.net', 'cleora_lubowitz@haley.net', 'email', '2014-07-28 11:26:50', '2014-07-28 11:26:50', '2014-07-28 11:26:50', 'http://padberg.org/marielle.jones', '$2a$04$U8Ds7aJgT.jSVHCtxmOEQ.Pp39XduVYmjk8YQ0YJtviNsdIwcYbV.', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('4641375839', 'betty.bartell@wisozk.biz', 'facebook', '2014-07-28 11:26:50', '2014-07-28 11:26:50', '2014-07-28 11:26:50', '$2a$04$7E8oNEA0f2WZodMAQyUnBumCi8r6kask1I50iRZ06HAC09F/xdRHC', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('charlie@bergnaum.net', 'charlie@bergnaum.net', 'email', 'http://barton.biz/ramiro', '2014-07-28 11:26:50', '2014-07-28 11:26:50', '$2a$04$UeGUjmtQqCr08TUT6h1E8Ok/.fC4lS/yDCueiuUGT3s24xnj4RzKi', 701484147)[0m [1m[35m (2.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0005_should define user during first request ----------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:26:50.997301"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:26:50.999739"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"EdHxh9OGlYgOqqgrFyU5Yg\":{\"token\":\"$2a$10$9mSoJ1w7v8sdo32DrccineBt7JuDixuHgDYwXfX7WLiKmgSJLFcTu\",\"expiry\":1408984011,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:51 -0500\"}}"], ["updated_at", "2014-08-11 16:26:51.061587"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"EdHxh9OGlYgOqqgrFyU5Yg\":{\"token\":\"$2a$10$9mSoJ1w7v8sdo32DrccineBt7JuDixuHgDYwXfX7WLiKmgSJLFcTu\",\"expiry\":1408984011,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:36 -0500\"}}"], ["updated_at", "2014-08-11 16:26:51.064557"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'cleora_lubowitz@haley.net' LIMIT 1[0m Completed 200 OK in 67ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"EdHxh9OGlYgOqqgrFyU5Yg\":{\"token\":\"$2a$10$9mSoJ1w7v8sdo32DrccineBt7JuDixuHgDYwXfX7WLiKmgSJLFcTu\",\"expiry\":1408984011,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:36 -0500\"}}"], ["updated_at", "2014-08-11 16:26:51.139549"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'cleora_lubowitz@haley.net' LIMIT 1 Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.3ms) [1m[36m (1.7ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('eduardo@moraremmerich.info', 'eduardo@moraremmerich.info', 'email', '2014-07-28 11:26:56', '2014-07-28 11:26:56', '2014-07-28 11:26:56', 'http://kaulke.name/reie_durgan', '$2a$04$hAc/L/qm3iG5fycgzfPXz.hazExbjuHQJbc2M8K1fmzyIbZctKOvO', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('8220456489', 'isac.sipes@jakubowskiheller.com', 'facebook', '2014-07-28 11:26:56', '2014-07-28 11:26:56', '2014-07-28 11:26:56', '$2a$04$vHDxuVR.DooAmMd.Ty6b2OBci3f.Ufbz5Vw6/j8WQdlxs/XtRbduW', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('daniella.lubowitz@rohan.info', 'daniella.lubowitz@rohan.info', 'email', 'http://toygulgowski.org/hector', '2014-07-28 11:26:56', '2014-07-28 11:26:56', '$2a$04$AhBxv8IckRbeqA2dM3/.VOFSPzg5aI45eXIimEGTyk5pSvqh2Tdo.', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('magdalen_olson@rodriguezhoeger.org', 'magdalen_olson@rodriguezhoeger.org', 'email', '2014-07-28 11:26:56', '2014-07-28 11:26:56', '2014-07-28 11:26:56', 'http://kozeybradtke.com/deborah.stracke', '$2a$04$vhii9Sh..LcMLOPtPfmwx.sztuDDrHstO6ECdeLKPFjHcwPe8taCO', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('2599217543', 'leslie@sauerziemann.org', 'facebook', '2014-07-28 11:26:56', '2014-07-28 11:26:56', '2014-07-28 11:26:56', '$2a$04$4GiKDgCO.tcYhd.JDsFF5.7enLPYgk8kWgDz9EkLC0S/1CP5JvvDy', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('kianna.greenfelder@littel.net', 'kianna.greenfelder@littel.net', 'email', 'http://hodkiewicz.com/caitlyn', '2014-07-28 11:26:56', '2014-07-28 11:26:56', '$2a$04$T7u.7vMQcEVNim.SIPw2Q.l71nUxC5oZXSqN01rwsuuy3Mwt1UJEu', 701484147)[0m [1m[35m (1.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::disable change_headers_on_each_request: test_0006_should define user during second request ------------------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:26:56.414201"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:26:56.416557"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"sRosbmJFSSJitqyWpEZsxQ\":{\"token\":\"$2a$10$JFvqUkCzUUascxaxgHbaFOK3384yxS1Ab0qcUa5qmW0.KyzqQsXDa\",\"expiry\":1408984016,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:56 -0500\"}}"], ["updated_at", "2014-08-11 16:26:56.478923"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"sRosbmJFSSJitqyWpEZsxQ\":{\"token\":\"$2a$10$JFvqUkCzUUascxaxgHbaFOK3384yxS1Ab0qcUa5qmW0.KyzqQsXDa\",\"expiry\":1408984016,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:41 -0500\"}}"], ["updated_at", "2014-08-11 16:26:56.481877"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'magdalen_olson@rodriguezhoeger.org' LIMIT 1[0m Completed 200 OK in 66ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"sRosbmJFSSJitqyWpEZsxQ\":{\"token\":\"$2a$10$JFvqUkCzUUascxaxgHbaFOK3384yxS1Ab0qcUa5qmW0.KyzqQsXDa\",\"expiry\":1408984016,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:41 -0500\"}}"], ["updated_at", "2014-08-11 16:26:56.554842"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'magdalen_olson@rodriguezhoeger.org' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('lyla@bauchebert.info', 'lyla@bauchebert.info', 'email', '2014-07-28 11:26:58', '2014-07-28 11:26:58', '2014-07-28 11:26:58', 'http://kuhiccorwin.info/aaron', '$2a$04$Wp5f8WzUcV/g.Rlz.5OOd./9BtvE4ZmPrFq.sh.92DKmcviLVK39q', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('4489888483', 'amalia@gleichner.name', 'facebook', '2014-07-28 11:26:58', '2014-07-28 11:26:58', '2014-07-28 11:26:58', '$2a$04$9VX.kWIaagYvQG4S9H0NsuyRmVwIWeHvasSB0No1UJkcNXEpSZ73e', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('gerald.harber@streich.biz', 'gerald.harber@streich.biz', 'email', 'http://kulaenger.name/jimmie', '2014-07-28 11:26:58', '2014-07-28 11:26:58', '$2a$04$IJos1EGovGWM4Fti6rPvK.5cS5pQHepQ5OoF3SMffXWwtXyQoE7tq', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('mayra_watsica@prosacco.net', 'mayra_watsica@prosacco.net', 'email', '2014-07-28 11:26:59', '2014-07-28 11:26:59', '2014-07-28 11:26:59', 'http://wuckert.com/jedidiah_considine', '$2a$04$k9u7VSSKc7U9euUO7IcSmOL6vQDyYJXGpIIv.fVd5Cd4PtM27w5Ai', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('8454278553', 'melvin@friesenbeier.biz', 'facebook', '2014-07-28 11:26:59', '2014-07-28 11:26:59', '2014-07-28 11:26:59', '$2a$04$qE/Dd75xV823wNl1ACd1RO08m9Vzfn4xbf4qfC5kYhfnLOMbjhGJm', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('caleigh@schiller.name', 'caleigh@schiller.name', 'email', 'http://becker.net/cyril', '2014-07-28 11:26:59', '2014-07-28 11:26:59', '$2a$04$DLa9Gx.jX3fvK9A70rWD/.tAfCOWjByr.sTZeeW6iBEMUc534Xy5O', 701484147)[0m [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::disable change_headers_on_each_request: test_0006_should define user during second request ------------------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:26:59.221546"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:26:59.223922"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.8ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"D7yOYSleevlMZ1AQn-4bdg\":{\"token\":\"$2a$10$x62xNVKEJVhVRftja6q/eOE.cNwBK3kNKw9CtCN1lJzpLpdSoKqK2\",\"expiry\":1408984019,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:59 -0500\"}}"], ["updated_at", "2014-08-11 16:26:59.285517"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"D7yOYSleevlMZ1AQn-4bdg\":{\"token\":\"$2a$10$x62xNVKEJVhVRftja6q/eOE.cNwBK3kNKw9CtCN1lJzpLpdSoKqK2\",\"expiry\":1408984019,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:44 -0500\"}}"], ["updated_at", "2014-08-11 16:26:59.288067"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'mayra_watsica@prosacco.net' LIMIT 1[0m Completed 200 OK in 64ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"D7yOYSleevlMZ1AQn-4bdg\":{\"token\":\"$2a$10$x62xNVKEJVhVRftja6q/eOE.cNwBK3kNKw9CtCN1lJzpLpdSoKqK2\",\"expiry\":1408984019,\"last_token\":null,\"updated_at\":\"2014-08-11 11:26:44 -0500\"}}"], ["updated_at", "2014-08-11 16:26:59.357883"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'mayra_watsica@prosacco.net' LIMIT 1 Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('mitchel@manndubuque.com', 'mitchel@manndubuque.com', 'email', '2014-07-28 11:29:22', '2014-07-28 11:29:22', '2014-07-28 11:29:22', 'http://murazik.name/arnoldo', '$2a$04$7aiyNxjr1PL.0MH4Q3Yt1uxmOZVy.m5fJ1y4cDe4FQDciRvQ8s3WW', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3551585132', 'emerson@tremblay.com', 'facebook', '2014-07-28 11:29:22', '2014-07-28 11:29:22', '2014-07-28 11:29:22', '$2a$04$0x2VgcPhH2tO8pnzhwgVR.1uUAOiZo6Lq22bEGAQzAFmsKI4p55p2', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('judah_shields@lowe.org', 'judah_shields@lowe.org', 'email', 'http://beiernikolaus.com/grace.crona', '2014-07-28 11:29:22', '2014-07-28 11:29:22', '$2a$04$DTAH5UuMs/..FJFGqoGxZuSdnzsX9gizhx5DdNDE55TTsh8fmM8vS', 701484147)[0m [1m[35mFixture Delete (0.2ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('norval_schultz@bernhard.net', 'norval_schultz@bernhard.net', 'email', '2014-07-28 11:29:22', '2014-07-28 11:29:22', '2014-07-28 11:29:22', 'http://rogahn.info/claudie', '$2a$04$Xsk48iuL39we6MPDUitSWeOiFTRDmQ7FHbT8U0PqjZoyyQQ84ltvS', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('3422927706', 'vanea@klein.info', 'facebook', '2014-07-28 11:29:22', '2014-07-28 11:29:22', '2014-07-28 11:29:22', '$2a$04$zqI3Be36UsMGMCWBvUEtreB7RomAI6X/21Wx9VUr82qNdA0yRDjze', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('lew@swaniawski.name', 'lew@swaniawski.name', 'email', 'http://franecki.name/haskell', '2014-07-28 11:29:22', '2014-07-28 11:29:22', '$2a$04$0KH.Ok19iQCVWFSBPk1XWuABmkmMsja75abWj3qJi0W/8ZZ4xeNu2', 701484147)[0m [1m[35m (0.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0001_should allow the first request through ---------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:22.398639"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:22.400869"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"XyVVQuGSI3is1HCDntytWA\":{\"token\":\"$2a$10$.ml9/q/lf4o.507sTDxhhuyQ.sUgXD45rmXRSCev8NigaOXBf7Hwu\",\"expiry\":1408984162,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:22 -0500\"}}"], ["updated_at", "2014-08-11 16:29:22.461904"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"XyVVQuGSI3is1HCDntytWA\":{\"token\":\"$2a$10$.ml9/q/lf4o.507sTDxhhuyQ.sUgXD45rmXRSCev8NigaOXBf7Hwu\",\"expiry\":1408984162,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:07 -0500\"}}"], ["updated_at", "2014-08-11 16:29:22.464229"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1[0m Completed 200 OK in 64ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"XyVVQuGSI3is1HCDntytWA\":{\"token\":\"$2a$10$.ml9/q/lf4o.507sTDxhhuyQ.sUgXD45rmXRSCev8NigaOXBf7Hwu\",\"expiry\":1408984162,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:07 -0500\"}}"], ["updated_at", "2014-08-11 16:29:22.533554"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0002_should allow the second request through ----------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:22.600696"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:22.601644"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"fC2gwAaEe8nxtn4Rc2nFCA\":{\"token\":\"$2a$10$pakB82qrEpxlEykEpPGii.mo5zbSTRiegu5Mtu2kI/MkDb2HfwIAe\",\"expiry\":1408984162,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:22 -0500\"}}"], ["updated_at", "2014-08-11 16:29:22.663887"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"fC2gwAaEe8nxtn4Rc2nFCA\":{\"token\":\"$2a$10$pakB82qrEpxlEykEpPGii.mo5zbSTRiegu5Mtu2kI/MkDb2HfwIAe\",\"expiry\":1408984162,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:07 -0500\"}}"], ["updated_at", "2014-08-11 16:29:22.666421"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"fC2gwAaEe8nxtn4Rc2nFCA\":{\"token\":\"$2a$10$pakB82qrEpxlEykEpPGii.mo5zbSTRiegu5Mtu2kI/MkDb2HfwIAe\",\"expiry\":1408984162,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:07 -0500\"}}"], ["updated_at", "2014-08-11 16:29:22.731721"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1[0m Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0003_should return auth headers from the first request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:22.798822"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:22.799283"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"QLKaAnrZqx9QutxnoNsxOA\":{\"token\":\"$2a$10$aM2Zqp0HV1Jm1GUgwhiMde07QFqly5r04vHAqXzQEDsE6GlUMA8HK\",\"expiry\":1408984162,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:22 -0500\"}}"], ["updated_at", "2014-08-11 16:29:22.860928"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"QLKaAnrZqx9QutxnoNsxOA\":{\"token\":\"$2a$10$aM2Zqp0HV1Jm1GUgwhiMde07QFqly5r04vHAqXzQEDsE6GlUMA8HK\",\"expiry\":1408984162,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:07 -0500\"}}"], ["updated_at", "2014-08-11 16:29:22.862604"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1[0m Completed 200 OK in 61ms (Views: 0.5ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"QLKaAnrZqx9QutxnoNsxOA\":{\"token\":\"$2a$10$aM2Zqp0HV1Jm1GUgwhiMde07QFqly5r04vHAqXzQEDsE6GlUMA8HK\",\"expiry\":1408984162,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:07 -0500\"}}"], ["updated_at", "2014-08-11 16:29:22.926283"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 Completed 200 OK in 61ms (Views: 0.5ms | ActiveRecord: 0.3ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0004_should return auth headers from the second request ---------------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:22.992174"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:22.992609"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"vSrNzT3bE7P25_jXblHAbw\":{\"token\":\"$2a$10$u3X7PGVRhXQnrNytIXLnDuYpe563boR4ZB6bzSUaUc9FZzVqcWBfC\",\"expiry\":1408984163,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:23 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.053760"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"vSrNzT3bE7P25_jXblHAbw\":{\"token\":\"$2a$10$u3X7PGVRhXQnrNytIXLnDuYpe563boR4ZB6bzSUaUc9FZzVqcWBfC\",\"expiry\":1408984163,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:08 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.055770"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"vSrNzT3bE7P25_jXblHAbw\":{\"token\":\"$2a$10$u3X7PGVRhXQnrNytIXLnDuYpe563boR4ZB6bzSUaUc9FZzVqcWBfC\",\"expiry\":1408984163,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:08 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.120239"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1[0m Completed 200 OK in 61ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0005_should define user during first request ----------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:23.186105"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:23.186527"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"eRcP1nZfg-57AvMYl0EYUg\":{\"token\":\"$2a$10$niV52qdwO2aP5REaJnrn1esC3M9hpcMBgGL7TY3mlGAjgrhWjRF32\",\"expiry\":1408984163,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:23 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.248202"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"eRcP1nZfg-57AvMYl0EYUg\":{\"token\":\"$2a$10$niV52qdwO2aP5REaJnrn1esC3M9hpcMBgGL7TY3mlGAjgrhWjRF32\",\"expiry\":1408984163,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:08 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.249887"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1[0m Completed 200 OK in 61ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"eRcP1nZfg-57AvMYl0EYUg\":{\"token\":\"$2a$10$niV52qdwO2aP5REaJnrn1esC3M9hpcMBgGL7TY3mlGAjgrhWjRF32\",\"expiry\":1408984163,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:08 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.314005"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 Completed 200 OK in 61ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::disable change_headers_on_each_request: test_0006_should define user during second request ------------------------------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:23.380176"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:23.380653"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"NNH4lZo_rV_vvYg5SQxkuw\":{\"token\":\"$2a$10$m.S479z95ueE1f2MK8NIi.n2EwExMm/WObcCEi9lalG1CGfIVKp9G\",\"expiry\":1408984163,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:23 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.442248"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"NNH4lZo_rV_vvYg5SQxkuw\":{\"token\":\"$2a$10$m.S479z95ueE1f2MK8NIi.n2EwExMm/WObcCEi9lalG1CGfIVKp9G\",\"expiry\":1408984163,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:08 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.444030"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"NNH4lZo_rV_vvYg5SQxkuw\":{\"token\":\"$2a$10$m.S479z95ueE1f2MK8NIi.n2EwExMm/WObcCEi9lalG1CGfIVKp9G\",\"expiry\":1408984163,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:08 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.533001"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1[0m Completed 200 OK in 62ms (Views: 1.1ms | ActiveRecord: 0.2ms) [1m[35m (1.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0001_should allow the first request through -------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:23.600379"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:23.600802"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"RyZ6IudEvtoIwoncf6-WWw\":{\"token\":\"$2a$10$lChpf3MJcJ0cgwPCSJ5d.eOmdkSrW0X6YXUqgFU8zddCFH5u/qKQ2\",\"expiry\":1408984163,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:23 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.661815"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"RyZ6IudEvtoIwoncf6-WWw\":{\"token\":\"$2a$10$lChpf3MJcJ0cgwPCSJ5d.eOmdkSrW0X6YXUqgFU8zddCFH5u/qKQ2\",\"expiry\":1408984163,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:08 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.663490"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"RyZ6IudEvtoIwoncf6-WWw\":{\"token\":\"$2a$10$ABDeEAnYVoc0ZBDRxH8egu9k.A75rGvc3qOJ2xkUtppqBYyOocPMm\",\"expiry\":1408984163,\"last_token\":\"$2a$10$lChpf3MJcJ0cgwPCSJ5d.eOmdkSrW0X6YXUqgFU8zddCFH5u/qKQ2\",\"updated_at\":\"2014-08-11 11:29:23 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.787498"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 123ms (Views: 0.5ms | ActiveRecord: 0.3ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0002_should not allow the second request through ------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:23.792658"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:23.793124"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"RHBMrbRqWxNxqVKIsI4otQ\":{\"token\":\"$2a$10$.xLHjjzrJf68br90HmDdO.HEaicPajrgyfWiYw62.8eMxUGLsy.3m\",\"expiry\":1408984163,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:23 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.854403"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"RHBMrbRqWxNxqVKIsI4otQ\":{\"token\":\"$2a$10$.xLHjjzrJf68br90HmDdO.HEaicPajrgyfWiYw62.8eMxUGLsy.3m\",\"expiry\":1408984163,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:08 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.856691"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"RHBMrbRqWxNxqVKIsI4otQ\":{\"token\":\"$2a$10$6Yhzu.PViVBshO/TGbrpheV1c8t3zbKrfahfQJVFN/OkItPKHX.s2\",\"expiry\":1408984163,\"last_token\":\"$2a$10$.xLHjjzrJf68br90HmDdO.HEaicPajrgyfWiYw62.8eMxUGLsy.3m\",\"updated_at\":\"2014-08-11 11:29:23 -0500\"}}"], ["updated_at", "2014-08-11 16:29:23.982568"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 124ms (Views: 0.7ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0003_should return auth headers from the first request ------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:23.987965"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:23.988449"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"wXF0wJd7Bk2WDsTGgpsMUg\":{\"token\":\"$2a$10$KtNjH4YG9IMPBulC5OTXFu2GT13eFyxKimzm1/uEyxIGRrSS7VxOm\",\"expiry\":1408984164,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:24 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.050218"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"wXF0wJd7Bk2WDsTGgpsMUg\":{\"token\":\"$2a$10$KtNjH4YG9IMPBulC5OTXFu2GT13eFyxKimzm1/uEyxIGRrSS7VxOm\",\"expiry\":1408984164,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:09 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.051935"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"wXF0wJd7Bk2WDsTGgpsMUg\":{\"token\":\"$2a$10$M6Ipf/KxPD1f0SXIYSVBMO9ZmOc.mRSVzuQzmNCT3AHGWEzVnHIOm\",\"expiry\":1408984164,\"last_token\":\"$2a$10$KtNjH4YG9IMPBulC5OTXFu2GT13eFyxKimzm1/uEyxIGRrSS7VxOm\",\"updated_at\":\"2014-08-11 11:29:24 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.176026"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::batch requests::time out: test_0004_should not return auth headers from the second request ------------------------------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:24.181938"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:24.182463"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"1fV5gUsiOJvBU2ZmalPPaQ\":{\"token\":\"$2a$10$9XlDtMq4KxwAzotPt76fg.oUGiZmQc.hp1OlsB9jbqebZlboVwvXK\",\"expiry\":1408984164,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:24 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.244394"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"1fV5gUsiOJvBU2ZmalPPaQ\":{\"token\":\"$2a$10$9XlDtMq4KxwAzotPt76fg.oUGiZmQc.hp1OlsB9jbqebZlboVwvXK\",\"expiry\":1408984164,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:09 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.246123"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"1fV5gUsiOJvBU2ZmalPPaQ\":{\"token\":\"$2a$10$LB9w.eWwR/p9tsSA9YxBf.BikQhsSoUZq3oJ9xKGhq2qYK8x1JYdO\",\"expiry\":1408984164,\"last_token\":\"$2a$10$9XlDtMq4KxwAzotPt76fg.oUGiZmQc.hp1OlsB9jbqebZlboVwvXK\",\"updated_at\":\"2014-08-11 11:29:24 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.369170"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 122ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0005_should define user during first request --------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:24.374379"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:24.374853"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"bbhxuae-O4w9HksG5SLwyg\":{\"token\":\"$2a$10$X.cwkkfNAmisd3UbhBmwo.dVJvgf3PVVk9RPbsBqwB2WQ81z8eDBS\",\"expiry\":1408984164,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:24 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.435700"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"bbhxuae-O4w9HksG5SLwyg\":{\"token\":\"$2a$10$X.cwkkfNAmisd3UbhBmwo.dVJvgf3PVVk9RPbsBqwB2WQ81z8eDBS\",\"expiry\":1408984164,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:09 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.437409"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"bbhxuae-O4w9HksG5SLwyg\":{\"token\":\"$2a$10$9HLNSJGO2JjcgS1aQDwm2eBSfezxLyHo.yTS7W5FEP3ZRMNJLE5Qy\",\"expiry\":1408984164,\"last_token\":\"$2a$10$X.cwkkfNAmisd3UbhBmwo.dVJvgf3PVVk9RPbsBqwB2WQ81z8eDBS\",\"updated_at\":\"2014-08-11 11:29:24 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.561076"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0006_should not define user during second request -------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:24.566564"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:24.567178"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"mqkdxzbfG-GUeKLXIBAHGA\":{\"token\":\"$2a$10$qc7mEIxHjFbMoHdupo08NOaWgg3m5LzD9Ub2ny2/lY7AU3oUYgCqy\",\"expiry\":1408984164,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:24 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.628945"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"mqkdxzbfG-GUeKLXIBAHGA\":{\"token\":\"$2a$10$qc7mEIxHjFbMoHdupo08NOaWgg3m5LzD9Ub2ny2/lY7AU3oUYgCqy\",\"expiry\":1408984164,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:09 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.630692"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"mqkdxzbfG-GUeKLXIBAHGA\":{\"token\":\"$2a$10$F1s8aNlRwsv0rbQma.RcuOHlH9jZMx0tt3vzOwrtIgV.gT7W6DRGi\",\"expiry\":1408984164,\"last_token\":\"$2a$10$qc7mEIxHjFbMoHdupo08NOaWgg3m5LzD9Ub2ny2/lY7AU3oUYgCqy\",\"updated_at\":\"2014-08-11 11:29:24 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.754651"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.5ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0001_should allow both requests through --------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:24.761622"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:24.762093"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"mG391jDNVyWxxyRZQxFz5w\":{\"token\":\"$2a$10$7hKVsKBuNB1RADH/RRHgyeLvB5eDqo3UYqZgwMvK1o3p4nc.mzVwO\",\"expiry\":1408984164,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:24 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.824974"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.8ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0002_should return the same auth headers for both requests ---------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:24.837342"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:24.838285"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"3rIWoxvsm-p-zb6Xg1g9hA\":{\"token\":\"$2a$10$cCcCxC1A8S3y7P.fBH/Weu7zTVcAz1u5RnLdyJVwHLdrZqCY9lCb6\",\"expiry\":1408984164,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:24 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.900787"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------- DemoController::Alternate user class: test_0001_should return success status ---------------------------------------------------------------------------- [1m[35mMang Load (0.3ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "mangs" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:24.908696"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:24.909609"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["tokens", "{\"dgPeZ-k7ESCEBLk3Dm7yyg\":{\"token\":\"$2a$10$K9YVxrYkiWSRPyGSJbzIY.j3R1WKInr8UFbKN4ztOyRAZLTHM47Xy\",\"expiry\":1408984164,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:24 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.971511"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["tokens", "{\"dgPeZ-k7ESCEBLk3Dm7yyg\":{\"token\":\"$2a$10$K9YVxrYkiWSRPyGSJbzIY.j3R1WKInr8UFbKN4ztOyRAZLTHM47Xy\",\"expiry\":1408984164,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:09 -0500\"}}"], ["updated_at", "2014-08-11 16:29:24.972785"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = 'mitchel@manndubuque.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["tokens", "{\"dgPeZ-k7ESCEBLk3Dm7yyg\":{\"token\":\"$2a$10$fNJnsRVZx9rX85A2J8VP8.AhLGH0Ozs6UEEu/.dGopnWLTnpQXW5i\",\"expiry\":1408984165,\"last_token\":\"$2a$10$K9YVxrYkiWSRPyGSJbzIY.j3R1WKInr8UFbKN4ztOyRAZLTHM47Xy\",\"updated_at\":\"2014-08-11 11:29:25 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.098056"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 125ms (Views: 0.7ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::subsequent requests: test_0001_should not treat this request as a batch request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:25.104903"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:25.105541"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"LynNua9R1m5t_gWyvqNp4w\":{\"token\":\"$2a$10$1rLgKkr3Bf0vjZKKbVgKmO0BHKNrZvGlUxT/0hRtbQeaOwPWGZyIq\",\"expiry\":1408984165,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:25 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.167734"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"LynNua9R1m5t_gWyvqNp4w\":{\"token\":\"$2a$10$1rLgKkr3Bf0vjZKKbVgKmO0BHKNrZvGlUxT/0hRtbQeaOwPWGZyIq\",\"expiry\":1408984165,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:10 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.168967"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"LynNua9R1m5t_gWyvqNp4w\":{\"token\":\"$2a$10$5BT8etxeAW9xeb0kM79kUO1xv.j8AUfEQ1Eo0JtnO13/WOyq6iOxi\",\"expiry\":1408984165,\"last_token\":\"$2a$10$1rLgKkr3Bf0vjZKKbVgKmO0BHKNrZvGlUxT/0hRtbQeaOwPWGZyIq\",\"updated_at\":\"2014-08-11 11:29:25 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.293048"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"LynNua9R1m5t_gWyvqNp4w\":{\"token\":\"$2a$10$5BT8etxeAW9xeb0kM79kUO1xv.j8AUfEQ1Eo0JtnO13/WOyq6iOxi\",\"expiry\":1408984165,\"last_token\":\"$2a$10$1rLgKkr3Bf0vjZKKbVgKmO0BHKNrZvGlUxT/0hRtbQeaOwPWGZyIq\",\"updated_at\":\"2014-08-11 11:29:10 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.294919"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"LynNua9R1m5t_gWyvqNp4w\":{\"token\":\"$2a$10$nnGUScR1PyrbM2cGOgB9p.jw5nKFupEWM0AKGbkTDC07psq9DK4qK\",\"expiry\":1408984165,\"last_token\":\"$2a$10$5BT8etxeAW9xeb0kM79kUO1xv.j8AUfEQ1Eo0JtnO13/WOyq6iOxi\",\"updated_at\":\"2014-08-11 11:29:25 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.419303"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.4ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::subsequent requests: test_0002_should allow a new request to be made using new token -------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:25.423332"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:25.423778"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"GVIiEJXaqYFmiG06csh4Wg\":{\"token\":\"$2a$10$oz90ANm2Vn1fG4xbzEEEV.exrPzSPfK7TI3h5065/TbQg6eR44CcC\",\"expiry\":1408984165,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:25 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.485203"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"GVIiEJXaqYFmiG06csh4Wg\":{\"token\":\"$2a$10$oz90ANm2Vn1fG4xbzEEEV.exrPzSPfK7TI3h5065/TbQg6eR44CcC\",\"expiry\":1408984165,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:10 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.486388"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"GVIiEJXaqYFmiG06csh4Wg\":{\"token\":\"$2a$10$P33FZWASNuoamzFMN1b7.eIe4MlCa4woj6PPe7sbIhgPajPXlzIge\",\"expiry\":1408984165,\"last_token\":\"$2a$10$oz90ANm2Vn1fG4xbzEEEV.exrPzSPfK7TI3h5065/TbQg6eR44CcC\",\"updated_at\":\"2014-08-11 11:29:25 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.611287"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 124ms (Views: 0.8ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"GVIiEJXaqYFmiG06csh4Wg\":{\"token\":\"$2a$10$P33FZWASNuoamzFMN1b7.eIe4MlCa4woj6PPe7sbIhgPajPXlzIge\",\"expiry\":1408984165,\"last_token\":\"$2a$10$oz90ANm2Vn1fG4xbzEEEV.exrPzSPfK7TI3h5065/TbQg6eR44CcC\",\"updated_at\":\"2014-08-11 11:29:10 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.613668"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"GVIiEJXaqYFmiG06csh4Wg\":{\"token\":\"$2a$10$yjvkgyefMwKSYBqHrojXJ.G7CBcSb8tegoA.2LRqbOynSj2qF27Jq\",\"expiry\":1408984165,\"last_token\":\"$2a$10$P33FZWASNuoamzFMN1b7.eIe4MlCa4woj6PPe7sbIhgPajPXlzIge\",\"updated_at\":\"2014-08-11 11:29:25 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.736896"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.7ms | ActiveRecord: 0.4ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0001_should not return any auth headers ------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:25.743209"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:25.743657"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"q_xage3AEs6f2mr7Sckk2A\":{\"token\":\"$2a$10$HMypgtN7ZQokteUNyjgF1ee7vLdrQHeVNXyUkwuN9OD1o69ImfYkS\",\"expiry\":1408984165,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:25 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.805144"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0002_should return error: unauthorized status ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:25.810233"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:25.810695"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"b3m0xX496ByqXLlr4R7arQ\":{\"token\":\"$2a$10$BO0lQj900jc0WDXgbtiQUu8vZaiPdIvpF2ru0vZhdFOjbW0LWqefS\",\"expiry\":1408984165,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:25 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.872507"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0001_should return success status ---------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:25.877398"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:25.877816"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"aFwy54KVNoASDSYb4CwDEw\":{\"token\":\"$2a$10$RWNobWBALdt9WJoksHL7N.6V2fGDrPzZAAsNziFEhQCZJyzBsRw3u\",\"expiry\":1408984165,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:25 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.939189"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"aFwy54KVNoASDSYb4CwDEw\":{\"token\":\"$2a$10$RWNobWBALdt9WJoksHL7N.6V2fGDrPzZAAsNziFEhQCZJyzBsRw3u\",\"expiry\":1408984165,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:10 -0500\"}}"], ["updated_at", "2014-08-11 16:29:25.940528"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"aFwy54KVNoASDSYb4CwDEw\":{\"token\":\"$2a$10$MABBVbBfH4z1TZPidR0l8euvdGBb9tgIfMMa/rvT48THJN62yE7cq\",\"expiry\":1408984166,\"last_token\":\"$2a$10$RWNobWBALdt9WJoksHL7N.6V2fGDrPzZAAsNziFEhQCZJyzBsRw3u\",\"updated_at\":\"2014-08-11 11:29:26 -0500\"}}"], ["updated_at", "2014-08-11 16:29:26.064779"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0002_should receive new token after successful request ------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:26.068890"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:26.069306"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"ez4PzADJvP28xG6SSKfFjw\":{\"token\":\"$2a$10$rh4B5qyFLxCEaYPNzlTNH.pkyL5Zct2nXQFos3uHq.2YQCu3Ac./G\",\"expiry\":1408984166,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:26 -0500\"}}"], ["updated_at", "2014-08-11 16:29:26.130767"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"ez4PzADJvP28xG6SSKfFjw\":{\"token\":\"$2a$10$rh4B5qyFLxCEaYPNzlTNH.pkyL5Zct2nXQFos3uHq.2YQCu3Ac./G\",\"expiry\":1408984166,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:11 -0500\"}}"], ["updated_at", "2014-08-11 16:29:26.132017"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"ez4PzADJvP28xG6SSKfFjw\":{\"token\":\"$2a$10$d9gEG.WH5KnASe6zKUDUpednftubyTSOD59rEHDVYujM1u7koeiV2\",\"expiry\":1408984166,\"last_token\":\"$2a$10$rh4B5qyFLxCEaYPNzlTNH.pkyL5Zct2nXQFos3uHq.2YQCu3Ac./G\",\"updated_at\":\"2014-08-11 11:29:26 -0500\"}}"], ["updated_at", "2014-08-11 16:29:26.256215"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.7ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0003_should preserve the client id from the first request ---------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:26.260179"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:26.260647"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Y799XKsYO1hq-95Wr91Aog\":{\"token\":\"$2a$10$kikmA4yS9BgOuzLtn3zWz.7Cb2R.oiWlqnyz2T3INBnb51/SJsFUW\",\"expiry\":1408984166,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:26 -0500\"}}"], ["updated_at", "2014-08-11 16:29:26.322269"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Y799XKsYO1hq-95Wr91Aog\":{\"token\":\"$2a$10$kikmA4yS9BgOuzLtn3zWz.7Cb2R.oiWlqnyz2T3INBnb51/SJsFUW\",\"expiry\":1408984166,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:11 -0500\"}}"], ["updated_at", "2014-08-11 16:29:26.323519"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Y799XKsYO1hq-95Wr91Aog\":{\"token\":\"$2a$10$HCygmZXy589lqcE9qgLHk.EYFS4eeFTG47z5NvRAZBqEgIYXbzQ6.\",\"expiry\":1408984166,\"last_token\":\"$2a$10$kikmA4yS9BgOuzLtn3zWz.7Cb2R.oiWlqnyz2T3INBnb51/SJsFUW\",\"updated_at\":\"2014-08-11 11:29:26 -0500\"}}"], ["updated_at", "2014-08-11 16:29:26.448860"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 125ms (Views: 0.8ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0004_should return the user's uid in the auth header ----------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:26.453649"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:26.454362"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"JnJGlPHXXLPwLY6Ozyz3gg\":{\"token\":\"$2a$10$jDAJTZMNVIgeNlY.ICp22OV.04Bw1Or/sLhSNAMFXcntiVI77dDKe\",\"expiry\":1408984166,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:26 -0500\"}}"], ["updated_at", "2014-08-11 16:29:26.516462"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"JnJGlPHXXLPwLY6Ozyz3gg\":{\"token\":\"$2a$10$jDAJTZMNVIgeNlY.ICp22OV.04Bw1Or/sLhSNAMFXcntiVI77dDKe\",\"expiry\":1408984166,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:11 -0500\"}}"], ["updated_at", "2014-08-11 16:29:26.517816"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"JnJGlPHXXLPwLY6Ozyz3gg\":{\"token\":\"$2a$10$U9Ta/.oybSYJYZFrbryufOdC.Li0Ct0KkOz9sHzuoj7rSU9reb5Va\",\"expiry\":1408984166,\"last_token\":\"$2a$10$jDAJTZMNVIgeNlY.ICp22OV.04Bw1Or/sLhSNAMFXcntiVI77dDKe\",\"updated_at\":\"2014-08-11 11:29:26 -0500\"}}"], ["updated_at", "2014-08-11 16:29:26.643070"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 124ms (Views: 0.7ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------ DemoController::Token access::successful request: test_0005_should not treat this request as a batch request ------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:26.647280"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:26.647741"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Zs0iFBN9mAVCny2Lc_7R-Q\":{\"token\":\"$2a$10$1j7GGiCuKdcd5Xe2A4HAYOQlf4enZk/8BNfeAQ7.oz7QDHwrjptUq\",\"expiry\":1408984166,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:26 -0500\"}}"], ["updated_at", "2014-08-11 16:29:26.709000"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Zs0iFBN9mAVCny2Lc_7R-Q\":{\"token\":\"$2a$10$1j7GGiCuKdcd5Xe2A4HAYOQlf4enZk/8BNfeAQ7.oz7QDHwrjptUq\",\"expiry\":1408984166,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:11 -0500\"}}"], ["updated_at", "2014-08-11 16:29:26.710233"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'norval_schultz@bernhard.net' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Zs0iFBN9mAVCny2Lc_7R-Q\":{\"token\":\"$2a$10$SnjOUUt/O8XvoSQLk3nD3.4hgZL.oHUw7MOMS2hTK5xEhOcJee1QW\",\"expiry\":1408984166,\"last_token\":\"$2a$10$1j7GGiCuKdcd5Xe2A4HAYOQlf4enZk/8BNfeAQ7.oz7QDHwrjptUq\",\"updated_at\":\"2014-08-11 11:29:26 -0500\"}}"], ["updated_at", "2014-08-11 16:29:26.833638"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.5ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('rey_denesik@haag.name', 'rey_denesik@haag.name', 'email', '2014-07-28 11:29:29', '2014-07-28 11:29:29', '2014-07-28 11:29:29', 'http://nienow.info/jordane', '$2a$04$HHAUCHq.VI/yK5SfPFugaOhbNVEI/.IS69oZudcwXV78cRCIJqRZe', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('5205266534', 'reed@haley.net', 'facebook', '2014-07-28 11:29:29', '2014-07-28 11:29:29', '2014-07-28 11:29:29', '$2a$04$A/A9yBRdggkalk2IHKExGeFwfEgfQh1enAICSnLMviGJSQ3m0lhva', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('mariane@schamberger.biz', 'mariane@schamberger.biz', 'email', 'http://keler.biz/vicenta', '2014-07-28 11:29:29', '2014-07-28 11:29:29', '$2a$04$HVCnGWCUJxLESo8gFsb0k.RfOevWBDuMCO3fwrftiPzZh6c0A/r4S', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('kiarra@bodelubowitz.org', 'kiarra@bodelubowitz.org', 'email', '2014-07-28 11:29:29', '2014-07-28 11:29:29', '2014-07-28 11:29:29', 'http://tillman.name/lottie', '$2a$04$QbtpyUupjsoa/s8Z223zSuDEvTvhdddJWZgor41q0louj.XZSpP5y', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('5768631041', 'zander_nader@wolffunk.org', 'facebook', '2014-07-28 11:29:29', '2014-07-28 11:29:29', '2014-07-28 11:29:29', '$2a$04$UwgUH4STp9weurOF8QyIte.BF88vFRcEnwki5nepndD5yWJAONQfG', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('jaiden@reinger.org', 'jaiden@reinger.org', 'email', 'http://brekkemurphy.net/malinda.keeling', '2014-07-28 11:29:29', '2014-07-28 11:29:29', '$2a$04$yz4O30RTBtUxUApJEDAfyO6Hcb0jcieczp2Timdx01SUyEXjFfniK', 701484147)[0m [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------- DemoController::Alternate user class: test_0001_should return success status ---------------------------------------------------------------------------- [1m[35mMang Load (0.2ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "mangs" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:29.327447"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:29.329559"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["tokens", "{\"eG1fxloYB9-RqlnDnHarwA\":{\"token\":\"$2a$10$4LoHk53UMwwbkadw1fnxjOjqLsOdPoonk/1vUf5o2HY0RMV846qKG\",\"expiry\":1408984169,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:29 -0500\"}}"], ["updated_at", "2014-08-11 16:29:29.390218"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["tokens", "{\"eG1fxloYB9-RqlnDnHarwA\":{\"token\":\"$2a$10$4LoHk53UMwwbkadw1fnxjOjqLsOdPoonk/1vUf5o2HY0RMV846qKG\",\"expiry\":1408984169,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:14 -0500\"}}"], ["updated_at", "2014-08-11 16:29:29.392230"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = 'rey_denesik@haag.name' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["tokens", "{\"eG1fxloYB9-RqlnDnHarwA\":{\"token\":\"$2a$10$DN3dTecjIRzeXEaboAyj7.7tSgB59BCqXlnIInnjBh.Vx2rSPANPi\",\"expiry\":1408984169,\"last_token\":\"$2a$10$4LoHk53UMwwbkadw1fnxjOjqLsOdPoonk/1vUf5o2HY0RMV846qKG\",\"updated_at\":\"2014-08-11 11:29:29 -0500\"}}"], ["updated_at", "2014-08-11 16:29:29.523184"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 127ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0001_should return success status ---------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:29.531427"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:29.532016"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"vUZaFcKrcuuEi67efnk0wg\":{\"token\":\"$2a$10$SOvK00XXsJCtvvXjM2LiB.xUoE1BEmen8TwUmCk4XK69LuaTtAnWa\",\"expiry\":1408984169,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:29 -0500\"}}"], ["updated_at", "2014-08-11 16:29:29.593129"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"vUZaFcKrcuuEi67efnk0wg\":{\"token\":\"$2a$10$SOvK00XXsJCtvvXjM2LiB.xUoE1BEmen8TwUmCk4XK69LuaTtAnWa\",\"expiry\":1408984169,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:14 -0500\"}}"], ["updated_at", "2014-08-11 16:29:29.594330"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"vUZaFcKrcuuEi67efnk0wg\":{\"token\":\"$2a$10$sBOILN4v0poWF0UvNUzoueT90F9AfzBnbZffd8ekqNHc9vPWiiHHS\",\"expiry\":1408984169,\"last_token\":\"$2a$10$SOvK00XXsJCtvvXjM2LiB.xUoE1BEmen8TwUmCk4XK69LuaTtAnWa\",\"updated_at\":\"2014-08-11 11:29:29 -0500\"}}"], ["updated_at", "2014-08-11 16:29:29.717823"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0002_should receive new token after successful request ------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:29.721922"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:29.722379"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"rKJM8m7L9A1qhFYl7H3EBQ\":{\"token\":\"$2a$10$S/Q3vs14k0ezzeJv5pJTUudZ0ponnHlwJAw8hL52RVeo6hYrCCC0K\",\"expiry\":1408984169,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:29 -0500\"}}"], ["updated_at", "2014-08-11 16:29:29.783746"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"rKJM8m7L9A1qhFYl7H3EBQ\":{\"token\":\"$2a$10$S/Q3vs14k0ezzeJv5pJTUudZ0ponnHlwJAw8hL52RVeo6hYrCCC0K\",\"expiry\":1408984169,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:14 -0500\"}}"], ["updated_at", "2014-08-11 16:29:29.785055"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"rKJM8m7L9A1qhFYl7H3EBQ\":{\"token\":\"$2a$10$wtjRn3G2sgyd.2e6ZRz3pOtE6O8B85BRQGa9TnHYmwSQJtVOE/.qa\",\"expiry\":1408984169,\"last_token\":\"$2a$10$S/Q3vs14k0ezzeJv5pJTUudZ0ponnHlwJAw8hL52RVeo6hYrCCC0K\",\"updated_at\":\"2014-08-11 11:29:29 -0500\"}}"], ["updated_at", "2014-08-11 16:29:29.908405"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0003_should preserve the client id from the first request ---------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:29.912300"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:29.912720"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"FM0PlrZYncEg-7z3l7N6qg\":{\"token\":\"$2a$10$9JpmvbrwrUzTeom1ApPUT.4w9Y3IKGPiI834GGURc1KYI.aQ00PTW\",\"expiry\":1408984169,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:29 -0500\"}}"], ["updated_at", "2014-08-11 16:29:29.973695"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"FM0PlrZYncEg-7z3l7N6qg\":{\"token\":\"$2a$10$9JpmvbrwrUzTeom1ApPUT.4w9Y3IKGPiI834GGURc1KYI.aQ00PTW\",\"expiry\":1408984169,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:14 -0500\"}}"], ["updated_at", "2014-08-11 16:29:29.974875"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"FM0PlrZYncEg-7z3l7N6qg\":{\"token\":\"$2a$10$jbWpZIwxUGDwx22ZyEDH5eBtoF.p4sVdvbL0/ns8yIcjowfzXupSK\",\"expiry\":1408984170,\"last_token\":\"$2a$10$9JpmvbrwrUzTeom1ApPUT.4w9Y3IKGPiI834GGURc1KYI.aQ00PTW\",\"updated_at\":\"2014-08-11 11:29:30 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.098912"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0004_should return the user's uid in the auth header ----------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:30.103597"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:30.104233"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"xlWqTwc1hcmjOR9IQ7h6bA\":{\"token\":\"$2a$10$qyG5wihX8N1UDUWb9E9WY.OLZVko.G1DXz6W2RDGdYYOF0f4G0Uma\",\"expiry\":1408984170,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:30 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.165880"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"xlWqTwc1hcmjOR9IQ7h6bA\":{\"token\":\"$2a$10$qyG5wihX8N1UDUWb9E9WY.OLZVko.G1DXz6W2RDGdYYOF0f4G0Uma\",\"expiry\":1408984170,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:15 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.167064"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"xlWqTwc1hcmjOR9IQ7h6bA\":{\"token\":\"$2a$10$aMkgHyYBkLRPSGWJBlnMTequW8BJ1E/DeQ/4uzNw3E8UKuGuc9oBu\",\"expiry\":1408984170,\"last_token\":\"$2a$10$qyG5wihX8N1UDUWb9E9WY.OLZVko.G1DXz6W2RDGdYYOF0f4G0Uma\",\"updated_at\":\"2014-08-11 11:29:30 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.291861"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 124ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------ DemoController::Token access::successful request: test_0005_should not treat this request as a batch request ------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:30.295801"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:30.296245"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"eTD5VX9iH_Fvjnf7LJrtsQ\":{\"token\":\"$2a$10$Xmd4fNXSWv64wwim0fv8ke08BcV6LPdzJkPfkFpSd0aIhCkjdTt8S\",\"expiry\":1408984170,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:30 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.357928"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"eTD5VX9iH_Fvjnf7LJrtsQ\":{\"token\":\"$2a$10$Xmd4fNXSWv64wwim0fv8ke08BcV6LPdzJkPfkFpSd0aIhCkjdTt8S\",\"expiry\":1408984170,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:15 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.359119"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"eTD5VX9iH_Fvjnf7LJrtsQ\":{\"token\":\"$2a$10$m9oojjN9IDk1K2WLDbDGWOzmq4TJeEo7SOO7gBzU6YP0s/kY1avEW\",\"expiry\":1408984170,\"last_token\":\"$2a$10$Xmd4fNXSWv64wwim0fv8ke08BcV6LPdzJkPfkFpSd0aIhCkjdTt8S\",\"updated_at\":\"2014-08-11 11:29:30 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.483422"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::subsequent requests: test_0001_should not treat this request as a batch request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:30.488608"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:30.489069"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"6lgFcK0FLGSRvL8BGQeK6Q\":{\"token\":\"$2a$10$AGFegCTE8sxxFhbaL8Kz6e0AHlhRSyKCmQlN0v2vg07z5gkZY.eEy\",\"expiry\":1408984170,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:30 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.550410"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"6lgFcK0FLGSRvL8BGQeK6Q\":{\"token\":\"$2a$10$AGFegCTE8sxxFhbaL8Kz6e0AHlhRSyKCmQlN0v2vg07z5gkZY.eEy\",\"expiry\":1408984170,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:15 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.551601"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"6lgFcK0FLGSRvL8BGQeK6Q\":{\"token\":\"$2a$10$Gg0Id2BbKoFxLeNDep5OAODgjngVBMN8bbgxEpMA3/8OkYa47AIUi\",\"expiry\":1408984170,\"last_token\":\"$2a$10$AGFegCTE8sxxFhbaL8Kz6e0AHlhRSyKCmQlN0v2vg07z5gkZY.eEy\",\"updated_at\":\"2014-08-11 11:29:30 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.675757"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"6lgFcK0FLGSRvL8BGQeK6Q\":{\"token\":\"$2a$10$Gg0Id2BbKoFxLeNDep5OAODgjngVBMN8bbgxEpMA3/8OkYa47AIUi\",\"expiry\":1408984170,\"last_token\":\"$2a$10$AGFegCTE8sxxFhbaL8Kz6e0AHlhRSyKCmQlN0v2vg07z5gkZY.eEy\",\"updated_at\":\"2014-08-11 11:29:15 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.677674"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"6lgFcK0FLGSRvL8BGQeK6Q\":{\"token\":\"$2a$10$igP4zjSiHvHXeFXbSY/IAuRmn30SseHDUaAi3x/IFuMfY92S00nCC\",\"expiry\":1408984170,\"last_token\":\"$2a$10$Gg0Id2BbKoFxLeNDep5OAODgjngVBMN8bbgxEpMA3/8OkYa47AIUi\",\"updated_at\":\"2014-08-11 11:29:30 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.801023"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.4ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::subsequent requests: test_0002_should allow a new request to be made using new token -------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:30.804928"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:30.805410"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"SQjxoqeOLeCwXaY7liDY-Q\":{\"token\":\"$2a$10$R24enaLEkCrWVXH6yeS8MOLlgFsAC8OcusSEp4r/GcDF5OUMQcE9W\",\"expiry\":1408984170,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:30 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.866754"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"SQjxoqeOLeCwXaY7liDY-Q\":{\"token\":\"$2a$10$R24enaLEkCrWVXH6yeS8MOLlgFsAC8OcusSEp4r/GcDF5OUMQcE9W\",\"expiry\":1408984170,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:15 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.867883"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"SQjxoqeOLeCwXaY7liDY-Q\":{\"token\":\"$2a$10$MyM6ii4SgJIv3PAhzlArFeMlFK4bujeF8n2YInV/8K.Vx1ipPJeEi\",\"expiry\":1408984170,\"last_token\":\"$2a$10$R24enaLEkCrWVXH6yeS8MOLlgFsAC8OcusSEp4r/GcDF5OUMQcE9W\",\"updated_at\":\"2014-08-11 11:29:30 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.993920"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 125ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"SQjxoqeOLeCwXaY7liDY-Q\":{\"token\":\"$2a$10$MyM6ii4SgJIv3PAhzlArFeMlFK4bujeF8n2YInV/8K.Vx1ipPJeEi\",\"expiry\":1408984170,\"last_token\":\"$2a$10$R24enaLEkCrWVXH6yeS8MOLlgFsAC8OcusSEp4r/GcDF5OUMQcE9W\",\"updated_at\":\"2014-08-11 11:29:15 -0500\"}}"], ["updated_at", "2014-08-11 16:29:30.995713"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"SQjxoqeOLeCwXaY7liDY-Q\":{\"token\":\"$2a$10$RoRPn5p1egV25wd1Sl.iyOA8J2Eqf/WlAr0I7npJNr71g0HHpWxXa\",\"expiry\":1408984171,\"last_token\":\"$2a$10$MyM6ii4SgJIv3PAhzlArFeMlFK4bujeF8n2YInV/8K.Vx1ipPJeEi\",\"updated_at\":\"2014-08-11 11:29:31 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.142823"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 147ms (Views: 0.6ms | ActiveRecord: 0.4ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0001_should allow the first request through ---------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:31.148528"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:31.149002"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"KzxFV5eGPyThqPFGYEm-wA\":{\"token\":\"$2a$10$C4wutjEMrd7vqCaCAMu43uWbmKh4G093OZJ24W9.xt9EZkqkuPPPK\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:31 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.210467"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"KzxFV5eGPyThqPFGYEm-wA\":{\"token\":\"$2a$10$C4wutjEMrd7vqCaCAMu43uWbmKh4G093OZJ24W9.xt9EZkqkuPPPK\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:16 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.212159"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1[0m Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"KzxFV5eGPyThqPFGYEm-wA\":{\"token\":\"$2a$10$C4wutjEMrd7vqCaCAMu43uWbmKh4G093OZJ24W9.xt9EZkqkuPPPK\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:16 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.277056"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0002_should allow the second request through ----------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:31.343842"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:31.344459"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"aPv6SGpZVcN5vKbyoxi8Eg\":{\"token\":\"$2a$10$fOso1.8n3B.q63xit/OT5.kO9kKyg38wPMXmwSr.B4BWFTIVQdf5S\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:31 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.406783"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"aPv6SGpZVcN5vKbyoxi8Eg\":{\"token\":\"$2a$10$fOso1.8n3B.q63xit/OT5.kO9kKyg38wPMXmwSr.B4BWFTIVQdf5S\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:16 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.409198"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 Completed 200 OK in 63ms (Views: 0.7ms | ActiveRecord: 0.1ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"aPv6SGpZVcN5vKbyoxi8Eg\":{\"token\":\"$2a$10$fOso1.8n3B.q63xit/OT5.kO9kKyg38wPMXmwSr.B4BWFTIVQdf5S\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:16 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.475987"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1[0m Completed 200 OK in 63ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0003_should return auth headers from the first request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:31.543539"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:31.544017"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"uUAA58GSnBsLe1oDo693aQ\":{\"token\":\"$2a$10$tMOBuB.YXaA8BkKCdFlFBOaK9Qx21t0lMPznRF8Ww0ymsrDI3SNOS\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:31 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.606003"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"uUAA58GSnBsLe1oDo693aQ\":{\"token\":\"$2a$10$tMOBuB.YXaA8BkKCdFlFBOaK9Qx21t0lMPznRF8Ww0ymsrDI3SNOS\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:16 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.607702"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1[0m Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"uUAA58GSnBsLe1oDo693aQ\":{\"token\":\"$2a$10$tMOBuB.YXaA8BkKCdFlFBOaK9Qx21t0lMPznRF8Ww0ymsrDI3SNOS\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:16 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.672690"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0004_should return auth headers from the second request ---------------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:31.739107"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:31.739602"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"tpaIfT1iG1BQREM6M7qM0w\":{\"token\":\"$2a$10$z4FeRUpUJUgw00IKYnOyP.1nL92BInY5YFq2rxmyu3mhdCB/S3LOy\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:31 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.800853"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"tpaIfT1iG1BQREM6M7qM0w\":{\"token\":\"$2a$10$z4FeRUpUJUgw00IKYnOyP.1nL92BInY5YFq2rxmyu3mhdCB/S3LOy\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:16 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.802653"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"tpaIfT1iG1BQREM6M7qM0w\":{\"token\":\"$2a$10$z4FeRUpUJUgw00IKYnOyP.1nL92BInY5YFq2rxmyu3mhdCB/S3LOy\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:16 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.867794"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1[0m Completed 200 OK in 61ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0005_should define user during first request ----------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:31.933633"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:31.934073"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"iCvzUZYu4hgfLc9PxtGflw\":{\"token\":\"$2a$10$n2QZBjeJxoJNaYOnODLh.eRyD5JDFByDaNPG2B9CSMfQOV/uy6Yqm\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:31 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.995585"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"iCvzUZYu4hgfLc9PxtGflw\":{\"token\":\"$2a$10$n2QZBjeJxoJNaYOnODLh.eRyD5JDFByDaNPG2B9CSMfQOV/uy6Yqm\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:16 -0500\"}}"], ["updated_at", "2014-08-11 16:29:31.997353"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1[0m Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"iCvzUZYu4hgfLc9PxtGflw\":{\"token\":\"$2a$10$n2QZBjeJxoJNaYOnODLh.eRyD5JDFByDaNPG2B9CSMfQOV/uy6Yqm\",\"expiry\":1408984171,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:17 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.061892"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::disable change_headers_on_each_request: test_0006_should define user during second request ------------------------------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:32.128053"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:32.128470"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"UENTVpl3CmARjHTBy2sdiQ\":{\"token\":\"$2a$10$qffOnDay7W8Iy32dXRQjnOg0HPlCGZZ71Tko/g6g/434mTI6oYCTa\",\"expiry\":1408984172,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:32 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.189563"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"UENTVpl3CmARjHTBy2sdiQ\":{\"token\":\"$2a$10$qffOnDay7W8Iy32dXRQjnOg0HPlCGZZ71Tko/g6g/434mTI6oYCTa\",\"expiry\":1408984172,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:17 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.191311"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 Completed 200 OK in 62ms (Views: 0.9ms | ActiveRecord: 0.1ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"UENTVpl3CmARjHTBy2sdiQ\":{\"token\":\"$2a$10$qffOnDay7W8Iy32dXRQjnOg0HPlCGZZ71Tko/g6g/434mTI6oYCTa\",\"expiry\":1408984172,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:17 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.256527"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1[0m Completed 200 OK in 61ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0001_should allow the first request through -------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:32.323030"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:32.323682"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Q-DVOlApmIRf39xjh_2NHA\":{\"token\":\"$2a$10$Np1CWCart6VUQLsXg5BlDOASTUjSTu52V4KQBT9.rChXHbH1loULG\",\"expiry\":1408984172,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:32 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.385290"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Q-DVOlApmIRf39xjh_2NHA\":{\"token\":\"$2a$10$Np1CWCart6VUQLsXg5BlDOASTUjSTu52V4KQBT9.rChXHbH1loULG\",\"expiry\":1408984172,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:17 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.386973"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Q-DVOlApmIRf39xjh_2NHA\":{\"token\":\"$2a$10$XZONv415JriyvtseEqEcheFS4cxJEfCOByl0aXtHQ1Yw8u1FuzW1W\",\"expiry\":1408984172,\"last_token\":\"$2a$10$Np1CWCart6VUQLsXg5BlDOASTUjSTu52V4KQBT9.rChXHbH1loULG\",\"updated_at\":\"2014-08-11 11:29:32 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.510135"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 122ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0002_should not allow the second request through ------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:32.514398"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:32.514848"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"_coRafH3QmzlbcREdej_5Q\":{\"token\":\"$2a$10$6iD3QLZHUf.7z3CVikvCFOZGpKw/o5yK/5mPcBUeI0uekS71xpmmq\",\"expiry\":1408984172,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:32 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.576844"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"_coRafH3QmzlbcREdej_5Q\":{\"token\":\"$2a$10$6iD3QLZHUf.7z3CVikvCFOZGpKw/o5yK/5mPcBUeI0uekS71xpmmq\",\"expiry\":1408984172,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:17 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.579474"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"_coRafH3QmzlbcREdej_5Q\":{\"token\":\"$2a$10$4I.GT6fUFDpRjTAZRO.43.Af3zUm2QrfwZROJ5K65t8aBHuOLpEtW\",\"expiry\":1408984172,\"last_token\":\"$2a$10$6iD3QLZHUf.7z3CVikvCFOZGpKw/o5yK/5mPcBUeI0uekS71xpmmq\",\"updated_at\":\"2014-08-11 11:29:32 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.705964"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 124ms (Views: 0.6ms | ActiveRecord: 0.4ms) [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0003_should return auth headers from the first request ------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:32.711505"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:32.711963"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"StSOpacmB7kvzx5wQZXIDg\":{\"token\":\"$2a$10$2YVI6TqakArfvKoBH0hNOOIplwGConWoZtD.uFGWLkruaTddTSJd.\",\"expiry\":1408984172,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:32 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.774704"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"StSOpacmB7kvzx5wQZXIDg\":{\"token\":\"$2a$10$2YVI6TqakArfvKoBH0hNOOIplwGConWoZtD.uFGWLkruaTddTSJd.\",\"expiry\":1408984172,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:17 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.776428"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"StSOpacmB7kvzx5wQZXIDg\":{\"token\":\"$2a$10$OgnJR/R2V66IemRJ8MNxJuqssZ1t0bdrv.CM9I5H5PFO8jhuZQp3.\",\"expiry\":1408984172,\"last_token\":\"$2a$10$2YVI6TqakArfvKoBH0hNOOIplwGConWoZtD.uFGWLkruaTddTSJd.\",\"updated_at\":\"2014-08-11 11:29:32 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.900301"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36m (1.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::batch requests::time out: test_0004_should not return auth headers from the second request ------------------------------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:32.905330"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:32.905767"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"SPZskWUj4jnQBdspbXjx3Q\":{\"token\":\"$2a$10$9DipuhCaTTN5WJhtcyje7uTcK4/HcLFUt3g9DAGmaIHAFpB9Ripj2\",\"expiry\":1408984172,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:32 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.966952"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"SPZskWUj4jnQBdspbXjx3Q\":{\"token\":\"$2a$10$9DipuhCaTTN5WJhtcyje7uTcK4/HcLFUt3g9DAGmaIHAFpB9Ripj2\",\"expiry\":1408984172,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:17 -0500\"}}"], ["updated_at", "2014-08-11 16:29:32.968722"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"SPZskWUj4jnQBdspbXjx3Q\":{\"token\":\"$2a$10$AqzVKCReCA0jySAsyUFI3.t3Su8Mjm4aHofdBMcKyivoBZsbEj0BC\",\"expiry\":1408984173,\"last_token\":\"$2a$10$9DipuhCaTTN5WJhtcyje7uTcK4/HcLFUt3g9DAGmaIHAFpB9Ripj2\",\"updated_at\":\"2014-08-11 11:29:33 -0500\"}}"], ["updated_at", "2014-08-11 16:29:33.095130"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 126ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0005_should define user during first request --------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:33.100359"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:33.100798"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"IVugS7TNVRO6SlpuuVXFGQ\":{\"token\":\"$2a$10$GB5qHRS0fFNaWtT/mTirdOYmf.OO14yTZNm24d3xvCzymUW0IFLjy\",\"expiry\":1408984173,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:33 -0500\"}}"], ["updated_at", "2014-08-11 16:29:33.162772"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"IVugS7TNVRO6SlpuuVXFGQ\":{\"token\":\"$2a$10$GB5qHRS0fFNaWtT/mTirdOYmf.OO14yTZNm24d3xvCzymUW0IFLjy\",\"expiry\":1408984173,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:18 -0500\"}}"], ["updated_at", "2014-08-11 16:29:33.164477"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"IVugS7TNVRO6SlpuuVXFGQ\":{\"token\":\"$2a$10$kWtP8mczExlYYPUz4WJ.POkZH3qAi6mFxdZuyvYGZ/ovYwOeztE1u\",\"expiry\":1408984173,\"last_token\":\"$2a$10$GB5qHRS0fFNaWtT/mTirdOYmf.OO14yTZNm24d3xvCzymUW0IFLjy\",\"updated_at\":\"2014-08-11 11:29:33 -0500\"}}"], ["updated_at", "2014-08-11 16:29:33.287682"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 122ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36m (1.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0006_should not define user during second request -------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:33.293040"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:33.293600"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"VMR9mcQUBu3IuFqzeL0Tww\":{\"token\":\"$2a$10$pY/4e8w2BAG1DKSgt52i4uKmZAAXaLXiRi/rRNj9BJKTrwZYkghYq\",\"expiry\":1408984173,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:33 -0500\"}}"], ["updated_at", "2014-08-11 16:29:33.355381"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"VMR9mcQUBu3IuFqzeL0Tww\":{\"token\":\"$2a$10$pY/4e8w2BAG1DKSgt52i4uKmZAAXaLXiRi/rRNj9BJKTrwZYkghYq\",\"expiry\":1408984173,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:18 -0500\"}}"], ["updated_at", "2014-08-11 16:29:33.357076"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'kiarra@bodelubowitz.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"VMR9mcQUBu3IuFqzeL0Tww\":{\"token\":\"$2a$10$4U0ldh4w1DgBO2XNCDtHp.jrJimib1k307ByU3BCouQQBvGLr1ncK\",\"expiry\":1408984173,\"last_token\":\"$2a$10$pY/4e8w2BAG1DKSgt52i4uKmZAAXaLXiRi/rRNj9BJKTrwZYkghYq\",\"updated_at\":\"2014-08-11 11:29:33 -0500\"}}"], ["updated_at", "2014-08-11 16:29:33.481056"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0001_should allow both requests through --------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:33.486563"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:33.487038"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"yDZhGxkO1RAYdcGDPE4F8Q\":{\"token\":\"$2a$10$C45xVrA6bFW03BgY0cVrg.TNCMle1c8yVH3bTkSrb1w5/ex/CpRSO\",\"expiry\":1408984173,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:33 -0500\"}}"], ["updated_at", "2014-08-11 16:29:33.548256"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0002_should return the same auth headers for both requests ---------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:33.560075"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:33.560826"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"kTYOLLHGF277rBbaBsaSVA\":{\"token\":\"$2a$10$kW8uUvCF6IBKS4VhUCeSXuHMHib8GgnfQMWzvKU3G.fIaXB.DN05G\",\"expiry\":1408984173,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:33 -0500\"}}"], ["updated_at", "2014-08-11 16:29:33.622908"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0001_should not return any auth headers ------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:33.630386"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:33.631039"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"K6qMtPYZD04Eq5ZrDwvm2g\":{\"token\":\"$2a$10$SiuZXckDHYo3dKY0ZIMmkekTPeUcmdzpbB76jSmwRFLZL70qPdkca\",\"expiry\":1408984173,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:33 -0500\"}}"], ["updated_at", "2014-08-11 16:29:33.691972"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0002_should return error: unauthorized status ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:29:33.696357"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:33.696836"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"nUYBcVU2qoonGNW9ulYRHg\":{\"token\":\"$2a$10$d21jyHsMdaN50CCukdoBEO.qV4JkyK3RgQkNmtVPxtQG.sJfd8Dzi\",\"expiry\":1408984173,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:33 -0500\"}}"], ["updated_at", "2014-08-11 16:29:33.758584"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('leann@goyette.org', 'leann@goyette.org', 'email', '2014-07-28 11:29:47', '2014-07-28 11:29:47', '2014-07-28 11:29:47', 'http://schimmel.info/felipe', '$2a$04$mHr89iKYEk8AefQOMQRnp.ZxEwKaZEaAkCIib/pi9tN1RKtvFFe2q', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('0634256875', 'mekhi.bogan@jacobsonroob.info', 'facebook', '2014-07-28 11:29:47', '2014-07-28 11:29:47', '2014-07-28 11:29:47', '$2a$04$kuuOGO8kTJUZUtumVaXT7u5Odq1HdblZmnpGHzo2Ln3iq8EvL/a5i', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('lelia@anderson.net', 'lelia@anderson.net', 'email', 'http://schneidersporer.name/edgardo_brakus', '2014-07-28 11:29:47', '2014-07-28 11:29:47', '$2a$04$4JFKr9aQWKCFSfSHCtoB/.X4D/82h2bsVKpDGLYwtoxNIqnRSTOuO', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('xzavier@reillymraz.com', 'xzavier@reillymraz.com', 'email', '2014-07-28 11:29:47', '2014-07-28 11:29:47', '2014-07-28 11:29:47', 'http://sporer.org/florida', '$2a$04$ezXij9uxkAAxaNpIgzGCNOHac5Ep1b4T7d4mtsf2butLqkuQIgwIu', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('7129328534', 'sanford@bernier.com', 'facebook', '2014-07-28 11:29:47', '2014-07-28 11:29:47', '2014-07-28 11:29:47', '$2a$04$6CeE5SDy2aKrbRhpAiL2WuO4.Oyqy7Cwyd5PbuUKWr8qZflq5SwEW', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('haskell_spinka@rowe.info', 'haskell_spinka@rowe.info', 'email', 'http://osinski.biz/emmalee', '2014-07-28 11:29:47', '2014-07-28 11:29:47', '$2a$04$Ue1UNCQ4qVRv4OmJq7.Nw.ZoZPlal3hbldLV/VzjCRUgdzO/Yccwu', 701484147)[0m [1m[35m (2.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0001_should allow both requests through --------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:29:47.518070"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:29:47.520363"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.6ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"vWbYn5WXnwbWd3JQDVtjdA\":{\"token\":\"$2a$10$xeqjgfj77oPE/ZszMy7RROlVUGJ9rleeCiYHAtQPpJ5afI7P9Iwxe\",\"expiry\":1408984187,\"last_token\":null,\"updated_at\":\"2014-08-11 11:29:47 -0500\"}}"], ["updated_at", "2014-08-11 16:29:47.581743"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('alaina_hoppe@schneider.biz', 'alaina_hoppe@schneider.biz', 'email', '2014-07-28 11:30:14', '2014-07-28 11:30:14', '2014-07-28 11:30:14', 'http://grahambeer.com/zella', '$2a$04$WwQn7Vr5tNEhD/.diOB92OxWRL7h61J4xaaaHgjOtq9c0USLyQyLi', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('9355954278', 'nickolas@kohler.net', 'facebook', '2014-07-28 11:30:14', '2014-07-28 11:30:14', '2014-07-28 11:30:14', '$2a$04$RQmVFqDAIi90PNhtW.4sD.yZ8ZgcOIsj4/pwk6CoDNEwuX23sV2Dy', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('elinor@koelpin.info', 'elinor@koelpin.info', 'email', 'http://watsicarenner.name/conrad', '2014-07-28 11:30:14', '2014-07-28 11:30:14', '$2a$04$2lyUE9VZwDcF5QpjCX7IxuGReeQxWj6Q4RxbjqMgzKWwiTXVw..Q2', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('sheridan_hayes@schiller.info', 'sheridan_hayes@schiller.info', 'email', '2014-07-28 11:30:14', '2014-07-28 11:30:14', '2014-07-28 11:30:14', 'http://mayert.net/kaleb.pfannerstill', '$2a$04$LHlLfPnMmIldq/qWiixTpO5p8xA3YbODeMPZFZBJnH8iM6LzlW6ji', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('5654874714', 'deron@stokewaniawski.name', 'facebook', '2014-07-28 11:30:14', '2014-07-28 11:30:14', '2014-07-28 11:30:14', '$2a$04$4CHwQopZigAtEHHO6PNUFOsjlrTxNLrHXY0laHIEsnRydSMNuy1oa', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('camden@aufderhar.org', 'camden@aufderhar.org', 'email', 'http://wolff.info/bertrand.gerlach', '2014-07-28 11:30:14', '2014-07-28 11:30:14', '$2a$04$Ehw2bmLV6hBLUfmyDV5DXe.H1GOHKbO3IKY6ASMzxxntY/JFtZ8K2', 701484147)[0m [1m[35m (1.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0001_should allow both requests through --------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:14.737525"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:14.739844"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"ERT3djaa48a3TYqIpPn7uQ\":{\"token\":\"$2a$10$at2DbbbzbTt/syTE5oY/W.YBWI/M6x0tj78D8IJJlRpGDkvvTUXaG\",\"expiry\":1408984214,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:14 -0500\"}}"], ["updated_at", "2014-08-11 16:30:14.800860"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'sheridan_hayes@schiller.info' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"ERT3djaa48a3TYqIpPn7uQ\":{\"token\":\"$2a$10$at2DbbbzbTt/syTE5oY/W.YBWI/M6x0tj78D8IJJlRpGDkvvTUXaG\",\"expiry\":1408984214,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:14 -0500\"}}"], ["updated_at", "2014-08-11 16:30:14.870428"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 65ms (Views: 0.6ms | ActiveRecord: 0.3ms) Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'sheridan_hayes@schiller.info' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"ERT3djaa48a3TYqIpPn7uQ\":{\"token\":\"$2a$10$at2DbbbzbTt/syTE5oY/W.YBWI/M6x0tj78D8IJJlRpGDkvvTUXaG\",\"expiry\":1408984214,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:14 -0500\"}}"], ["updated_at", "2014-08-11 16:30:14.934409"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 63ms (Views: 0.5ms | ActiveRecord: 0.4ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('samir@luettgen.com', 'samir@luettgen.com', 'email', '2014-07-28 11:30:47', '2014-07-28 11:30:47', '2014-07-28 11:30:47', 'http://schmidt.name/laury', '$2a$04$YNkcSpugSVx7usV19IO2EuMj9Dmn5Xias/Hs11mf7j1o4gjXOqjiK', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('4392779841', 'roberta.cronin@reichertstehr.net', 'facebook', '2014-07-28 11:30:47', '2014-07-28 11:30:47', '2014-07-28 11:30:47', '$2a$04$YkVolH2kyZ/jOp9JPNIc7eR32i2FT4Pwnf9TOo/XtHe.gKG3fZnK2', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('quinn@brownbrekke.com', 'quinn@brownbrekke.com', 'email', 'http://murray.net/federico', '2014-07-28 11:30:47', '2014-07-28 11:30:47', '$2a$04$mZALvUZ7dQBReHyczn6wz.tj0lly3bJ/dkY7Pcjbvg6WsPv.jygIO', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('aron@ruel.org', 'aron@ruel.org', 'email', '2014-07-28 11:30:47', '2014-07-28 11:30:47', '2014-07-28 11:30:47', 'http://okon.name/brianne.kohler', '$2a$04$yXTRQyuldV0Nlg7gN30J8ePiFt.xgnkb9Dt37xTE8nP3a2dNuH9q6', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('4104688625', 'rupert.treutel@lockmankeebler.name', 'facebook', '2014-07-28 11:30:47', '2014-07-28 11:30:47', '2014-07-28 11:30:47', '$2a$04$FJbmNtmL8Kp1vDMaK8gfYOuWo3w5fTxddPC0iKFxRmOyd7pYyn1KW', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('estefania@herman.org', 'estefania@herman.org', 'email', 'http://dicki.info/haven', '2014-07-28 11:30:47', '2014-07-28 11:30:47', '$2a$04$EyHmTP2l8/VMvQlMn1twuOvgQL2TxJAwvZ.uq3x.8.X.oHPabOYA.', 701484147)[0m [1m[35m (1.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------- DemoController::Alternate user class: test_0001_should return success status ---------------------------------------------------------------------------- [1m[35mMang Load (0.2ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "mangs" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:47.894971"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:47.897252"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["tokens", "{\"UuqlsD1FxCdcQTfZiex7KQ\":{\"token\":\"$2a$10$fk6V.Rj6tBdUwS.Bo5oEi.K5H.hmQNpe/8G5XI4dBwgmc7PGlqn.S\",\"expiry\":1408984247,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:47 -0500\"}}"], ["updated_at", "2014-08-11 16:30:47.958914"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["tokens", "{\"UuqlsD1FxCdcQTfZiex7KQ\":{\"token\":\"$2a$10$fk6V.Rj6tBdUwS.Bo5oEi.K5H.hmQNpe/8G5XI4dBwgmc7PGlqn.S\",\"expiry\":1408984247,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:32 -0500\"}}"], ["updated_at", "2014-08-11 16:30:47.960588"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = 'samir@luettgen.com' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["tokens", "{\"UuqlsD1FxCdcQTfZiex7KQ\":{\"token\":\"$2a$10$j97YpYNpyXn2QeMdinXDwu.6XRgRjiXRcrt6pXI8/yOYiFqIEO6V.\",\"expiry\":1408984248,\"last_token\":\"$2a$10$fk6V.Rj6tBdUwS.Bo5oEi.K5H.hmQNpe/8G5XI4dBwgmc7PGlqn.S\",\"updated_at\":\"2014-08-11 11:30:48 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.089565"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 126ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0001_should allow both requests through --------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:48.094621"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:48.095178"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"OZB6_cbTQorMxr1fqhqEag\":{\"token\":\"$2a$10$qDD78WbPL36T86q4Szqdn.vKc2s7KeAKfHzD6D.o9XQ5eZKAYOLhW\",\"expiry\":1408984248,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:48 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.155928"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"OZB6_cbTQorMxr1fqhqEag\":{\"token\":\"$2a$10$qDD78WbPL36T86q4Szqdn.vKc2s7KeAKfHzD6D.o9XQ5eZKAYOLhW\",\"expiry\":1408984248,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:48 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.220909"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 63ms (Views: 0.6ms | ActiveRecord: 0.3ms) Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"OZB6_cbTQorMxr1fqhqEag\":{\"token\":\"$2a$10$qDD78WbPL36T86q4Szqdn.vKc2s7KeAKfHzD6D.o9XQ5eZKAYOLhW\",\"expiry\":1408984248,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:48 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.283788"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.4ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0002_should return the same auth headers for both requests ---------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:30:48.287590"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:48.287953"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"HOes6KSzkl2uXr18dhRI6w\":{\"token\":\"$2a$10$gS9OaWVzvGJlluAVCrznh.xnvPH508xl5rGGp0DuLJ2rvIEVkkuIq\",\"expiry\":1408984248,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:48 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.349337"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"HOes6KSzkl2uXr18dhRI6w\":{\"token\":\"$2a$10$gS9OaWVzvGJlluAVCrznh.xnvPH508xl5rGGp0DuLJ2rvIEVkkuIq\",\"expiry\":1408984248,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:48 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.412570"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 62ms (Views: 0.7ms | ActiveRecord: 0.2ms) Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"HOes6KSzkl2uXr18dhRI6w\":{\"token\":\"$2a$10$gS9OaWVzvGJlluAVCrznh.xnvPH508xl5rGGp0DuLJ2rvIEVkkuIq\",\"expiry\":1408984248,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:48 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.476436"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 63ms (Views: 0.6ms | ActiveRecord: 0.4ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0001_should not return any auth headers ------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:48.480929"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:48.481362"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"I15p66LJVMmSRJr6G1mEAA\":{\"token\":\"$2a$10$qSYoptsNNpE5a4JPlR4om.nneQfJZ8BpCUgfX7WgW5HA7USZZMkQq\",\"expiry\":1408984248,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:48 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.542503"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0002_should return error: unauthorized status ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:30:48.546572"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:48.547011"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"kIo0wL6eL0wYMz3h7NK2rQ\":{\"token\":\"$2a$10$VO4eu61YRyE6xMYOwasXH.xnA5j6R/Mx1d.NrXXq9doAMR66I5QB2\",\"expiry\":1408984248,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:48 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.608605"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0001_should allow the first request through ---------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:48.613599"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:48.614091"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"8JlkcoSP0nRbYR2R2MbWmw\":{\"token\":\"$2a$10$RdhEuGbLgI7E9hailkSXEeFWj2ZzZa9sRGaN.FaGXajFDGrFwA2dC\",\"expiry\":1408984248,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:48 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.674828"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"8JlkcoSP0nRbYR2R2MbWmw\":{\"token\":\"$2a$10$RdhEuGbLgI7E9hailkSXEeFWj2ZzZa9sRGaN.FaGXajFDGrFwA2dC\",\"expiry\":1408984248,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:33 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.676613"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"8JlkcoSP0nRbYR2R2MbWmw\":{\"token\":\"$2a$10$RdhEuGbLgI7E9hailkSXEeFWj2ZzZa9sRGaN.FaGXajFDGrFwA2dC\",\"expiry\":1408984248,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:33 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.741718"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 Completed 200 OK in 61ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0002_should allow the second request through ----------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:30:48.807398"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:48.807800"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"hxybg8WfyDcMCuUCS5cPiQ\":{\"token\":\"$2a$10$8P5/4oedWI/8H.35vUiMUeOWbvXtoCsc2mhafrCBBpjfEk9/BbVHe\",\"expiry\":1408984248,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:48 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.869670"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"hxybg8WfyDcMCuUCS5cPiQ\":{\"token\":\"$2a$10$8P5/4oedWI/8H.35vUiMUeOWbvXtoCsc2mhafrCBBpjfEk9/BbVHe\",\"expiry\":1408984248,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:33 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.871354"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 Completed 200 OK in 61ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"hxybg8WfyDcMCuUCS5cPiQ\":{\"token\":\"$2a$10$8P5/4oedWI/8H.35vUiMUeOWbvXtoCsc2mhafrCBBpjfEk9/BbVHe\",\"expiry\":1408984248,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:33 -0500\"}}"], ["updated_at", "2014-08-11 16:30:48.935490"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0003_should return auth headers from the first request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:49.027366"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:49.027947"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"MDnxlScQI-B6H2TEOx-sDg\":{\"token\":\"$2a$10$1ITCFubYcNhzqCbDM6ljxO8UqroPrCGXYEimxEALlpEGcMV99KAoW\",\"expiry\":1408984249,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:49 -0500\"}}"], ["updated_at", "2014-08-11 16:30:49.089552"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"MDnxlScQI-B6H2TEOx-sDg\":{\"token\":\"$2a$10$1ITCFubYcNhzqCbDM6ljxO8UqroPrCGXYEimxEALlpEGcMV99KAoW\",\"expiry\":1408984249,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:34 -0500\"}}"], ["updated_at", "2014-08-11 16:30:49.091193"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m Completed 200 OK in 63ms (Views: 0.5ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"MDnxlScQI-B6H2TEOx-sDg\":{\"token\":\"$2a$10$1ITCFubYcNhzqCbDM6ljxO8UqroPrCGXYEimxEALlpEGcMV99KAoW\",\"expiry\":1408984249,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:34 -0500\"}}"], ["updated_at", "2014-08-11 16:30:49.157733"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 Completed 200 OK in 62ms (Views: 0.7ms | ActiveRecord: 0.2ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0004_should return auth headers from the second request ---------------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:30:49.224471"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:49.225082"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"oMIdgdEz2ZDYb75KdBXILg\":{\"token\":\"$2a$10$Z8aq/NW7gOYR4VIiQRxm4eUu.7wfwZkV1D15mvrnR1MEMRxOFZoM6\",\"expiry\":1408984249,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:49 -0500\"}}"], ["updated_at", "2014-08-11 16:30:49.286970"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"oMIdgdEz2ZDYb75KdBXILg\":{\"token\":\"$2a$10$Z8aq/NW7gOYR4VIiQRxm4eUu.7wfwZkV1D15mvrnR1MEMRxOFZoM6\",\"expiry\":1408984249,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:34 -0500\"}}"], ["updated_at", "2014-08-11 16:30:49.289078"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"oMIdgdEz2ZDYb75KdBXILg\":{\"token\":\"$2a$10$Z8aq/NW7gOYR4VIiQRxm4eUu.7wfwZkV1D15mvrnR1MEMRxOFZoM6\",\"expiry\":1408984249,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:34 -0500\"}}"], ["updated_at", "2014-08-11 16:30:49.354485"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0005_should define user during first request ----------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:49.420702"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:49.421135"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"YF-pzgE6Y6piFySUecVVAg\":{\"token\":\"$2a$10$GyMqhBnpB76ANUPo9A2eVu47D7oRiQNjuxfd07JNVnJVNm8f8UWre\",\"expiry\":1408984249,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:49 -0500\"}}"], ["updated_at", "2014-08-11 16:30:49.482914"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"YF-pzgE6Y6piFySUecVVAg\":{\"token\":\"$2a$10$GyMqhBnpB76ANUPo9A2eVu47D7oRiQNjuxfd07JNVnJVNm8f8UWre\",\"expiry\":1408984249,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:34 -0500\"}}"], ["updated_at", "2014-08-11 16:30:49.484561"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m Completed 200 OK in 63ms (Views: 0.5ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"YF-pzgE6Y6piFySUecVVAg\":{\"token\":\"$2a$10$GyMqhBnpB76ANUPo9A2eVu47D7oRiQNjuxfd07JNVnJVNm8f8UWre\",\"expiry\":1408984249,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:34 -0500\"}}"], ["updated_at", "2014-08-11 16:30:49.550360"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 Completed 200 OK in 63ms (Views: 0.8ms | ActiveRecord: 0.2ms) [1m[36m (1.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::disable change_headers_on_each_request: test_0006_should define user during second request ------------------------------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:30:49.618509"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:49.619111"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"2cEsUH1Kmk4Al2yrSEbG-g\":{\"token\":\"$2a$10$.haIEJz5l0z53x3MCLjtfutj.a5InbAFwlplO4YDXhXrWI3Qu5RuW\",\"expiry\":1408984249,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:49 -0500\"}}"], ["updated_at", "2014-08-11 16:30:49.681290"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"2cEsUH1Kmk4Al2yrSEbG-g\":{\"token\":\"$2a$10$.haIEJz5l0z53x3MCLjtfutj.a5InbAFwlplO4YDXhXrWI3Qu5RuW\",\"expiry\":1408984249,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:34 -0500\"}}"], ["updated_at", "2014-08-11 16:30:49.682948"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"2cEsUH1Kmk4Al2yrSEbG-g\":{\"token\":\"$2a$10$.haIEJz5l0z53x3MCLjtfutj.a5InbAFwlplO4YDXhXrWI3Qu5RuW\",\"expiry\":1408984249,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:34 -0500\"}}"], ["updated_at", "2014-08-11 16:30:49.748454"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0001_should allow the first request through -------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:49.819564"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:49.820005"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"naqYmhb1x-l08Y8y3r6-qQ\":{\"token\":\"$2a$10$KG5LLAE6fj.eN2DRNTC1POW6UiWlWWVU1OqUXvC8AgMbOQWofahkW\",\"expiry\":1408984249,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:49 -0500\"}}"], ["updated_at", "2014-08-11 16:30:49.881596"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"naqYmhb1x-l08Y8y3r6-qQ\":{\"token\":\"$2a$10$KG5LLAE6fj.eN2DRNTC1POW6UiWlWWVU1OqUXvC8AgMbOQWofahkW\",\"expiry\":1408984249,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:34 -0500\"}}"], ["updated_at", "2014-08-11 16:30:49.883380"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"naqYmhb1x-l08Y8y3r6-qQ\":{\"token\":\"$2a$10$nE9ghqs2zPyH8fTnIRh8LOyt5dGIAggU60mmKJNRfECAvkigBWTWC\",\"expiry\":1408984250,\"last_token\":\"$2a$10$KG5LLAE6fj.eN2DRNTC1POW6UiWlWWVU1OqUXvC8AgMbOQWofahkW\",\"updated_at\":\"2014-08-11 11:30:50 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.006808"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"naqYmhb1x-l08Y8y3r6-qQ\":{\"token\":\"$2a$10$nE9ghqs2zPyH8fTnIRh8LOyt5dGIAggU60mmKJNRfECAvkigBWTWC\",\"expiry\":1408984250,\"last_token\":\"$2a$10$KG5LLAE6fj.eN2DRNTC1POW6UiWlWWVU1OqUXvC8AgMbOQWofahkW\",\"updated_at\":\"2014-08-11 11:30:35 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.008883"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m Completed 401 Unauthorized in 60ms (Views: 0.1ms | ActiveRecord: 0.2ms) [1m[35m (1.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0002_should not allow the second request through ------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:50.073774"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:50.074269"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"mhMCYSuq01pylz3FUoOSyw\":{\"token\":\"$2a$10$4XJk3vrCzrXLmFIE9hY1aeuXRXxre7GIBHSuOA.FH51OjcZmCiMLi\",\"expiry\":1408984250,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:50 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.135995"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"mhMCYSuq01pylz3FUoOSyw\":{\"token\":\"$2a$10$4XJk3vrCzrXLmFIE9hY1aeuXRXxre7GIBHSuOA.FH51OjcZmCiMLi\",\"expiry\":1408984250,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:35 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.137649"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"mhMCYSuq01pylz3FUoOSyw\":{\"token\":\"$2a$10$RDNl237d8PnLJWKYwjS/0uaByt2Z8/Uxf.0jRqh.ye0GpZHn3mQxm\",\"expiry\":1408984250,\"last_token\":\"$2a$10$4XJk3vrCzrXLmFIE9hY1aeuXRXxre7GIBHSuOA.FH51OjcZmCiMLi\",\"updated_at\":\"2014-08-11 11:30:50 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.261189"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 123ms (Views: 0.5ms | ActiveRecord: 0.3ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"mhMCYSuq01pylz3FUoOSyw\":{\"token\":\"$2a$10$RDNl237d8PnLJWKYwjS/0uaByt2Z8/Uxf.0jRqh.ye0GpZHn3mQxm\",\"expiry\":1408984250,\"last_token\":\"$2a$10$4XJk3vrCzrXLmFIE9hY1aeuXRXxre7GIBHSuOA.FH51OjcZmCiMLi\",\"updated_at\":\"2014-08-11 11:30:35 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.263165"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m Completed 401 Unauthorized in 61ms (Views: 0.1ms | ActiveRecord: 0.2ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0003_should return auth headers from the first request ------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:50.329341"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:50.329841"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"fYZsDZOyQm-f1zZxS66gLg\":{\"token\":\"$2a$10$E/4BMhC7UHzUqwrmALL0IO2L60/r9F8ZMetR2Qd8nmoLBDUYbdLi6\",\"expiry\":1408984250,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:50 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.391183"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"fYZsDZOyQm-f1zZxS66gLg\":{\"token\":\"$2a$10$E/4BMhC7UHzUqwrmALL0IO2L60/r9F8ZMetR2Qd8nmoLBDUYbdLi6\",\"expiry\":1408984250,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:35 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.392779"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"fYZsDZOyQm-f1zZxS66gLg\":{\"token\":\"$2a$10$3KAqLFD01kVCT7.IdohSe.llrF6tQSnn9luqkpliEUtXJFMvWAe86\",\"expiry\":1408984250,\"last_token\":\"$2a$10$E/4BMhC7UHzUqwrmALL0IO2L60/r9F8ZMetR2Qd8nmoLBDUYbdLi6\",\"updated_at\":\"2014-08-11 11:30:50 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.516686"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 123ms (Views: 0.5ms | ActiveRecord: 0.3ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"fYZsDZOyQm-f1zZxS66gLg\":{\"token\":\"$2a$10$3KAqLFD01kVCT7.IdohSe.llrF6tQSnn9luqkpliEUtXJFMvWAe86\",\"expiry\":1408984250,\"last_token\":\"$2a$10$E/4BMhC7UHzUqwrmALL0IO2L60/r9F8ZMetR2Qd8nmoLBDUYbdLi6\",\"updated_at\":\"2014-08-11 11:30:35 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.518702"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m Completed 401 Unauthorized in 61ms (Views: 0.1ms | ActiveRecord: 0.2ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::batch requests::time out: test_0004_should not return auth headers from the second request ------------------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:50.583987"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:50.584479"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"M97neBjhcLQt6hL0OOW7Fw\":{\"token\":\"$2a$10$yWl98dVJMi1Eb3QfrHALKuAVtm6JDJj3g/qlMbgHSz3X.a.wB.aGa\",\"expiry\":1408984250,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:50 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.645959"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"M97neBjhcLQt6hL0OOW7Fw\":{\"token\":\"$2a$10$yWl98dVJMi1Eb3QfrHALKuAVtm6JDJj3g/qlMbgHSz3X.a.wB.aGa\",\"expiry\":1408984250,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:35 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.647609"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"M97neBjhcLQt6hL0OOW7Fw\":{\"token\":\"$2a$10$UUuXiCOwnbmwk64213DghOFiSf5mTd7t1ZeXJ4doLmKXmMqKCTadu\",\"expiry\":1408984250,\"last_token\":\"$2a$10$yWl98dVJMi1Eb3QfrHALKuAVtm6JDJj3g/qlMbgHSz3X.a.wB.aGa\",\"updated_at\":\"2014-08-11 11:30:50 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.770542"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 122ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"M97neBjhcLQt6hL0OOW7Fw\":{\"token\":\"$2a$10$UUuXiCOwnbmwk64213DghOFiSf5mTd7t1ZeXJ4doLmKXmMqKCTadu\",\"expiry\":1408984250,\"last_token\":\"$2a$10$yWl98dVJMi1Eb3QfrHALKuAVtm6JDJj3g/qlMbgHSz3X.a.wB.aGa\",\"updated_at\":\"2014-08-11 11:30:35 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.772525"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m Completed 401 Unauthorized in 61ms (Views: 0.1ms | ActiveRecord: 0.2ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0005_should define user during first request --------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:50.838550"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:50.839016"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"VPb5Do8cJDeGMZPn8jt8cQ\":{\"token\":\"$2a$10$uC7LOIZa2yyRh6ulVUAcX.w.fwGnaqgch2uHgbRPV/JXf2.heq8ka\",\"expiry\":1408984250,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:50 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.900400"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"VPb5Do8cJDeGMZPn8jt8cQ\":{\"token\":\"$2a$10$uC7LOIZa2yyRh6ulVUAcX.w.fwGnaqgch2uHgbRPV/JXf2.heq8ka\",\"expiry\":1408984250,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:35 -0500\"}}"], ["updated_at", "2014-08-11 16:30:50.902072"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"VPb5Do8cJDeGMZPn8jt8cQ\":{\"token\":\"$2a$10$ta8cYOIHm9KEULLC8oGHeu7ECVpNlg4lRlL4WEJscDNP50QKRRLTS\",\"expiry\":1408984251,\"last_token\":\"$2a$10$uC7LOIZa2yyRh6ulVUAcX.w.fwGnaqgch2uHgbRPV/JXf2.heq8ka\",\"updated_at\":\"2014-08-11 11:30:51 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.025090"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 122ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"VPb5Do8cJDeGMZPn8jt8cQ\":{\"token\":\"$2a$10$ta8cYOIHm9KEULLC8oGHeu7ECVpNlg4lRlL4WEJscDNP50QKRRLTS\",\"expiry\":1408984251,\"last_token\":\"$2a$10$uC7LOIZa2yyRh6ulVUAcX.w.fwGnaqgch2uHgbRPV/JXf2.heq8ka\",\"updated_at\":\"2014-08-11 11:30:36 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.027111"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m Completed 401 Unauthorized in 61ms (Views: 0.2ms | ActiveRecord: 0.2ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0006_should not define user during second request -------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:51.092523"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:51.092978"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"L3_Opt5CSiLD1rMM_h51zA\":{\"token\":\"$2a$10$kH3RokES77Sq.zx8fpkISeUFrp6D6KW3RUNBEP4hNRYv8dx1iwqjW\",\"expiry\":1408984251,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:51 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.153930"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"L3_Opt5CSiLD1rMM_h51zA\":{\"token\":\"$2a$10$kH3RokES77Sq.zx8fpkISeUFrp6D6KW3RUNBEP4hNRYv8dx1iwqjW\",\"expiry\":1408984251,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:36 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.155551"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"L3_Opt5CSiLD1rMM_h51zA\":{\"token\":\"$2a$10$kgFVbILGScPwnkMUCPrsy.whaew2uBtuLwGrMFDp9NGW9oJTxkkJq\",\"expiry\":1408984251,\"last_token\":\"$2a$10$kH3RokES77Sq.zx8fpkISeUFrp6D6KW3RUNBEP4hNRYv8dx1iwqjW\",\"updated_at\":\"2014-08-11 11:30:51 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.279373"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 123ms (Views: 0.5ms | ActiveRecord: 0.3ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"L3_Opt5CSiLD1rMM_h51zA\":{\"token\":\"$2a$10$kgFVbILGScPwnkMUCPrsy.whaew2uBtuLwGrMFDp9NGW9oJTxkkJq\",\"expiry\":1408984251,\"last_token\":\"$2a$10$kH3RokES77Sq.zx8fpkISeUFrp6D6KW3RUNBEP4hNRYv8dx1iwqjW\",\"updated_at\":\"2014-08-11 11:30:36 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.281364"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1[0m Completed 401 Unauthorized in 61ms (Views: 0.1ms | ActiveRecord: 0.2ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::subsequent requests: test_0001_should not treat this request as a batch request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:51.347695"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:51.348186"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"2lev-WsLRscJyRSUC_bYNg\":{\"token\":\"$2a$10$eq49zczetuECuM5nX.oLy.2g1GrXMcL.T6tne43.Wtg7kxEIniLbm\",\"expiry\":1408984251,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:51 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.409483"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"2lev-WsLRscJyRSUC_bYNg\":{\"token\":\"$2a$10$eq49zczetuECuM5nX.oLy.2g1GrXMcL.T6tne43.Wtg7kxEIniLbm\",\"expiry\":1408984251,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:36 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.410601"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"2lev-WsLRscJyRSUC_bYNg\":{\"token\":\"$2a$10$0xExUoIeYTnygllVYyzQ1.Rv5.zgdTlI.sf/PKyilHHo1dr/r901q\",\"expiry\":1408984251,\"last_token\":\"$2a$10$eq49zczetuECuM5nX.oLy.2g1GrXMcL.T6tne43.Wtg7kxEIniLbm\",\"updated_at\":\"2014-08-11 11:30:51 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.534416"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"2lev-WsLRscJyRSUC_bYNg\":{\"token\":\"$2a$10$0xExUoIeYTnygllVYyzQ1.Rv5.zgdTlI.sf/PKyilHHo1dr/r901q\",\"expiry\":1408984251,\"last_token\":\"$2a$10$eq49zczetuECuM5nX.oLy.2g1GrXMcL.T6tne43.Wtg7kxEIniLbm\",\"updated_at\":\"2014-08-11 11:30:36 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.536222"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"2lev-WsLRscJyRSUC_bYNg\":{\"token\":\"$2a$10$TH5Gsx3fQLthwRmCEUCEWOBgxJDr53odf6xFR9eFL6iHKaweRngzG\",\"expiry\":1408984251,\"last_token\":\"$2a$10$0xExUoIeYTnygllVYyzQ1.Rv5.zgdTlI.sf/PKyilHHo1dr/r901q\",\"updated_at\":\"2014-08-11 11:30:51 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.659556"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.4ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::subsequent requests: test_0002_should allow a new request to be made using new token -------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:51.663488"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:51.663886"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"vyOSywfV1jWtTMM_Rmpp9A\":{\"token\":\"$2a$10$Ae0Hbqn1.NR7/Qm152ip1eUB93NqL6j.hK2mjRiCr0YccQ3Q6wR3a\",\"expiry\":1408984251,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:51 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.724838"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"vyOSywfV1jWtTMM_Rmpp9A\":{\"token\":\"$2a$10$Ae0Hbqn1.NR7/Qm152ip1eUB93NqL6j.hK2mjRiCr0YccQ3Q6wR3a\",\"expiry\":1408984251,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:36 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.725977"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"vyOSywfV1jWtTMM_Rmpp9A\":{\"token\":\"$2a$10$pjV69PHTEuxCXr8gbfIglOlZUUNFQw.CVVrTKt3qsvzSB5niYoxg2\",\"expiry\":1408984251,\"last_token\":\"$2a$10$Ae0Hbqn1.NR7/Qm152ip1eUB93NqL6j.hK2mjRiCr0YccQ3Q6wR3a\",\"updated_at\":\"2014-08-11 11:30:51 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.849790"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.5ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"vyOSywfV1jWtTMM_Rmpp9A\":{\"token\":\"$2a$10$pjV69PHTEuxCXr8gbfIglOlZUUNFQw.CVVrTKt3qsvzSB5niYoxg2\",\"expiry\":1408984251,\"last_token\":\"$2a$10$Ae0Hbqn1.NR7/Qm152ip1eUB93NqL6j.hK2mjRiCr0YccQ3Q6wR3a\",\"updated_at\":\"2014-08-11 11:30:36 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.851679"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"vyOSywfV1jWtTMM_Rmpp9A\":{\"token\":\"$2a$10$5k3Gn734A7F7BMaFIAOs8ONVcSEv7XDBwA7o98v43ZMk0B8rTX.u.\",\"expiry\":1408984251,\"last_token\":\"$2a$10$pjV69PHTEuxCXr8gbfIglOlZUUNFQw.CVVrTKt3qsvzSB5niYoxg2\",\"updated_at\":\"2014-08-11 11:30:51 -0500\"}}"], ["updated_at", "2014-08-11 16:30:51.975976"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 124ms (Views: 0.5ms | ActiveRecord: 0.4ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0001_should return success status ---------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:51.980999"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:51.981453"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Gggdmtv2Hijabu01A7HdKw\":{\"token\":\"$2a$10$eL2CNx/m97/6aNyw1/pmMe/yAGyHrgGqi13FCeOSL7WMuxQKbno7.\",\"expiry\":1408984252,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:52 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.043504"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Gggdmtv2Hijabu01A7HdKw\":{\"token\":\"$2a$10$eL2CNx/m97/6aNyw1/pmMe/yAGyHrgGqi13FCeOSL7WMuxQKbno7.\",\"expiry\":1408984252,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:37 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.044653"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Gggdmtv2Hijabu01A7HdKw\":{\"token\":\"$2a$10$7DiQhkDtWJPbn5VWvHp.n.wLm4n3V8laO2Zp6E9POu7elH3OgctKy\",\"expiry\":1408984252,\"last_token\":\"$2a$10$eL2CNx/m97/6aNyw1/pmMe/yAGyHrgGqi13FCeOSL7WMuxQKbno7.\",\"updated_at\":\"2014-08-11 11:30:52 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.168703"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0002_should receive new token after successful request ------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:52.172617"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:52.173030"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"vjzCrLVevcnla2l5q57i3A\":{\"token\":\"$2a$10$4E7nNZ7nw28Ju9a4p.FneeolqUM079rf9YTKjhmT6SFGud2cCf86y\",\"expiry\":1408984252,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:52 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.233811"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"vjzCrLVevcnla2l5q57i3A\":{\"token\":\"$2a$10$4E7nNZ7nw28Ju9a4p.FneeolqUM079rf9YTKjhmT6SFGud2cCf86y\",\"expiry\":1408984252,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:37 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.234948"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"vjzCrLVevcnla2l5q57i3A\":{\"token\":\"$2a$10$v4SSjw3faXoFXDtR2LWI8uQJKGQ5Nw4EsRj4ymcdck2g/.HSuRjLq\",\"expiry\":1408984252,\"last_token\":\"$2a$10$4E7nNZ7nw28Ju9a4p.FneeolqUM079rf9YTKjhmT6SFGud2cCf86y\",\"updated_at\":\"2014-08-11 11:30:52 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.358727"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0003_should preserve the client id from the first request ---------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:52.362695"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:52.363125"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"s1tjcSJ265AjSiTk84ESPA\":{\"token\":\"$2a$10$XR86X.5iHxzwec//rZeAzu3upXass25qrHWITHJRaWB1LSy0ezxv6\",\"expiry\":1408984252,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:52 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.424728"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"s1tjcSJ265AjSiTk84ESPA\":{\"token\":\"$2a$10$XR86X.5iHxzwec//rZeAzu3upXass25qrHWITHJRaWB1LSy0ezxv6\",\"expiry\":1408984252,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:37 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.425926"]] [1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"s1tjcSJ265AjSiTk84ESPA\":{\"token\":\"$2a$10$1zsBylekKCIPVSt1jWj03u0tVo4/Ptr4blIbySCUXDWGyXed9EvMi\",\"expiry\":1408984252,\"last_token\":\"$2a$10$XR86X.5iHxzwec//rZeAzu3upXass25qrHWITHJRaWB1LSy0ezxv6\",\"updated_at\":\"2014-08-11 11:30:52 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.550263"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0004_should return the user's uid in the auth header ----------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:52.554192"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:52.554598"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"HfPGCJWLBTVmspvpAcmP6w\":{\"token\":\"$2a$10$QD/opNcHSPNwu77l353.2OsRht.4QJQ9uHf./dyYTbhLGYKullB9S\",\"expiry\":1408984252,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:52 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.615846"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"HfPGCJWLBTVmspvpAcmP6w\":{\"token\":\"$2a$10$QD/opNcHSPNwu77l353.2OsRht.4QJQ9uHf./dyYTbhLGYKullB9S\",\"expiry\":1408984252,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:37 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.616986"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"HfPGCJWLBTVmspvpAcmP6w\":{\"token\":\"$2a$10$1O2rCQJUFWns8GIiMO1v0OgH9Ol4KB2E45BYw6FIZfmBLAUtKNoBu\",\"expiry\":1408984252,\"last_token\":\"$2a$10$QD/opNcHSPNwu77l353.2OsRht.4QJQ9uHf./dyYTbhLGYKullB9S\",\"updated_at\":\"2014-08-11 11:30:52 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.741000"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 124ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------ DemoController::Token access::successful request: test_0005_should not treat this request as a batch request ------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:52.745282"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:52.745696"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"itcIgU2WiniRZJYxmvAsOg\":{\"token\":\"$2a$10$0aaA3JsWctd0xcE.MrcYtexCF1rs6WnDns/ZMO8GNS3a9YYnULrOu\",\"expiry\":1408984252,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:52 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.807578"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"itcIgU2WiniRZJYxmvAsOg\":{\"token\":\"$2a$10$0aaA3JsWctd0xcE.MrcYtexCF1rs6WnDns/ZMO8GNS3a9YYnULrOu\",\"expiry\":1408984252,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:37 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.808706"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'aron@ruel.org' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"itcIgU2WiniRZJYxmvAsOg\":{\"token\":\"$2a$10$CdSGwTkQ6.qtY1Kfhn.cZ.6LK0fslDtcu05bvb9H/x.2YtygkxcyW\",\"expiry\":1408984252,\"last_token\":\"$2a$10$0aaA3JsWctd0xcE.MrcYtexCF1rs6WnDns/ZMO8GNS3a9YYnULrOu\",\"updated_at\":\"2014-08-11 11:30:52 -0500\"}}"], ["updated_at", "2014-08-11 16:30:52.932614"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('edyth_swaniawski@murray.net', 'edyth_swaniawski@murray.net', 'email', '2014-07-28 11:30:55', '2014-07-28 11:30:55', '2014-07-28 11:30:55', 'http://hamill.com/jabari', '$2a$04$NfmJR8sQwlSDgmr4okfHRevHZ16J.Tn0YLwjIKH.CvJVV2ausG0Lu', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('1448856786', 'gunner@rice.com', 'facebook', '2014-07-28 11:30:55', '2014-07-28 11:30:55', '2014-07-28 11:30:55', '$2a$04$j.hEzBlkNCQ/a..FX7CFeeuv2rP/kNB9lqjyc1/5Mh/vomK8DTfRG', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('elody@ohara.com', 'elody@ohara.com', 'email', 'http://willms.biz/marjory_feest', '2014-07-28 11:30:55', '2014-07-28 11:30:55', '$2a$04$hl/GyMdjOaYzOOtykeA1V.bEi2vcfIl5akY5W0DmoTr8bMY7WMxSO', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('ewald@haley.info', 'ewald@haley.info', 'email', '2014-07-28 11:30:55', '2014-07-28 11:30:55', '2014-07-28 11:30:55', 'http://runte.info/myrtle_ullrich', '$2a$04$uPhKU2nQPviZ/cuMaH.FEuexMEUHk2wm0edm881kO3Pv.DBpxrhHi', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('1757618083', 'nelle@schamberger.com', 'facebook', '2014-07-28 11:30:55', '2014-07-28 11:30:55', '2014-07-28 11:30:55', '$2a$04$pIEMzl9nUa5h6wOWbBvgje5BP9FsSlZmZ8kA.ncSYcPlUaElsvLJ6', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('calista_oconner@baumbach.org', 'calista_oconner@baumbach.org', 'email', 'http://kriskemmer.info/kelley_johnston', '2014-07-28 11:30:55', '2014-07-28 11:30:55', '$2a$04$pY1AeH4OWilCbRHIzxRiNuIIkLCWdu0ooX2AzkFfXAC8K44z9cB5q', 701484147)[0m [1m[35m (2.5ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0001_should allow both requests through --------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:55.431386"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:55.433569"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.7ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"IVzS9Z-Iuh9F8j0U2G-jPA\":{\"token\":\"$2a$10$FL6Rz88x1isRz3BSMnmhluR9PolCujOgX/x5XyFOn3thwtDlDPFzu\",\"expiry\":1408984255,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:55 -0500\"}}"], ["updated_at", "2014-08-11 16:30:55.495083"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"IVzS9Z-Iuh9F8j0U2G-jPA\":{\"token\":\"$2a$10$FL6Rz88x1isRz3BSMnmhluR9PolCujOgX/x5XyFOn3thwtDlDPFzu\",\"expiry\":1408984255,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:55 -0500\"}}"], ["updated_at", "2014-08-11 16:30:55.564390"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 65ms (Views: 0.6ms | ActiveRecord: 0.3ms) Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"IVzS9Z-Iuh9F8j0U2G-jPA\":{\"token\":\"$2a$10$FL6Rz88x1isRz3BSMnmhluR9PolCujOgX/x5XyFOn3thwtDlDPFzu\",\"expiry\":1408984255,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:55 -0500\"}}"], ["updated_at", "2014-08-11 16:30:55.628002"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 63ms (Views: 0.5ms | ActiveRecord: 0.4ms) [1m[36m (1.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0002_should return the same auth headers for both requests ---------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:30:55.631975"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:55.632398"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"l6JI7VMwJVxwTr3OT_iTaA\":{\"token\":\"$2a$10$Zwd8fsnD8jTCMiSFmWIfUOc7oF5mtIAL5XjQwlnkggeG/4RqBAVO2\",\"expiry\":1408984255,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:55 -0500\"}}"], ["updated_at", "2014-08-11 16:30:55.693219"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"l6JI7VMwJVxwTr3OT_iTaA\":{\"token\":\"$2a$10$Zwd8fsnD8jTCMiSFmWIfUOc7oF5mtIAL5XjQwlnkggeG/4RqBAVO2\",\"expiry\":1408984255,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:55 -0500\"}}"], ["updated_at", "2014-08-11 16:30:55.757426"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 63ms (Views: 0.5ms | ActiveRecord: 0.3ms) Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"l6JI7VMwJVxwTr3OT_iTaA\":{\"token\":\"$2a$10$Zwd8fsnD8jTCMiSFmWIfUOc7oF5mtIAL5XjQwlnkggeG/4RqBAVO2\",\"expiry\":1408984255,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:55 -0500\"}}"], ["updated_at", "2014-08-11 16:30:55.820294"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 62ms (Views: 0.7ms | ActiveRecord: 0.4ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------- DemoController::Alternate user class: test_0001_should return success status ---------------------------------------------------------------------------- [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "mangs" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:55.825709"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:55.826282"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["tokens", "{\"T8uEwjrVT7vxR2Arjdj41g\":{\"token\":\"$2a$10$z4D2WiY1p..wriBNbvsG6uO0deRUIN7JF2HeF38a1I.kzRr6um/qq\",\"expiry\":1408984255,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:55 -0500\"}}"], ["updated_at", "2014-08-11 16:30:55.888003"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["tokens", "{\"T8uEwjrVT7vxR2Arjdj41g\":{\"token\":\"$2a$10$z4D2WiY1p..wriBNbvsG6uO0deRUIN7JF2HeF38a1I.kzRr6um/qq\",\"expiry\":1408984255,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:40 -0500\"}}"], ["updated_at", "2014-08-11 16:30:55.889227"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = 'edyth_swaniawski@murray.net' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["tokens", "{\"T8uEwjrVT7vxR2Arjdj41g\":{\"token\":\"$2a$10$RYE/R9mM6A1Qq.7P7iExZ.Q5/h.GJzydmWFDt8sXbKRRXQM3oc.4O\",\"expiry\":1408984256,\"last_token\":\"$2a$10$z4D2WiY1p..wriBNbvsG6uO0deRUIN7JF2HeF38a1I.kzRr6um/qq\",\"updated_at\":\"2014-08-11 11:30:56 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.012885"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0001_should not return any auth headers ------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:56.020120"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:56.020613"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"FergMBuXa9NZiRKRjslpHQ\":{\"token\":\"$2a$10$u2baHc5GTcoM3kSmLO6x5OgPzZG2w8fUIxAebOgmB81SwymXrF4x6\",\"expiry\":1408984256,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:56 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.082663"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0002_should return error: unauthorized status ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:30:56.087443"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:56.087955"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"HbOQjRZUjk-Opuxa4dBaJg\":{\"token\":\"$2a$10$fENFlshcYYXk8jedGZy8bObC7ehMfpiqNAVtQS/MDxJsVL2qcOSBy\",\"expiry\":1408984256,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:56 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.150829"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0001_should allow the first request through -------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:56.157036"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:56.157588"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"nU-7XrkNBooE45KDXBS6Dg\":{\"token\":\"$2a$10$mIuCYWlaqTzeKUWhjGOQOOORUHRTS8uyG2kKmpX4MuUe.h787Buye\",\"expiry\":1408984256,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:56 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.219838"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"nU-7XrkNBooE45KDXBS6Dg\":{\"token\":\"$2a$10$mIuCYWlaqTzeKUWhjGOQOOORUHRTS8uyG2kKmpX4MuUe.h787Buye\",\"expiry\":1408984256,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:41 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.221651"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"nU-7XrkNBooE45KDXBS6Dg\":{\"token\":\"$2a$10$siv.mOXOP8G/9Nug.NHzieGSZzMFqKI/fezCdMKGIqmIaHLC1pG8y\",\"expiry\":1408984256,\"last_token\":\"$2a$10$mIuCYWlaqTzeKUWhjGOQOOORUHRTS8uyG2kKmpX4MuUe.h787Buye\",\"updated_at\":\"2014-08-11 11:30:56 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.346031"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 124ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"nU-7XrkNBooE45KDXBS6Dg\":{\"token\":\"$2a$10$siv.mOXOP8G/9Nug.NHzieGSZzMFqKI/fezCdMKGIqmIaHLC1pG8y\",\"expiry\":1408984256,\"last_token\":\"$2a$10$mIuCYWlaqTzeKUWhjGOQOOORUHRTS8uyG2kKmpX4MuUe.h787Buye\",\"updated_at\":\"2014-08-11 11:30:41 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.348142"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m Completed 401 Unauthorized in 61ms (Views: 0.1ms | ActiveRecord: 0.2ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0002_should not allow the second request through ------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:56.413678"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:56.414187"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"X-bFbuGKCBv_j3eAYs43xw\":{\"token\":\"$2a$10$TIe6ZJR.IiD4LXbh/iLo/uV.IVKmHaVs2KQkGInoCyfi2D5456/qK\",\"expiry\":1408984256,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:56 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.475581"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"X-bFbuGKCBv_j3eAYs43xw\":{\"token\":\"$2a$10$TIe6ZJR.IiD4LXbh/iLo/uV.IVKmHaVs2KQkGInoCyfi2D5456/qK\",\"expiry\":1408984256,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:41 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.477305"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"X-bFbuGKCBv_j3eAYs43xw\":{\"token\":\"$2a$10$.SXQ6gildSlKzQkz1jeKS.ut2rVc4uwtdLwF5L7Xy8jzKbV8lY99G\",\"expiry\":1408984256,\"last_token\":\"$2a$10$TIe6ZJR.IiD4LXbh/iLo/uV.IVKmHaVs2KQkGInoCyfi2D5456/qK\",\"updated_at\":\"2014-08-11 11:30:56 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.625215"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 147ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"X-bFbuGKCBv_j3eAYs43xw\":{\"token\":\"$2a$10$.SXQ6gildSlKzQkz1jeKS.ut2rVc4uwtdLwF5L7Xy8jzKbV8lY99G\",\"expiry\":1408984256,\"last_token\":\"$2a$10$TIe6ZJR.IiD4LXbh/iLo/uV.IVKmHaVs2KQkGInoCyfi2D5456/qK\",\"updated_at\":\"2014-08-11 11:30:41 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.627314"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m Completed 401 Unauthorized in 61ms (Views: 0.1ms | ActiveRecord: 0.2ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0003_should return auth headers from the first request ------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:56.693074"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:56.693631"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"zTB_ObTOltEDm5trv8q1DQ\":{\"token\":\"$2a$10$oErLE3cbsTL/.93c0/FgVuwiZ5/EhFKOt7uIVirm32YEVufujS3tm\",\"expiry\":1408984256,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:56 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.754697"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"zTB_ObTOltEDm5trv8q1DQ\":{\"token\":\"$2a$10$oErLE3cbsTL/.93c0/FgVuwiZ5/EhFKOt7uIVirm32YEVufujS3tm\",\"expiry\":1408984256,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:41 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.757062"]] [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"zTB_ObTOltEDm5trv8q1DQ\":{\"token\":\"$2a$10$A0voOUvAZLj/Qia0X5dglewgs88hAN2PNv98uvgr2qnwtBXDBPeTm\",\"expiry\":1408984256,\"last_token\":\"$2a$10$oErLE3cbsTL/.93c0/FgVuwiZ5/EhFKOt7uIVirm32YEVufujS3tm\",\"updated_at\":\"2014-08-11 11:30:56 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.880567"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 123ms (Views: 0.5ms | ActiveRecord: 0.3ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"zTB_ObTOltEDm5trv8q1DQ\":{\"token\":\"$2a$10$A0voOUvAZLj/Qia0X5dglewgs88hAN2PNv98uvgr2qnwtBXDBPeTm\",\"expiry\":1408984256,\"last_token\":\"$2a$10$oErLE3cbsTL/.93c0/FgVuwiZ5/EhFKOt7uIVirm32YEVufujS3tm\",\"updated_at\":\"2014-08-11 11:30:41 -0500\"}}"], ["updated_at", "2014-08-11 16:30:56.882531"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m Completed 401 Unauthorized in 61ms (Views: 0.1ms | ActiveRecord: 0.2ms) [1m[35m (1.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::batch requests::time out: test_0004_should not return auth headers from the second request ------------------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:56.947572"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:56.948062"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"6L7wRxKiJ2bpB7zimGKdNg\":{\"token\":\"$2a$10$PPIFCPJiSih6ybtCWBurA.uh.SIhIMEuiIRwAsTJCaaNdyAH2T7FW\",\"expiry\":1408984257,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:57 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.009400"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"6L7wRxKiJ2bpB7zimGKdNg\":{\"token\":\"$2a$10$PPIFCPJiSih6ybtCWBurA.uh.SIhIMEuiIRwAsTJCaaNdyAH2T7FW\",\"expiry\":1408984257,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:42 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.011043"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"6L7wRxKiJ2bpB7zimGKdNg\":{\"token\":\"$2a$10$TUw9ja2JihexP3TnzIbVC.RB9.sm3UqcGSociNkBigGmmF2WrLxIW\",\"expiry\":1408984257,\"last_token\":\"$2a$10$PPIFCPJiSih6ybtCWBurA.uh.SIhIMEuiIRwAsTJCaaNdyAH2T7FW\",\"updated_at\":\"2014-08-11 11:30:57 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.140360"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 129ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"6L7wRxKiJ2bpB7zimGKdNg\":{\"token\":\"$2a$10$TUw9ja2JihexP3TnzIbVC.RB9.sm3UqcGSociNkBigGmmF2WrLxIW\",\"expiry\":1408984257,\"last_token\":\"$2a$10$PPIFCPJiSih6ybtCWBurA.uh.SIhIMEuiIRwAsTJCaaNdyAH2T7FW\",\"updated_at\":\"2014-08-11 11:30:42 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.142575"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m Completed 401 Unauthorized in 62ms (Views: 1.1ms | ActiveRecord: 0.2ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0005_should define user during first request --------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:57.209071"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:57.209680"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Jv3ctkI-nNbOcx6uxtIfdg\":{\"token\":\"$2a$10$dbsVBhLJJMysaQWTRpAlnuHpRwDl1wtEm2qT7VBcCIhu/C1EHW/2i\",\"expiry\":1408984257,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:57 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.272072"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Jv3ctkI-nNbOcx6uxtIfdg\":{\"token\":\"$2a$10$dbsVBhLJJMysaQWTRpAlnuHpRwDl1wtEm2qT7VBcCIhu/C1EHW/2i\",\"expiry\":1408984257,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:42 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.273761"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Jv3ctkI-nNbOcx6uxtIfdg\":{\"token\":\"$2a$10$oVmFT4HeTiZ6XFiDOg2WX.EFmg1K.5kYoWsRGbUofcaY1vG6dDlcG\",\"expiry\":1408984257,\"last_token\":\"$2a$10$dbsVBhLJJMysaQWTRpAlnuHpRwDl1wtEm2qT7VBcCIhu/C1EHW/2i\",\"updated_at\":\"2014-08-11 11:30:57 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.397605"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Jv3ctkI-nNbOcx6uxtIfdg\":{\"token\":\"$2a$10$oVmFT4HeTiZ6XFiDOg2WX.EFmg1K.5kYoWsRGbUofcaY1vG6dDlcG\",\"expiry\":1408984257,\"last_token\":\"$2a$10$dbsVBhLJJMysaQWTRpAlnuHpRwDl1wtEm2qT7VBcCIhu/C1EHW/2i\",\"updated_at\":\"2014-08-11 11:30:42 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.399752"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m Completed 401 Unauthorized in 61ms (Views: 0.1ms | ActiveRecord: 0.2ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::time out: test_0006_should not define user during second request -------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:57.464004"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:57.464528"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"3u3rL8B6Qveo0gohKF8sng\":{\"token\":\"$2a$10$HRWimOFQG3o8Kbwo06vPI.joV7kb.dWdGQttTJk6fj9CKrWkHU.iy\",\"expiry\":1408984257,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:57 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.526061"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"3u3rL8B6Qveo0gohKF8sng\":{\"token\":\"$2a$10$HRWimOFQG3o8Kbwo06vPI.joV7kb.dWdGQttTJk6fj9CKrWkHU.iy\",\"expiry\":1408984257,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:42 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.527744"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"3u3rL8B6Qveo0gohKF8sng\":{\"token\":\"$2a$10$EP0IMRnvYCVjBQv4CCAGEOUNajc1OFHGzpeEqPlidF.YyNI0Ro.s2\",\"expiry\":1408984257,\"last_token\":\"$2a$10$HRWimOFQG3o8Kbwo06vPI.joV7kb.dWdGQttTJk6fj9CKrWkHU.iy\",\"updated_at\":\"2014-08-11 11:30:57 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.654658"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 126ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"3u3rL8B6Qveo0gohKF8sng\":{\"token\":\"$2a$10$EP0IMRnvYCVjBQv4CCAGEOUNajc1OFHGzpeEqPlidF.YyNI0Ro.s2\",\"expiry\":1408984257,\"last_token\":\"$2a$10$HRWimOFQG3o8Kbwo06vPI.joV7kb.dWdGQttTJk6fj9CKrWkHU.iy\",\"updated_at\":\"2014-08-11 11:30:42 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.657626"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m Completed 401 Unauthorized in 62ms (Views: 0.2ms | ActiveRecord: 0.3ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0001_should return success status ---------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:57.723985"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:57.724501"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"tOHRNfrrpXzu9h7D4_bo7w\":{\"token\":\"$2a$10$JR6ABN0RbNcpRFJi7hDy9uJ5X5.V955.XN1ShaKG0GW1A/vVRXMSa\",\"expiry\":1408984257,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:57 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.786321"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"tOHRNfrrpXzu9h7D4_bo7w\":{\"token\":\"$2a$10$JR6ABN0RbNcpRFJi7hDy9uJ5X5.V955.XN1ShaKG0GW1A/vVRXMSa\",\"expiry\":1408984257,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:42 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.787976"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"tOHRNfrrpXzu9h7D4_bo7w\":{\"token\":\"$2a$10$4yV5zws8NqRR1m3/GfskYufGYsPEGaqmGKV1J2SK8v.yZNsowHjpe\",\"expiry\":1408984257,\"last_token\":\"$2a$10$JR6ABN0RbNcpRFJi7hDy9uJ5X5.V955.XN1ShaKG0GW1A/vVRXMSa\",\"updated_at\":\"2014-08-11 11:30:57 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.914171"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 125ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0002_should receive new token after successful request ------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:57.918127"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:57.918553"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"IFrGruO9mQtmSigX3RgqIA\":{\"token\":\"$2a$10$zzyjfhcb9DGGhkgZKPlli.nPxeAWSEVcSWHbDZDDBhMM2IIof8MvW\",\"expiry\":1408984257,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:57 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.979562"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"IFrGruO9mQtmSigX3RgqIA\":{\"token\":\"$2a$10$zzyjfhcb9DGGhkgZKPlli.nPxeAWSEVcSWHbDZDDBhMM2IIof8MvW\",\"expiry\":1408984257,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:42 -0500\"}}"], ["updated_at", "2014-08-11 16:30:57.980726"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"IFrGruO9mQtmSigX3RgqIA\":{\"token\":\"$2a$10$F2j7QSN7ibzPN0MqeqGC3ebUryeoS6qc4/uOP2XPTY88LTL/GF7ke\",\"expiry\":1408984258,\"last_token\":\"$2a$10$zzyjfhcb9DGGhkgZKPlli.nPxeAWSEVcSWHbDZDDBhMM2IIof8MvW\",\"updated_at\":\"2014-08-11 11:30:58 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.104248"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0003_should preserve the client id from the first request ---------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:58.108169"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:58.108599"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"153_ZDZx0ogwB6oK3zRRtQ\":{\"token\":\"$2a$10$AmsI7OkHnn/fedOTXMY1Ju0e.MUlJIjScNJzxPzRN77FVKoLDV7me\",\"expiry\":1408984258,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:58 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.169898"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"153_ZDZx0ogwB6oK3zRRtQ\":{\"token\":\"$2a$10$AmsI7OkHnn/fedOTXMY1Ju0e.MUlJIjScNJzxPzRN77FVKoLDV7me\",\"expiry\":1408984258,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:43 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.171027"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"153_ZDZx0ogwB6oK3zRRtQ\":{\"token\":\"$2a$10$1.7wtomSVi5BA.tCThdNgenCTrAYKwmn.nNE8FPrLfOZEoflxgnjS\",\"expiry\":1408984258,\"last_token\":\"$2a$10$AmsI7OkHnn/fedOTXMY1Ju0e.MUlJIjScNJzxPzRN77FVKoLDV7me\",\"updated_at\":\"2014-08-11 11:30:58 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.294590"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.7ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0004_should return the user's uid in the auth header ----------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:58.298615"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:58.299048"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"N-1TA6PvjUezSve72G0FFQ\":{\"token\":\"$2a$10$0qpBKPrsQUukVpW1yWg2vegCPsrDaN7sWyfFTkyxEbbrS1RNcawrq\",\"expiry\":1408984258,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:58 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.360557"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"N-1TA6PvjUezSve72G0FFQ\":{\"token\":\"$2a$10$0qpBKPrsQUukVpW1yWg2vegCPsrDaN7sWyfFTkyxEbbrS1RNcawrq\",\"expiry\":1408984258,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:43 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.361728"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"N-1TA6PvjUezSve72G0FFQ\":{\"token\":\"$2a$10$b5offWSR3.lrpWXVP447/ei.VUEPCJqGdRrgATAKy8.uHBtulDGca\",\"expiry\":1408984258,\"last_token\":\"$2a$10$0qpBKPrsQUukVpW1yWg2vegCPsrDaN7sWyfFTkyxEbbrS1RNcawrq\",\"updated_at\":\"2014-08-11 11:30:58 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.485771"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------ DemoController::Token access::successful request: test_0005_should not treat this request as a batch request ------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:58.489727"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:58.490159"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"gvoD4_8-9eRIrV4biVzoyg\":{\"token\":\"$2a$10$YQh/9WIm7boGEzJDD2b9zeOAA2Q8E1zwk15ndcY4eGSTN0qLz0iPi\",\"expiry\":1408984258,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:58 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.551622"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"gvoD4_8-9eRIrV4biVzoyg\":{\"token\":\"$2a$10$YQh/9WIm7boGEzJDD2b9zeOAA2Q8E1zwk15ndcY4eGSTN0qLz0iPi\",\"expiry\":1408984258,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:43 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.552775"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"gvoD4_8-9eRIrV4biVzoyg\":{\"token\":\"$2a$10$kkl4D1amTZl22F8Dr4SWFO5rKD0zGSIKyf01viwopq.SMuPl2R0O6\",\"expiry\":1408984258,\"last_token\":\"$2a$10$YQh/9WIm7boGEzJDD2b9zeOAA2Q8E1zwk15ndcY4eGSTN0qLz0iPi\",\"updated_at\":\"2014-08-11 11:30:58 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.676189"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0001_should allow the first request through ---------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:58.680764"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:58.681205"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"yNpqssh4onOFSfPey6TbEw\":{\"token\":\"$2a$10$xH5orQhmGMUTB4anhU7zf.YNp5zSnlWg9tuPwG.SE/7oITLbn2zXa\",\"expiry\":1408984258,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:58 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.742679"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"yNpqssh4onOFSfPey6TbEw\":{\"token\":\"$2a$10$xH5orQhmGMUTB4anhU7zf.YNp5zSnlWg9tuPwG.SE/7oITLbn2zXa\",\"expiry\":1408984258,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:43 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.744373"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m Completed 200 OK in 61ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"yNpqssh4onOFSfPey6TbEw\":{\"token\":\"$2a$10$xH5orQhmGMUTB4anhU7zf.YNp5zSnlWg9tuPwG.SE/7oITLbn2zXa\",\"expiry\":1408984258,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:43 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.808291"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0002_should allow the second request through ----------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:30:58.875497"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:58.876156"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"z6yPmU_nDYDnCveGxTBZ8A\":{\"token\":\"$2a$10$1/BAQZeZcdR8FniZfgXyLusbglDlDrFbOUXWM2y.2lD04PTVwGPna\",\"expiry\":1408984258,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:58 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.938264"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"z6yPmU_nDYDnCveGxTBZ8A\":{\"token\":\"$2a$10$1/BAQZeZcdR8FniZfgXyLusbglDlDrFbOUXWM2y.2lD04PTVwGPna\",\"expiry\":1408984258,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:43 -0500\"}}"], ["updated_at", "2014-08-11 16:30:58.940493"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.1ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"z6yPmU_nDYDnCveGxTBZ8A\":{\"token\":\"$2a$10$1/BAQZeZcdR8FniZfgXyLusbglDlDrFbOUXWM2y.2lD04PTVwGPna\",\"expiry\":1408984258,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:44 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.005708"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[35m (1.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0003_should return auth headers from the first request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:59.072268"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:59.072734"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"xGB8wU5jbttle7YLhThtUA\":{\"token\":\"$2a$10$Nnhco4bov0A59ZF6ZP7tvejVNIhIQrTaitWQRzecVzv.QJwHl2bXu\",\"expiry\":1408984259,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:59 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.134910"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"xGB8wU5jbttle7YLhThtUA\":{\"token\":\"$2a$10$Nnhco4bov0A59ZF6ZP7tvejVNIhIQrTaitWQRzecVzv.QJwHl2bXu\",\"expiry\":1408984259,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:44 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.136717"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m Completed 200 OK in 64ms (Views: 0.5ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"xGB8wU5jbttle7YLhThtUA\":{\"token\":\"$2a$10$Nnhco4bov0A59ZF6ZP7tvejVNIhIQrTaitWQRzecVzv.QJwHl2bXu\",\"expiry\":1408984259,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:44 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.203917"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0004_should return auth headers from the second request ---------------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:30:59.270148"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:59.270622"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Q7EeucjfiBiLELhzk7e8YA\":{\"token\":\"$2a$10$Z1.r2MzltJMiorkuZvcb7uFqLSr.gjK6ubxCSvQsL3754sp1Vg1ka\",\"expiry\":1408984259,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:59 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.332783"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Q7EeucjfiBiLELhzk7e8YA\":{\"token\":\"$2a$10$Z1.r2MzltJMiorkuZvcb7uFqLSr.gjK6ubxCSvQsL3754sp1Vg1ka\",\"expiry\":1408984259,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:44 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.334486"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.1ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Q7EeucjfiBiLELhzk7e8YA\":{\"token\":\"$2a$10$Z1.r2MzltJMiorkuZvcb7uFqLSr.gjK6ubxCSvQsL3754sp1Vg1ka\",\"expiry\":1408984259,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:44 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.399268"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------------------- DemoController::Token access::disable change_headers_on_each_request: test_0005_should define user during first request ----------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:59.466132"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:59.466976"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"yeQLiyTaqxbwy2RzSkHGVQ\":{\"token\":\"$2a$10$Y1Tbca6Qzh4FG3MkjPsvc.9uCcV8uQXiOKTegfv06mndfvy95gN5i\",\"expiry\":1408984259,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:59 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.530798"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.0ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"yeQLiyTaqxbwy2RzSkHGVQ\":{\"token\":\"$2a$10$Y1Tbca6Qzh4FG3MkjPsvc.9uCcV8uQXiOKTegfv06mndfvy95gN5i\",\"expiry\":1408984259,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:44 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.532449"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.1ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"yeQLiyTaqxbwy2RzSkHGVQ\":{\"token\":\"$2a$10$Y1Tbca6Qzh4FG3MkjPsvc.9uCcV8uQXiOKTegfv06mndfvy95gN5i\",\"expiry\":1408984259,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:44 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.597233"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 Completed 200 OK in 61ms (Views: 0.5ms | ActiveRecord: 0.2ms) [1m[36m (1.7ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------------------ DemoController::Token access::disable change_headers_on_each_request: test_0006_should define user during second request ------------------------------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:30:59.662926"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:59.663376"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"qadL04NvpUCW1LlsH4drJQ\":{\"token\":\"$2a$10$mrvfGbJdWT3aYTGDUSMzMO6BfklyOOcyhoOg0I/gnN/wQw70RUK7W\",\"expiry\":1408984259,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:59 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.725863"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"qadL04NvpUCW1LlsH4drJQ\":{\"token\":\"$2a$10$mrvfGbJdWT3aYTGDUSMzMO6BfklyOOcyhoOg0I/gnN/wQw70RUK7W\",\"expiry\":1408984259,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:44 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.727554"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 Completed 200 OK in 61ms (Views: 0.5ms | ActiveRecord: 0.1ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"qadL04NvpUCW1LlsH4drJQ\":{\"token\":\"$2a$10$mrvfGbJdWT3aYTGDUSMzMO6BfklyOOcyhoOg0I/gnN/wQw70RUK7W\",\"expiry\":1408984259,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:44 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.791263"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1[0m Completed 200 OK in 62ms (Views: 0.6ms | ActiveRecord: 0.2ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::subsequent requests: test_0001_should not treat this request as a batch request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:30:59.858696"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:30:59.859155"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"4tThVbtbt2A26bzZlMQyEQ\":{\"token\":\"$2a$10$jzbdJyAt/R8uWPNAgvrUCenSsQYiUNtDKAXTvlr34VdJWA1UihCmG\",\"expiry\":1408984259,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:59 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.919790"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"4tThVbtbt2A26bzZlMQyEQ\":{\"token\":\"$2a$10$jzbdJyAt/R8uWPNAgvrUCenSsQYiUNtDKAXTvlr34VdJWA1UihCmG\",\"expiry\":1408984259,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:44 -0500\"}}"], ["updated_at", "2014-08-11 16:30:59.921010"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"4tThVbtbt2A26bzZlMQyEQ\":{\"token\":\"$2a$10$SAjIbMfRfZb7b72HrgSnHOK8nhbcsJ04a9QMvy4..pB63Hcli7Zzy\",\"expiry\":1408984260,\"last_token\":\"$2a$10$jzbdJyAt/R8uWPNAgvrUCenSsQYiUNtDKAXTvlr34VdJWA1UihCmG\",\"updated_at\":\"2014-08-11 11:31:00 -0500\"}}"], ["updated_at", "2014-08-11 16:31:00.045368"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 124ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"4tThVbtbt2A26bzZlMQyEQ\":{\"token\":\"$2a$10$SAjIbMfRfZb7b72HrgSnHOK8nhbcsJ04a9QMvy4..pB63Hcli7Zzy\",\"expiry\":1408984260,\"last_token\":\"$2a$10$jzbdJyAt/R8uWPNAgvrUCenSsQYiUNtDKAXTvlr34VdJWA1UihCmG\",\"updated_at\":\"2014-08-11 11:30:45 -0500\"}}"], ["updated_at", "2014-08-11 16:31:00.047133"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"4tThVbtbt2A26bzZlMQyEQ\":{\"token\":\"$2a$10$FyK0Bov/Et8BJQsengYwcenhv3lJzY52j4H3lU1I7sVmAsuI.d7sS\",\"expiry\":1408984260,\"last_token\":\"$2a$10$SAjIbMfRfZb7b72HrgSnHOK8nhbcsJ04a9QMvy4..pB63Hcli7Zzy\",\"updated_at\":\"2014-08-11 11:31:00 -0500\"}}"], ["updated_at", "2014-08-11 16:31:00.170549"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.4ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::subsequent requests: test_0002_should allow a new request to be made using new token -------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:31:00.174964"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:00.175462"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"gvU5dBA8P4r2XTH6eL-Nzg\":{\"token\":\"$2a$10$Iwienmh34JL3pAszHRf4WuGWneDgFZJIHV0hDjyqp1poMXmiiL4bm\",\"expiry\":1408984260,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:00 -0500\"}}"], ["updated_at", "2014-08-11 16:31:00.236812"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"gvU5dBA8P4r2XTH6eL-Nzg\":{\"token\":\"$2a$10$Iwienmh34JL3pAszHRf4WuGWneDgFZJIHV0hDjyqp1poMXmiiL4bm\",\"expiry\":1408984260,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:45 -0500\"}}"], ["updated_at", "2014-08-11 16:31:00.237967"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"gvU5dBA8P4r2XTH6eL-Nzg\":{\"token\":\"$2a$10$ZJYJrHRiw9dPNXly/MOX5eA/P4ROLReYetn1CLkBXM/MOyKk/Otsq\",\"expiry\":1408984260,\"last_token\":\"$2a$10$Iwienmh34JL3pAszHRf4WuGWneDgFZJIHV0hDjyqp1poMXmiiL4bm\",\"updated_at\":\"2014-08-11 11:31:00 -0500\"}}"], ["updated_at", "2014-08-11 16:31:00.362406"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 124ms (Views: 0.7ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"gvU5dBA8P4r2XTH6eL-Nzg\":{\"token\":\"$2a$10$ZJYJrHRiw9dPNXly/MOX5eA/P4ROLReYetn1CLkBXM/MOyKk/Otsq\",\"expiry\":1408984260,\"last_token\":\"$2a$10$Iwienmh34JL3pAszHRf4WuGWneDgFZJIHV0hDjyqp1poMXmiiL4bm\",\"updated_at\":\"2014-08-11 11:30:45 -0500\"}}"], ["updated_at", "2014-08-11 16:31:00.364386"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'ewald@haley.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"gvU5dBA8P4r2XTH6eL-Nzg\":{\"token\":\"$2a$10$xLlUydSxYq0id114hThC0u0E/kvddKol//jZJ8TKC8YR8KBIfnqM6\",\"expiry\":1408984260,\"last_token\":\"$2a$10$ZJYJrHRiw9dPNXly/MOX5eA/P4ROLReYetn1CLkBXM/MOyKk/Otsq\",\"updated_at\":\"2014-08-11 11:31:00 -0500\"}}"], ["updated_at", "2014-08-11 16:31:00.487835"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.4ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations" [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mFixture Delete (0.3ms)[0m DELETE FROM "mangs" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('joshuah@ziemannhand.biz', 'joshuah@ziemannhand.biz', 'email', '2014-07-28 11:31:05', '2014-07-28 11:31:05', '2014-07-28 11:31:05', 'http://terry.net/paul_gerlach', '$2a$04$XLE7DhHBvvxvG47OKWWokeJkt8tkP7AXP3DqF375vDapvFAkMaMu2', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "mangs" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('4468027598', 'hilario@franecki.net', 'facebook', '2014-07-28 11:31:05', '2014-07-28 11:31:05', '2014-07-28 11:31:05', '$2a$04$da6E3pz/wIGruQ1O6bJul.JBjIWD1y.0tDy59XOgSzoDAU5q361Xa', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "mangs" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('jules_king@weber.name', 'jules_king@weber.name', 'email', 'http://goodwin.biz/eulah', '2014-07-28 11:31:05', '2014-07-28 11:31:05', '$2a$04$lOpUCADvFM9kIeRtUhAmGeaFLtP4Qc.lyz1PAG3HGTkVpf5PUOYIu', 701484147)[0m [1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users" [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirmed_at", "created_at", "updated_at", "confirm_success_url", "encrypted_password", "id") VALUES ('delpha.bergstrom@schuppe.info', 'delpha.bergstrom@schuppe.info', 'email', '2014-07-28 11:31:05', '2014-07-28 11:31:05', '2014-07-28 11:31:05', 'http://rosenbaum.com/cole', '$2a$04$17z.1ueMOT3ArmFWIvS6puP3OG5cHU/QEEIc4DAJaOBNB.EyAAcsW', 511348230)[0m [1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("uid", "email", "provider", "created_at", "updated_at", "confirmed_at", "encrypted_password", "id") VALUES ('5584798742', 'bert@erdmanmurray.com', 'facebook', '2014-07-28 11:31:05', '2014-07-28 11:31:05', '2014-07-28 11:31:05', '$2a$04$yF9oJJyp7gvHqUaaMZ6PoeASBKubWMYBgEy5tzEV9lYUmJ4WcGKru', 396948535) [1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "provider", "confirm_success_url", "created_at", "updated_at", "encrypted_password", "id") VALUES ('norberto_dooley@gradymonahan.org', 'norberto_dooley@gradymonahan.org', 'email', 'http://casper.biz/jalyn.braun', '2014-07-28 11:31:05', '2014-07-28 11:31:05', '$2a$04$p43Mt0w4mJmthLBDjuPkDuu84vQxIrSQtokDXmBlnAtvz35SCDhJS', 701484147)[0m [1m[35m (1.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Alternate user class: test_request_should_return_user_data ----------------------------------------------------------------------------------------------- [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "mangs" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["confirmed_at", "2014-08-11 16:31:05.628453"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:05.630743"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"joshuah@ziemannhand.biz", "password"=>"[FILTERED]"} [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'joshuah@ziemannhand.biz' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.7ms)[0m UPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["tokens", "{\"Ba9Unk_fHkv3RmFn-YWLXA\":{\"token\":\"$2a$10$Xvf0Plpn0D/GDy3mj0lGZ.pHTXMH06oGjgrpgUplNVdn1.GuFJJc.\",\"expiry\":1408984265}}"], ["updated_at", "2014-08-11 16:31:05.724166"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["tokens", "{\"Ba9Unk_fHkv3RmFn-YWLXA\":{\"token\":\"$2a$10$e/rtoabdIo8UAURFZd8AsOntkOfFcwNsLTejeyNomYBiv/fQAIyRW\",\"expiry\":1408984265,\"last_token\":\"$2a$10$Xvf0Plpn0D/GDy3mj0lGZ.pHTXMH06oGjgrpgUplNVdn1.GuFJJc.\",\"updated_at\":\"2014-08-11 11:31:05 -0500\"}}"], ["updated_at", "2014-08-11 16:31:05.786845"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 128ms (Views: 0.3ms | ActiveRecord: 1.1ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Alternate user class: test_request_should_succeed -------------------------------------------------------------------------------------- [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "mangs" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:31:05.790943"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:05.791358"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"joshuah@ziemannhand.biz", "password"=>"[FILTERED]"} [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'joshuah@ziemannhand.biz' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["tokens", "{\"ioCNkQvFBLFGI_eAgXD1uQ\":{\"token\":\"$2a$10$H1gDVwwPiHiOldfwUtPRx.fVIJnp3BTTzw44tHOuIOuLgMH2VoHQ2\",\"expiry\":1408984265}}"], ["updated_at", "2014-08-11 16:31:05.855719"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["tokens", "{\"ioCNkQvFBLFGI_eAgXD1uQ\":{\"token\":\"$2a$10$E1Z9mP9I2zHrOkYSFMOf0OjtTZ5arDEsCWRhZMAA2dhrh.SMGWeD6\",\"expiry\":1408984265,\"last_token\":\"$2a$10$H1gDVwwPiHiOldfwUtPRx.fVIJnp3BTTzw44tHOuIOuLgMH2VoHQ2\",\"updated_at\":\"2014-08-11 11:31:05 -0500\"}}"], ["updated_at", "2014-08-11 16:31:05.917627"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 125ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------ DeviseTokenAuth::PasswordsController::Alternate user class: test_response_should_return_success_status ------------------------------------------------------------------------------------------------------ [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"joshuah@ziemannhand.biz", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'joshuah@ziemannhand.biz' AND "mangs"."provider" = 'email' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:05.926648"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'joshuah@ziemannhand.biz' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = '7041a8d6785834035f3f34e79744dac99629f90cb01a6441afdbae3b25e33191' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.3ms)[0m UPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 16:31:06.105572"], ["reset_password_token", "7041a8d6785834035f3f34e79744dac99629f90cb01a6441afdbae3b25e33191"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:06.105826"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 18.3ms Sent mail to joshuah@ziemannhand.biz (8.9ms) Date: Mon, 11 Aug 2014 11:31:06 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: joshuah@ziemannhand.biz Message-ID: <53e8efca20c3e_104ec3ff86c465bf093851@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello joshuah@ziemannhand.biz!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 216ms (Views: 0.2ms | ActiveRecord: 1.0ms) [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Alternate user class: test_the_email_body_should_contain_a_link_with_reset_token_as_a_query_param --------------------------------------------------------------------------------------------------------------------------------------- [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"joshuah@ziemannhand.biz", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'joshuah@ziemannhand.biz' AND "mangs"."provider" = 'email' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "mangs" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:06.147404"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."email" = 'joshuah@ziemannhand.biz' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = '4c6ea30283b654075a6570ff259ce59ebdf48ff999a51988b7281355f5b43334' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 16:31:06.149237"], ["reset_password_token", "4c6ea30283b654075a6570ff259ce59ebdf48ff999a51988b7281355f5b43334"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:06.149410"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 7.9ms Sent mail to joshuah@ziemannhand.biz (5.7ms) Date: Mon, 11 Aug 2014 11:31:06 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: joshuah@ziemannhand.biz Message-ID: <53e8efca26dbc_104ec3ff86c465bf09394f@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello joshuah@ziemannhand.biz!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."reset_password_token" = '4c6ea30283b654075a6570ff259ce59ebdf48ff999a51988b7281355f5b43334' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:06.166439"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------- application controller: test_controller_concern_is_appended_to_application_controller ------------------------------------------------------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------- application controller: test_subsequent_runs_do_not_modify_file --------------------------------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Existing users: test_error_should_be_returned_in_the_response ------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"delpha.bergstrom@schuppe.info", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"#Welcome norberto_dooley@gradymonahan.org!
You can confirm your account email through the link below:
Processing by DeviseTokenAuth::ConfirmationsController#show as JS Parameters: {"confirmation_token"=>"bogus"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'c328eea0e5166b1585e65cef50050f9fcdbe73bb35ca71dc734e8c9b05aaa260' ORDER BY "users"."id" ASC LIMIT 1[0m Completed 404 Not Found in 2ms [1m[35m (1.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Confirmation::success: test_should_redirect_to_success_url ---------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 701484147]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'fec4450954b60dbeac454fa3b860a7bce823aee3fbdefd893e2c8475ca952960' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `confirmation_token` [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_sent_at", "2014-08-11 16:31:07.623947"], ["confirmation_token", "fec4450954b60dbeac454fa3b860a7bce823aee3fbdefd893e2c8475ca952960"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:07.624166"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#confirmation_instructions: processed outbound mail in 7.4ms Sent mail to norberto_dooley@gradymonahan.org (7.0ms) Date: Mon, 11 Aug 2014 11:31:07 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: norberto_dooley@gradymonahan.org Message-ID: <53e8efcb9ad15_104ec3ff86c465bf0941ba@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome norberto_dooley@gradymonahan.org!
You can confirm your account email through the link below:
Processing by DeviseTokenAuth::ConfirmationsController#show as JS Parameters: {"confirmation_token"=>"4wZTzAttVxcyFdyCzBVy"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'fec4450954b60dbeac454fa3b860a7bce823aee3fbdefd893e2c8475ca952960' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_token", nil], ["confirmed_at", "2014-08-11 16:31:07.642338"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:07.642676"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147 [["confirmation_token", "4wZTzAttVxcyFdyCzBVy"], ["tokens", "{\"Hq-aNuXq6BweCnI0QG8r5g\":{\"token\":\"$2a$10$fjWfhrvTav.YuU64qelTiONH4uJqIy6YRDifYPO/Fb8q5gI3qfj5S\",\"expiry\":1408984267}}"], ["updated_at", "2014-08-11 16:31:07.704541"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://casper.biz/jalyn.braun?account_confirmation_success=true&client_id=Hq-aNuXq6BweCnI0QG8r5g&expiry=1408984267&token=tFSk6CUmTzpbOLJthQ7t9A&uid=norberto_dooley%40gradymonahan.org Completed 302 Found in 65ms (ActiveRecord: 0.7ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Confirmation::success: test_user_should_now_be_confirmed -------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 701484147]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '2998de69985ff42e27a2e6f236b15d8ad9789fcef6b2f29d3ad0c726a8a68de8' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `confirmation_token` [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_sent_at", "2014-08-11 16:31:07.708443"], ["confirmation_token", "2998de69985ff42e27a2e6f236b15d8ad9789fcef6b2f29d3ad0c726a8a68de8"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:07.708686"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#confirmation_instructions: processed outbound mail in 6.5ms Sent mail to norberto_dooley@gradymonahan.org (5.9ms) Date: Mon, 11 Aug 2014 11:31:07 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: norberto_dooley@gradymonahan.org Message-ID: <53e8efcbaf16c_104ec3ff86c465bf09429c@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome norberto_dooley@gradymonahan.org!
You can confirm your account email through the link below:
Processing by DeviseTokenAuth::ConfirmationsController#show as JS Parameters: {"confirmation_token"=>"CWEYDxGXXsxA5xyxtX9j"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '2998de69985ff42e27a2e6f236b15d8ad9789fcef6b2f29d3ad0c726a8a68de8' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_token", nil], ["confirmed_at", "2014-08-11 16:31:07.724666"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:07.724965"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147 [["confirmation_token", "CWEYDxGXXsxA5xyxtX9j"], ["tokens", "{\"zr2SHc5ka8b_SJZ-GRrEoQ\":{\"token\":\"$2a$10$KVShxr/bvG9NDsEMyN2AROBD5WVbF1ezSaS5eoa4zvkLNOmZQAavK\",\"expiry\":1408984267}}"], ["updated_at", "2014-08-11 16:31:07.786748"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://casper.biz/jalyn.braun?account_confirmation_success=true&client_id=zr2SHc5ka8b_SJZ-GRrEoQ&expiry=1408984267&token=8c_z3QAaj670ePL1Hnqtcw&uid=norberto_dooley%40gradymonahan.org Completed 302 Found in 64ms (ActiveRecord: 0.7ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0001_should allow both requests through --------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:31:07.791943"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:07.792357"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"svHgboLIc8gW73PC8DQRig\":{\"token\":\"$2a$10$hwJv3wToDly7KS3VCjUd9Osr2mAffvytAViFZQ0S8m1pfRxhhknUa\",\"expiry\":1408984267,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:07 -0500\"}}"], ["updated_at", "2014-08-11 16:31:07.853598"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'delpha.bergstrom@schuppe.info' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"svHgboLIc8gW73PC8DQRig\":{\"token\":\"$2a$10$hwJv3wToDly7KS3VCjUd9Osr2mAffvytAViFZQ0S8m1pfRxhhknUa\",\"expiry\":1408984267,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:07 -0500\"}}"], ["updated_at", "2014-08-11 16:31:07.917675"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 63ms (Views: 0.6ms | ActiveRecord: 0.3ms) Processing by DemoController#members_only as JS [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'delpha.bergstrom@schuppe.info' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"svHgboLIc8gW73PC8DQRig\":{\"token\":\"$2a$10$hwJv3wToDly7KS3VCjUd9Osr2mAffvytAViFZQ0S8m1pfRxhhknUa\",\"expiry\":1408984267,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:07 -0500\"}}"], ["updated_at", "2014-08-11 16:31:07.980702"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.4ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------- DemoController::Token access::batch requests::success: test_0002_should return the same auth headers for both requests ---------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:31:07.984533"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:07.984927"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"D2PpeevfxT-9YWzjNU9j3A\":{\"token\":\"$2a$10$.0fw1.bWj7xM1v0sA/AYgOs5raW4sDvWEpsIJoHdvfGB1nKFf8T7.\",\"expiry\":1408984268,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:08 -0500\"}}"], ["updated_at", "2014-08-11 16:31:08.046487"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'delpha.bergstrom@schuppe.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"D2PpeevfxT-9YWzjNU9j3A\":{\"token\":\"$2a$10$.0fw1.bWj7xM1v0sA/AYgOs5raW4sDvWEpsIJoHdvfGB1nKFf8T7.\",\"expiry\":1408984268,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:08 -0500\"}}"], ["updated_at", "2014-08-11 16:31:08.112415"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 65ms (Views: 0.6ms | ActiveRecord: 0.3ms) Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'delpha.bergstrom@schuppe.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"D2PpeevfxT-9YWzjNU9j3A\":{\"token\":\"$2a$10$.0fw1.bWj7xM1v0sA/AYgOs5raW4sDvWEpsIJoHdvfGB1nKFf8T7.\",\"expiry\":1408984268,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:08 -0500\"}}"], ["updated_at", "2014-08-11 16:31:08.177750"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 64ms (Views: 0.6ms | ActiveRecord: 0.4ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::change password::success: test_new_password_should_authenticate_user -------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"yHERCoAsD_qTaP8c-HqZ8g\":{\"token\":\"$2a$10$9VghPNk2suUT7/.wKF2viOz6okIr/Vhx8ycPl/.kTTxtUciqmlMIO\",\"expiry\":1408984268,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:08 -0500\"}}"], ["updated_at", "2014-08-11 16:31:08.243055"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DeviseTokenAuth::PasswordsController#update as JS Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"} Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::change password::success: test_request_should_be_successful ----------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"BEKEvu4-lZwJ6cNSl2gGZw\":{\"token\":\"$2a$10$UQ8vx4h0H311I3baz65M7.T/SU0esnn7huajYep8jqIVf3EJkteR2\",\"expiry\":1408984268,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:08 -0500\"}}"], ["updated_at", "2014-08-11 16:31:08.311262"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DeviseTokenAuth::PasswordsController#update as JS Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"} Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.8ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------- default user model::from api to provider: test_request_should_determine_the_correct_resource_class -------------------------------------------------------------------------------------------------- Started GET "/auth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '123545' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmed_at", "2014-08-11 16:31:08.420987"], ["created_at", "2014-08-11 16:31:08.421657"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$RwBsVNgi6BTdhehyK52rNOhJFonMVnvvmPC.QzljjQpKbO7q.TfrS"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"nVqN8b2J8uLlB95nNRB_Fg\":{\"token\":\"$2a$10$smQhLEiNJebCsAldl0VVq.Bmqb88sL0x1FsavvelBwxW3HARO.Zbu\",\"expiry\":1408984268}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:31:08.421657"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 69ms (Views: 3.0ms | ActiveRecord: 0.6ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------- default user model::from api to provider: test_request_should_pass_correct_redirect_url --------------------------------------------------------------------------------------- Started GET "/auth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '123545' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmed_at", "2014-08-11 16:31:08.500953"], ["created_at", "2014-08-11 16:31:08.501526"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$6HR6lRIdzjGlP3U3CygzDOqY.nVRycM/xs78dJ6cTEdFvP6mtePTu"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"CKRMWgInuJSsSgf09zQ6hA\":{\"token\":\"$2a$10$fS1yvSe0uq0ZLhR7VWDR9eHFstQvZG/PcdH4Ht37g5WAMJld/Z4Ha\",\"expiry\":1408984268}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:31:08.501526"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 66ms (Views: 0.5ms | ActiveRecord: 0.6ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------- default user model::from api to provider: test_status_should_be_success ----------------------------------------------------------------------- Started GET "/auth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '123545' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmed_at", "2014-08-11 16:31:08.577845"], ["created_at", "2014-08-11 16:31:08.578395"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$uml8V/tm3t/yjs3yQCv.AO8qH8PbuvU4Mewq8/rlAdZKFhwhw6unO"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"jzpqeldCjY7EdpN1FMV3jQ\":{\"token\":\"$2a$10$IyISnjqzQKp5Xdcjz00abOsGFLvel..LAIrsAO1f6VYWiCqHSV0HC\",\"expiry\":1408984268}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:31:08.578395"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 66ms (Views: 0.7ms | ActiveRecord: 0.7ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------- default user model::from api to provider: test_user_should_be_assigned_info_from_provider ----------------------------------------------------------------------------------------- Started GET "/auth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '123545' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmed_at", "2014-08-11 16:31:08.659166"], ["created_at", "2014-08-11 16:31:08.659684"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$HkbMAduKNPxhF6BZZ1X8i..P3X98d6eZX9s.wjFXJKXArKwmM2CWq"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"hWWzBecG-s9Kg5Xvj8so0g\":{\"token\":\"$2a$10$m8ZKqS.Zi/lfHCB5tjAwbuEkrQ8E61x0SK16ULFyXOP2oHxkPZLaW\",\"expiry\":1408984268}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:31:08.659684"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 65ms (Views: 0.5ms | ActiveRecord: 0.8ms) [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------- default user model::from api to provider: test_user_should_be_of_the_correct_class ---------------------------------------------------------------------------------- Started GET "/auth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '123545' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmed_at", "2014-08-11 16:31:08.735491"], ["created_at", "2014-08-11 16:31:08.736198"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$R9mGy5TgktxCSklkQmHDeeDhy7Yh922Jokvq02rUS5hFr0hcseQNO"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"a5vBA9JGIYImo5QkWVC6TQ\":{\"token\":\"$2a$10$54OF.2TR015St2wqvCD0Le9648doqn9DLmp90wVfjEYBr7vsIrzSy\",\"expiry\":1408984268}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:31:08.736198"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 66ms (Views: 0.6ms | ActiveRecord: 0.6ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------- default user model::from api to provider: test_user_should_have_been_created ---------------------------------------------------------------------------- Started GET "/auth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=User" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:31:08 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '123545' AND "users"."provider" = 'facebook' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `encrypted_password` [1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["confirmed_at", "2014-08-11 16:31:08.810268"], ["created_at", "2014-08-11 16:31:08.810842"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$iuANQjVWt.QuctSAYA2EleFkXZrp.hd4hBOFqrj2XbR/1zYBSljJm"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"_4SP9UehZ7ck1504Z-nwmw\":{\"token\":\"$2a$10$eTgtR78svVNakdAdCslFOesYZ8gNryqdzKekFE9RuXEmjSZ.We2aG\",\"expiry\":1408984268}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:31:08.810842"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 65ms (Views: 0.4ms | ActiveRecord: 0.5ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Alternate user model: test_should_generate_raw_token ---------------------------------------------------------------------------------------------- [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 701484147]] [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."confirmation_token" = 'a25f06c3fb75c39c976c3f2e8c9d05c5e59ef1e63e73ec9ca96b4fc83a6c8003' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `confirmation_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 701484147[0m [["confirmation_sent_at", "2014-08-11 16:31:08.817252"], ["confirmation_token", "a25f06c3fb75c39c976c3f2e8c9d05c5e59ef1e63e73ec9ca96b4fc83a6c8003"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:08.817522"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#confirmation_instructions: processed outbound mail in 7.9ms Sent mail to jules_king@weber.name (5.9ms) Date: Mon, 11 Aug 2014 11:31:08 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: jules_king@weber.name Message-ID: <53e8efccca089_104ec3ff86c465bf09431e@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome jules_king@weber.name!
You can confirm your account email through the link below:
[1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Alternate user model: test_should_store_token_hash_in_user ---------------------------------------------------------------------------------------------------- [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1[0m [["id", 701484147]] [1m[35mMang Load (0.2ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."confirmation_token" = 'acdeb963f1fbc7422064b8af1f32e19d79aa82744de9708155b38899928cb889' ORDER BY "mangs"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `confirmation_token` [1m[35mSQL (0.2ms)[0m UPDATE "mangs" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 701484147 [["confirmation_sent_at", "2014-08-11 16:31:08.835522"], ["confirmation_token", "acdeb963f1fbc7422064b8af1f32e19d79aa82744de9708155b38899928cb889"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:08.835812"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#confirmation_instructions: processed outbound mail in 7.2ms Sent mail to jules_king@weber.name (5.7ms) Date: Mon, 11 Aug 2014 11:31:08 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: jules_king@weber.name Message-ID: <53e8efccce5eb_104ec3ff86c465bf0944dd@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome jules_king@weber.name!
You can confirm your account email through the link below:
[1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0001_should return success status ---------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:31:08.853393"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:08.853885"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"zKHfAk5IrD04c_SUcmhp9g\":{\"token\":\"$2a$10$U3xp.XOu7/sfB1ukwhFmj.DG3ApzkwMkiH90tsKEio7AxFo49hMie\",\"expiry\":1408984268,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:08 -0500\"}}"], ["updated_at", "2014-08-11 16:31:08.915307"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"zKHfAk5IrD04c_SUcmhp9g\":{\"token\":\"$2a$10$U3xp.XOu7/sfB1ukwhFmj.DG3ApzkwMkiH90tsKEio7AxFo49hMie\",\"expiry\":1408984268,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:53 -0500\"}}"], ["updated_at", "2014-08-11 16:31:08.916474"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'delpha.bergstrom@schuppe.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"zKHfAk5IrD04c_SUcmhp9g\":{\"token\":\"$2a$10$jvwZkO7cAaddqRDJgsV7GOrJxwJ3l83tmnRcMVCem8x5SkbyD5xt6\",\"expiry\":1408984269,\"last_token\":\"$2a$10$U3xp.XOu7/sfB1ukwhFmj.DG3ApzkwMkiH90tsKEio7AxFo49hMie\",\"updated_at\":\"2014-08-11 11:31:09 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.041363"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 124ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0002_should receive new token after successful request ------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:31:09.045199"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:09.045600"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"3KnQMS1XHNK3dZgc9raSlA\":{\"token\":\"$2a$10$ZXFnClW7ObVyv8MlLfBqBOa2x5Qc7eau1CjUX5hp6.BI79MFJdxMy\",\"expiry\":1408984269,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:09 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.106507"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"3KnQMS1XHNK3dZgc9raSlA\":{\"token\":\"$2a$10$ZXFnClW7ObVyv8MlLfBqBOa2x5Qc7eau1CjUX5hp6.BI79MFJdxMy\",\"expiry\":1408984269,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:54 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.107628"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'delpha.bergstrom@schuppe.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"3KnQMS1XHNK3dZgc9raSlA\":{\"token\":\"$2a$10$Nrll1YiMtnMfP6GuC4lj1Oeq3mpp4hygCVrPxL8OaPGBdmY4Ts./m\",\"expiry\":1408984269,\"last_token\":\"$2a$10$ZXFnClW7ObVyv8MlLfBqBOa2x5Qc7eau1CjUX5hp6.BI79MFJdxMy\",\"updated_at\":\"2014-08-11 11:31:09 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.231396"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0003_should preserve the client id from the first request ---------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:31:09.235680"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:09.236150"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"ebXIvj5eM-AuvGj2CBV--w\":{\"token\":\"$2a$10$YwTeVPAL226zljvHTFzbnelp/cyXkC5H8R8jDDFPzI43FC46WbNA.\",\"expiry\":1408984269,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:09 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.297589"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"ebXIvj5eM-AuvGj2CBV--w\":{\"token\":\"$2a$10$YwTeVPAL226zljvHTFzbnelp/cyXkC5H8R8jDDFPzI43FC46WbNA.\",\"expiry\":1408984269,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:54 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.298806"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'delpha.bergstrom@schuppe.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"ebXIvj5eM-AuvGj2CBV--w\":{\"token\":\"$2a$10$D6hXoTlWDtl4yVog00irqOgDU3F.kUVY83uCWV5R9i18.hizugBEC\",\"expiry\":1408984269,\"last_token\":\"$2a$10$YwTeVPAL226zljvHTFzbnelp/cyXkC5H8R8jDDFPzI43FC46WbNA.\",\"updated_at\":\"2014-08-11 11:31:09 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.422575"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.5ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request: test_0004_should return the user's uid in the auth header ----------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:31:09.427164"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:09.427600"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"6qvTQkuXTgNi34jvfvfpbg\":{\"token\":\"$2a$10$8pOusBDscXfoMUaO.cq5FOEl/oAZ5I7VNCVx/qDSUmf8xioreZ5bq\",\"expiry\":1408984269,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:09 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.488718"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"6qvTQkuXTgNi34jvfvfpbg\":{\"token\":\"$2a$10$8pOusBDscXfoMUaO.cq5FOEl/oAZ5I7VNCVx/qDSUmf8xioreZ5bq\",\"expiry\":1408984269,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:54 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.489828"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'delpha.bergstrom@schuppe.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"6qvTQkuXTgNi34jvfvfpbg\":{\"token\":\"$2a$10$zUiOSS3NgskYNus.FgisjucvLjooEpfg.MukXRZqQC4QR1qLmaC12\",\"expiry\":1408984269,\"last_token\":\"$2a$10$8pOusBDscXfoMUaO.cq5FOEl/oAZ5I7VNCVx/qDSUmf8xioreZ5bq\",\"updated_at\":\"2014-08-11 11:31:09 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.613510"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------ DemoController::Token access::successful request: test_0005_should not treat this request as a batch request ------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:31:09.617426"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:09.617839"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"ET9eR2Hh9QsCzHoAao1HqA\":{\"token\":\"$2a$10$9TDMhvjOx./QGFKWUn/11O.dqPRSDogbwT1.oh9mbus8At4v8e/je\",\"expiry\":1408984269,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:09 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.680768"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"ET9eR2Hh9QsCzHoAao1HqA\":{\"token\":\"$2a$10$9TDMhvjOx./QGFKWUn/11O.dqPRSDogbwT1.oh9mbus8At4v8e/je\",\"expiry\":1408984269,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:54 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.681923"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'delpha.bergstrom@schuppe.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"ET9eR2Hh9QsCzHoAao1HqA\":{\"token\":\"$2a$10$Syc1p2XXOfB/XpQov48wHuDFQCScb0NPKIKHE/.KV/h5MDx95N9fu\",\"expiry\":1408984269,\"last_token\":\"$2a$10$9TDMhvjOx./QGFKWUn/11O.dqPRSDogbwT1.oh9mbus8At4v8e/je\",\"updated_at\":\"2014-08-11 11:31:09 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.805260"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0001_should not return any auth headers ------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:31:09.810268"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:09.810757"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"-VVe6N9nNYC-NMYr2InOCg\":{\"token\":\"$2a$10$3YIgzPDcNfdlgR/E5IN/3uc6xrK515aMGO0aKb4RfcF8biq8pnvCa\",\"expiry\":1408984269,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:09 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.872568"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------------ DemoController::Token access::failed request: test_0002_should return error: unauthorized status ------------------------------------------------------------------------------------------------ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:31:09.876707"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:09.877146"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"JgE5EaHEAuWupRMc8eX2iQ\":{\"token\":\"$2a$10$4hzfBZfJ0iDsup5Pqv631uJCsPjlh0Z5/ZSOZa81Fbz3Le1XIdFN.\",\"expiry\":1408984269,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:09 -0500\"}}"], ["updated_at", "2014-08-11 16:31:09.937709"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Confirmation: test_should_generate_raw_token -------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 701484147]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."confirmation_token" = '6b5d15bf97ff16a25cf2802efda7e1b5e07448e7fbb5856c077d2d7383369dec' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `confirmation_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147[0m [["confirmation_sent_at", "2014-08-11 16:31:09.943788"], ["confirmation_token", "6b5d15bf97ff16a25cf2802efda7e1b5e07448e7fbb5856c077d2d7383369dec"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:09.944077"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#confirmation_instructions: processed outbound mail in 8.5ms Sent mail to norberto_dooley@gradymonahan.org (6.2ms) Date: Mon, 11 Aug 2014 11:31:09 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: norberto_dooley@gradymonahan.org Message-ID: <53e8efcde9214_104ec3ff86c465bf0945da@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome norberto_dooley@gradymonahan.org!
You can confirm your account email through the link below:
[1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Confirmation: test_should_store_token_hash_in_user -------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 701484147]] [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."confirmation_token" = 'ecda99f027944360567779a8ad3cb6e95358046f92cbfe7167850b836fa8abbf' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `confirmation_token` [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 701484147 [["confirmation_sent_at", "2014-08-11 16:31:09.962973"], ["confirmation_token", "ecda99f027944360567779a8ad3cb6e95358046f92cbfe7167850b836fa8abbf"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:09.963194"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#confirmation_instructions: processed outbound mail in 7.0ms Sent mail to norberto_dooley@gradymonahan.org (9.7ms) Date: Mon, 11 Aug 2014 11:31:09 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: norberto_dooley@gradymonahan.org Message-ID: <53e8efcded50f_104ec3ff86c465bf094691@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome norberto_dooley@gradymonahan.org!
You can confirm your account email through the link below:
[1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------ existing user model: test_subsequent_runs_do_not_modify_file ------------------------------------------------------------ [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------- existing user model: test_user_concern_is_injected_into_existing_model ---------------------------------------------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::change password::password mismatch error: test_response_should_fail ------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"msvYbs679jnXGZbsbeBlcg\":{\"token\":\"$2a$10$1CGQqvUApTAxNxtpQ6obzezWS/WEbxjzBu989aJjiB7iw5i3IR2.S\",\"expiry\":1408984270,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:10 -0500\"}}"], ["updated_at", "2014-08-11 16:31:10.060449"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DeviseTokenAuth::PasswordsController#update as JS Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"} Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_new_user_data_should_be_returned_as_json ---------------------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007ff0df692148@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 25ms (Views: 0.5ms | ActiveRecord: 0.7ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_new_user_password_should_not_be_returned ---------------------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007ff0df3e1de0@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------ DeviseTokenAuth::RegistrationsController::Successful registration: test_new_user_should_receive_confirmation_email ------------------------------------------------------------------------------------------------------------------ Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007ff0df157840@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_request_should_be_successful ---------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007ff0da6adad8@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_user_should_have_been_created ----------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007ff0dd17fb08@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Successful registration: test_user_should_not_be_confirmed ---------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007ff0db45bce8@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:14 (lambda)>!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Non-existing user: test_request_should_fail -------------------------------------------------------------------------------- Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"#Hello delpha.bergstrom@schuppe.info!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 0.9ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#edit as JS Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '40181768d23216b4143018d5d1a3b53727d1bf806790e5d489878ce189c9da30' ORDER BY "users"."id" ASC LIMIT 1[0m Completed 404 Not Found in 2ms [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::subsequent requests: test_0001_should not treat this request as a batch request --------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:31:10.253303"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:10.253766"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"Xnqb84W4Qu0jnbX8mCPdQA\":{\"token\":\"$2a$10$Vb5t/mpHSeJCdi7Qa1kr7.0mhOxzm/ty9ikW.ZZB8VWv/7xq2FAoC\",\"expiry\":1408984270,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:10 -0500\"}}"], ["updated_at", "2014-08-11 16:31:10.315213"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Xnqb84W4Qu0jnbX8mCPdQA\":{\"token\":\"$2a$10$Vb5t/mpHSeJCdi7Qa1kr7.0mhOxzm/ty9ikW.ZZB8VWv/7xq2FAoC\",\"expiry\":1408984270,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:55 -0500\"}}"], ["updated_at", "2014-08-11 16:31:10.316342"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'delpha.bergstrom@schuppe.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Xnqb84W4Qu0jnbX8mCPdQA\":{\"token\":\"$2a$10$AAJ9ePrSC32KRdp0eChfZuuwqaOS.2ZHC6b3nsLX5gelUJfOaQbTi\",\"expiry\":1408984270,\"last_token\":\"$2a$10$Vb5t/mpHSeJCdi7Qa1kr7.0mhOxzm/ty9ikW.ZZB8VWv/7xq2FAoC\",\"updated_at\":\"2014-08-11 11:31:10 -0500\"}}"], ["updated_at", "2014-08-11 16:31:10.440631"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 124ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Xnqb84W4Qu0jnbX8mCPdQA\":{\"token\":\"$2a$10$AAJ9ePrSC32KRdp0eChfZuuwqaOS.2ZHC6b3nsLX5gelUJfOaQbTi\",\"expiry\":1408984270,\"last_token\":\"$2a$10$Vb5t/mpHSeJCdi7Qa1kr7.0mhOxzm/ty9ikW.ZZB8VWv/7xq2FAoC\",\"updated_at\":\"2014-08-11 11:30:55 -0500\"}}"], ["updated_at", "2014-08-11 16:31:10.442437"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'delpha.bergstrom@schuppe.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"Xnqb84W4Qu0jnbX8mCPdQA\":{\"token\":\"$2a$10$lYni06/0lW26H9EMPr/Ee.I8lBne5ySPR2VK6tBBfNVwtqol0VZCO\",\"expiry\":1408984270,\"last_token\":\"$2a$10$AAJ9ePrSC32KRdp0eChfZuuwqaOS.2ZHC6b3nsLX5gelUJfOaQbTi\",\"updated_at\":\"2014-08-11 11:31:10 -0500\"}}"], ["updated_at", "2014-08-11 16:31:10.565763"]] [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.4ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------------------------------------------- DemoController::Token access::successful request::subsequent requests: test_0002_should allow a new request to be made using new token -------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:31:10.569689"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:10.570083"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"y0D-ID-pyXeFZu98Ev-uhg\":{\"token\":\"$2a$10$AgOBizZ.Gngxp3ZW/0rm7uK3ipHgdsyRGa/nZ.iFAjEF0b.Ur.Kp.\",\"expiry\":1408984270,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:10 -0500\"}}"], ["updated_at", "2014-08-11 16:31:10.631414"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"y0D-ID-pyXeFZu98Ev-uhg\":{\"token\":\"$2a$10$AgOBizZ.Gngxp3ZW/0rm7uK3ipHgdsyRGa/nZ.iFAjEF0b.Ur.Kp.\",\"expiry\":1408984270,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:55 -0500\"}}"], ["updated_at", "2014-08-11 16:31:10.632536"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'delpha.bergstrom@schuppe.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"y0D-ID-pyXeFZu98Ev-uhg\":{\"token\":\"$2a$10$S5b7z7fo6aEoAle17MUa3OelohfXgpHsDL/ndI/kL7kOt25s8tYMq\",\"expiry\":1408984270,\"last_token\":\"$2a$10$AgOBizZ.Gngxp3ZW/0rm7uK3ipHgdsyRGa/nZ.iFAjEF0b.Ur.Kp.\",\"updated_at\":\"2014-08-11 11:31:10 -0500\"}}"], ["updated_at", "2014-08-11 16:31:10.756683"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"y0D-ID-pyXeFZu98Ev-uhg\":{\"token\":\"$2a$10$S5b7z7fo6aEoAle17MUa3OelohfXgpHsDL/ndI/kL7kOt25s8tYMq\",\"expiry\":1408984270,\"last_token\":\"$2a$10$AgOBizZ.Gngxp3ZW/0rm7uK3ipHgdsyRGa/nZ.iFAjEF0b.Ur.Kp.\",\"updated_at\":\"2014-08-11 11:30:55 -0500\"}}"], ["updated_at", "2014-08-11 16:31:10.758397"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'delpha.bergstrom@schuppe.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"y0D-ID-pyXeFZu98Ev-uhg\":{\"token\":\"$2a$10$sW6xUBgu4FJo3rn.gVn47ellBo0vfuvtL/I8bHPhP9uFYDhYmv.Cq\",\"expiry\":1408984270,\"last_token\":\"$2a$10$S5b7z7fo6aEoAle17MUa3OelohfXgpHsDL/ndI/kL7kOt25s8tYMq\",\"updated_at\":\"2014-08-11 11:31:10 -0500\"}}"], ["updated_at", "2014-08-11 16:31:10.881613"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.6ms | ActiveRecord: 0.4ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------- DemoController::Alternate user class: test_0001_should return success status ---------------------------------------------------------------------------- [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["confirmed_at", "2014-08-11 16:31:10.886339"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:10.886800"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230[0m [["tokens", "{\"ZhIX-tfvUccQfvZBDibOaQ\":{\"token\":\"$2a$10$AvNg/3yNi/oqiHY0z7yaUuUT78Q41Lmf9o/ZVi/pV8PwybEOiUPcK\",\"expiry\":1408984270,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:10 -0500\"}}"], ["updated_at", "2014-08-11 16:31:10.947527"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.0ms)[0m UPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["tokens", "{\"ZhIX-tfvUccQfvZBDibOaQ\":{\"token\":\"$2a$10$AvNg/3yNi/oqiHY0z7yaUuUT78Q41Lmf9o/ZVi/pV8PwybEOiUPcK\",\"expiry\":1408984270,\"last_token\":null,\"updated_at\":\"2014-08-11 11:30:55 -0500\"}}"], ["updated_at", "2014-08-11 16:31:10.948653"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DemoController#members_only as JS [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = 'joshuah@ziemannhand.biz' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 511348230 [["tokens", "{\"ZhIX-tfvUccQfvZBDibOaQ\":{\"token\":\"$2a$10$AM98KQomLNlH4DfecsOIR.NVhMdhb59kNd2eocDWvuiJrXWl1GLLa\",\"expiry\":1408984271,\"last_token\":\"$2a$10$AvNg/3yNi/oqiHY0z7yaUuUT78Q41Lmf9o/ZVi/pV8PwybEOiUPcK\",\"updated_at\":\"2014-08-11 11:31:11 -0500\"}}"], ["updated_at", "2014-08-11 16:31:11.072528"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 123ms (Views: 0.7ms | ActiveRecord: 0.3ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- DeviseTokenAuth::ConfirmationsController::Alternate user model::success: test_user_should_now_be_confirmed ---------------------------------------------------------------------------------------------------------- [1m[35mMang Load (0.1ms)[0m SELECT "mangs".* FROM "mangs" WHERE "mangs"."id" = ? LIMIT 1 [["id", 701484147]] [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."confirmation_token" = 'b258aab8d672063718c1a305390422cd95fba55fa3bc52f43074628519cb2107' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `confirmation_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "confirmation_sent_at" = ?, "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 701484147[0m [["confirmation_sent_at", "2014-08-11 16:31:11.077545"], ["confirmation_token", "b258aab8d672063718c1a305390422cd95fba55fa3bc52f43074628519cb2107"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:11.077771"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#confirmation_instructions: processed outbound mail in 6.6ms Sent mail to jules_king@weber.name (5.6ms) Date: Mon, 11 Aug 2014 11:31:11 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: jules_king@weber.name Message-ID: <53e8efcf150db_104ec3ff86c465bf095447@tests-MacBook-Pro-2.local.mail> Subject: Confirmation instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitWelcome jules_king@weber.name!
You can confirm your account email through the link below:
Processing by DeviseTokenAuth::ConfirmationsController#show as JS Parameters: {"confirmation_token"=>"9zwFftCSNxzxqEjGz_Y6"} [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."confirmation_token" = 'b258aab8d672063718c1a305390422cd95fba55fa3bc52f43074628519cb2107' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "mangs" SET "confirmation_token" = ?, "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 701484147[0m [["confirmation_token", nil], ["confirmed_at", "2014-08-11 16:31:11.093231"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:11.093456"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "mangs" SET "confirmation_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "mangs"."id" = 701484147 [["confirmation_token", "9zwFftCSNxzxqEjGz_Y6"], ["tokens", "{\"lZYHFyMupuYuuhDxKS4Izw\":{\"token\":\"$2a$10$.1EPcPuHo3TCcl0aRF6HiOngUteeoDHDX1PbRPoeSmJH9hzHtLIhm\",\"expiry\":1408984271}}"], ["updated_at", "2014-08-11 16:31:11.155499"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://goodwin.biz/eulah?account_confirmation_success=true&client_id=lZYHFyMupuYuuhDxKS4Izw&expiry=1408984271&token=WCdjIa-xo41uVykcsa4QTw&uid=jules_king%40weber.name Completed 302 Found in 65ms (ActiveRecord: 0.7ms) [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Ouath user has existing email: test_new_user_data_should_be_returned_as_json ---------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 396948535]] Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"bert@erdmanmurray.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"#Welcome bert@erdmanmurray.com!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Ouath user has existing email: test_request_should_be_successful ---------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 396948535]] Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"bert@erdmanmurray.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"#Welcome bert@erdmanmurray.com!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ----------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Ouath user has existing email: test_user_should_have_been_created ----------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 396948535]] Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"bert@erdmanmurray.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "confirm_success_url"=>"#Welcome bert@erdmanmurray.com!
You can confirm your account email through the link below:
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------------------------------------------ DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link success: test_respones_should_have_success_redirect_status ------------------------------------------------------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"delpha.bergstrom@schuppe.info", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:11.224555"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '1a8aa8c3922a91806f9574a2e4cd14fff62a410570839c098714e31448deb616' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 16:31:11.226284"], ["reset_password_token", "1a8aa8c3922a91806f9574a2e4cd14fff62a410570839c098714e31448deb616"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:11.226457"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 6.4ms Sent mail to delpha.bergstrom@schuppe.info (5.4ms) Date: Mon, 11 Aug 2014 11:31:11 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: delpha.bergstrom@schuppe.info Message-ID: <53e8efcf39440_104ec3ff86c465bf0958e9@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello delpha.bergstrom@schuppe.info!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 0.7ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#edit as JS Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '1a8aa8c3922a91806f9574a2e4cd14fff62a410570839c098714e31448deb616' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:11.242398"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_token", "K5qPa1ZsRQVyxY1hjo17"], ["tokens", "{\"qpFOggasyJZIQzNSKto3Kw\":{\"token\":\"$2a$10$T0vX6ZZTaPaTA9ydFMRO6uSWSReA9onj7mQDJGdrmoM7b5dtsNvFq\",\"expiry\":1408984271}}"], ["updated_at", "2014-08-11 16:31:11.303708"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://ng-token-auth.dev?client_id=qpFOggasyJZIQzNSKto3Kw&expiry=1408984271&reset_password=true&token=VpmJmpgfKPjtl4ciufp9Ug&uid=delpha.bergstrom%40schuppe.info Completed 302 Found in 64ms (Views: 0.2ms | ActiveRecord: 1.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link success: test_response_auth_params_should_be_valid ---------------------------------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"delpha.bergstrom@schuppe.info", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:11.310723"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' ORDER BY "users"."id" ASC LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '9b83e355d3483c2eea4af5e348b5b2ee43286c608b351b6e68373f53949d688d' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 16:31:11.312985"], ["reset_password_token", "9b83e355d3483c2eea4af5e348b5b2ee43286c608b351b6e68373f53949d688d"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:11.313276"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 7.5ms Sent mail to delpha.bergstrom@schuppe.info (5.5ms) Date: Mon, 11 Aug 2014 11:31:11 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: delpha.bergstrom@schuppe.info Message-ID: <53e8efcf4ee0b_104ec3ff86c465bf09591e@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello delpha.bergstrom@schuppe.info!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 0.9ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#edit as JS Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '9b83e355d3483c2eea4af5e348b5b2ee43286c608b351b6e68373f53949d688d' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:11.330953"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_token", "uKtyKq1ucuLiJC7xdyrP"], ["tokens", "{\"yANCLTvxtpxhxyc6u0xTLA\":{\"token\":\"$2a$10$zPOXHnrTWyxkcmRHMEijmuK1eJI7JAL6GW.kImS5gda/Jwi0S.TpW\",\"expiry\":1408984271}}"], ["updated_at", "2014-08-11 16:31:11.392326"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Redirected to http://ng-token-auth.dev?client_id=yANCLTvxtpxhxyc6u0xTLA&expiry=1408984271&reset_password=true&token=g93xiAm72IBOFHKBDWJrAw&uid=delpha.bergstrom%40schuppe.info Completed 302 Found in 64ms (Views: 0.2ms | ActiveRecord: 1.4ms) [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset::password reset link success: test_response_should_contain_auth_params --------------------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"delpha.bergstrom@schuppe.info", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:11.459840"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'fbee8be87c8588ffe9c1c7484737b6001e9da80b2ef7b84ff24cd32b44709572' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 16:31:11.461517"], ["reset_password_token", "fbee8be87c8588ffe9c1c7484737b6001e9da80b2ef7b84ff24cd32b44709572"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:11.461685"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 6.4ms Sent mail to delpha.bergstrom@schuppe.info (7.2ms) Date: Mon, 11 Aug 2014 11:31:11 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: delpha.bergstrom@schuppe.info Message-ID: <53e8efcf72b6c_104ec3ff86c465bf096045@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello delpha.bergstrom@schuppe.info!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 0.7ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#edit as JS Parameters: {"reset_password_token"=>"[FILTERED]", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'fbee8be87c8588ffe9c1c7484737b6001e9da80b2ef7b84ff24cd32b44709572' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:11.480689"]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_token", "VdbSYAeY8rRaPrr8JDCo"], ["tokens", "{\"zMdkgA6hvJtINYQn30XU4g\":{\"token\":\"$2a$10$bVV./6jjfrjY8pMrHinmQucXfGZvaSCz6l9GY9wOky0zPZC/DVIkO\",\"expiry\":1408984271}}"], ["updated_at", "2014-08-11 16:31:11.541976"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Redirected to http://ng-token-auth.dev?client_id=zMdkgA6hvJtINYQn30XU4g&expiry=1408984271&reset_password=true&token=7o5_dTnHNzaN4C-oGdu36g&uid=delpha.bergstrom%40schuppe.info Completed 302 Found in 64ms (Views: 0.3ms | ActiveRecord: 1.3ms) [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------- alternate user model::from api to provider: test_request_should_determine_the_correct_resource_class ---------------------------------------------------------------------------------------------------- Started GET "/bong/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=Mang" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[36mMang Load (0.2ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = '123545' AND "mangs"."provider" = 'facebook' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mangs" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirmed_at", "2014-08-11 16:31:11.612948"], ["created_at", "2014-08-11 16:31:11.613478"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$XhVcz1NCMcYkmJlhR5Eg5uuvufWrkZjawHfnU8v5V6ICaynJ5EJ36"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"nBcNomfePZA6EzQHMZHljQ\":{\"token\":\"$2a$10$Ku8FLeIPYWTa.mgRnGW8YeSA6oWqGqHdjew/6ciajnE5b3QiimyKG\",\"expiry\":1408984271}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:31:11.613478"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 65ms (Views: 0.5ms | ActiveRecord: 0.5ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------------------------------------------------------------------------- alternate user model::from api to provider: test_request_should_pass_correct_redirect_url ----------------------------------------------------------------------------------------- Started GET "/bong/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=Mang" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[36mMang Load (0.2ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = '123545' AND "mangs"."provider" = 'facebook' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mangs" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirmed_at", "2014-08-11 16:31:11.683949"], ["created_at", "2014-08-11 16:31:11.684463"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$CF8o76Xeh2ec1B8.44ippudLoJ8jkCfiRLXBbnKvh64SLl/dWppie"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"DMU6XfUOUY2tF7JwdzlOiA\":{\"token\":\"$2a$10$HCyG8BniT5TzESOW0bNZ1.jVz8Q9EjiYxgUGFkyorq0k4V5kmyFmW\",\"expiry\":1408984271}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:31:11.684463"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 64ms (Views: 0.4ms | ActiveRecord: 0.5ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------- alternate user model::from api to provider: test_status_should_be_success ------------------------------------------------------------------------- Started GET "/bong/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=Mang" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[36mMang Load (0.1ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = '123545' AND "mangs"."provider" = 'facebook' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mangs" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirmed_at", "2014-08-11 16:31:11.754790"], ["created_at", "2014-08-11 16:31:11.755328"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$8XKUrCSddiQyk5jdgN6J/OqqTLcIeEPRStpc32cQQ4/A2S9c.fbae"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"Q1JKS3F9Q1IR7WySoaoTVQ\":{\"token\":\"$2a$10$LcDm.WS7L2UkWx0.2YUakeKDdy/bSSsSuFz.EhVmvsqscqpbSZizW\",\"expiry\":1408984271}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:31:11.755328"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 64ms (Views: 0.5ms | ActiveRecord: 0.5ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------------- alternate user model::from api to provider: test_user_should_be_assigned_info_from_provider ------------------------------------------------------------------------------------------- Started GET "/bong/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=Mang" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[36mMang Load (0.2ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = '123545' AND "mangs"."provider" = 'facebook' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mangs" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirmed_at", "2014-08-11 16:31:11.827177"], ["created_at", "2014-08-11 16:31:11.827684"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$UUC881y0HAFkusScfq27O.oXjpGSbn9LTmr8oufx4Yl0DESGK47xG"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"9p64CJFjN0frYgGMQGg_oQ\":{\"token\":\"$2a$10$BuPd6oZvoQs1UDiH1EKSDe0WYu1/H8erFjhO3hM2cq4oOSaZ4/O1W\",\"expiry\":1408984271}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:31:11.827684"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 66ms (Views: 0.4ms | ActiveRecord: 0.5ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------------ alternate user model::from api to provider: test_user_should_be_of_the_correct_class ------------------------------------------------------------------------------------ Started GET "/bong/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=Mang" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[36mMang Load (0.2ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = '123545' AND "mangs"."provider" = 'facebook' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mangs" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirmed_at", "2014-08-11 16:31:11.898383"], ["created_at", "2014-08-11 16:31:11.898885"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$wyFxTURf3QKKDQPEpM/fhu706TbQgW4TtpwFYUGhFZh8H63a7IzMm"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"4Ck4fvvHzp9u5llljtrOiw\":{\"token\":\"$2a$10$OBtzk52hWgzILEAC/ImT7.QKXm5/Wf9Tw3WtjsthQWMr6Uxs9.Jju\",\"expiry\":1408984271}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:31:11.898885"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 65ms (Views: 0.4ms | ActiveRecord: 0.6ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------------------------------------------------ alternate user model::from api to provider: test_user_should_have_been_created ------------------------------------------------------------------------------ Started GET "/bong/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Started GET "/omniauth/facebook?auth_origin_url=http%3A%2F%2Fng-token-auth.dev%2F&resource_class=Mang" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Started GET "/omniauth/facebook/callback" for 127.0.0.1 at 2014-08-11 11:31:11 -0500 Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML Parameters: {"provider"=>"facebook"} [1m[36mMang Load (0.2ms)[0m [1mSELECT "mangs".* FROM "mangs" WHERE "mangs"."uid" = '123545' AND "mangs"."provider" = 'facebook' ORDER BY "mangs"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `encrypted_password` [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mangs" ("confirmed_at", "created_at", "email", "encrypted_password", "name", "provider", "tokens", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["confirmed_at", "2014-08-11 16:31:11.971564"], ["created_at", "2014-08-11 16:31:11.972068"], ["email", "chongbong@aol.com"], ["encrypted_password", "$2a$04$9ARioprInrSX.u/MGLgXCOWLVXWxyPCxG2fSwevoDqfgGOW1yniWW"], ["name", "chong"], ["provider", "facebook"], ["tokens", "{\"w8obvDbMm5Xok8ti1LSr9A\":{\"token\":\"$2a$10$dYpig3ZxnSkZZSgZkDf0AOB4r9d1KYTOD5tD4dbVa6El8z9KYVGcW\",\"expiry\":1408984271}}"], ["uid", "123545"], ["updated_at", "2014-08-11 16:31:11.972068"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 65ms (Views: 0.4ms | ActiveRecord: 0.5ms) [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------------------------------------------------- routes::subsequent models: test_devise_for_block_is_appended_to_routes_file --------------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------- routes::subsequent models: test_migration_is_created ---------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------------------------------------------------------- routes::subsequent models: test_route_method_is_appended_to_routes_file ----------------------------------------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Mismatched passwords: test_error_should_be_returned_in_the_response ------------------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Hello delpha.bergstrom@schuppe.info!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 17ms (Views: 0.1ms | ActiveRecord: 0.8ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_action_should_send_an_email -------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"delpha.bergstrom@schuppe.info", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:13.637786"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' ORDER BY "users"."id" ASC LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '9742858ae70a0afea8a46fae84a0f4c7357d06a1da5da81819ce1a7f70113b36' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 16:31:13.639472"], ["reset_password_token", "9742858ae70a0afea8a46fae84a0f4c7357d06a1da5da81819ce1a7f70113b36"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:13.639645"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 7.8ms Sent mail to delpha.bergstrom@schuppe.info (13.7ms) Date: Mon, 11 Aug 2014 11:31:13 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: delpha.bergstrom@schuppe.info Message-ID: <53e8efd19e99b_104ec3ff86c465bf09621e@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello delpha.bergstrom@schuppe.info!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 26ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------------ DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_response_should_return_success_status ------------------------------------------------------------------------------------------------------------------------ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"delpha.bergstrom@schuppe.info", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:13.667659"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = 'f89a0483267ffd4540812b6acb7147389a5b0718dfee28874db7781cb0e77178' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 16:31:13.669603"], ["reset_password_token", "f89a0483267ffd4540812b6acb7147389a5b0718dfee28874db7781cb0e77178"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:13.669804"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 7.1ms Sent mail to delpha.bergstrom@schuppe.info (5.9ms) Date: Mon, 11 Aug 2014 11:31:13 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: delpha.bergstrom@schuppe.info Message-ID: <53e8efd1a5c3d_104ec3ff86c465bf0963e5@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello delpha.bergstrom@schuppe.info!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 0.9ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_body_should_contain_a_link_with_redirect_url_as_a_query_param ---------------------------------------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"delpha.bergstrom@schuppe.info", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:13.690895"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' ORDER BY "users"."id" ASC LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '24538f471bc5958ecec63202b94266de51a2cc37b3741825b9ecff28aaec3784' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 16:31:13.692688"], ["reset_password_token", "24538f471bc5958ecec63202b94266de51a2cc37b3741825b9ecff28aaec3784"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:13.692857"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 6.8ms Sent mail to delpha.bergstrom@schuppe.info (5.7ms) Date: Mon, 11 Aug 2014 11:31:13 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: delpha.bergstrom@schuppe.info Message-ID: <53e8efd1ab4a7_104ec3ff86c465bf0964ae@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello delpha.bergstrom@schuppe.info!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_body_should_contain_a_link_with_reset_token_as_a_query_param --------------------------------------------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"delpha.bergstrom@schuppe.info", "redirect_url"=>"http://ng-token-auth.dev"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:13.711695"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '28ed24b79424fd337f973bedc7f933c41c2c8c0007aaaed5870f1b8299df8cec' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `reset_password_token` [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_sent_at", "2014-08-11 16:31:13.713490"], ["reset_password_token", "28ed24b79424fd337f973bedc7f933c41c2c8c0007aaaed5870f1b8299df8cec"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:13.713666"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Devise::Mailer#reset_password_instructions: processed outbound mail in 6.9ms Sent mail to delpha.bergstrom@schuppe.info (5.9ms) Date: Mon, 11 Aug 2014 11:31:13 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: delpha.bergstrom@schuppe.info Message-ID: <53e8efd1b06ff_104ec3ff86c465bf0965b5@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello delpha.bergstrom@schuppe.info!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '28ed24b79424fd337f973bedc7f933c41c2c8c0007aaaed5870f1b8299df8cec' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", nil], ["reset_password_token", nil], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:13.730349"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::request password reset: test_the_email_should_be_addressed_to_the_user ---------------------------------------------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] Processing by DeviseTokenAuth::PasswordsController#create as JS Parameters: {"email"=>"delpha.bergstrom@schuppe.info", "redirect_url"=>"http://ng-token-auth.dev"} [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' AND "users"."provider" = 'email' ORDER BY "users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "reset_password_redirect_url" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["reset_password_redirect_url", "http://ng-token-auth.dev"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:13.736971"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' ORDER BY "users"."id" ASC LIMIT 1 [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."reset_password_token" = '782c9e4d1bb62b666aa128147acbd6b78f6d96ced5aea1f99349b1eb9a97455f' ORDER BY "users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `reset_password_token` [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "reset_password_sent_at" = ?, "reset_password_token" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["reset_password_sent_at", "2014-08-11 16:31:13.738889"], ["reset_password_token", "782c9e4d1bb62b666aa128147acbd6b78f6d96ced5aea1f99349b1eb9a97455f"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:13.739064"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Devise::Mailer#reset_password_instructions: processed outbound mail in 7.6ms Sent mail to delpha.bergstrom@schuppe.info (7.0ms) Date: Mon, 11 Aug 2014 11:31:13 -0500 From: please-change-me-at-config-initializers-devise@example.com Reply-To: please-change-me-at-config-initializers-devise@example.com To: delpha.bergstrom@schuppe.info Message-ID: <53e8efd1b6bfe_104ec3ff86c465bf096638@tests-MacBook-Pro-2.local.mail> Subject: Reset password instructions Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bitHello delpha.bergstrom@schuppe.info!
Someone has requested a link to change your password. You can do this through the link below.
If you didn't request this, please ignore this email.
Your password won't change until you access the link above and create a new one.
Completed 200 OK in 20ms (Views: 0.2ms | ActiveRecord: 0.8ms) [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Confirmed user::success: test_request_should_return_user_data -------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["confirmed_at", "2014-08-11 16:31:13.759216"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:13.759674"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"delpha.bergstrom@schuppe.info", "password"=>"[FILTERED]"} [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' LIMIT 1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"iUqVRif77C0XYGrANP8Pcw\":{\"token\":\"$2a$10$ncYonXT2KE3Jt3snI1Dv8.JbZJk./qEJD4Obv8vEuO9VphriTtLd6\",\"expiry\":1408984273}}"], ["updated_at", "2014-08-11 16:31:13.824754"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"iUqVRif77C0XYGrANP8Pcw\":{\"token\":\"$2a$10$9LhpppEprBEci7S8KWi2.Ope3KmiC4ikIlLJyqrM15Ah4WkY/Zufi\",\"expiry\":1408984273,\"last_token\":\"$2a$10$ncYonXT2KE3Jt3snI1Dv8.JbZJk./qEJD4Obv8vEuO9VphriTtLd6\",\"updated_at\":\"2014-08-11 11:31:13 -0500\"}}"], ["updated_at", "2014-08-11 16:31:13.886824"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 126ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[36m (1.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------------------------------------------------------------------------- DeviseTokenAuth::SessionsController::Confirmed user::success: test_request_should_succeed ----------------------------------------------------------------------------------------- [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 511348230]] [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "confirmed_at" = ?, "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["confirmed_at", "2014-08-11 16:31:13.891119"], ["tokens", "{}"], ["updated_at", "2014-08-11 16:31:13.891532"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 Processing by DeviseTokenAuth::SessionsController#create as JS Parameters: {"email"=>"delpha.bergstrom@schuppe.info", "password"=>"[FILTERED]"} [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'delpha.bergstrom@schuppe.info' LIMIT 1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230[0m [["tokens", "{\"4IwLDcJP_oEZo5cOqn8QHw\":{\"token\":\"$2a$10$niczrNql8pGAy2E.KDYVYudVLF/4bpE3K0vK09pcm5jgvunRVNb82\",\"expiry\":1408984273}}"], ["updated_at", "2014-08-11 16:31:13.956796"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.1ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"4IwLDcJP_oEZo5cOqn8QHw\":{\"token\":\"$2a$10$GfArCY8i/LW9iHdUG6HqVOh7PTtLKQUiBmIhgta6.M43fUqVLqX46\",\"expiry\":1408984274,\"last_token\":\"$2a$10$niczrNql8pGAy2E.KDYVYudVLF/4bpE3K0vK09pcm5jgvunRVNb82\",\"updated_at\":\"2014-08-11 11:31:14 -0500\"}}"], ["updated_at", "2014-08-11 16:31:14.018518"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Completed 200 OK in 126ms (Views: 0.3ms | ActiveRecord: 0.6ms) [1m[35m (1.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------------------------- DeviseTokenAuth::PasswordsController::Password reset::change password::unauthorized user: test_response_should_fail ------------------------------------------------------------------------------------------------------------------- [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 511348230]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.2ms)[0m UPDATE "users" SET "tokens" = ?, "updated_at" = ? WHERE "users"."id" = 511348230 [["tokens", "{\"oJ0O_GyndrfyrOojJc2qxw\":{\"token\":\"$2a$10$XJuvlt2J/9sp8FpXcQcg..BJ5zP77KgRtP/Ns5QVDn408JxjQIEDu\",\"expiry\":1408984274,\"last_token\":null,\"updated_at\":\"2014-08-11 11:31:14 -0500\"}}"], ["updated_at", "2014-08-11 16:31:14.084695"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m Processing by DeviseTokenAuth::PasswordsController#update as JS Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"} Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms) [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Alternate user class: test_request_should_be_successful ------------------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#Welcome #<proc:0x007ff0d90e8310@/users/lynn/code/auth/devise_token_auth/test/controllers/devise_token_auth/registrations_controller_test.rb:144 (lambda)>!
You can confirm your account email through the link below:
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.5ms) [1m[36m (0.3ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ----------------------------------------------------------------------------------------- DeviseTokenAuth::RegistrationsController::Alternate user class: test_use_should_be_a_Mang ----------------------------------------------------------------------------------------- Processing by DeviseTokenAuth::RegistrationsController#create as JS Parameters: {"email"=>"#