(4.6ms) CREATE TABLE "admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.8ms) CREATE TABLE "composite_name_entities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "password_digest" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.7ms) CREATE TABLE "vendors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20160522181712')  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150713101607')  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160519075733')  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160522051816') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "admins" Fixture Insert (0.1ms) INSERT INTO "admins" ("email", "password_digest", "created_at", "updated_at", "id") VALUES ('admin.one@example.net', '$2a$04$A5FrTmvQlWisxRF39Z9ThOxtvxEv3sskQ8Cvu7pMyJOdxKe2.yGQK', '2016-05-29 13:50:27', '2016-05-29 13:50:27', 980190962) Fixture Delete (0.1ms) DELETE FROM "composite_name_entities" Fixture Insert (0.1ms) INSERT INTO "composite_name_entities" ("email", "password_digest", "created_at", "updated_at", "id") VALUES ('composite_name_entity.one@example.net', '$2a$04$btcUJSIV8A1I4v/PGOzg9uwbne073esS6ASsIe.d8w3GoPwv.gali', '2016-05-29 13:50:27', '2016-05-29 13:50:27', 980190962) Fixture Delete (0.1ms) DELETE FROM "users" Fixture Insert (0.1ms) INSERT INTO "users" ("email", "password_digest", "created_at", "updated_at", "id") VALUES ('one@example.net', '$2a$04$AaJIO4VQSLrEs0Tr4MSc4euqVbJvlKEfWoM7VtwzSIqg3wmlw2bdK', '2016-05-29 13:50:27', '2016-05-29 13:50:27', 980190962) Fixture Insert (0.1ms) INSERT INTO "users" ("email", "password_digest", "created_at", "updated_at", "id") VALUES ('two@example.net', '$2a$04$g2QbsDNtx7EXGF9oW/HyuOdMaCz9lkRM0dPCuGVVY32MSDkT5syaO', '2016-05-29 13:50:27', '2016-05-29 13:50:27', 298486374) Fixture Delete (0.1ms) DELETE FROM "vendors" Fixture Insert (0.1ms) INSERT INTO "vendors" ("email", "password_digest", "created_at", "updated_at", "id") VALUES ('vendor.one@example.net', '$2a$04$jrsErgp1FpPx4Yoh0AVvFOQW6W3SixzpKgG54MDx4OLhEKl09Xc4W', '2016-05-29 13:50:27', '2016-05-29 13:50:27', 980190962)  (1.9ms) commit transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- VendorProtectedControllerTest: test_raises_method_missing_error_appropriately ----------------------------------------------------------------------------- Processing by VendorProtectedController#show as HTML Parameters: {"id"=>"1"} Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- VendorProtectedControllerTest: test_responds_with_unauthorized -------------------------------------------------------------- Processing by VendorProtectedController#index as HTML Filter chain halted as :authenticate_vendor rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- VendorProtectedControllerTest: test_has_a_current_vendor_after_authentication ----------------------------------------------------------------------------- Vendor Load (0.2ms) SELECT "vendors".* FROM "vendors" WHERE "vendors"."id" = ? LIMIT 1 [["id", 980190962]] Processing by VendorProtectedController#index as HTML Vendor Load (0.1ms) SELECT "vendors".* FROM "vendors" WHERE "vendors"."id" = ? LIMIT 1 [["id", 980190962]] Completed 200 OK in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- VendorProtectedControllerTest: test_responds_with_unauthorized_to_invalid_token ------------------------------------------------------------------------------- Processing by VendorProtectedController#index as HTML Filter chain halted as :authenticate_vendor rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------------------- VendorProtectedControllerTest: test_responds_with_unauthorized_to_invalid_entity -------------------------------------------------------------------------------- Processing by VendorProtectedController#index as HTML Vendor Load (0.1ms) SELECT "vendors".* FROM "vendors" WHERE "vendors"."id" = ? LIMIT 1 [["id", 0]] Filter chain halted as :authenticate_vendor rendered or redirected Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------------- VendorProtectedControllerTest: test_responds_with_success_if_authenticated -------------------------------------------------------------------------- Vendor Load (0.1ms) SELECT "vendors".* FROM "vendors" WHERE "vendors"."id" = ? LIMIT 1 [["id", 980190962]] Processing by VendorProtectedController#index as HTML Vendor Load (0.0ms) SELECT "vendors".* FROM "vendors" WHERE "vendors"."id" = ? LIMIT 1 [["id", 980190962]] Completed 200 OK in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------------------------------------------------- CompositeNameEntityProtectedControllerTest: test_responds_with_unauthorized_to_invalid_token -------------------------------------------------------------------------------------------- Processing by CompositeNameEntityProtectedController#index as HTML Filter chain halted as :authenticate_composite_name_entity rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------------- CompositeNameEntityProtectedControllerTest: test_responds_with_unauthorized_to_invalid_entity --------------------------------------------------------------------------------------------- Processing by CompositeNameEntityProtectedController#index as HTML CompositeNameEntity Load (0.1ms) SELECT "composite_name_entities".* FROM "composite_name_entities" WHERE "composite_name_entities"."id" = ? LIMIT 1 [["id", 0]] Filter chain halted as :authenticate_composite_name_entity rendered or redirected Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------------------------- CompositeNameEntityProtectedControllerTest: test_has_a_current_composite_name_entity_after_authentication --------------------------------------------------------------------------------------------------------- CompositeNameEntity Load (0.1ms) SELECT "composite_name_entities".* FROM "composite_name_entities" WHERE "composite_name_entities"."id" = ? LIMIT 1 [["id", 980190962]] Processing by CompositeNameEntityProtectedController#index as HTML CompositeNameEntity Load (0.1ms) SELECT "composite_name_entities".* FROM "composite_name_entities" WHERE "composite_name_entities"."id" = ? LIMIT 1 [["id", 980190962]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- CompositeNameEntityProtectedControllerTest: test_responds_with_success_if_authenticated --------------------------------------------------------------------------------------- CompositeNameEntity Load (0.1ms) SELECT "composite_name_entities".* FROM "composite_name_entities" WHERE "composite_name_entities"."id" = ? LIMIT 1 [["id", 980190962]] Processing by CompositeNameEntityProtectedController#index as HTML CompositeNameEntity Load (0.0ms) SELECT "composite_name_entities".* FROM "composite_name_entities" WHERE "composite_name_entities"."id" = ? LIMIT 1 [["id", 980190962]] Completed 200 OK in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- CompositeNameEntityProtectedControllerTest: test_responds_with_unauthorized --------------------------------------------------------------------------- Processing by CompositeNameEntityProtectedController#index as HTML Filter chain halted as :authenticate_composite_name_entity rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------- Knock::AuthTokenTest: test_verify_audience_when_token_audience_is_present -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------- Knock::AuthTokenTest: test_validate_expiration_claim_by_default ---------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------- Knock::AuthTokenTest: test_decode_RSA_encoded_tokens ----------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------------------------------------------------------- Knock::AuthTokenTest: test_does_not_validate_expiration_claim_with_a_nil_token_lifetime ---------------------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- Knock::AuthTokenTest: test_encode_tokens_with_RSA -------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------- Knock::AuthTokenTest: test_verify_algorithm -------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ Knock::AuthTokenTest: test_is_serializable ------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------------------------------------- ProtectedResourcesControllerTest: test_responds_with_unauthorized_with_invalid_token_in_header ---------------------------------------------------------------------------------------------- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by ProtectedResourcesController#index as HTML Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------- ProtectedResourcesControllerTest: test_accepts_authorization_header_without_prefix ---------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by ProtectedResourcesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------------------- ProtectedResourcesControllerTest: test_responds_with_unauthorized_with_invalid_token_in_url ------------------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by ProtectedResourcesController#index as HTML Parameters: {"token"=>"invalid"} Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------ ProtectedResourcesControllerTest: test_responds_with_success_with_token_in_url ------------------------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by ProtectedResourcesController#index as HTML Parameters: {"token"=>"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0NjQ2MTYyMjcsInN1YiI6OTgwMTkwOTYyfQ.ZioYbBATphHQTR5V7AbQ3XE9C-Y2AwSlJwIbFeMJAxA"} User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Completed 200 OK in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------- ProtectedResourcesControllerTest: test_responds_with_unauthorized ----------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by ProtectedResourcesController#index as HTML Filter chain halted as :authenticate rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------- ProtectedResourcesControllerTest: test_accepts_any_prefix_in_the_authorization_header ------------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by ProtectedResourcesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------ ProtectedResourcesControllerTest: test_has_a_current_user_after_authentication ------------------------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by ProtectedResourcesController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Completed 200 OK in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- ProtectedResourcesControllerTest: test_responds_with_success_with_valid_token_in_header --------------------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by ProtectedResourcesController#index as HTML User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Completed 200 OK in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction -------------------------------------------------- CurrentUsersControllerTest: test_responds_with_200 -------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by CurrentUsersController#show as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- CurrentUsersControllerTest: test_responds_with_404_if_user_is_not_logged_in --------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by CurrentUsersController#show as HTML Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------------------------------- InstallGeneratorTest: test_Assert_all_files_are_properly_created ----------------------------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction --------------------------------------- KnockTest: test_setup_block_yields_self ---------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------ VendorTokenControllerTest: test_responds_with_404_if_user_does_not_exist ------------------------------------------------------------------------ Vendor Load (0.1ms) SELECT "vendors".* FROM "vendors" WHERE "vendors"."id" = ? LIMIT 1 [["id", 980190962]] Processing by VendorTokenController#create as HTML Parameters: {"auth"=>{"email"=>"wrong@example.net", "password"=>"[FILTERED]"}} Vendor Load (0.1ms) SELECT "vendors".* FROM "vendors" WHERE "vendors"."email" = ? LIMIT 1 [["email", "wrong@example.net"]] Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------ VendorTokenControllerTest: test_responds_with_404_if_password_is_invalid ------------------------------------------------------------------------ Vendor Load (0.1ms) SELECT "vendors".* FROM "vendors" WHERE "vendors"."id" = ? LIMIT 1 [["id", 980190962]] Processing by VendorTokenController#create as HTML Parameters: {"auth"=>{"email"=>"vendor.one@example.net", "password"=>"[FILTERED]"}} Vendor Load (0.1ms) SELECT "vendors".* FROM "vendors" WHERE "vendors"."email" = ? LIMIT 1 [["email", "vendor.one@example.net"]] Completed 404 Not Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- VendorTokenControllerTest: test_responds_with_201 ------------------------------------------------- Vendor Load (0.1ms) SELECT "vendors".* FROM "vendors" WHERE "vendors"."id" = ? LIMIT 1 [["id", 980190962]] Processing by VendorTokenController#create as HTML Parameters: {"auth"=>{"email"=>"vendor.one@example.net", "password"=>"[FILTERED]"}} Vendor Load (0.0ms) SELECT "vendors".* FROM "vendors" WHERE "vendors"."email" = ? LIMIT 1 [["email", "vendor.one@example.net"]] Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------------- AdminProtectedControllerTest: test_responds_with_unauthorized_to_invalid_entity ------------------------------------------------------------------------------- Processing by AdminProtectedController#index as HTML Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 0]] Filter chain halted as :authenticate_admin rendered or redirected Completed 401 Unauthorized in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- AdminProtectedControllerTest: test_responds_with_success_if_authenticated ------------------------------------------------------------------------- Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 980190962]] Processing by AdminProtectedController#index as HTML Admin Load (0.0ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 980190962]] Completed 200 OK in 1ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------ AdminProtectedControllerTest: test_responds_with_unauthorized_to_invalid_token ------------------------------------------------------------------------------ Processing by AdminProtectedController#index as HTML Filter chain halted as :authenticate_admin rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------- AdminProtectedControllerTest: test_responds_with_unauthorized ------------------------------------------------------------- Processing by AdminProtectedController#index as HTML Filter chain halted as :authenticate_admin rendered or redirected Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- AdminProtectedControllerTest: test_has_a_current_admin_after_authentication --------------------------------------------------------------------------- Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 980190962]] Processing by AdminProtectedController#index as HTML Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 980190962]] Completed 200 OK in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------ AdminTokenControllerTest: test_responds_with_201 ------------------------------------------------ Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 980190962]] Processing by AdminTokenController#create as HTML Parameters: {"auth"=>{"email"=>"admin.one@example.net", "password"=>"[FILTERED]"}} Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."email" = ? LIMIT 1 [["email", "admin.one@example.net"]] Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------- AdminTokenControllerTest: test_responds_with_404_if_password_is_invalid ----------------------------------------------------------------------- Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 980190962]] Processing by AdminTokenController#create as HTML Parameters: {"auth"=>{"email"=>"admin.one@example.net", "password"=>"[FILTERED]"}} Admin Load (0.0ms) SELECT "admins".* FROM "admins" WHERE "admins"."email" = ? LIMIT 1 [["email", "admin.one@example.net"]] Completed 404 Not Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------- AdminTokenControllerTest: test_responds_with_404_if_user_does_not_exist ----------------------------------------------------------------------- Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = ? LIMIT 1 [["id", 980190962]] Processing by AdminTokenController#create as HTML Parameters: {"auth"=>{"email"=>"wrong@example.net", "password"=>"[FILTERED]"}} Admin Load (0.0ms) SELECT "admins".* FROM "admins" WHERE "admins"."email" = ? LIMIT 1 [["email", "wrong@example.net"]] Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------------------------------------------- Knock::AuthTokenControllerTest: test_responds_with_404_if_password_is_invalid ----------------------------------------------------------------------------- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by Knock::AuthTokenController#create as HTML Parameters: {"auth"=>{"email"=>"one@example.net", "password"=>"[FILTERED]"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT 1 [["email", "one@example.net"]] Completed 404 Not Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------ Knock::AuthTokenControllerTest: test_responds_with_201 ------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by Knock::AuthTokenController#create as HTML Parameters: {"auth"=>{"email"=>"one@example.net", "password"=>"[FILTERED]"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT 1 [["email", "one@example.net"]] Completed 201 Created in 3ms (Views: 0.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- Knock::AuthTokenControllerTest: test_responds_with_404_if_user_does_not_exist ----------------------------------------------------------------------------- Processing by Knock::AuthTokenController#create as HTML Parameters: {"auth"=>{"email"=>"wrong@example.net", "password"=>"[FILTERED]"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT 1 [["email", "wrong@example.net"]] Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- Knock::AuthTokenControllerTest: test_it's_using_configured_custom_exception ---------------------------------------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------ Knock::AuthTokenControllerTest: test_response_contains_token ------------------------------------------------------------ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]] Processing by Knock::AuthTokenController#create as HTML Parameters: {"auth"=>{"email"=>"one@example.net", "password"=>"[FILTERED]"}} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT 1 [["email", "one@example.net"]] Completed 201 Created in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------------------------------------ TokenControllerGeneratorTest: test_assert_all_files_are_properly_created ------------------------------------------------------------------------  (0.1ms) rollback transaction