(0.1ms) DROP TABLE IF EXISTS "categories"  (0.1ms) SELECT sqlite_version(*)  (12.3ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime)  (0.1ms) DROP TABLE IF EXISTS "posts"  (16.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar, "message" text, "category_id" integer, "created_at" datetime, "updated_at" datetime)  (17.7ms) CREATE INDEX "index_posts_on_category_id" ON "posts" ("category_id")  (0.2ms) DROP TABLE IF EXISTS "wobauth_authorities"  (17.3ms) CREATE TABLE "wobauth_authorities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "authorizable_id" integer, "authorizable_type" varchar, "role_id" integer, "authorized_for_id" integer, "authorized_for_type" varchar, "valid_from" date, "valid_until" date, "created_at" datetime, "updated_at" datetime)  (18.6ms) CREATE INDEX "index_wobauth_authorities_on_authorizable_id" ON "wobauth_authorities" ("authorizable_id")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'   (16.2ms) CREATE INDEX "index_wobauth_authorities_on_authorized_for_id" ON "wobauth_authorities" ("authorized_for_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_authorities_on_authorized_for_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_authorities_on_authorized_for_id' AND type='index'   (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'   (15.6ms) CREATE INDEX "index_wobauth_authorities_on_role_id" ON "wobauth_authorities" ("role_id")  (0.3ms) DROP TABLE IF EXISTS "wobauth_groups"  (17.0ms) CREATE TABLE "wobauth_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "description" varchar, "created_at" datetime, "updated_at" datetime)  (0.2ms) DROP TABLE IF EXISTS "wobauth_memberships"  (16.3ms) CREATE TABLE "wobauth_memberships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer, "auto" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)  (17.5ms) CREATE INDEX "index_wobauth_memberships_on_group_id" ON "wobauth_memberships" ("group_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_memberships_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_memberships_on_group_id' AND type='index'   (16.2ms) CREATE INDEX "index_wobauth_memberships_on_user_id" ON "wobauth_memberships" ("user_id")  (0.2ms) DROP TABLE IF EXISTS "wobauth_roles"  (17.5ms) CREATE TABLE "wobauth_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime)  (0.2ms) DROP TABLE IF EXISTS "wobauth_users"  (14.2ms) CREATE TABLE "wobauth_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar DEFAULT '' NOT NULL, "gruppen" text, "sn" varchar, "givenname" varchar, "displayname" varchar, "telephone" varchar, "active_directory_guid" varchar, "userprincipalname" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "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, "last_sign_in_ip" varchar, "created_at" datetime, "updated_at" datetime)  (16.8ms) CREATE UNIQUE INDEX "index_wobauth_users_on_reset_password_token" ON "wobauth_users" ("reset_password_token")  (0.0ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_users_on_reset_password_token' AND type='index'   (20.3ms) CREATE UNIQUE INDEX "index_wobauth_users_on_username" ON "wobauth_users" ("username")  (13.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (10.0ms) INSERT INTO "schema_migrations" (version) VALUES (20140511101309)  (9.7ms) INSERT INTO "schema_migrations" (version) VALUES (20140511101304);   (10.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-07-13 09:31:40.314266"], ["updated_at", "2018-07-13 09:31:40.314266"]]  (11.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to CreateWobauthRoles (20140501113226)  (0.0ms) begin transaction  (0.0ms) SELECT sqlite_version(*)  (0.1ms) CREATE TABLE "wobauth_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) rollback transaction  (0.0ms) SELECT sqlite_version(*)  (19.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (16.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to CreateWobauthRoles (20140501113226)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "wobauth_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140501113226"]]  (11.3ms) commit transaction Migrating to CreateWobauthGroups (20140501150743)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "wobauth_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "description" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140501150743"]]  (15.2ms) commit transaction Migrating to CreateWobauthMemberships (20140504124045)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "wobauth_memberships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer, "auto" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_wobauth_memberships_on_user_id" ON "wobauth_memberships" ("user_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_memberships_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_memberships_on_user_id' AND type='index'   (0.1ms) CREATE INDEX "index_wobauth_memberships_on_group_id" ON "wobauth_memberships" ("group_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140504124045"]]  (14.6ms) commit transaction Migrating to CreateWobauthAuthorities (20140504143328)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "wobauth_authorities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "authorizable_id" integer, "authorizable_type" varchar, "role_id" integer, "authorized_for_id" integer, "authorized_for_type" varchar, "valid_from" date, "valid_until" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_wobauth_authorities_on_authorizable_id" ON "wobauth_authorities" ("authorizable_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'   (0.2ms) CREATE INDEX "index_wobauth_authorities_on_role_id" ON "wobauth_authorities" ("role_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_authorities_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_authorities_on_role_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'   (0.1ms) CREATE INDEX "index_wobauth_authorities_on_authorized_for_id" ON "wobauth_authorities" ("authorized_for_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140504143328"]]  (11.5ms) commit transaction Migrating to DeviseCreateWobauthUsers (20140508120810)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "wobauth_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar DEFAULT '' NOT NULL, "gruppen" text, "sn" varchar, "givenname" varchar, "displayname" varchar, "telephone" varchar, "active_directory_guid" varchar, "userprincipalname" varchar, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "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, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE UNIQUE INDEX "index_wobauth_users_on_username" ON "wobauth_users" ("username")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_users_on_username' AND type='index'   (0.2ms) CREATE UNIQUE INDEX "index_wobauth_users_on_reset_password_token" ON "wobauth_users" ("reset_password_token") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508120810"]]  (16.3ms) commit transaction Migrating to CreatePosts (20140511101304)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to CreatePosts (20140511101304)  (0.0ms) begin transaction  (0.0ms) SELECT sqlite_version(*)  (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar, "message" text, "category_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_posts_on_category_id" ON "posts" ("category_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140511101304"]]  (12.9ms) commit transaction Migrating to CreateCategories (20140511101309)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to CreateCategories (20140511101309)  (0.0ms) begin transaction  (0.0ms) SELECT sqlite_version(*)  (0.1ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140511101309"]]  (12.7ms) commit transaction ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-07-13 09:34:44.163558"], ["updated_at", "2018-07-13 09:34:44.163558"]]  (10.1ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_posts_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_posts_on_category_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_authorities_on_authorized_for_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_authorities_on_authorized_for_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_authorities_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_authorities_on_role_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_memberships_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_memberships_on_group_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_memberships_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_memberships_on_user_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_users_on_reset_password_token' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_wobauth_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_wobauth_users_on_username' AND type='index'   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.0ms) begin transaction ------------------------------------------------------------------------------------------------- Wobauth::UserTest: test_: Wobauth::User should require case sensitive unique value for username. ------------------------------------------------------------------------------------------------- Wobauth::User Load (0.3ms) SELECT "wobauth_users".* FROM "wobauth_users" ORDER BY "wobauth_users"."id" ASC LIMIT ? [["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "wobauth_users" ("username", "created_at", "updated_at") VALUES (?, ?, ?) [["username", "a"], ["created_at", "2018-07-13 09:36:42.311655"], ["updated_at", "2018-07-13 09:36:42.311655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "a"], ["LIMIT", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------- Wobauth::UserTest: test_: Wobauth::User should require username to be set. --------------------------------------------------------------------------- Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" IS NULL LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------- Wobauth::UserTest: test_: Wobauth::User should have many groups through memberships. -------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------- Wobauth::UserTest: test_: Wobauth::User should have many authorities. ----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------- Wobauth::UserTest: test_: Wobauth::User should simple factory working. -----------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user1"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_users" ("username", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["username", "user1"], ["email", "user1000@example.net"], ["encrypted_password", "$2a$04$CLMeq.1/x77uTlaqRSWd.uXM7IXFIDAWdwQWWvI0rdWizjfR98Wwa"], ["created_at", "2018-07-13 09:36:42.332301"], ["updated_at", "2018-07-13 09:36:42.332301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::User Exists (0.0ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user2"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_users" ("username", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["username", "user2"], ["email", "user1001@example.net"], ["encrypted_password", "$2a$04$dMBIZK.qukRj4mjOd5p.eu3X.juCNzUM8ge47TV2Q0v0AIDY/V9x6"], ["created_at", "2018-07-13 09:36:42.334439"], ["updated_at", "2018-07-13 09:36:42.334439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Wobauth::User Exists (0.0ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? AND ("wobauth_users"."id" != ?) LIMIT ? [["username", "user2"], ["id", 2], ["LIMIT", 1]] Wobauth::User Exists (0.0ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? AND ("wobauth_users"."id" != ?) LIMIT ? [["username", "user1"], ["id", 1], ["LIMIT", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------- Wobauth::UserTest: test_: Wobauth::User should allow email to be set to "". ---------------------------------------------------------------------------- Wobauth::User Exists (0.0ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", ""], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------------------- Wobauth::UserTest: test_: Wobauth::User should have many group_roles through groups source => roles. -----------------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------- Wobauth::UserTest: test_: Wobauth::User should have many memberships. ----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------ Wobauth::UserTest: test_: Wobauth::User should have many roles through authorities. ------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------- InstallGeneratorTest: test_Assert_all_files_are_properly_created ----------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------ InstallGeneratorTest: test_Initializer_is_copied ------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "wobauth_users" Fixture Insert (0.1ms) INSERT INTO "wobauth_users" ("email", "username", "encrypted_password", "created_at", "updated_at", "id") VALUES ('one@example.org', 'one', '$2a$04$w3pLzPX0OXSVJ53W7AAiTuV6579Nq0LSEIV7DzYD5fO5K2AqzNakW', '2018-07-13 09:36:42.346129', '2018-07-13 09:36:42.346129', 980190962) Fixture Insert (0.0ms) INSERT INTO "wobauth_users" ("email", "username", "encrypted_password", "created_at", "updated_at", "id") VALUES ('two@example.org', 'two', '$2a$04$ncFqLg35CAaYQ8hrjW4QguD4ZMiidKLuNm6TVu8lays1Phg.QZuGi', '2018-07-13 09:36:42.346129', '2018-07-13 09:36:42.346129', 298486374) Fixture Insert (0.0ms) INSERT INTO "wobauth_users" ("email", "username", "encrypted_password", "created_at", "updated_at", "id") VALUES ('root@example.org', 'admin', '$2a$04$SU9FeGIiIZQeJ4Vn95dVOuCAsZJ9I52KSbEN5sIsfSCcCzqn2m.sq', '2018-07-13 09:36:42.346129', '2018-07-13 09:36:42.346129', 135138680) Fixture Insert (0.0ms) INSERT INTO "wobauth_users" ("email", "username", "encrypted_password", "created_at", "updated_at", "id") VALUES ('dummy@example.org', 'dummy', '$2a$04$M6MkEeQQS4KDV5hnT8yR7uMq5THmGGD4qIViqsmq2SaITLp3JmAwm', '2018-07-13 09:36:42.346129', '2018-07-13 09:36:42.346129', 267711040) Fixture Delete (0.0ms) DELETE FROM "wobauth_roles" Fixture Insert (0.0ms) INSERT INTO "wobauth_roles" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2018-07-13 09:36:42.347283', '2018-07-13 09:36:42.347283', 980190962) Fixture Insert (0.0ms) INSERT INTO "wobauth_roles" ("name", "created_at", "updated_at", "id") VALUES ('MyString', '2018-07-13 09:36:42.347283', '2018-07-13 09:36:42.347283', 298486374) Fixture Insert (0.0ms) INSERT INTO "wobauth_roles" ("name", "created_at", "updated_at", "id") VALUES ('Admin', '2018-07-13 09:36:42.347283', '2018-07-13 09:36:42.347283', 135138680)  (10.4ms) commit transaction  (0.0ms) PRAGMA foreign_keys = 1  (0.0ms) begin transaction ------------------------------------------------------------------- Wobauth::UsersControllerTest: test_should_show_assigned_memberships ------------------------------------------------------------------- Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:42.371105"], ["updated_at", "2018-07-13 09:36:42.371105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::Group Exists (0.1ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "Vereinsmeierei"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Vereinsmeierei"], ["created_at", "2018-07-13 09:36:42.375635"], ["updated_at", "2018-07-13 09:36:42.375635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_memberships" ("user_id", "group_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 980190962], ["group_id", 1], ["created_at", "2018-07-13 09:36:42.379793"], ["updated_at", "2018-07-13 09:36:42.379793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::UsersController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 980190962], ["authorizable_type", "Wobauth::User"]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_roles.html.erb (1.3ms) Wobauth::Membership Load (0.1ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."user_id" = ? [["user_id", 980190962]] Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_groups.html.erb (5.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application (9.8ms) Rendered shared/_navi.html.erb (2.1ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (1.0ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (1.1ms) Completed 200 OK in 686ms (Views: 673.0ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------- Wobauth::UsersControllerTest: test_should_get_edit -------------------------------------------------- Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.071179"], ["updated_at", "2018-07-13 09:36:43.071179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::UsersController#edit as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/edit.html.erb within layouts/application Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_form.html.erb (20.0ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/edit.html.erb within layouts/application (20.6ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 25ms (Views: 22.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------- Wobauth::UsersControllerTest: test_should_show_user_authorities --------------------------------------------------------------- Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.100020"], ["updated_at", "2018-07-13 09:36:43.100020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::Role Exists (0.1ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? LIMIT ? [["name", "Testrole"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_roles" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Testrole"], ["created_at", "2018-07-13 09:36:43.101563"], ["updated_at", "2018-07-13 09:36:43.101563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 980190962], ["authorizable_type", "Wobauth::User"], ["role_id", 980190963], ["created_at", "2018-07-13 09:36:43.102551"], ["updated_at", "2018-07-13 09:36:43.102551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::UsersController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 980190962], ["authorizable_type", "Wobauth::User"]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190963], ["LIMIT", 1]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_roles.html.erb (1.8ms) Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."user_id" = ? [["user_id", 980190962]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_groups.html.erb (0.5ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application (3.8ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------- Wobauth::UsersControllerTest: test_should_get_index --------------------------------------------------- Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.114613"], ["updated_at", "2018-07-13 09:36:43.114613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::UsersController#index as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/index.html.erb within layouts/application Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/index.html.erb within layouts/application (3.0ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------- Wobauth::UsersControllerTest: test_should_create_user ----------------------------------------------------- Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.124879"], ["updated_at", "2018-07-13 09:36:43.124879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "wobauth_users" Processing by Wobauth::UsersController#create as HTML Parameters: {"user"=>{"displayname"=>"Meier Müller", "email"=>"tester@example.org", "givenname"=>"Müller", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "sn"=>"Meier", "telephone"=>"0123 456789", "username"=>"tester"}} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]]  (0.0ms) SAVEPOINT active_record_1 Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "tester"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_users" ("username", "sn", "givenname", "displayname", "telephone", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["username", "tester"], ["sn", "Meier"], ["givenname", "Müller"], ["displayname", "Meier Müller"], ["telephone", "0123 456789"], ["email", "tester@example.org"], ["encrypted_password", "$2a$04$0VZhpB5B2mAdM8MWdPIF8OTPtBclpn2tLDoQXKOabM3JuhZ9JfeJ2"], ["created_at", "2018-07-13 09:36:43.133711"], ["updated_at", "2018-07-13 09:36:43.133711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/auth/users/980190963 Completed 302 Found in 8ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "wobauth_users"  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------- Wobauth::UsersControllerTest: test_should_show_user --------------------------------------------------- Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.139276"], ["updated_at", "2018-07-13 09:36:43.139276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::UsersController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::User Load (4.3ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 980190962], ["authorizable_type", "Wobauth::User"]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_roles.html.erb (0.5ms) Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."user_id" = ? [["user_id", 980190962]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_groups.html.erb (0.4ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application (2.3ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 11ms (Views: 4.2ms | ActiveRecord: 4.5ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------- Wobauth::UsersControllerTest: test_should_update_user ----------------------------------------------------- Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.153633"], ["updated_at", "2018-07-13 09:36:43.153633"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::UsersController#update as HTML Parameters: {"user"=>{"displayname"=>"", "email"=>"one@example.org", "givenname"=>"", "gruppen"=>"", "sn"=>"", "telephone"=>"", "username"=>"one"}, "id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? AND ("wobauth_users"."id" != ?) LIMIT ? [["username", "one"], ["id", 980190962], ["LIMIT", 1]] SQL (0.1ms) UPDATE "wobauth_users" SET "gruppen" = ?, "sn" = ?, "givenname" = ?, "displayname" = ?, "telephone" = ?, "updated_at" = ? WHERE "wobauth_users"."id" = ? [["gruppen", ""], ["sn", ""], ["givenname", ""], ["displayname", ""], ["telephone", ""], ["updated_at", "2018-07-13 09:36:43.157878"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/auth/users/980190962 Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------- Wobauth::UsersControllerTest: test_should_get_all_translations_in_index ----------------------------------------------------------------------- Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.162625"], ["updated_at", "2018-07-13 09:36:43.162625"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::UsersController#index as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/index.html.erb within layouts/application Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/index.html.erb within layouts/application (2.4ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.5ms) Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------- Wobauth::UsersControllerTest: test_should_get_new ------------------------------------------------- Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.172512"], ["updated_at", "2018-07-13 09:36:43.172512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::UsersController#new as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/new.html.erb within layouts/application Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_form.html.erb (4.5ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/new.html.erb within layouts/application (4.9ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------ Wobauth::UsersControllerTest: test_should_destroy_user ------------------------------------------------------ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.184527"], ["updated_at", "2018-07-13 09:36:43.184527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "wobauth_users" Processing by Wobauth::UsersController#destroy as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 980190962], ["authorizable_type", "Wobauth::User"]] Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."user_id" = ? [["user_id", 980190962]] SQL (0.1ms) DELETE FROM "wobauth_users" WHERE "wobauth_users"."id" = ? [["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/auth/users Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "wobauth_users"  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------- Wobauth::UsersControllerTest: test_should_get_all_translations_in_show ---------------------------------------------------------------------- Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.192980"], ["updated_at", "2018-07-13 09:36:43.192980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::UsersController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 980190962], ["authorizable_type", "Wobauth::User"]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_roles.html.erb (0.5ms) Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."user_id" = ? [["user_id", 980190962]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_groups.html.erb (0.4ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application (2.4ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- Wobauth::FixturesTest: test_user_fixtures ----------------------------------------- Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------- WobauthTest: test_truth -----------------------  (0.0ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "wobauth_groups" Fixture Insert (0.1ms) INSERT INTO "wobauth_groups" ("name", "description", "created_at", "updated_at", "id") VALUES ('admin', 'MyString', '2018-07-13 09:36:43.203572', '2018-07-13 09:36:43.203572', 980190962) Fixture Insert (0.0ms) INSERT INTO "wobauth_groups" ("name", "description", "created_at", "updated_at", "id") VALUES ('user', 'MyString', '2018-07-13 09:36:43.203572', '2018-07-13 09:36:43.203572', 298486374)  (13.2ms) commit transaction  (0.1ms) PRAGMA foreign_keys = 1  (0.0ms) begin transaction ----------------------------------------------------------------------- Wobauth::GroupsControllerTest: test_should_get_edit_with_specific_title ----------------------------------------------------------------------- Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.220676"], ["updated_at", "2018-07-13 09:36:43.220676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::GroupsController#edit as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/edit.html.erb within layouts/application Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_form.html.erb (2.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/edit.html.erb within layouts/application (2.9ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------- Wobauth::GroupsControllerTest: test_should_show_group ----------------------------------------------------- Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.232819"], ["updated_at", "2018-07-13 09:36:43.232819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::GroupsController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 980190962], ["authorizable_type", "Wobauth::Group"]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_roles.html.erb (1.2ms) Wobauth::Membership Load (0.1ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."group_id" = ? [["group_id", 980190962]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_memberships.html.erb (1.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application (4.7ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------- Wobauth::GroupsControllerTest: test_should_get_index ---------------------------------------------------- Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.245273"], ["updated_at", "2018-07-13 09:36:43.245273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::GroupsController#index as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/index.html.erb within layouts/application Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/index.html.erb within layouts/application (2.2ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------- Wobauth::GroupsControllerTest: test_should_show_group_authorities ----------------------------------------------------------------- Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.254830"], ["updated_at", "2018-07-13 09:36:43.254830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::Role Exists (0.1ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? LIMIT ? [["name", "Testrole"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_roles" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Testrole"], ["created_at", "2018-07-13 09:36:43.256135"], ["updated_at", "2018-07-13 09:36:43.256135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 980190962], ["authorizable_type", "Wobauth::Group"], ["role_id", 980190963], ["created_at", "2018-07-13 09:36:43.257044"], ["updated_at", "2018-07-13 09:36:43.257044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::GroupsController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 980190962], ["authorizable_type", "Wobauth::Group"]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190963], ["LIMIT", 1]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_roles.html.erb (1.4ms) Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."group_id" = ? [["group_id", 980190962]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_memberships.html.erb (0.4ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application (2.9ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------ Wobauth::GroupsControllerTest: test_should_get_all_translations_in_index ------------------------------------------------------------------------ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.268171"], ["updated_at", "2018-07-13 09:36:43.268171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::GroupsController#index as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/index.html.erb within layouts/application Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/index.html.erb within layouts/application (1.6ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (4.0ms) Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------- Wobauth::GroupsControllerTest: test_should_get_edit --------------------------------------------------- Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.280983"], ["updated_at", "2018-07-13 09:36:43.280983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::GroupsController#edit as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/edit.html.erb within layouts/application Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_form.html.erb (1.6ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/edit.html.erb within layouts/application (1.7ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.5ms) Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------- Wobauth::GroupsControllerTest: test_should_destroy_group -------------------------------------------------------- Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.289768"], ["updated_at", "2018-07-13 09:36:43.289768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "wobauth_groups" Processing by Wobauth::GroupsController#destroy as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? [["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/auth/groups Completed 302 Found in 4ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "wobauth_groups"  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------- Wobauth::GroupsControllerTest: test_should_create_group ------------------------------------------------------- Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.296946"], ["updated_at", "2018-07-13 09:36:43.296946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "wobauth_groups" Processing by Wobauth::GroupsController#create as HTML Parameters: {"group"=>{"description"=>"text", "name"=>"myadmin"}} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]]  (0.0ms) SAVEPOINT active_record_1 Wobauth::Group Exists (0.0ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "myadmin"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_groups" ("name", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "myadmin"], ["description", "text"], ["created_at", "2018-07-13 09:36:43.300647"], ["updated_at", "2018-07-13 09:36:43.300647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/auth/groups/980190963 Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "wobauth_groups"  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------- Wobauth::GroupsControllerTest: test_should_get_new -------------------------------------------------- Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.304415"], ["updated_at", "2018-07-13 09:36:43.304415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::GroupsController#new as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/new.html.erb within layouts/application Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_form.html.erb (1.7ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/new.html.erb within layouts/application (2.1ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------- Wobauth::GroupsControllerTest: test_should_show_assigned_memberships -------------------------------------------------------------------- Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.313995"], ["updated_at", "2018-07-13 09:36:43.313995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user3"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_users" ("username", "sn", "givenname", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["username", "user3"], ["sn", "Berlin"], ["givenname", "Mike"], ["email", "user1002@example.net"], ["encrypted_password", "$2a$04$TNLC.j2dHaqO2RpOQJ4.jeoSg2YwUBi4I65v1MphMNTOjFFHye.gK"], ["created_at", "2018-07-13 09:36:43.316388"], ["updated_at", "2018-07-13 09:36:43.316388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_memberships" ("user_id", "group_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 980190963], ["group_id", 980190962], ["created_at", "2018-07-13 09:36:43.317429"], ["updated_at", "2018-07-13 09:36:43.317429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::GroupsController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 980190962], ["authorizable_type", "Wobauth::Group"]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_roles.html.erb (0.5ms) Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."group_id" = ? [["group_id", 980190962]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190963], ["LIMIT", 1]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_memberships.html.erb (1.5ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application (3.1ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------- Wobauth::GroupsControllerTest: test_should_get_all_translations_in_show ----------------------------------------------------------------------- Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.328542"], ["updated_at", "2018-07-13 09:36:43.328542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::GroupsController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 980190962], ["authorizable_type", "Wobauth::Group"]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_roles.html.erb (0.5ms) Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."group_id" = ? [["group_id", 980190962]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_memberships.html.erb (0.4ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application (2.0ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------- Wobauth::GroupsControllerTest: test_should_get_new_with_specific_title ---------------------------------------------------------------------- Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.338492"], ["updated_at", "2018-07-13 09:36:43.338492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::GroupsController#new as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/new.html.erb within layouts/application Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_form.html.erb (1.6ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/new.html.erb within layouts/application (1.7ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------- Wobauth::GroupsControllerTest: test_should_not_create_group_with_duplicate_name ------------------------------------------------------------------------------- Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.347816"], ["updated_at", "2018-07-13 09:36:43.347816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "wobauth_groups" Processing by Wobauth::GroupsController#create as HTML Parameters: {"group"=>{"description"=>"text", "name"=>"admin"}} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]]  (0.0ms) SAVEPOINT active_record_1 Wobauth::Group Exists (0.1ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/new.html.erb within layouts/application Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_form.html.erb (1.6ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/new.html.erb within layouts/application (1.7ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "wobauth_groups"  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------- Wobauth::GroupsControllerTest: test_should_update_group ------------------------------------------------------- Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.358264"], ["updated_at", "2018-07-13 09:36:43.358264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::GroupsController#update as HTML Parameters: {"group"=>{"description"=>"MyString", "name"=>"admin"}, "id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 Wobauth::Group Exists (0.1ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? AND ("wobauth_groups"."id" != ?) LIMIT ? [["name", "admin"], ["id", 980190962], ["LIMIT", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/auth/groups/980190962 Completed 302 Found in 4ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------------------------------------------------- Wobauth::TranslationTest: test_: Wobauth::Translation should translate Role for model and controller actions. --------------------------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------- Wobauth::RolesControllerTest: test_should_get_all_translations_in_show ---------------------------------------------------------------------- Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.367881"], ["updated_at", "2018-07-13 09:36:43.367881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::RolesController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/show.html.erb within layouts/application Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."role_id" = ? AND ((valid_until >= '2018-07-13' OR valid_until is NULL) AND (valid_from <= '2018-07-13' OR valid_from is NULL)) [["role_id", 980190962]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/_role_authorities.html.erb (1.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/show.html.erb within layouts/application (2.6ms) Rendered shared/_navi.html.erb (0.4ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------- Wobauth::RolesControllerTest: test_should_get_all_translations_in_index ----------------------------------------------------------------------- Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.379826"], ["updated_at", "2018-07-13 09:36:43.379826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::RolesController#index as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/index.html.erb within layouts/application Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/index.html.erb within layouts/application (1.4ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------- Wobauth::RolesControllerTest: test_should_get_index --------------------------------------------------- Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.389280"], ["updated_at", "2018-07-13 09:36:43.389280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::RolesController#index as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/index.html.erb within layouts/application Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/index.html.erb within layouts/application (1.0ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------- Wobauth::RolesControllerTest: test_should_show_assigned_authorities ------------------------------------------------------------------- Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.400955"], ["updated_at", "2018-07-13 09:36:43.400955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user4"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_users" ("username", "sn", "givenname", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["username", "user4"], ["sn", "Quark"], ["givenname", "Guenter"], ["email", "user1003@example.net"], ["encrypted_password", "$2a$04$zwuV5FZE8gbb4lmRLqI6..fmpXv3k/aN3BP.Ca1lQIWeXQA6Qd9NS"], ["created_at", "2018-07-13 09:36:43.403464"], ["updated_at", "2018-07-13 09:36:43.403464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 980190963], ["authorizable_type", "Wobauth::User"], ["role_id", 980190962], ["created_at", "2018-07-13 09:36:43.404564"], ["updated_at", "2018-07-13 09:36:43.404564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::RolesController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/show.html.erb within layouts/application Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."role_id" = ? AND ((valid_until >= '2018-07-13' OR valid_until is NULL) AND (valid_from <= '2018-07-13' OR valid_from is NULL)) [["role_id", 980190962]] Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190963], ["LIMIT", 1]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/_role_authorities.html.erb (1.8ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/show.html.erb within layouts/application (2.1ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------- Wobauth::RolesControllerTest: test_should_show_role --------------------------------------------------- Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.414683"], ["updated_at", "2018-07-13 09:36:43.414683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::RolesController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/show.html.erb within layouts/application Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."role_id" = ? AND ((valid_until >= '2018-07-13' OR valid_until is NULL) AND (valid_from <= '2018-07-13' OR valid_from is NULL)) [["role_id", 980190962]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/_role_authorities.html.erb (0.7ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/show.html.erb within layouts/application (1.0ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------- Wobauth::RoleTest: test_: Wobauth::Role should simple factory working. -----------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 Wobauth::Role Exists (0.1ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? LIMIT ? [["name", "name_1"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_roles" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name_1"], ["created_at", "2018-07-13 09:36:43.422342"], ["updated_at", "2018-07-13 09:36:43.422342"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::Role Exists (0.0ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? LIMIT ? [["name", "name_2"], ["LIMIT", 1]] SQL (0.0ms) INSERT INTO "wobauth_roles" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name_2"], ["created_at", "2018-07-13 09:36:43.423402"], ["updated_at", "2018-07-13 09:36:43.423402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Wobauth::Role Exists (0.0ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? AND ("wobauth_roles"."id" != ?) LIMIT ? [["name", "name_2"], ["id", 980190964], ["LIMIT", 1]] Wobauth::Role Exists (0.0ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? AND ("wobauth_roles"."id" != ?) LIMIT ? [["name", "name_1"], ["id", 980190963], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------------------------- Wobauth::RoleTest: test_: Wobauth::Role should have many users through authorities source => authorizable. -----------------------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------- Wobauth::RoleTest: test_: Wobauth::Role should have many authorities. ----------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------- Wobauth::RoleTest: test_: Wobauth::Role should require name to be set. ----------------------------------------------------------------------- Wobauth::Role Exists (0.1ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" IS NULL LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------------- Wobauth::RoleTest: test_: Wobauth::Role should require case sensitive unique value for name. --------------------------------------------------------------------------------------------- Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" ORDER BY "wobauth_roles"."id" ASC LIMIT ? [["LIMIT", 1]] Wobauth::Role Exists (0.0ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? LIMIT ? [["name", "Admin"], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------------------------ Wobauth::RoleTest: test_: Wobauth::Role should have many groups through authorities source => authorizable. ------------------------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "wobauth_authorities" Fixture Insert (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "authorized_for_id", "authorized_for_type", "valid_from", "valid_until", "created_at", "updated_at", "id") VALUES (1, 'Wobauth::User', 2, NULL, NULL, '2014-05-04', '2014-05-04', '2018-07-13 09:36:43.430930', '2018-07-13 09:36:43.430930', 980190962) Fixture Insert (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "authorized_for_id", "authorized_for_type", "valid_from", "valid_until", "created_at", "updated_at", "id") VALUES (7, 'Wobauth::User', 2, NULL, NULL, '2014-05-04', '2014-05-04', '2018-07-13 09:36:43.430930', '2018-07-13 09:36:43.430930', 298486374)  (12.0ms) commit transaction  (0.1ms) PRAGMA foreign_keys = 1  (0.0ms) begin transaction ----------------------------------------------------------------------------- Wobauth::AuthoritiesControllerTest: test_should_get_new_with_preselected_user ----------------------------------------------------------------------------- Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.447122"], ["updated_at", "2018-07-13 09:36:43.447122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::User Exists (0.0ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user5"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_users" ("username", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["username", "user5"], ["email", "user1004@example.net"], ["encrypted_password", "$2a$04$iuJm/xaSaa4XmwkZpkb9YeJmv1pY/eB.LaA0CNqrPZwQ3hP/p/8ku"], ["created_at", "2018-07-13 09:36:43.449539"], ["updated_at", "2018-07-13 09:36:43.449539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::AuthoritiesController#new as HTML Parameters: {"user_id"=>"980190963"} Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/new.html.erb within layouts/application Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190963], ["LIMIT", 1]] Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.0ms) SELECT "categories".* FROM "categories" Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/_form.html.erb (10.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/new.html.erb within layouts/application (10.8ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 16ms (Views: 13.2ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------- Wobauth::AuthoritiesControllerTest: test_should_get_edit -------------------------------------------------------- Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.470515"], ["updated_at", "2018-07-13 09:36:43.470515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::AuthoritiesController#edit as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/edit.html.erb within layouts/application Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" Category Load (0.0ms) SELECT "categories".* FROM "categories" Category Load (0.0ms) SELECT "categories".* FROM "categories" Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/_form.html.erb (7.5ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/edit.html.erb within layouts/application (7.9ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.7ms) Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------- Wobauth::AuthoritiesControllerTest: test_should_destroy_authority ----------------------------------------------------------------- Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.486375"], ["updated_at", "2018-07-13 09:36:43.486375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "wobauth_authorities" Processing by Wobauth::AuthoritiesController#destroy as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? [["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/auth/authorities Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "wobauth_authorities"  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- Wobauth::AuthoritiesControllerTest: test_should_get_all_translations_in_index ----------------------------------------------------------------------------- Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.493648"], ["updated_at", "2018-07-13 09:36:43.493648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::AuthoritiesController#index as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/index.html.erb within layouts/application Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/index.html.erb within layouts/application (5.3ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------ Wobauth::AuthoritiesControllerTest: test_should_get_new_with_preselected_group ------------------------------------------------------------------------------ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.506928"], ["updated_at", "2018-07-13 09:36:43.506928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::Group Exists (0.1ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "name_1"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name_1"], ["created_at", "2018-07-13 09:36:43.508263"], ["updated_at", "2018-07-13 09:36:43.508263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::AuthoritiesController#new as HTML Parameters: {"group_id"=>"980190963"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/new.html.erb within layouts/application Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190963], ["LIMIT", 1]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" Category Load (0.0ms) SELECT "categories".* FROM "categories" Category Load (0.0ms) SELECT "categories".* FROM "categories" Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/_form.html.erb (7.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/new.html.erb within layouts/application (7.4ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------- Wobauth::AuthoritiesControllerTest: test_should_create_authority ---------------------------------------------------------------- Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.524125"], ["updated_at", "2018-07-13 09:36:43.524125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "wobauth_authorities" Processing by Wobauth::AuthoritiesController#create as HTML Parameters: {"authority"=>{"authorizable_id"=>"1", "authorizable_type"=>"Wobauth::User", "authorized_for_id"=>"", "authorized_for_type"=>"", "role_id"=>"2", "valid_from"=>"2014-05-04", "valid_until"=>"2014-05-04"}} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "authorized_for_type", "valid_from", "valid_until", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["authorizable_id", 1], ["authorizable_type", "Wobauth::User"], ["role_id", 2], ["authorized_for_type", ""], ["valid_from", "2014-05-04"], ["valid_until", "2014-05-04"], ["created_at", "2018-07-13 09:36:43.531878"], ["updated_at", "2018-07-13 09:36:43.531878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/auth/authorities/980190964 Completed 302 Found in 8ms (ActiveRecord: 0.3ms)  (0.0ms) SELECT COUNT(*) FROM "wobauth_authorities"  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------- Wobauth::AuthoritiesControllerTest: test_should_get_all_translations_in_show ---------------------------------------------------------------------------- Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.535944"], ["updated_at", "2018-07-13 09:36:43.535944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::AuthoritiesController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/show.html.erb within layouts/application Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/show.html.erb within layouts/application (2.0ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------- Wobauth::AuthoritiesControllerTest: test_should_get_new ------------------------------------------------------- Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.546038"], ["updated_at", "2018-07-13 09:36:43.546038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::AuthoritiesController#new as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/new.html.erb within layouts/application Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" Category Load (0.0ms) SELECT "categories".* FROM "categories" Category Load (0.0ms) SELECT "categories".* FROM "categories" Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/_form.html.erb (6.7ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/new.html.erb within layouts/application (6.8ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------- Wobauth::AuthoritiesControllerTest: test_should_show_authority -------------------------------------------------------------- Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.559867"], ["updated_at", "2018-07-13 09:36:43.559867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::AuthoritiesController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/show.html.erb within layouts/application Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/show.html.erb within layouts/application (1.5ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------- Wobauth::AuthoritiesControllerTest: test_should_update_authority ---------------------------------------------------------------- Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.568614"], ["updated_at", "2018-07-13 09:36:43.568614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::AuthoritiesController#update as HTML Parameters: {"authority"=>{"authorizable_id"=>"1", "authorizable_type"=>"Wobauth::User", "authorized_for_id"=>"", "authorized_for_type"=>"", "role_id"=>"2", "valid_from"=>"2014-05-04", "valid_until"=>"2014-05-04"}, "id"=>"980190962"} Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) UPDATE "wobauth_authorities" SET "authorized_for_type" = ?, "updated_at" = ? WHERE "wobauth_authorities"."id" = ? [["authorized_for_type", ""], ["updated_at", "2018-07-13 09:36:43.572243"], ["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/auth/authorities/980190962 Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------- Wobauth::AuthoritiesControllerTest: test_should_get_index --------------------------------------------------------- Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.576066"], ["updated_at", "2018-07-13 09:36:43.576066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::AuthoritiesController#index as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/index.html.erb within layouts/application Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/index.html.erb within layouts/application (4.5ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------- Wobauth::AuthorityTest: test_: Wobauth::Authority should belong to authorized_for. -----------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- Wobauth::AuthorityTest: test_: Wobauth::Authority should belong to role. -------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------------------------------- Wobauth::AuthorityTest: test_: Wobauth::Authority should require authorizable_id to be set. --------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- Wobauth::AuthorityTest: test_: Wobauth::Authority should simple factory working. ---------------------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user6"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_users" ("username", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["username", "user6"], ["email", "user1005@example.net"], ["encrypted_password", "$2a$04$An3VKlT4FAojncXHu8fVxeoQBzgcnaY3ndoEr89fodYcB3XxzG4vS"], ["created_at", "2018-07-13 09:36:43.590488"], ["updated_at", "2018-07-13 09:36:43.590488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::Role Exists (0.1ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? LIMIT ? [["name", "name_3"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_roles" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name_3"], ["created_at", "2018-07-13 09:36:43.591882"], ["updated_at", "2018-07-13 09:36:43.591882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 980190963], ["authorizable_type", "Wobauth::User"], ["role_id", 980190963], ["created_at", "2018-07-13 09:36:43.592674"], ["updated_at", "2018-07-13 09:36:43.592674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::User Exists (0.0ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user7"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_users" ("username", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["username", "user7"], ["email", "user1006@example.net"], ["encrypted_password", "$2a$04$mPHb9R23q3phm1kUao34o.3Zec2W/0LQ6HYm6HYa5aEVOUPQW/efu"], ["created_at", "2018-07-13 09:36:43.594916"], ["updated_at", "2018-07-13 09:36:43.594916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::Role Exists (0.0ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? LIMIT ? [["name", "name_4"], ["LIMIT", 1]] SQL (0.0ms) INSERT INTO "wobauth_roles" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name_4"], ["created_at", "2018-07-13 09:36:43.596095"], ["updated_at", "2018-07-13 09:36:43.596095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 980190964], ["authorizable_type", "Wobauth::User"], ["role_id", 980190964], ["created_at", "2018-07-13 09:36:43.596795"], ["updated_at", "2018-07-13 09:36:43.596795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------- Wobauth::AuthorityTest: test_: Wobauth::Authority should belong to authorizable. ---------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------------------------- Wobauth::AuthorityTest: test_: Wobauth::Authority should require authorizable_type to be set. ----------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------ Wobauth::AuthorityTest: test_: Wobauth::Authority should require role_id to be set. ------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------------------------- Wobauth::MembershipTest: test_: Wobauth::Membership should require user_id to be set. --------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------- Wobauth::MembershipTest: test_: Wobauth::Membership should simple factory working. -----------------------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user8"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_users" ("username", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["username", "user8"], ["email", "user1007@example.net"], ["encrypted_password", "$2a$04$YYf/Tz8aidFI.PfHL9OeM.5lP76CAkzN8UAenFT7krH4C4qzYVVpW"], ["created_at", "2018-07-13 09:36:43.605794"], ["updated_at", "2018-07-13 09:36:43.605794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::Group Exists (0.0ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "name_2"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name_2"], ["created_at", "2018-07-13 09:36:43.607088"], ["updated_at", "2018-07-13 09:36:43.607088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_memberships" ("user_id", "group_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 980190963], ["group_id", 980190963], ["created_at", "2018-07-13 09:36:43.607813"], ["updated_at", "2018-07-13 09:36:43.607813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::User Exists (0.0ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user9"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_users" ("username", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["username", "user9"], ["email", "user1008@example.net"], ["encrypted_password", "$2a$04$DZTFtByMaDLZQH63st8Cv.v1qgNF3ZzqclkX07OIRQag5/hytlMWK"], ["created_at", "2018-07-13 09:36:43.609891"], ["updated_at", "2018-07-13 09:36:43.609891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::Group Exists (0.0ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "name_3"], ["LIMIT", 1]] SQL (0.0ms) INSERT INTO "wobauth_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name_3"], ["created_at", "2018-07-13 09:36:43.611044"], ["updated_at", "2018-07-13 09:36:43.611044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_memberships" ("user_id", "group_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 980190964], ["group_id", 980190964], ["created_at", "2018-07-13 09:36:43.611791"], ["updated_at", "2018-07-13 09:36:43.611791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- Wobauth::MembershipTest: test_: Wobauth::Membership should require group_id to be set. ---------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------- Wobauth::MembershipTest: test_: Wobauth::Membership should belong to group. ----------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------------------------------------- Wobauth::MembershipTest: test_: Wobauth::Membership should belong to user class_name => Wobauth::User. -------------------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------------------------- Wobauth::GroupTest: test_: Wobauth::Group should have many roles through authorities. --------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------ Wobauth::GroupTest: test_: Wobauth::Group should have many authorities. ------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- Wobauth::GroupTest: test_: Wobauth::Group should simple factory working. -------------------------------------------------------------------------  (0.0ms) SAVEPOINT active_record_1 Wobauth::Group Exists (0.1ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "name_4"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name_4"], ["created_at", "2018-07-13 09:36:43.617526"], ["updated_at", "2018-07-13 09:36:43.617526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::Group Exists (0.0ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "name_5"], ["LIMIT", 1]] SQL (0.0ms) INSERT INTO "wobauth_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name_5"], ["created_at", "2018-07-13 09:36:43.618583"], ["updated_at", "2018-07-13 09:36:43.618583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Wobauth::Group Exists (0.0ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? AND ("wobauth_groups"."id" != ?) LIMIT ? [["name", "name_5"], ["id", 980190964], ["LIMIT", 1]] Wobauth::Group Exists (0.0ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? AND ("wobauth_groups"."id" != ?) LIMIT ? [["name", "name_4"], ["id", 980190963], ["LIMIT", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------------- Wobauth::GroupTest: test_: Wobauth::Group should require case sensitive unique value for name. ----------------------------------------------------------------------------------------------- Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" ORDER BY "wobauth_groups"."id" ASC LIMIT ? [["LIMIT", 1]] Wobauth::Group Exists (0.0ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "user"], ["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------ Wobauth::GroupTest: test_: Wobauth::Group should have many memberships. ------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------------------------- Wobauth::GroupTest: test_: Wobauth::Group should have many users through memberships source => user. -----------------------------------------------------------------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- Wobauth::GroupTest: test_: Wobauth::Group should require name to be set. ------------------------------------------------------------------------- Wobauth::Group Exists (0.1ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" IS NULL LIMIT ? [["LIMIT", 1]]  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------- NavigationTest: test_: Navigation should show home page. --------------------------------------------------------- Started GET "/home" for 127.0.0.1 at 2018-07-13 11:36:43 +0200 Processing by HomeController#index as HTML Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.2ms) Rendered shared/_navi.html.erb (2.5ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) PRAGMA foreign_keys  (0.0ms) PRAGMA foreign_keys = OFF  (0.0ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "wobauth_memberships" Fixture Insert (0.1ms) INSERT INTO "wobauth_memberships" ("user_id", "group_id", "auto", "created_at", "updated_at", "id") VALUES (11, 12, 'f', '2018-07-13 09:36:43.707564', '2018-07-13 09:36:43.707564', 980190962) Fixture Insert (0.0ms) INSERT INTO "wobauth_memberships" ("user_id", "group_id", "auto", "created_at", "updated_at", "id") VALUES (21, 22, 'f', '2018-07-13 09:36:43.707564', '2018-07-13 09:36:43.707564', 298486374)  (10.4ms) commit transaction  (0.0ms) PRAGMA foreign_keys = 1  (0.0ms) begin transaction ------------------------------------------------------------------ Wobauth::MembershipsControllerTest: test_should_destroy_membership ------------------------------------------------------------------ Wobauth::Membership Load (0.1ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.724502"], ["updated_at", "2018-07-13 09:36:43.724502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "wobauth_memberships" Processing by Wobauth::MembershipsController#destroy as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Membership Load (0.1ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? [["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/auth/memberships Completed 302 Found in 9ms (ActiveRecord: 0.4ms)  (0.0ms) SELECT COUNT(*) FROM "wobauth_memberships"  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------------------------------------------- Wobauth::MembershipsControllerTest: test_should_get_all_translations_in_show ---------------------------------------------------------------------------- Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.739176"], ["updated_at", "2018-07-13 09:36:43.739176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::MembershipsController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/show.html.erb within layouts/application Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]] Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/show.html.erb within layouts/application (2.6ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (1.0ms) Completed 200 OK in 10ms (Views: 6.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------- Wobauth::MembershipsControllerTest: test_get_new_should_preselected_group ------------------------------------------------------------------------- Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.753470"], ["updated_at", "2018-07-13 09:36:43.753470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::Group Exists (0.1ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "name_6"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name_6"], ["created_at", "2018-07-13 09:36:43.755515"], ["updated_at", "2018-07-13 09:36:43.755515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::MembershipsController#new as HTML Parameters: {"group_id"=>"980190963"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/new.html.erb within layouts/application Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/_form.html.erb (4.8ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/new.html.erb within layouts/application (5.7ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.9ms) Completed 200 OK in 12ms (Views: 9.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------------------------ Wobauth::MembershipsControllerTest: test_get_new_should_preselected_user ------------------------------------------------------------------------ Wobauth::Membership Load (0.1ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.4ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.772934"], ["updated_at", "2018-07-13 09:36:43.772934"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user10"], ["LIMIT", 1]] SQL (0.1ms) INSERT INTO "wobauth_users" ("username", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["username", "user10"], ["email", "user1009@example.net"], ["encrypted_password", "$2a$04$QD2HkQ1Ra.CohZBqrkUIguLa7fxuBlnJ8LCDXYgTsISiy6XIzETGG"], ["created_at", "2018-07-13 09:36:43.775819"], ["updated_at", "2018-07-13 09:36:43.775819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::MembershipsController#new as HTML Parameters: {"user_id"=>"980190963"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/new.html.erb within layouts/application Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/_form.html.erb (4.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/new.html.erb within layouts/application (4.4ms) Rendered shared/_navi.html.erb (0.7ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (8.4ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.7ms) Completed 200 OK in 19ms (Views: 15.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------- Wobauth::MembershipsControllerTest: test_should_get_all_translations_in_index ----------------------------------------------------------------------------- Wobauth::Membership Load (0.1ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.800043"], ["updated_at", "2018-07-13 09:36:43.800043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::MembershipsController#index as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/index.html.erb within layouts/application Wobauth::Membership Load (0.1ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 22], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]] Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/index.html.erb within layouts/application (3.7ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------- Wobauth::MembershipsControllerTest: test_should_create_membership ----------------------------------------------------------------- Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.812502"], ["updated_at", "2018-07-13 09:36:43.812502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "wobauth_memberships" Processing by Wobauth::MembershipsController#create as HTML Parameters: {"membership"=>{"auto"=>"false", "group_id"=>"12", "user_id"=>"11"}} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Unpermitted parameter: :auto Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Unpermitted parameter: :auto  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_memberships" ("user_id", "group_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 11], ["group_id", 12], ["created_at", "2018-07-13 09:36:43.816260"], ["updated_at", "2018-07-13 09:36:43.816260"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/auth/memberships/980190963 Completed 302 Found in 4ms (ActiveRecord: 0.2ms)  (0.0ms) SELECT COUNT(*) FROM "wobauth_memberships"  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------- Wobauth::MembershipsControllerTest: test_should_update_membership ----------------------------------------------------------------- Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.820225"], ["updated_at", "2018-07-13 09:36:43.820225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::MembershipsController#update as HTML Parameters: {"membership"=>{"auto"=>"false", "group_id"=>"12", "user_id"=>"11"}, "id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Unpermitted parameter: :auto  (0.0ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/auth/memberships/980190962 Completed 302 Found in 4ms (ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------------------- Wobauth::MembershipsControllerTest: test_should_get_new ------------------------------------------------------- Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.827514"], ["updated_at", "2018-07-13 09:36:43.827514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::MembershipsController#new as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/new.html.erb within layouts/application Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/_form.html.erb (2.4ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/new.html.erb within layouts/application (2.5ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms) Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------- Wobauth::MembershipsControllerTest: test_should_get_edit -------------------------------------------------------- Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.836918"], ["updated_at", "2018-07-13 09:36:43.836918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::MembershipsController#edit as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/edit.html.erb within layouts/application Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/_form.html.erb (2.4ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/edit.html.erb within layouts/application (2.7ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.5ms) Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------- Wobauth::MembershipsControllerTest: test_should_show_membership --------------------------------------------------------------- Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.847004"], ["updated_at", "2018-07-13 09:36:43.847004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::MembershipsController#show as HTML Parameters: {"id"=>"980190962"} Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/show.html.erb within layouts/application Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/show.html.erb within layouts/application (1.3ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.5ms) Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------- Wobauth::MembershipsControllerTest: test_should_get_index --------------------------------------------------------- Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "wobauth_authorities" ("authorizable_id", "authorizable_type", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"], ["role_id", 135138680], ["created_at", "2018-07-13 09:36:43.855324"], ["updated_at", "2018-07-13 09:36:43.855324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Processing by Wobauth::MembershipsController#index as HTML Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/index.html.erb within layouts/application Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 22], ["LIMIT", 1]] Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]] Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/index.html.erb within layouts/application (2.9ms) Rendered shared/_navi.html.erb (0.3ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.5ms) Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction -------------------------------------------------------------------------------- HomeControllerTest: test_: HomeController should show logout link if logged in. -------------------------------------------------------------------------------- Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 267711040], ["LIMIT", 1]] Processing by HomeController#index as HTML Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.0ms) Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 267711040], ["LIMIT", 1]] Rendered shared/_navi.html.erb (0.7ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 267711040], ["authorizable_type", "Wobauth::User"]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.7ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------------------------------------------------------------- HomeControllerTest: test_: HomeController should should get all translations in index. --------------------------------------------------------------------------------------- Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]] Processing by HomeController#index as HTML Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.0ms) Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? ORDER BY "wobauth_users"."id" ASC LIMIT ? [["id", 135138680], ["LIMIT", 1]] Rendered shared/_navi.html.erb (0.6ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" INNER JOIN "wobauth_authorities" ON "wobauth_roles"."id" = "wobauth_authorities"."role_id" WHERE "wobauth_authorities"."authorizable_id" = ? AND "wobauth_authorities"."authorizable_type" = ? [["authorizable_id", 135138680], ["authorizable_type", "Wobauth::User"]] Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.7ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------------------------------------------- HomeControllerTest: test_: HomeController should show login link if not logged in. ----------------------------------------------------------------------------------- Processing by HomeController#index as HTML Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.0ms) Rendered shared/_navi.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms) Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.0ms) Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction