wobauth 3.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +165 -0
  3. data/Rakefile +30 -0
  4. data/app/assets/javascripts/wobauth/admin.js +13 -0
  5. data/app/assets/javascripts/wobauth/authorities.js.coffee +31 -0
  6. data/app/assets/javascripts/wobauth/groups.js +2 -0
  7. data/app/assets/javascripts/wobauth/memberships.js +2 -0
  8. data/app/assets/javascripts/wobauth/roles.js +2 -0
  9. data/app/assets/stylesheets/wobauth/application.css +15 -0
  10. data/app/assets/stylesheets/wobauth/authorities.css +4 -0
  11. data/app/assets/stylesheets/wobauth/groups.css +4 -0
  12. data/app/assets/stylesheets/wobauth/memberships.css +4 -0
  13. data/app/assets/stylesheets/wobauth/roles.css +4 -0
  14. data/app/controllers/wobauth/ad_users_controller.rb +24 -0
  15. data/app/controllers/wobauth/application_controller.rb +25 -0
  16. data/app/controllers/wobauth/authorities_controller.rb +88 -0
  17. data/app/controllers/wobauth/groups/authorities_controller.rb +11 -0
  18. data/app/controllers/wobauth/groups/memberships_controller.rb +11 -0
  19. data/app/controllers/wobauth/groups_controller.rb +60 -0
  20. data/app/controllers/wobauth/login_controller.rb +10 -0
  21. data/app/controllers/wobauth/memberships_controller.rb +79 -0
  22. data/app/controllers/wobauth/registrations_controller.rb +26 -0
  23. data/app/controllers/wobauth/roles_controller.rb +30 -0
  24. data/app/controllers/wobauth/users/authorities_controller.rb +11 -0
  25. data/app/controllers/wobauth/users/memberships_controller.rb +11 -0
  26. data/app/controllers/wobauth/users_controller.rb +76 -0
  27. data/app/helpers/wobauth/ad_users_helper.rb +60 -0
  28. data/app/helpers/wobauth/application_helper.rb +53 -0
  29. data/app/helpers/wobauth/authorities_helper.rb +9 -0
  30. data/app/models/wobauth/ad_user.rb +4 -0
  31. data/app/models/wobauth/admin_ability.rb +67 -0
  32. data/app/models/wobauth/authority.rb +17 -0
  33. data/app/models/wobauth/group.rb +18 -0
  34. data/app/models/wobauth/membership.rb +11 -0
  35. data/app/models/wobauth/role.rb +19 -0
  36. data/app/models/wobauth/user.rb +11 -0
  37. data/app/services/wobauth/search_ad_user_service.rb +53 -0
  38. data/app/views/devise/registrations/edit.html.erb +25 -0
  39. data/app/views/devise/sessions/new.html.erb +17 -0
  40. data/app/views/devise/shared/_links.html.erb +0 -0
  41. data/app/views/wobauth/ad_users/index.html.erb +69 -0
  42. data/app/views/wobauth/authorities/_form.html.erb +32 -0
  43. data/app/views/wobauth/authorities/edit.html.erb +1 -0
  44. data/app/views/wobauth/authorities/index.html.erb +41 -0
  45. data/app/views/wobauth/authorities/new.html.erb +1 -0
  46. data/app/views/wobauth/authorities/show.html.erb +45 -0
  47. data/app/views/wobauth/groups/_form.html.erb +20 -0
  48. data/app/views/wobauth/groups/_group_memberships.html.erb +21 -0
  49. data/app/views/wobauth/groups/_group_roles.html.erb +23 -0
  50. data/app/views/wobauth/groups/edit.html.erb +1 -0
  51. data/app/views/wobauth/groups/index.html.erb +31 -0
  52. data/app/views/wobauth/groups/new.html.erb +1 -0
  53. data/app/views/wobauth/groups/show.html.erb +45 -0
  54. data/app/views/wobauth/memberships/_form.html.erb +20 -0
  55. data/app/views/wobauth/memberships/edit.html.erb +1 -0
  56. data/app/views/wobauth/memberships/index.html.erb +33 -0
  57. data/app/views/wobauth/memberships/new.html.erb +1 -0
  58. data/app/views/wobauth/memberships/show.html.erb +28 -0
  59. data/app/views/wobauth/roles/_role_authorities.html.erb +21 -0
  60. data/app/views/wobauth/roles/index.html.erb +26 -0
  61. data/app/views/wobauth/roles/show.html.erb +18 -0
  62. data/app/views/wobauth/shared/_accounting.html.erb +25 -0
  63. data/app/views/wobauth/shared/_admin.html.erb +13 -0
  64. data/app/views/wobauth/users/_form.html.erb +28 -0
  65. data/app/views/wobauth/users/_user_groups.html.erb +22 -0
  66. data/app/views/wobauth/users/_user_roles.html.erb +23 -0
  67. data/app/views/wobauth/users/edit.html.erb +1 -0
  68. data/app/views/wobauth/users/index.html.erb +52 -0
  69. data/app/views/wobauth/users/new.html.erb +1 -0
  70. data/app/views/wobauth/users/show.html.erb +130 -0
  71. data/config/initializers/assets.rb +1 -0
  72. data/config/initializers/devise.rb +260 -0
  73. data/config/initializers/devise_failure_app.rb +21 -0
  74. data/config/initializers/simple_form.rb +169 -0
  75. data/config/initializers/simple_form_bootstrap.rb +154 -0
  76. data/config/initializers/wobapphelpers.rb +18 -0
  77. data/config/locales/de.yml +80 -0
  78. data/config/locales/devise.de.yml +60 -0
  79. data/config/locales/devise.en.yml +59 -0
  80. data/config/locales/en.yml +27 -0
  81. data/config/locales/simple_form.en.yml +31 -0
  82. data/config/locales/wobapphelpers.de.yml +10 -0
  83. data/config/locales/wobapphelpers.en.yml +8 -0
  84. data/config/routes.rb +24 -0
  85. data/db/migrate/20140501113226_create_wobauth_roles.rb +9 -0
  86. data/db/migrate/20140501150743_create_wobauth_groups.rb +10 -0
  87. data/db/migrate/20140504124045_create_wobauth_memberships.rb +11 -0
  88. data/db/migrate/20140504143328_create_wobauth_authorities.rb +15 -0
  89. data/db/migrate/20140508120810_devise_create_wobauth_users.rb +55 -0
  90. data/db/migrate/20171231084355_additional_fields_to_wobauth_user.rb +8 -0
  91. data/lib/concerns/models/user.rb +44 -0
  92. data/lib/generators/templates/initializers/wobauth.rb +20 -0
  93. data/lib/generators/wobauth/install_generator.rb +20 -0
  94. data/lib/tasks/wobauth_tasks.rake +4 -0
  95. data/lib/templates/erb/scaffold/_form.html.erb +26 -0
  96. data/lib/templates/erb/scaffold/edit.html.erb +1 -0
  97. data/lib/templates/erb/scaffold/index.html.erb +32 -0
  98. data/lib/templates/erb/scaffold/new.html.erb +1 -0
  99. data/lib/templates/erb/scaffold/show.html.erb +15 -0
  100. data/lib/templates/rails/scaffold_controller/controller.rb +66 -0
  101. data/lib/wobauth/engine.rb +33 -0
  102. data/lib/wobauth/version.rb +4 -0
  103. data/lib/wobauth.rb +57 -0
  104. data/test/dummy/db/test.sqlite3 +0 -0
  105. data/test/dummy/db/test1.sqlite3 +0 -0
  106. data/test/dummy/log/test.log +1954 -0
  107. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-6/-6x3utBDawbjV5d477TJ9PeEoQTk9Yh292Yg_8Ox16U.cache +1 -0
  108. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-A/-A9u9WxFQ9YT2TSLvmYJYJf2Kg9JfDoIt6YZQRcwUHE.cache +0 -0
  109. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-C/-CJCPQLf_lB4gJr983MP5sZdH3uZuYPIe-xSw4QBln4.cache +1 -0
  110. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-K/-K6Cz6iJ4bgvnwN-rMFxBtyYEU6EGdLH9b4N38_GwIs.cache +1 -0
  111. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-x/-xwsVQHMHEQFqvVNjKKkEiujw9_CUgnJ2Hmzampfy60.cache +1 -0
  112. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2J/2JNdqFTZ9i8DAT1rZCc-Xj70u9zcQtlJoqEK68sRPVM.cache +0 -0
  113. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4N/4NSPDtUmuTVU5uLI-eBtnORjzrwVgeLgrgIJh4tjWeQ.cache +1 -0
  114. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4u/4uuqiFX5bLo0J5QqMPSZc642NRkdX4l-Vguvyq6Oe3U.cache +1 -0
  115. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5O/5Oqd8RObzOeHuHy3NTiGE5p_ZkpftjQQgJgS_3KKdH0.cache +1 -0
  116. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6U/6UZEqCkIx3XO_NjOjjWyLET2-dS4Gs_RPAB9NtA99-A.cache +0 -0
  117. data/test/dummy/tmp/cache/assets/sprockets/v3.0/76/767sF803BgrHtDgUPUUn-HN41e6fklZIQkVKyKD59P4.cache +1 -0
  118. data/test/dummy/tmp/cache/assets/sprockets/v3.0/77/77ZyE9pECDHt-19ik7nBaJXJQT-7V2UDr49kFOIO1DM.cache +1 -0
  119. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7n/7nJvPEaj-WV6RCKHc3hpHsAbWek8cidSKvDKLedQpH4.cache +3 -0
  120. data/test/dummy/tmp/cache/assets/sprockets/v3.0/85/856_llbCcD4ntIG6h4uR2WQY9SrutzA-9K6xT53ZPTY.cache +0 -0
  121. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9A/9A6WX6bvqMDoyDrYrGQy2l6nf_JtHoQZsa-pEJ0FgDU.cache +0 -0
  122. data/test/dummy/tmp/cache/assets/sprockets/v3.0/BA/BABtX6k2NZISYrxZSviAXC8UIxZfRhEDDbx7dMf_ShQ.cache +1 -0
  123. data/test/dummy/tmp/cache/assets/sprockets/v3.0/D4/D4_Vl_wB6Vq8O0LvQ9iHt-YqG_c0fUR4af06OZlk10k.cache +3 -0
  124. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DX/DXGc2xprS_TuG5PzNCaBHKBMWTlyrZZYA9jlvlcBn3M.cache +1 -0
  125. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ex/ExDgDLUsesHZC1FAxhQLmTyBpg6IW4gVCUB8U8Ov-X4.cache +1 -0
  126. data/test/dummy/tmp/cache/assets/sprockets/v3.0/F8/F8M6mPdg93dPiXZzHGo3Y0I42et4yc5Hr-eCfuOUeac.cache +1 -0
  127. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Hk/Hkx4xbJvgHfFgfNDKyHxertTGvARWOgVuNuGU-OWPEU.cache +0 -0
  128. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Jo/Jom6Wnb-Sd-d3W24hNHS58BHtuw5Dsm7vvWVPtLB0PA.cache +0 -0
  129. data/test/dummy/tmp/cache/assets/sprockets/v3.0/K5/K5UnItDV1g9ixIoFloUxCNirxL5UFrOT0jz1vKy5shc.cache +31 -0
  130. data/test/dummy/tmp/cache/assets/sprockets/v3.0/K6/K6geC8zADOljHu2R2-DHUgVrgGyij9e4dnxgIdEypMU.cache +2 -0
  131. data/test/dummy/tmp/cache/assets/sprockets/v3.0/KW/KWpcGMHEfc0mpysCx46leXLgyrzubUIXWouB91Ia5Ik.cache +1 -0
  132. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LD/LD1fywEt5YfgacZhvpug0VXFakWRb1jidort_y8Fl00.cache +3 -0
  133. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LT/LTqeGcgCnDytohL1bGvcUZdnrp6gImr9Gzgfj6sYtW4.cache +1 -0
  134. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LX/LXirLCvjN2zWwKoda0ZdfOoFufIGRC9bZFKo95Kxs2w.cache +3 -0
  135. data/test/dummy/tmp/cache/assets/sprockets/v3.0/MH/MH3Sbn3D_A-k2L9Qd_MSjC2d6zv52DnzX3REO1P8n-E.cache +1 -0
  136. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Nm/NmUDbY8fbYAMYUH3HOmHzTLkeJaf-49yXUpF5TXGnYM.cache +3 -0
  137. data/test/dummy/tmp/cache/assets/sprockets/v3.0/O1/O1xVVUGePb-AZZi4nfbefQqZJEuQKvVAnHbbksdys0g.cache +0 -0
  138. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Og/Og28UaPh4fHs8CazZFMRRClJKMdtcZ6TLkcrwXO9888.cache +0 -0
  139. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Py/Py0iDud1Fnb6eLZHFV1BlJ1PKkeJS5bSVb8DL5Lyoyo.cache +2 -0
  140. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qs/QscUYhnZ_Tw9H1UICqO4jqvLwSznyhEMlkTJRFR63Qk.cache +0 -0
  141. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rx/RxBkonRxRoJzfP-2eiuZPIg4Wy1eaNd6MQ6N0QTzLbw.cache +1 -0
  142. data/test/dummy/tmp/cache/assets/sprockets/v3.0/S_/S_VAM9XIEPYa1eIrH2MGCvwgC6UuKNU3IsOsXYCbRfE.cache +1 -0
  143. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TK/TK13HHucosr5_ne6uScM6nK6naCAYu11S4GxXyvGEA4.cache +1 -0
  144. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TP/TPYDffricRYUN-8EoF99EbRAm5m9QVJ4NsV4JQHUaTU.cache +2 -0
  145. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TQ/TQZclZQajgRAt0UPyDLa5SDHOXXd7nrs_Aw1guZ1EDE.cache +0 -0
  146. data/test/dummy/tmp/cache/assets/sprockets/v3.0/U-/U-j-KeDrdeyrmflpuJSSH3aH_tGth_0zwnjl9eaecCU.cache +0 -0
  147. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ui/Ui_ImrdWE848w92udaqCheUJypT-7QIicGTDDcF94ZY.cache +2 -0
  148. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Vy/VyeoEaFiHk-BFfUz0QQyO1ywWUjhhvXaWjOhrueWuz4.cache +1 -0
  149. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WC/WCZBAZL9AYx33c-WzmPLL8ZaSkyPBwQEpJSzDMruSTA.cache +0 -0
  150. data/test/dummy/tmp/cache/assets/sprockets/v3.0/XG/XG-1Cxql9XcU0QzVsKfaImD2F-_fbQakmCOO1PZeiO8.cache +1 -0
  151. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Y-/Y-mfMOkq6o7o6NIVKY5m1HzoQPj6deRrSVoSnePwWDg.cache +0 -0
  152. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Z5/Z56duv_o-wQlnyich8DqrY8VfI5mRampXLuyzcCQSes.cache +0 -0
  153. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_X/_XFCt_G6l_CeYOky6Ky04YbAJMGmZ1S55wnsXuzjbFQ.cache +3 -0
  154. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_c/_cAbQgu5_t6QaopeTV6bHpVH6nABdZSHUD3dtw3TFvI.cache +1 -0
  155. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aU/aUB5QePK5Y_57d0ISu6VcHykCHzl47ej-nXJSzHo7mM.cache +0 -0
  156. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ao/ao7sMvRzih2MlCNwwQnYbm-FUNM2rl1wlruiVgH8VbE.cache +0 -0
  157. data/test/dummy/tmp/cache/assets/sprockets/v3.0/b8/b8sc4SHWqZyiR9LoszM7AwU7Z9RStRdUzs5Cm4b1xi4.cache +1 -0
  158. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dG/dGu-1JGz62Geuns1TpCaYbAwvwLKjSjDp_VhKV3nWOw.cache +3 -0
  159. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dH/dHU4yPNGwU72V1rymqid8RLS4ole8B-9UGSJG-QyDsQ.cache +3 -0
  160. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ei/eiJS8jxPa_CT4ECt01iVkhPzc9QQShE__hFgFUVMqhc.cache +1 -0
  161. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hq/hqAVf5Mc94swL5QKxbwrtNQ1F6-4shrOpiZMk60yjMM.cache +0 -0
  162. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hz/hzzNh1KGk98zydo_p20ZW15iDYFoCsUZuYdK99A54Mo.cache +1 -0
  163. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ip/ip5FbXNQpdaOzVbU6_r90bYcY8R47qbE2_C79IUdlvQ.cache +1 -0
  164. data/test/dummy/tmp/cache/assets/sprockets/v3.0/je/je9xQVOnasRNd1k49Q5KJdmxQscPKO-8qeVDMmmsVrI.cache +1 -0
  165. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jt/jtOzRwEskymBEhztMwmAwvXzROImYepCy7Zb25fxexQ.cache +2 -0
  166. data/test/dummy/tmp/cache/assets/sprockets/v3.0/m3/m3BDc8KCgIUXE0VeZ142byDvlbYuOEBpNW_2ucKyb3M.cache +0 -0
  167. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mf/mfkdFcsUrRviUKGZkElnxw6dCyhyArAFbAVNuqQKcsE.cache +1 -0
  168. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mx/mxQkXyjT__7etUOHa4WpbGL4YguqInaF8rQXNK4c6JU.cache +1 -0
  169. data/test/dummy/tmp/cache/assets/sprockets/v3.0/o4/o4yHfopv-ZxcXaMdi1_2O0CkBEWWQEd0wR0tEwKJ8s8.cache +0 -0
  170. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oF/oFjp7US8e9Cu4GOLqlO_vPIaX9jYwqrYbCFq6mgaYWE.cache +1 -0
  171. data/test/dummy/tmp/cache/assets/sprockets/v3.0/op/opKuUcXieH4Q4hch708zXOG2Rud2bhIilb38wKiOdjA.cache +1 -0
  172. data/test/dummy/tmp/cache/assets/sprockets/v3.0/p4/p4U2tbFHGXaOchAVtbEfIHRvWKO2i-0nsq_4vtGNABU.cache +2 -0
  173. data/test/dummy/tmp/cache/assets/sprockets/v3.0/s4/s4jckxw_fz9fwDYqkrZPCsD7cCATrXbD5R7ducBhtoU.cache +0 -0
  174. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uP/uPXk7u0shmDjGGOhtU06VSo7E81DYc2t9OGhQUvxEA0.cache +1 -0
  175. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vS/vSQW3iohJ14LLnwWgoHFeHB-I3yIzLi9tLoZkUaE81M.cache +0 -0
  176. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vu/vuRt78a_J3dg7DUMHX1Nx9DYLME15Z1NjQ-4V8BoNCU.cache +1 -0
  177. data/test/dummy/tmp/cache/assets/sprockets/v3.0/w6/w6Gz48zxIouRBGOu5VmTHWsL9r0M4LKp124UOJ3mZN0.cache +1 -0
  178. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wj/wjsRbpDa20LzSzj66UKcgy3Wif53rLBEoeuyKIKz4pk.cache +3 -0
  179. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wo/wo1g4ZKtmQmol-3MoVPFApwd5fnGEA23tCRCLuEw3D0.cache +1 -0
  180. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xG/xGQ1RojQn3N9C51pkj4Flt274TjVuszRi1Puir0p6dE.cache +0 -0
  181. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xN/xNqJDUb7i6VSD0HU-EV3dcNYRoz2d48cGwn1CBqLvVU.cache +1 -0
  182. data/test/dummy/tmp/cache/assets/sprockets/v3.0/y1/y1pwuOg2qdJFc_DgDEw6OIyr6GbmGpwV-p7X2sS64sU.cache +0 -0
  183. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zO/zOWzdA_n0s0vjbJ6IGB8gj1-mbqzbCywIQCMLr71qDE.cache +1 -0
  184. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zV/zVdKofyDUgEZzwP0GQ8q4RxOoxo-qoGazLMre0zxw9c.cache +0 -0
  185. data/test/tmp/config/initializers/wobauth.rb +15 -0
  186. data/test/tmp/config/locales/wobauth.de.yml +42 -0
  187. data/test/tmp/config/locales/wobauth.en.yml +27 -0
  188. metadata +636 -0
@@ -0,0 +1,1954 @@
1
+  (0.1ms) DROP TABLE IF EXISTS "categories"
2
+  (0.1ms) SELECT sqlite_version(*)
3
+  (12.3ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime)
4
+  (0.1ms) DROP TABLE IF EXISTS "posts"
5
+  (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)
6
+  (17.7ms) CREATE INDEX "index_posts_on_category_id" ON "posts" ("category_id")
7
+  (0.2ms) DROP TABLE IF EXISTS "wobauth_authorities"
8
+  (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)
9
+  (18.6ms) CREATE INDEX "index_wobauth_authorities_on_authorizable_id" ON "wobauth_authorities" ("authorizable_id")
10
+  (0.3ms)  SELECT sql
11
+ FROM sqlite_master
12
+ WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'
13
+ UNION ALL
14
+ SELECT sql
15
+ FROM sqlite_temp_master
16
+ WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'
17
+ 
18
+  (16.2ms) CREATE INDEX "index_wobauth_authorities_on_authorized_for_id" ON "wobauth_authorities" ("authorized_for_id")
19
+  (0.2ms)  SELECT sql
20
+ FROM sqlite_master
21
+ WHERE name='index_wobauth_authorities_on_authorized_for_id' AND type='index'
22
+ UNION ALL
23
+ SELECT sql
24
+ FROM sqlite_temp_master
25
+ WHERE name='index_wobauth_authorities_on_authorized_for_id' AND type='index'
26
+ 
27
+  (0.2ms)  SELECT sql
28
+ FROM sqlite_master
29
+ WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'
30
+ UNION ALL
31
+ SELECT sql
32
+ FROM sqlite_temp_master
33
+ WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'
34
+ 
35
+  (15.6ms) CREATE INDEX "index_wobauth_authorities_on_role_id" ON "wobauth_authorities" ("role_id")
36
+  (0.3ms) DROP TABLE IF EXISTS "wobauth_groups"
37
+  (17.0ms) CREATE TABLE "wobauth_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "description" varchar, "created_at" datetime, "updated_at" datetime)
38
+  (0.2ms) DROP TABLE IF EXISTS "wobauth_memberships"
39
+  (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)
40
+  (17.5ms) CREATE INDEX "index_wobauth_memberships_on_group_id" ON "wobauth_memberships" ("group_id")
41
+  (0.2ms)  SELECT sql
42
+ FROM sqlite_master
43
+ WHERE name='index_wobauth_memberships_on_group_id' AND type='index'
44
+ UNION ALL
45
+ SELECT sql
46
+ FROM sqlite_temp_master
47
+ WHERE name='index_wobauth_memberships_on_group_id' AND type='index'
48
+ 
49
+  (16.2ms) CREATE INDEX "index_wobauth_memberships_on_user_id" ON "wobauth_memberships" ("user_id")
50
+  (0.2ms) DROP TABLE IF EXISTS "wobauth_roles"
51
+  (17.5ms) CREATE TABLE "wobauth_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime)
52
+  (0.2ms) DROP TABLE IF EXISTS "wobauth_users"
53
+  (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)
54
+  (16.8ms) CREATE UNIQUE INDEX "index_wobauth_users_on_reset_password_token" ON "wobauth_users" ("reset_password_token")
55
+  (0.0ms)  SELECT sql
56
+ FROM sqlite_master
57
+ WHERE name='index_wobauth_users_on_reset_password_token' AND type='index'
58
+ UNION ALL
59
+ SELECT sql
60
+ FROM sqlite_temp_master
61
+ WHERE name='index_wobauth_users_on_reset_password_token' AND type='index'
62
+ 
63
+  (20.3ms) CREATE UNIQUE INDEX "index_wobauth_users_on_username" ON "wobauth_users" ("username")
64
+  (13.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
65
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
66
+  (10.0ms) INSERT INTO "schema_migrations" (version) VALUES (20140511101309)
67
+  (9.7ms) INSERT INTO "schema_migrations" (version) VALUES
68
+ (20140511101304);
69
+
70
+ 
71
+  (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)
72
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
73
+  (0.0ms) begin transaction
74
+ 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"]]
75
+  (11.9ms) commit transaction
76
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
77
+  (0.0ms) begin transaction
78
+  (0.0ms) commit transaction
79
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
80
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
81
+ Migrating to CreateWobauthRoles (20140501113226)
82
+  (0.0ms) begin transaction
83
+  (0.0ms) SELECT sqlite_version(*)
84
+  (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)
85
+  (0.0ms) rollback transaction
86
+  (0.0ms) SELECT sqlite_version(*)
87
+  (19.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
88
+  (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)
89
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
90
+ Migrating to CreateWobauthRoles (20140501113226)
91
+  (0.1ms) begin transaction
92
+  (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)
93
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140501113226"]]
94
+  (11.3ms) commit transaction
95
+ Migrating to CreateWobauthGroups (20140501150743)
96
+  (0.1ms) begin transaction
97
+  (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)
98
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140501150743"]]
99
+  (15.2ms) commit transaction
100
+ Migrating to CreateWobauthMemberships (20140504124045)
101
+  (0.1ms) begin transaction
102
+  (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)
103
+  (0.1ms) CREATE INDEX "index_wobauth_memberships_on_user_id" ON "wobauth_memberships" ("user_id")
104
+  (0.1ms)  SELECT sql
105
+ FROM sqlite_master
106
+ WHERE name='index_wobauth_memberships_on_user_id' AND type='index'
107
+ UNION ALL
108
+ SELECT sql
109
+ FROM sqlite_temp_master
110
+ WHERE name='index_wobauth_memberships_on_user_id' AND type='index'
111
+ 
112
+  (0.1ms) CREATE INDEX "index_wobauth_memberships_on_group_id" ON "wobauth_memberships" ("group_id")
113
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140504124045"]]
114
+  (14.6ms) commit transaction
115
+ Migrating to CreateWobauthAuthorities (20140504143328)
116
+  (0.1ms) begin transaction
117
+  (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)
118
+  (0.1ms) CREATE INDEX "index_wobauth_authorities_on_authorizable_id" ON "wobauth_authorities" ("authorizable_id")
119
+  (0.1ms)  SELECT sql
120
+ FROM sqlite_master
121
+ WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'
122
+ UNION ALL
123
+ SELECT sql
124
+ FROM sqlite_temp_master
125
+ WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'
126
+ 
127
+  (0.2ms) CREATE INDEX "index_wobauth_authorities_on_role_id" ON "wobauth_authorities" ("role_id")
128
+  (0.1ms)  SELECT sql
129
+ FROM sqlite_master
130
+ WHERE name='index_wobauth_authorities_on_role_id' AND type='index'
131
+ UNION ALL
132
+ SELECT sql
133
+ FROM sqlite_temp_master
134
+ WHERE name='index_wobauth_authorities_on_role_id' AND type='index'
135
+ 
136
+  (0.1ms)  SELECT sql
137
+ FROM sqlite_master
138
+ WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'
139
+ UNION ALL
140
+ SELECT sql
141
+ FROM sqlite_temp_master
142
+ WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'
143
+ 
144
+  (0.1ms) CREATE INDEX "index_wobauth_authorities_on_authorized_for_id" ON "wobauth_authorities" ("authorized_for_id")
145
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140504143328"]]
146
+  (11.5ms) commit transaction
147
+ Migrating to DeviseCreateWobauthUsers (20140508120810)
148
+  (0.1ms) begin transaction
149
+  (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)
150
+  (0.2ms) CREATE UNIQUE INDEX "index_wobauth_users_on_username" ON "wobauth_users" ("username")
151
+  (0.1ms)  SELECT sql
152
+ FROM sqlite_master
153
+ WHERE name='index_wobauth_users_on_username' AND type='index'
154
+ UNION ALL
155
+ SELECT sql
156
+ FROM sqlite_temp_master
157
+ WHERE name='index_wobauth_users_on_username' AND type='index'
158
+ 
159
+  (0.2ms) CREATE UNIQUE INDEX "index_wobauth_users_on_reset_password_token" ON "wobauth_users" ("reset_password_token")
160
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508120810"]]
161
+  (16.3ms) commit transaction
162
+ Migrating to CreatePosts (20140511101304)
163
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
164
+ Migrating to CreatePosts (20140511101304)
165
+  (0.0ms) begin transaction
166
+  (0.0ms) SELECT sqlite_version(*)
167
+  (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)
168
+  (0.1ms) CREATE INDEX "index_posts_on_category_id" ON "posts" ("category_id")
169
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140511101304"]]
170
+  (12.9ms) commit transaction
171
+ Migrating to CreateCategories (20140511101309)
172
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
173
+ Migrating to CreateCategories (20140511101309)
174
+  (0.0ms) begin transaction
175
+  (0.0ms) SELECT sqlite_version(*)
176
+  (0.1ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime)
177
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140511101309"]]
178
+  (12.7ms) commit transaction
179
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
180
+  (0.1ms) begin transaction
181
+ 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"]]
182
+  (10.1ms) commit transaction
183
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
184
+  (0.1ms)  SELECT sql
185
+ FROM sqlite_master
186
+ WHERE name='index_posts_on_category_id' AND type='index'
187
+ UNION ALL
188
+ SELECT sql
189
+ FROM sqlite_temp_master
190
+ WHERE name='index_posts_on_category_id' AND type='index'
191
+ 
192
+  (0.1ms)  SELECT sql
193
+ FROM sqlite_master
194
+ WHERE name='index_wobauth_authorities_on_authorized_for_id' AND type='index'
195
+ UNION ALL
196
+ SELECT sql
197
+ FROM sqlite_temp_master
198
+ WHERE name='index_wobauth_authorities_on_authorized_for_id' AND type='index'
199
+ 
200
+  (0.1ms)  SELECT sql
201
+ FROM sqlite_master
202
+ WHERE name='index_wobauth_authorities_on_role_id' AND type='index'
203
+ UNION ALL
204
+ SELECT sql
205
+ FROM sqlite_temp_master
206
+ WHERE name='index_wobauth_authorities_on_role_id' AND type='index'
207
+ 
208
+  (0.1ms)  SELECT sql
209
+ FROM sqlite_master
210
+ WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'
211
+ UNION ALL
212
+ SELECT sql
213
+ FROM sqlite_temp_master
214
+ WHERE name='index_wobauth_authorities_on_authorizable_id' AND type='index'
215
+ 
216
+  (0.1ms)  SELECT sql
217
+ FROM sqlite_master
218
+ WHERE name='index_wobauth_memberships_on_group_id' AND type='index'
219
+ UNION ALL
220
+ SELECT sql
221
+ FROM sqlite_temp_master
222
+ WHERE name='index_wobauth_memberships_on_group_id' AND type='index'
223
+ 
224
+  (0.1ms)  SELECT sql
225
+ FROM sqlite_master
226
+ WHERE name='index_wobauth_memberships_on_user_id' AND type='index'
227
+ UNION ALL
228
+ SELECT sql
229
+ FROM sqlite_temp_master
230
+ WHERE name='index_wobauth_memberships_on_user_id' AND type='index'
231
+ 
232
+  (0.1ms)  SELECT sql
233
+ FROM sqlite_master
234
+ WHERE name='index_wobauth_users_on_reset_password_token' AND type='index'
235
+ UNION ALL
236
+ SELECT sql
237
+ FROM sqlite_temp_master
238
+ WHERE name='index_wobauth_users_on_reset_password_token' AND type='index'
239
+ 
240
+  (0.1ms)  SELECT sql
241
+ FROM sqlite_master
242
+ WHERE name='index_wobauth_users_on_username' AND type='index'
243
+ UNION ALL
244
+ SELECT sql
245
+ FROM sqlite_temp_master
246
+ WHERE name='index_wobauth_users_on_username' AND type='index'
247
+ 
248
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
249
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
250
+  (0.0ms) begin transaction
251
+ -------------------------------------------------------------------------------------------------
252
+ Wobauth::UserTest: test_: Wobauth::User should require case sensitive unique value for username.
253
+ -------------------------------------------------------------------------------------------------
254
+ Wobauth::User Load (0.3ms) SELECT "wobauth_users".* FROM "wobauth_users" ORDER BY "wobauth_users"."id" ASC LIMIT ? [["LIMIT", 1]]
255
+  (0.0ms) SAVEPOINT active_record_1
256
+ 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"]]
257
+  (0.0ms) RELEASE SAVEPOINT active_record_1
258
+ Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "a"], ["LIMIT", 1]]
259
+  (0.1ms) rollback transaction
260
+  (0.0ms) begin transaction
261
+ ---------------------------------------------------------------------------
262
+ Wobauth::UserTest: test_: Wobauth::User should require username to be set.
263
+ ---------------------------------------------------------------------------
264
+ Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" IS NULL LIMIT ? [["LIMIT", 1]]
265
+  (0.0ms) rollback transaction
266
+  (0.0ms) begin transaction
267
+ -------------------------------------------------------------------------------------
268
+ Wobauth::UserTest: test_: Wobauth::User should have many groups through memberships.
269
+ -------------------------------------------------------------------------------------
270
+  (0.0ms) rollback transaction
271
+  (0.0ms) begin transaction
272
+ ----------------------------------------------------------------------
273
+ Wobauth::UserTest: test_: Wobauth::User should have many authorities.
274
+ ----------------------------------------------------------------------
275
+  (0.0ms) rollback transaction
276
+  (0.0ms) begin transaction
277
+ -----------------------------------------------------------------------
278
+ Wobauth::UserTest: test_: Wobauth::User should simple factory working.
279
+ -----------------------------------------------------------------------
280
+  (0.0ms) SAVEPOINT active_record_1
281
+ Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user1"], ["LIMIT", 1]]
282
+ 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"]]
283
+  (0.0ms) RELEASE SAVEPOINT active_record_1
284
+  (0.0ms) SAVEPOINT active_record_1
285
+ Wobauth::User Exists (0.0ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user2"], ["LIMIT", 1]]
286
+ 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"]]
287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
288
+ 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]]
289
+ 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]]
290
+  (0.1ms) rollback transaction
291
+  (0.0ms) begin transaction
292
+ ----------------------------------------------------------------------------
293
+ Wobauth::UserTest: test_: Wobauth::User should allow email to be set to "".
294
+ ----------------------------------------------------------------------------
295
+ Wobauth::User Exists (0.0ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", ""], ["LIMIT", 1]]
296
+  (0.0ms) rollback transaction
297
+  (0.0ms) begin transaction
298
+ -----------------------------------------------------------------------------------------------------
299
+ Wobauth::UserTest: test_: Wobauth::User should have many group_roles through groups source => roles.
300
+ -----------------------------------------------------------------------------------------------------
301
+  (0.0ms) rollback transaction
302
+  (0.0ms) begin transaction
303
+ ----------------------------------------------------------------------
304
+ Wobauth::UserTest: test_: Wobauth::User should have many memberships.
305
+ ----------------------------------------------------------------------
306
+  (0.0ms) rollback transaction
307
+  (0.0ms) begin transaction
308
+ ------------------------------------------------------------------------------------
309
+ Wobauth::UserTest: test_: Wobauth::User should have many roles through authorities.
310
+ ------------------------------------------------------------------------------------
311
+  (0.0ms) rollback transaction
312
+  (0.0ms) begin transaction
313
+ ----------------------------------------------------------------
314
+ InstallGeneratorTest: test_Assert_all_files_are_properly_created
315
+ ----------------------------------------------------------------
316
+  (0.0ms) rollback transaction
317
+  (0.0ms) begin transaction
318
+ ------------------------------------------------
319
+ InstallGeneratorTest: test_Initializer_is_copied
320
+ ------------------------------------------------
321
+  (0.0ms) rollback transaction
322
+  (0.0ms) PRAGMA foreign_keys
323
+  (0.0ms) PRAGMA foreign_keys = OFF
324
+  (0.0ms) begin transaction
325
+ Fixture Delete (0.1ms) DELETE FROM "wobauth_users"
326
+ 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)
327
+ 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)
328
+ 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)
329
+ 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)
330
+ Fixture Delete (0.0ms) DELETE FROM "wobauth_roles"
331
+ 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)
332
+ 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)
333
+ 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)
334
+  (10.4ms) commit transaction
335
+  (0.0ms) PRAGMA foreign_keys = 1
336
+  (0.0ms) begin transaction
337
+ -------------------------------------------------------------------
338
+ Wobauth::UsersControllerTest: test_should_show_assigned_memberships
339
+ -------------------------------------------------------------------
340
+ Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
341
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
342
+ Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
343
+  (0.0ms) SAVEPOINT active_record_1
344
+ 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"]]
345
+  (0.0ms) RELEASE SAVEPOINT active_record_1
346
+  (0.0ms) SAVEPOINT active_record_1
347
+ Wobauth::Group Exists (0.1ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "Vereinsmeierei"], ["LIMIT", 1]]
348
+ 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"]]
349
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350
+  (0.0ms) SAVEPOINT active_record_1
351
+ 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"]]
352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
353
+ Processing by Wobauth::UsersController#show as HTML
354
+ Parameters: {"id"=>"980190962"}
355
+ 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]]
356
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
357
+ 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"]]
358
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
359
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application
360
+ 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"]]
361
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_roles.html.erb (1.3ms)
362
+ Wobauth::Membership Load (0.1ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."user_id" = ? [["user_id", 980190962]]
363
+ Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
364
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_groups.html.erb (5.2ms)
365
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application (9.8ms)
366
+ Rendered shared/_navi.html.erb (2.1ms)
367
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (1.0ms)
368
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (1.1ms)
369
+ Completed 200 OK in 686ms (Views: 673.0ms | ActiveRecord: 0.6ms)
370
+  (0.1ms) rollback transaction
371
+  (0.0ms) begin transaction
372
+ --------------------------------------------------
373
+ Wobauth::UsersControllerTest: test_should_get_edit
374
+ --------------------------------------------------
375
+ Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
376
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
377
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
378
+  (0.0ms) SAVEPOINT active_record_1
379
+ 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"]]
380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
381
+ Processing by Wobauth::UsersController#edit as HTML
382
+ Parameters: {"id"=>"980190962"}
383
+ 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]]
384
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
385
+ 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"]]
386
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
387
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/edit.html.erb within layouts/application
388
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_form.html.erb (20.0ms)
389
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/edit.html.erb within layouts/application (20.6ms)
390
+ Rendered shared/_navi.html.erb (0.3ms)
391
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
392
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
393
+ Completed 200 OK in 25ms (Views: 22.7ms | ActiveRecord: 0.1ms)
394
+  (0.1ms) rollback transaction
395
+  (0.0ms) begin transaction
396
+ ---------------------------------------------------------------
397
+ Wobauth::UsersControllerTest: test_should_show_user_authorities
398
+ ---------------------------------------------------------------
399
+ Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
400
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
401
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
402
+  (0.0ms) SAVEPOINT active_record_1
403
+ 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"]]
404
+  (0.0ms) RELEASE SAVEPOINT active_record_1
405
+  (0.0ms) SAVEPOINT active_record_1
406
+ Wobauth::Role Exists (0.1ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? LIMIT ? [["name", "Testrole"], ["LIMIT", 1]]
407
+ 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"]]
408
+  (0.0ms) RELEASE SAVEPOINT active_record_1
409
+  (0.0ms) SAVEPOINT active_record_1
410
+ 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"]]
411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
412
+ Processing by Wobauth::UsersController#show as HTML
413
+ Parameters: {"id"=>"980190962"}
414
+ 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]]
415
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
416
+ 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"]]
417
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
418
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application
419
+ 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"]]
420
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190963], ["LIMIT", 1]]
421
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_roles.html.erb (1.8ms)
422
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."user_id" = ? [["user_id", 980190962]]
423
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_groups.html.erb (0.5ms)
424
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application (3.8ms)
425
+ Rendered shared/_navi.html.erb (0.3ms)
426
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
427
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
428
+ Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.2ms)
429
+  (0.1ms) rollback transaction
430
+  (0.0ms) begin transaction
431
+ ---------------------------------------------------
432
+ Wobauth::UsersControllerTest: test_should_get_index
433
+ ---------------------------------------------------
434
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
435
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
436
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
437
+  (0.0ms) SAVEPOINT active_record_1
438
+ 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"]]
439
+  (0.0ms) RELEASE SAVEPOINT active_record_1
440
+ Processing by Wobauth::UsersController#index as HTML
441
+ 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]]
442
+ 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"]]
443
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/index.html.erb within layouts/application
444
+ Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users"
445
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/index.html.erb within layouts/application (3.0ms)
446
+ Rendered shared/_navi.html.erb (0.3ms)
447
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
448
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
449
+ Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms)
450
+  (0.1ms) rollback transaction
451
+  (0.0ms) begin transaction
452
+ -----------------------------------------------------
453
+ Wobauth::UsersControllerTest: test_should_create_user
454
+ -----------------------------------------------------
455
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
456
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
457
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
458
+  (0.0ms) SAVEPOINT active_record_1
459
+ 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"]]
460
+  (0.0ms) RELEASE SAVEPOINT active_record_1
461
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_users"
462
+ Processing by Wobauth::UsersController#create as HTML
463
+ 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"}}
464
+ 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]]
465
+ 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"]]
466
+  (0.0ms) SAVEPOINT active_record_1
467
+ Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "tester"], ["LIMIT", 1]]
468
+ 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"]]
469
+  (0.0ms) RELEASE SAVEPOINT active_record_1
470
+ Redirected to http://test.host/auth/users/980190963
471
+ Completed 302 Found in 8ms (ActiveRecord: 0.3ms)
472
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_users"
473
+  (0.1ms) rollback transaction
474
+  (0.0ms) begin transaction
475
+ ---------------------------------------------------
476
+ Wobauth::UsersControllerTest: test_should_show_user
477
+ ---------------------------------------------------
478
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
479
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
480
+ Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
481
+  (0.0ms) SAVEPOINT active_record_1
482
+ 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"]]
483
+  (0.0ms) RELEASE SAVEPOINT active_record_1
484
+ Processing by Wobauth::UsersController#show as HTML
485
+ Parameters: {"id"=>"980190962"}
486
+ 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]]
487
+ Wobauth::User Load (4.3ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
488
+ 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"]]
489
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
490
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application
491
+ 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"]]
492
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_roles.html.erb (0.5ms)
493
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."user_id" = ? [["user_id", 980190962]]
494
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_groups.html.erb (0.4ms)
495
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application (2.3ms)
496
+ Rendered shared/_navi.html.erb (0.3ms)
497
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
498
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
499
+ Completed 200 OK in 11ms (Views: 4.2ms | ActiveRecord: 4.5ms)
500
+  (0.1ms) rollback transaction
501
+  (0.0ms) begin transaction
502
+ -----------------------------------------------------
503
+ Wobauth::UsersControllerTest: test_should_update_user
504
+ -----------------------------------------------------
505
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
506
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
507
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
508
+  (0.0ms) SAVEPOINT active_record_1
509
+ 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"]]
510
+  (0.0ms) RELEASE SAVEPOINT active_record_1
511
+ Processing by Wobauth::UsersController#update as HTML
512
+ Parameters: {"user"=>{"displayname"=>"", "email"=>"one@example.org", "givenname"=>"", "gruppen"=>"", "sn"=>"", "telephone"=>"", "username"=>"one"}, "id"=>"980190962"}
513
+ 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]]
514
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
515
+ 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"]]
516
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
517
+  (0.0ms) SAVEPOINT active_record_1
518
+ 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]]
519
+ 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]]
520
+  (0.0ms) RELEASE SAVEPOINT active_record_1
521
+ Redirected to http://test.host/auth/users/980190962
522
+ Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
523
+  (0.1ms) rollback transaction
524
+  (0.0ms) begin transaction
525
+ -----------------------------------------------------------------------
526
+ Wobauth::UsersControllerTest: test_should_get_all_translations_in_index
527
+ -----------------------------------------------------------------------
528
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
529
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
530
+ Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
531
+  (0.0ms) SAVEPOINT active_record_1
532
+ 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"]]
533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
534
+ Processing by Wobauth::UsersController#index as HTML
535
+ 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]]
536
+ 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"]]
537
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/index.html.erb within layouts/application
538
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users"
539
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/index.html.erb within layouts/application (2.4ms)
540
+ Rendered shared/_navi.html.erb (0.3ms)
541
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
542
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.5ms)
543
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.1ms)
544
+  (0.1ms) rollback transaction
545
+  (0.0ms) begin transaction
546
+ -------------------------------------------------
547
+ Wobauth::UsersControllerTest: test_should_get_new
548
+ -------------------------------------------------
549
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
550
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
551
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
552
+  (0.0ms) SAVEPOINT active_record_1
553
+ 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"]]
554
+  (0.0ms) RELEASE SAVEPOINT active_record_1
555
+ Processing by Wobauth::UsersController#new as HTML
556
+ 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]]
557
+ 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"]]
558
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/new.html.erb within layouts/application
559
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_form.html.erb (4.5ms)
560
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/new.html.erb within layouts/application (4.9ms)
561
+ Rendered shared/_navi.html.erb (0.3ms)
562
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
563
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
564
+ Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.1ms)
565
+  (0.1ms) rollback transaction
566
+  (0.0ms) begin transaction
567
+ ------------------------------------------------------
568
+ Wobauth::UsersControllerTest: test_should_destroy_user
569
+ ------------------------------------------------------
570
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
571
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
572
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
573
+  (0.0ms) SAVEPOINT active_record_1
574
+ 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"]]
575
+  (0.0ms) RELEASE SAVEPOINT active_record_1
576
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_users"
577
+ Processing by Wobauth::UsersController#destroy as HTML
578
+ Parameters: {"id"=>"980190962"}
579
+ 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]]
580
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
581
+ 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"]]
582
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
583
+  (0.0ms) SAVEPOINT active_record_1
584
+ 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"]]
585
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."user_id" = ? [["user_id", 980190962]]
586
+ SQL (0.1ms) DELETE FROM "wobauth_users" WHERE "wobauth_users"."id" = ? [["id", 980190962]]
587
+  (0.0ms) RELEASE SAVEPOINT active_record_1
588
+ Redirected to http://test.host/auth/users
589
+ Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
590
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_users"
591
+  (0.1ms) rollback transaction
592
+  (0.0ms) begin transaction
593
+ ----------------------------------------------------------------------
594
+ Wobauth::UsersControllerTest: test_should_get_all_translations_in_show
595
+ ----------------------------------------------------------------------
596
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
597
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
598
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
599
+  (0.0ms) SAVEPOINT active_record_1
600
+ 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"]]
601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
602
+ Processing by Wobauth::UsersController#show as HTML
603
+ Parameters: {"id"=>"980190962"}
604
+ 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]]
605
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
606
+ 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"]]
607
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
608
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application
609
+ 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"]]
610
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_roles.html.erb (0.5ms)
611
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."user_id" = ? [["user_id", 980190962]]
612
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/_user_groups.html.erb (0.4ms)
613
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/users/show.html.erb within layouts/application (2.4ms)
614
+ Rendered shared/_navi.html.erb (0.3ms)
615
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
616
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
617
+ Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.2ms)
618
+  (0.1ms) rollback transaction
619
+  (0.0ms) begin transaction
620
+ -----------------------------------------
621
+ Wobauth::FixturesTest: test_user_fixtures
622
+ -----------------------------------------
623
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
624
+  (0.0ms) rollback transaction
625
+  (0.0ms) begin transaction
626
+ -----------------------
627
+ WobauthTest: test_truth
628
+ -----------------------
629
+  (0.0ms) rollback transaction
630
+  (0.0ms) PRAGMA foreign_keys
631
+  (0.0ms) PRAGMA foreign_keys = OFF
632
+  (0.0ms) begin transaction
633
+ Fixture Delete (0.1ms) DELETE FROM "wobauth_groups"
634
+ 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)
635
+ 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)
636
+  (13.2ms) commit transaction
637
+  (0.1ms) PRAGMA foreign_keys = 1
638
+  (0.0ms) begin transaction
639
+ -----------------------------------------------------------------------
640
+ Wobauth::GroupsControllerTest: test_should_get_edit_with_specific_title
641
+ -----------------------------------------------------------------------
642
+ Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
643
+ Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
644
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
645
+  (0.0ms) SAVEPOINT active_record_1
646
+ 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"]]
647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
648
+ Processing by Wobauth::GroupsController#edit as HTML
649
+ Parameters: {"id"=>"980190962"}
650
+ 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]]
651
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
652
+ 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"]]
653
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
654
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/edit.html.erb within layouts/application
655
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_form.html.erb (2.3ms)
656
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/edit.html.erb within layouts/application (2.9ms)
657
+ Rendered shared/_navi.html.erb (0.3ms)
658
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
659
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
660
+ Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.2ms)
661
+  (0.1ms) rollback transaction
662
+  (0.0ms) begin transaction
663
+ -----------------------------------------------------
664
+ Wobauth::GroupsControllerTest: test_should_show_group
665
+ -----------------------------------------------------
666
+ Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
667
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
668
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
669
+  (0.0ms) SAVEPOINT active_record_1
670
+ 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"]]
671
+  (0.0ms) RELEASE SAVEPOINT active_record_1
672
+ Processing by Wobauth::GroupsController#show as HTML
673
+ Parameters: {"id"=>"980190962"}
674
+ 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]]
675
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
676
+ 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"]]
677
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
678
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application
679
+ 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"]]
680
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_roles.html.erb (1.2ms)
681
+ Wobauth::Membership Load (0.1ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."group_id" = ? [["group_id", 980190962]]
682
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_memberships.html.erb (1.3ms)
683
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application (4.7ms)
684
+ Rendered shared/_navi.html.erb (0.3ms)
685
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
686
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
687
+ Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
688
+  (0.1ms) rollback transaction
689
+  (0.0ms) begin transaction
690
+ ----------------------------------------------------
691
+ Wobauth::GroupsControllerTest: test_should_get_index
692
+ ----------------------------------------------------
693
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
694
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
695
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
696
+  (0.0ms) SAVEPOINT active_record_1
697
+ 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"]]
698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
699
+ Processing by Wobauth::GroupsController#index as HTML
700
+ 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]]
701
+ 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"]]
702
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/index.html.erb within layouts/application
703
+ Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups"
704
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/index.html.erb within layouts/application (2.2ms)
705
+ Rendered shared/_navi.html.erb (0.3ms)
706
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
707
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
708
+ Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.1ms)
709
+  (0.1ms) rollback transaction
710
+  (0.0ms) begin transaction
711
+ -----------------------------------------------------------------
712
+ Wobauth::GroupsControllerTest: test_should_show_group_authorities
713
+ -----------------------------------------------------------------
714
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
715
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
716
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
717
+  (0.0ms) SAVEPOINT active_record_1
718
+ 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"]]
719
+  (0.0ms) RELEASE SAVEPOINT active_record_1
720
+  (0.0ms) SAVEPOINT active_record_1
721
+ Wobauth::Role Exists (0.1ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? LIMIT ? [["name", "Testrole"], ["LIMIT", 1]]
722
+ 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"]]
723
+  (0.0ms) RELEASE SAVEPOINT active_record_1
724
+  (0.0ms) SAVEPOINT active_record_1
725
+ 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"]]
726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
727
+ Processing by Wobauth::GroupsController#show as HTML
728
+ Parameters: {"id"=>"980190962"}
729
+ 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]]
730
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
731
+ 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"]]
732
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
733
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application
734
+ 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"]]
735
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190963], ["LIMIT", 1]]
736
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_roles.html.erb (1.4ms)
737
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."group_id" = ? [["group_id", 980190962]]
738
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_memberships.html.erb (0.4ms)
739
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application (2.9ms)
740
+ Rendered shared/_navi.html.erb (0.3ms)
741
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
742
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
743
+ Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms)
744
+  (0.1ms) rollback transaction
745
+  (0.0ms) begin transaction
746
+ ------------------------------------------------------------------------
747
+ Wobauth::GroupsControllerTest: test_should_get_all_translations_in_index
748
+ ------------------------------------------------------------------------
749
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
750
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
751
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
752
+  (0.0ms) SAVEPOINT active_record_1
753
+ 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"]]
754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
755
+ Processing by Wobauth::GroupsController#index as HTML
756
+ 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]]
757
+ 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"]]
758
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/index.html.erb within layouts/application
759
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups"
760
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/index.html.erb within layouts/application (1.6ms)
761
+ Rendered shared/_navi.html.erb (0.3ms)
762
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
763
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (4.0ms)
764
+ Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.1ms)
765
+  (0.1ms) rollback transaction
766
+  (0.0ms) begin transaction
767
+ ---------------------------------------------------
768
+ Wobauth::GroupsControllerTest: test_should_get_edit
769
+ ---------------------------------------------------
770
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
771
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
772
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
773
+  (0.0ms) SAVEPOINT active_record_1
774
+ 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"]]
775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
776
+ Processing by Wobauth::GroupsController#edit as HTML
777
+ Parameters: {"id"=>"980190962"}
778
+ 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]]
779
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
780
+ 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"]]
781
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
782
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/edit.html.erb within layouts/application
783
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_form.html.erb (1.6ms)
784
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/edit.html.erb within layouts/application (1.7ms)
785
+ Rendered shared/_navi.html.erb (0.3ms)
786
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
787
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.5ms)
788
+ Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.1ms)
789
+  (0.1ms) rollback transaction
790
+  (0.0ms) begin transaction
791
+ --------------------------------------------------------
792
+ Wobauth::GroupsControllerTest: test_should_destroy_group
793
+ --------------------------------------------------------
794
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
795
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
796
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
797
+  (0.0ms) SAVEPOINT active_record_1
798
+ 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"]]
799
+  (0.0ms) RELEASE SAVEPOINT active_record_1
800
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_groups"
801
+ Processing by Wobauth::GroupsController#destroy as HTML
802
+ Parameters: {"id"=>"980190962"}
803
+ 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]]
804
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
805
+ 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"]]
806
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
807
+  (0.0ms) SAVEPOINT active_record_1
808
+ SQL (0.1ms) DELETE FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? [["id", 980190962]]
809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
810
+ Redirected to http://test.host/auth/groups
811
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
812
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_groups"
813
+  (0.1ms) rollback transaction
814
+  (0.0ms) begin transaction
815
+ -------------------------------------------------------
816
+ Wobauth::GroupsControllerTest: test_should_create_group
817
+ -------------------------------------------------------
818
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
819
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
820
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
821
+  (0.0ms) SAVEPOINT active_record_1
822
+ 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"]]
823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
824
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_groups"
825
+ Processing by Wobauth::GroupsController#create as HTML
826
+ Parameters: {"group"=>{"description"=>"text", "name"=>"myadmin"}}
827
+ 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]]
828
+ 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"]]
829
+  (0.0ms) SAVEPOINT active_record_1
830
+ Wobauth::Group Exists (0.0ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "myadmin"], ["LIMIT", 1]]
831
+ 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"]]
832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
833
+ Redirected to http://test.host/auth/groups/980190963
834
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
835
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_groups"
836
+  (0.1ms) rollback transaction
837
+  (0.0ms) begin transaction
838
+ --------------------------------------------------
839
+ Wobauth::GroupsControllerTest: test_should_get_new
840
+ --------------------------------------------------
841
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
842
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
843
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
844
+  (0.0ms) SAVEPOINT active_record_1
845
+ 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"]]
846
+  (0.0ms) RELEASE SAVEPOINT active_record_1
847
+ Processing by Wobauth::GroupsController#new as HTML
848
+ 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]]
849
+ 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"]]
850
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/new.html.erb within layouts/application
851
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_form.html.erb (1.7ms)
852
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/new.html.erb within layouts/application (2.1ms)
853
+ Rendered shared/_navi.html.erb (0.3ms)
854
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
855
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
856
+ Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.1ms)
857
+  (0.1ms) rollback transaction
858
+  (0.0ms) begin transaction
859
+ --------------------------------------------------------------------
860
+ Wobauth::GroupsControllerTest: test_should_show_assigned_memberships
861
+ --------------------------------------------------------------------
862
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
863
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
864
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
865
+  (0.0ms) SAVEPOINT active_record_1
866
+ 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"]]
867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
868
+  (0.0ms) SAVEPOINT active_record_1
869
+ Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user3"], ["LIMIT", 1]]
870
+ 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"]]
871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
872
+  (0.0ms) SAVEPOINT active_record_1
873
+ 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"]]
874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
875
+ Processing by Wobauth::GroupsController#show as HTML
876
+ Parameters: {"id"=>"980190962"}
877
+ 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]]
878
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
879
+ 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"]]
880
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
881
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application
882
+ 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"]]
883
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_roles.html.erb (0.5ms)
884
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."group_id" = ? [["group_id", 980190962]]
885
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190963], ["LIMIT", 1]]
886
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_memberships.html.erb (1.5ms)
887
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application (3.1ms)
888
+ Rendered shared/_navi.html.erb (0.3ms)
889
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
890
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
891
+ Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms)
892
+  (0.1ms) rollback transaction
893
+  (0.0ms) begin transaction
894
+ -----------------------------------------------------------------------
895
+ Wobauth::GroupsControllerTest: test_should_get_all_translations_in_show
896
+ -----------------------------------------------------------------------
897
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
898
+ Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
899
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
900
+  (0.0ms) SAVEPOINT active_record_1
901
+ 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"]]
902
+  (0.0ms) RELEASE SAVEPOINT active_record_1
903
+ Processing by Wobauth::GroupsController#show as HTML
904
+ Parameters: {"id"=>"980190962"}
905
+ 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]]
906
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
907
+ 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"]]
908
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
909
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application
910
+ 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"]]
911
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_roles.html.erb (0.5ms)
912
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."group_id" = ? [["group_id", 980190962]]
913
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_group_memberships.html.erb (0.4ms)
914
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/show.html.erb within layouts/application (2.0ms)
915
+ Rendered shared/_navi.html.erb (0.3ms)
916
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
917
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
918
+ Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.2ms)
919
+  (0.1ms) rollback transaction
920
+  (0.0ms) begin transaction
921
+ ----------------------------------------------------------------------
922
+ Wobauth::GroupsControllerTest: test_should_get_new_with_specific_title
923
+ ----------------------------------------------------------------------
924
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
925
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
926
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
927
+  (0.0ms) SAVEPOINT active_record_1
928
+ 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"]]
929
+  (0.0ms) RELEASE SAVEPOINT active_record_1
930
+ Processing by Wobauth::GroupsController#new as HTML
931
+ 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]]
932
+ 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"]]
933
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/new.html.erb within layouts/application
934
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_form.html.erb (1.6ms)
935
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/new.html.erb within layouts/application (1.7ms)
936
+ Rendered shared/_navi.html.erb (0.3ms)
937
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
938
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
939
+ Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.1ms)
940
+  (0.1ms) rollback transaction
941
+  (0.0ms) begin transaction
942
+ -------------------------------------------------------------------------------
943
+ Wobauth::GroupsControllerTest: test_should_not_create_group_with_duplicate_name
944
+ -------------------------------------------------------------------------------
945
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
946
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
947
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
948
+  (0.0ms) SAVEPOINT active_record_1
949
+ 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"]]
950
+  (0.0ms) RELEASE SAVEPOINT active_record_1
951
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_groups"
952
+ Processing by Wobauth::GroupsController#create as HTML
953
+ Parameters: {"group"=>{"description"=>"text", "name"=>"admin"}}
954
+ 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]]
955
+ 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"]]
956
+  (0.0ms) SAVEPOINT active_record_1
957
+ Wobauth::Group Exists (0.1ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]
958
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
959
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/new.html.erb within layouts/application
960
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/_form.html.erb (1.6ms)
961
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/groups/new.html.erb within layouts/application (1.7ms)
962
+ Rendered shared/_navi.html.erb (0.3ms)
963
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
964
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
965
+ Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.2ms)
966
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_groups"
967
+  (0.1ms) rollback transaction
968
+  (0.0ms) begin transaction
969
+ -------------------------------------------------------
970
+ Wobauth::GroupsControllerTest: test_should_update_group
971
+ -------------------------------------------------------
972
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
973
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
974
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
975
+  (0.0ms) SAVEPOINT active_record_1
976
+ 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"]]
977
+  (0.0ms) RELEASE SAVEPOINT active_record_1
978
+ Processing by Wobauth::GroupsController#update as HTML
979
+ Parameters: {"group"=>{"description"=>"MyString", "name"=>"admin"}, "id"=>"980190962"}
980
+ 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]]
981
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
982
+ 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"]]
983
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
984
+  (0.0ms) SAVEPOINT active_record_1
985
+ 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]]
986
+  (0.0ms) RELEASE SAVEPOINT active_record_1
987
+ Redirected to http://test.host/auth/groups/980190962
988
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
989
+  (0.1ms) rollback transaction
990
+  (0.0ms) begin transaction
991
+ --------------------------------------------------------------------------------------------------------------
992
+ Wobauth::TranslationTest: test_: Wobauth::Translation should translate Role for model and controller actions.
993
+ --------------------------------------------------------------------------------------------------------------
994
+  (0.0ms) rollback transaction
995
+  (0.0ms) begin transaction
996
+ ----------------------------------------------------------------------
997
+ Wobauth::RolesControllerTest: test_should_get_all_translations_in_show
998
+ ----------------------------------------------------------------------
999
+ Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1000
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1001
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1002
+  (0.0ms) SAVEPOINT active_record_1
1003
+ 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"]]
1004
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1005
+ Processing by Wobauth::RolesController#show as HTML
1006
+ Parameters: {"id"=>"980190962"}
1007
+ 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]]
1008
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1009
+ 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"]]
1010
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1011
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/show.html.erb within layouts/application
1012
+ 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]]
1013
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/_role_authorities.html.erb (1.3ms)
1014
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/show.html.erb within layouts/application (2.6ms)
1015
+ Rendered shared/_navi.html.erb (0.4ms)
1016
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1017
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
1018
+ Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.2ms)
1019
+  (0.1ms) rollback transaction
1020
+  (0.0ms) begin transaction
1021
+ -----------------------------------------------------------------------
1022
+ Wobauth::RolesControllerTest: test_should_get_all_translations_in_index
1023
+ -----------------------------------------------------------------------
1024
+ Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1025
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1026
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1027
+  (0.0ms) SAVEPOINT active_record_1
1028
+ 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"]]
1029
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1030
+ Processing by Wobauth::RolesController#index as HTML
1031
+ 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]]
1032
+ 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"]]
1033
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/index.html.erb within layouts/application
1034
+ Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles"
1035
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/index.html.erb within layouts/application (1.4ms)
1036
+ Rendered shared/_navi.html.erb (0.3ms)
1037
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1038
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
1039
+ Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.1ms)
1040
+  (0.1ms) rollback transaction
1041
+  (0.0ms) begin transaction
1042
+ ---------------------------------------------------
1043
+ Wobauth::RolesControllerTest: test_should_get_index
1044
+ ---------------------------------------------------
1045
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1046
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1047
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1048
+  (0.0ms) SAVEPOINT active_record_1
1049
+ 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"]]
1050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1051
+ Processing by Wobauth::RolesController#index as HTML
1052
+ 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]]
1053
+ 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"]]
1054
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/index.html.erb within layouts/application
1055
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles"
1056
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/index.html.erb within layouts/application (1.0ms)
1057
+ Rendered shared/_navi.html.erb (0.3ms)
1058
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1059
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
1060
+ Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.1ms)
1061
+  (0.1ms) rollback transaction
1062
+  (0.0ms) begin transaction
1063
+ -------------------------------------------------------------------
1064
+ Wobauth::RolesControllerTest: test_should_show_assigned_authorities
1065
+ -------------------------------------------------------------------
1066
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1067
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1068
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1069
+  (0.1ms) SAVEPOINT active_record_1
1070
+ 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"]]
1071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1072
+  (0.0ms) SAVEPOINT active_record_1
1073
+ Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user4"], ["LIMIT", 1]]
1074
+ 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"]]
1075
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1076
+  (0.0ms) SAVEPOINT active_record_1
1077
+ 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"]]
1078
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1079
+ Processing by Wobauth::RolesController#show as HTML
1080
+ Parameters: {"id"=>"980190962"}
1081
+ 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]]
1082
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1083
+ 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"]]
1084
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1085
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/show.html.erb within layouts/application
1086
+ 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]]
1087
+ Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190963], ["LIMIT", 1]]
1088
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/_role_authorities.html.erb (1.8ms)
1089
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/show.html.erb within layouts/application (2.1ms)
1090
+ Rendered shared/_navi.html.erb (0.3ms)
1091
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1092
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
1093
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.3ms)
1094
+  (0.1ms) rollback transaction
1095
+  (0.0ms) begin transaction
1096
+ ---------------------------------------------------
1097
+ Wobauth::RolesControllerTest: test_should_show_role
1098
+ ---------------------------------------------------
1099
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1100
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1101
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1102
+  (0.0ms) SAVEPOINT active_record_1
1103
+ 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"]]
1104
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1105
+ Processing by Wobauth::RolesController#show as HTML
1106
+ Parameters: {"id"=>"980190962"}
1107
+ 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]]
1108
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1109
+ 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"]]
1110
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1111
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/show.html.erb within layouts/application
1112
+ 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]]
1113
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/_role_authorities.html.erb (0.7ms)
1114
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/roles/show.html.erb within layouts/application (1.0ms)
1115
+ Rendered shared/_navi.html.erb (0.3ms)
1116
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1117
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
1118
+ Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms)
1119
+  (0.1ms) rollback transaction
1120
+  (0.0ms) begin transaction
1121
+ -----------------------------------------------------------------------
1122
+ Wobauth::RoleTest: test_: Wobauth::Role should simple factory working.
1123
+ -----------------------------------------------------------------------
1124
+  (0.0ms) SAVEPOINT active_record_1
1125
+ Wobauth::Role Exists (0.1ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? LIMIT ? [["name", "name_1"], ["LIMIT", 1]]
1126
+ 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"]]
1127
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1128
+  (0.0ms) SAVEPOINT active_record_1
1129
+ Wobauth::Role Exists (0.0ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? LIMIT ? [["name", "name_2"], ["LIMIT", 1]]
1130
+ 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"]]
1131
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1132
+ 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]]
1133
+ 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]]
1134
+  (0.0ms) rollback transaction
1135
+  (0.0ms) begin transaction
1136
+ -----------------------------------------------------------------------------------------------------------
1137
+ Wobauth::RoleTest: test_: Wobauth::Role should have many users through authorities source => authorizable.
1138
+ -----------------------------------------------------------------------------------------------------------
1139
+  (0.0ms) rollback transaction
1140
+  (0.0ms) begin transaction
1141
+ ----------------------------------------------------------------------
1142
+ Wobauth::RoleTest: test_: Wobauth::Role should have many authorities.
1143
+ ----------------------------------------------------------------------
1144
+  (0.0ms) rollback transaction
1145
+  (0.0ms) begin transaction
1146
+ -----------------------------------------------------------------------
1147
+ Wobauth::RoleTest: test_: Wobauth::Role should require name to be set.
1148
+ -----------------------------------------------------------------------
1149
+ Wobauth::Role Exists (0.1ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" IS NULL LIMIT ? [["LIMIT", 1]]
1150
+  (0.0ms) rollback transaction
1151
+  (0.0ms) begin transaction
1152
+ ---------------------------------------------------------------------------------------------
1153
+ Wobauth::RoleTest: test_: Wobauth::Role should require case sensitive unique value for name.
1154
+ ---------------------------------------------------------------------------------------------
1155
+ Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" ORDER BY "wobauth_roles"."id" ASC LIMIT ? [["LIMIT", 1]]
1156
+ Wobauth::Role Exists (0.0ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? LIMIT ? [["name", "Admin"], ["LIMIT", 1]]
1157
+  (0.0ms) rollback transaction
1158
+  (0.0ms) begin transaction
1159
+ ------------------------------------------------------------------------------------------------------------
1160
+ Wobauth::RoleTest: test_: Wobauth::Role should have many groups through authorities source => authorizable.
1161
+ ------------------------------------------------------------------------------------------------------------
1162
+  (0.0ms) rollback transaction
1163
+  (0.0ms) PRAGMA foreign_keys
1164
+  (0.0ms) PRAGMA foreign_keys = OFF
1165
+  (0.0ms) begin transaction
1166
+ Fixture Delete (0.1ms) DELETE FROM "wobauth_authorities"
1167
+ 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)
1168
+ 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)
1169
+  (12.0ms) commit transaction
1170
+  (0.1ms) PRAGMA foreign_keys = 1
1171
+  (0.0ms) begin transaction
1172
+ -----------------------------------------------------------------------------
1173
+ Wobauth::AuthoritiesControllerTest: test_should_get_new_with_preselected_user
1174
+ -----------------------------------------------------------------------------
1175
+ Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1176
+ Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1177
+ Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1178
+  (0.0ms) SAVEPOINT active_record_1
1179
+ 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"]]
1180
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1181
+  (0.0ms) SAVEPOINT active_record_1
1182
+ Wobauth::User Exists (0.0ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user5"], ["LIMIT", 1]]
1183
+ 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"]]
1184
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1185
+ Processing by Wobauth::AuthoritiesController#new as HTML
1186
+ Parameters: {"user_id"=>"980190963"}
1187
+ 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]]
1188
+ 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"]]
1189
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/new.html.erb within layouts/application
1190
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 980190963], ["LIMIT", 1]]
1191
+ Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users"
1192
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users"
1193
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles"
1194
+ Category Load (0.1ms) SELECT "categories".* FROM "categories"
1195
+ Category Load (0.0ms) SELECT "categories".* FROM "categories"
1196
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/_form.html.erb (10.2ms)
1197
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/new.html.erb within layouts/application (10.8ms)
1198
+ Rendered shared/_navi.html.erb (0.3ms)
1199
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1200
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
1201
+ Completed 200 OK in 16ms (Views: 13.2ms | ActiveRecord: 0.6ms)
1202
+  (0.1ms) rollback transaction
1203
+  (0.0ms) begin transaction
1204
+ --------------------------------------------------------
1205
+ Wobauth::AuthoritiesControllerTest: test_should_get_edit
1206
+ --------------------------------------------------------
1207
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1208
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1209
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1210
+  (0.0ms) SAVEPOINT active_record_1
1211
+ 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"]]
1212
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1213
+ Processing by Wobauth::AuthoritiesController#edit as HTML
1214
+ Parameters: {"id"=>"980190962"}
1215
+ 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]]
1216
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1217
+ 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"]]
1218
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1219
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/edit.html.erb within layouts/application
1220
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1221
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users"
1222
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users"
1223
+ Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups"
1224
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles"
1225
+ Category Load (0.0ms) SELECT "categories".* FROM "categories"
1226
+ Category Load (0.0ms) SELECT "categories".* FROM "categories"
1227
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/_form.html.erb (7.5ms)
1228
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/edit.html.erb within layouts/application (7.9ms)
1229
+ Rendered shared/_navi.html.erb (0.3ms)
1230
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1231
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.7ms)
1232
+ Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.4ms)
1233
+  (0.1ms) rollback transaction
1234
+  (0.0ms) begin transaction
1235
+ -----------------------------------------------------------------
1236
+ Wobauth::AuthoritiesControllerTest: test_should_destroy_authority
1237
+ -----------------------------------------------------------------
1238
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1239
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1240
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1241
+  (0.0ms) SAVEPOINT active_record_1
1242
+ 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"]]
1243
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1244
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_authorities"
1245
+ Processing by Wobauth::AuthoritiesController#destroy as HTML
1246
+ Parameters: {"id"=>"980190962"}
1247
+ 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]]
1248
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1249
+ 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"]]
1250
+ Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1251
+  (0.0ms) SAVEPOINT active_record_1
1252
+ SQL (0.1ms) DELETE FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? [["id", 980190962]]
1253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1254
+ Redirected to http://test.host/auth/authorities
1255
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
1256
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_authorities"
1257
+  (0.1ms) rollback transaction
1258
+  (0.0ms) begin transaction
1259
+ -----------------------------------------------------------------------------
1260
+ Wobauth::AuthoritiesControllerTest: test_should_get_all_translations_in_index
1261
+ -----------------------------------------------------------------------------
1262
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1263
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1264
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1265
+  (0.0ms) SAVEPOINT active_record_1
1266
+ 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"]]
1267
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1268
+ Processing by Wobauth::AuthoritiesController#index as HTML
1269
+ 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]]
1270
+ 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"]]
1271
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/index.html.erb within layouts/application
1272
+ Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities"
1273
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
1274
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1275
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1276
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1277
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1278
+ Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1279
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/index.html.erb within layouts/application (5.3ms)
1280
+ Rendered shared/_navi.html.erb (0.3ms)
1281
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1282
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
1283
+ Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.3ms)
1284
+  (0.1ms) rollback transaction
1285
+  (0.0ms) begin transaction
1286
+ ------------------------------------------------------------------------------
1287
+ Wobauth::AuthoritiesControllerTest: test_should_get_new_with_preselected_group
1288
+ ------------------------------------------------------------------------------
1289
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1290
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1291
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1292
+  (0.0ms) SAVEPOINT active_record_1
1293
+ 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"]]
1294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1295
+  (0.0ms) SAVEPOINT active_record_1
1296
+ Wobauth::Group Exists (0.1ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "name_1"], ["LIMIT", 1]]
1297
+ 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"]]
1298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1299
+ Processing by Wobauth::AuthoritiesController#new as HTML
1300
+ Parameters: {"group_id"=>"980190963"}
1301
+ 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]]
1302
+ 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"]]
1303
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/new.html.erb within layouts/application
1304
+ Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 980190963], ["LIMIT", 1]]
1305
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups"
1306
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups"
1307
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles"
1308
+ Category Load (0.0ms) SELECT "categories".* FROM "categories"
1309
+ Category Load (0.0ms) SELECT "categories".* FROM "categories"
1310
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/_form.html.erb (7.3ms)
1311
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/new.html.erb within layouts/application (7.4ms)
1312
+ Rendered shared/_navi.html.erb (0.3ms)
1313
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1314
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
1315
+ Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.3ms)
1316
+  (0.1ms) rollback transaction
1317
+  (0.0ms) begin transaction
1318
+ ----------------------------------------------------------------
1319
+ Wobauth::AuthoritiesControllerTest: test_should_create_authority
1320
+ ----------------------------------------------------------------
1321
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1322
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1323
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1324
+  (0.0ms) SAVEPOINT active_record_1
1325
+ 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"]]
1326
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1327
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_authorities"
1328
+ Processing by Wobauth::AuthoritiesController#create as HTML
1329
+ 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"}}
1330
+ 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]]
1331
+ 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"]]
1332
+  (0.1ms) SAVEPOINT active_record_1
1333
+ 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"]]
1334
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1335
+ Redirected to http://test.host/auth/authorities/980190964
1336
+ Completed 302 Found in 8ms (ActiveRecord: 0.3ms)
1337
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_authorities"
1338
+  (0.1ms) rollback transaction
1339
+  (0.0ms) begin transaction
1340
+ ----------------------------------------------------------------------------
1341
+ Wobauth::AuthoritiesControllerTest: test_should_get_all_translations_in_show
1342
+ ----------------------------------------------------------------------------
1343
+ Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1344
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1345
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1346
+  (0.0ms) SAVEPOINT active_record_1
1347
+ 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"]]
1348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1349
+ Processing by Wobauth::AuthoritiesController#show as HTML
1350
+ Parameters: {"id"=>"980190962"}
1351
+ 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]]
1352
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1353
+ 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"]]
1354
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1355
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/show.html.erb within layouts/application
1356
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1357
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1358
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/show.html.erb within layouts/application (2.0ms)
1359
+ Rendered shared/_navi.html.erb (0.3ms)
1360
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1361
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
1362
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.2ms)
1363
+  (0.1ms) rollback transaction
1364
+  (0.0ms) begin transaction
1365
+ -------------------------------------------------------
1366
+ Wobauth::AuthoritiesControllerTest: test_should_get_new
1367
+ -------------------------------------------------------
1368
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1369
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1370
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1371
+  (0.0ms) SAVEPOINT active_record_1
1372
+ 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"]]
1373
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1374
+ Processing by Wobauth::AuthoritiesController#new as HTML
1375
+ 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]]
1376
+ 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"]]
1377
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/new.html.erb within layouts/application
1378
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users"
1379
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users"
1380
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups"
1381
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles"
1382
+ Category Load (0.0ms) SELECT "categories".* FROM "categories"
1383
+ Category Load (0.0ms) SELECT "categories".* FROM "categories"
1384
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/_form.html.erb (6.7ms)
1385
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/new.html.erb within layouts/application (6.8ms)
1386
+ Rendered shared/_navi.html.erb (0.3ms)
1387
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1388
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
1389
+ Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.3ms)
1390
+  (0.1ms) rollback transaction
1391
+  (0.0ms) begin transaction
1392
+ --------------------------------------------------------------
1393
+ Wobauth::AuthoritiesControllerTest: test_should_show_authority
1394
+ --------------------------------------------------------------
1395
+ Wobauth::Authority Load (0.1ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1396
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1397
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1398
+  (0.0ms) SAVEPOINT active_record_1
1399
+ 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"]]
1400
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1401
+ Processing by Wobauth::AuthoritiesController#show as HTML
1402
+ Parameters: {"id"=>"980190962"}
1403
+ 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]]
1404
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1405
+ 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"]]
1406
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1407
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/show.html.erb within layouts/application
1408
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1409
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1410
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/show.html.erb within layouts/application (1.5ms)
1411
+ Rendered shared/_navi.html.erb (0.3ms)
1412
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1413
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
1414
+ Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.2ms)
1415
+  (0.1ms) rollback transaction
1416
+  (0.0ms) begin transaction
1417
+ ----------------------------------------------------------------
1418
+ Wobauth::AuthoritiesControllerTest: test_should_update_authority
1419
+ ----------------------------------------------------------------
1420
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1421
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1422
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1423
+  (0.0ms) SAVEPOINT active_record_1
1424
+ 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"]]
1425
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1426
+ Processing by Wobauth::AuthoritiesController#update as HTML
1427
+ 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"}
1428
+ 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]]
1429
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1430
+ 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"]]
1431
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1432
+  (0.0ms) SAVEPOINT active_record_1
1433
+ 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]]
1434
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1435
+ Redirected to http://test.host/auth/authorities/980190962
1436
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
1437
+  (0.1ms) rollback transaction
1438
+  (0.0ms) begin transaction
1439
+ ---------------------------------------------------------
1440
+ Wobauth::AuthoritiesControllerTest: test_should_get_index
1441
+ ---------------------------------------------------------
1442
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities" WHERE "wobauth_authorities"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1443
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1444
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1445
+  (0.0ms) SAVEPOINT active_record_1
1446
+ 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"]]
1447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1448
+ Processing by Wobauth::AuthoritiesController#index as HTML
1449
+ 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]]
1450
+ 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"]]
1451
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/index.html.erb within layouts/application
1452
+ Wobauth::Authority Load (0.0ms) SELECT "wobauth_authorities".* FROM "wobauth_authorities"
1453
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 7], ["LIMIT", 1]]
1454
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1455
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1456
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
1457
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1458
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1459
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/authorities/index.html.erb within layouts/application (4.5ms)
1460
+ Rendered shared/_navi.html.erb (0.3ms)
1461
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1462
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
1463
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.3ms)
1464
+  (0.1ms) rollback transaction
1465
+  (0.0ms) begin transaction
1466
+ -----------------------------------------------------------------------------------
1467
+ Wobauth::AuthorityTest: test_: Wobauth::Authority should belong to authorized_for.
1468
+ -----------------------------------------------------------------------------------
1469
+  (0.0ms) rollback transaction
1470
+  (0.0ms) begin transaction
1471
+ -------------------------------------------------------------------------
1472
+ Wobauth::AuthorityTest: test_: Wobauth::Authority should belong to role.
1473
+ -------------------------------------------------------------------------
1474
+  (0.0ms) rollback transaction
1475
+  (0.0ms) begin transaction
1476
+ --------------------------------------------------------------------------------------------
1477
+ Wobauth::AuthorityTest: test_: Wobauth::Authority should require authorizable_id to be set.
1478
+ --------------------------------------------------------------------------------------------
1479
+  (0.0ms) rollback transaction
1480
+  (0.0ms) begin transaction
1481
+ ---------------------------------------------------------------------------------
1482
+ Wobauth::AuthorityTest: test_: Wobauth::Authority should simple factory working.
1483
+ ---------------------------------------------------------------------------------
1484
+  (0.0ms) SAVEPOINT active_record_1
1485
+ Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user6"], ["LIMIT", 1]]
1486
+ 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"]]
1487
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1488
+  (0.0ms) SAVEPOINT active_record_1
1489
+ Wobauth::Role Exists (0.1ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? LIMIT ? [["name", "name_3"], ["LIMIT", 1]]
1490
+ 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"]]
1491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1492
+  (0.0ms) SAVEPOINT active_record_1
1493
+ 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"]]
1494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1495
+  (0.0ms) SAVEPOINT active_record_1
1496
+ Wobauth::User Exists (0.0ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user7"], ["LIMIT", 1]]
1497
+ 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"]]
1498
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1499
+  (0.0ms) SAVEPOINT active_record_1
1500
+ Wobauth::Role Exists (0.0ms) SELECT 1 AS one FROM "wobauth_roles" WHERE "wobauth_roles"."name" = ? LIMIT ? [["name", "name_4"], ["LIMIT", 1]]
1501
+ 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"]]
1502
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1503
+  (0.0ms) SAVEPOINT active_record_1
1504
+ 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"]]
1505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1506
+  (0.1ms) rollback transaction
1507
+  (0.0ms) begin transaction
1508
+ ---------------------------------------------------------------------------------
1509
+ Wobauth::AuthorityTest: test_: Wobauth::Authority should belong to authorizable.
1510
+ ---------------------------------------------------------------------------------
1511
+  (0.0ms) rollback transaction
1512
+  (0.0ms) begin transaction
1513
+ ----------------------------------------------------------------------------------------------
1514
+ Wobauth::AuthorityTest: test_: Wobauth::Authority should require authorizable_type to be set.
1515
+ ----------------------------------------------------------------------------------------------
1516
+  (0.0ms) rollback transaction
1517
+  (0.0ms) begin transaction
1518
+ ------------------------------------------------------------------------------------
1519
+ Wobauth::AuthorityTest: test_: Wobauth::Authority should require role_id to be set.
1520
+ ------------------------------------------------------------------------------------
1521
+  (0.0ms) rollback transaction
1522
+  (0.0ms) begin transaction
1523
+ --------------------------------------------------------------------------------------
1524
+ Wobauth::MembershipTest: test_: Wobauth::Membership should require user_id to be set.
1525
+ --------------------------------------------------------------------------------------
1526
+  (0.0ms) rollback transaction
1527
+  (0.0ms) begin transaction
1528
+ -----------------------------------------------------------------------------------
1529
+ Wobauth::MembershipTest: test_: Wobauth::Membership should simple factory working.
1530
+ -----------------------------------------------------------------------------------
1531
+  (0.0ms) SAVEPOINT active_record_1
1532
+ Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user8"], ["LIMIT", 1]]
1533
+ 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"]]
1534
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1535
+  (0.0ms) SAVEPOINT active_record_1
1536
+ Wobauth::Group Exists (0.0ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "name_2"], ["LIMIT", 1]]
1537
+ 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"]]
1538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1539
+  (0.0ms) SAVEPOINT active_record_1
1540
+ 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"]]
1541
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1542
+  (0.0ms) SAVEPOINT active_record_1
1543
+ Wobauth::User Exists (0.0ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user9"], ["LIMIT", 1]]
1544
+ 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"]]
1545
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1546
+  (0.0ms) SAVEPOINT active_record_1
1547
+ Wobauth::Group Exists (0.0ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "name_3"], ["LIMIT", 1]]
1548
+ 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"]]
1549
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1550
+  (0.0ms) SAVEPOINT active_record_1
1551
+ 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"]]
1552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1553
+  (0.1ms) rollback transaction
1554
+  (0.0ms) begin transaction
1555
+ ---------------------------------------------------------------------------------------
1556
+ Wobauth::MembershipTest: test_: Wobauth::Membership should require group_id to be set.
1557
+ ---------------------------------------------------------------------------------------
1558
+  (0.0ms) rollback transaction
1559
+  (0.0ms) begin transaction
1560
+ ----------------------------------------------------------------------------
1561
+ Wobauth::MembershipTest: test_: Wobauth::Membership should belong to group.
1562
+ ----------------------------------------------------------------------------
1563
+  (0.0ms) rollback transaction
1564
+  (0.0ms) begin transaction
1565
+ -------------------------------------------------------------------------------------------------------
1566
+ Wobauth::MembershipTest: test_: Wobauth::Membership should belong to user class_name => Wobauth::User.
1567
+ -------------------------------------------------------------------------------------------------------
1568
+  (0.0ms) rollback transaction
1569
+  (0.0ms) begin transaction
1570
+ --------------------------------------------------------------------------------------
1571
+ Wobauth::GroupTest: test_: Wobauth::Group should have many roles through authorities.
1572
+ --------------------------------------------------------------------------------------
1573
+  (0.0ms) rollback transaction
1574
+  (0.0ms) begin transaction
1575
+ ------------------------------------------------------------------------
1576
+ Wobauth::GroupTest: test_: Wobauth::Group should have many authorities.
1577
+ ------------------------------------------------------------------------
1578
+  (0.0ms) rollback transaction
1579
+  (0.0ms) begin transaction
1580
+ -------------------------------------------------------------------------
1581
+ Wobauth::GroupTest: test_: Wobauth::Group should simple factory working.
1582
+ -------------------------------------------------------------------------
1583
+  (0.0ms) SAVEPOINT active_record_1
1584
+ Wobauth::Group Exists (0.1ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "name_4"], ["LIMIT", 1]]
1585
+ 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"]]
1586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1587
+  (0.0ms) SAVEPOINT active_record_1
1588
+ Wobauth::Group Exists (0.0ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "name_5"], ["LIMIT", 1]]
1589
+ 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"]]
1590
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1591
+ 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]]
1592
+ 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]]
1593
+  (0.1ms) rollback transaction
1594
+  (0.0ms) begin transaction
1595
+ -----------------------------------------------------------------------------------------------
1596
+ Wobauth::GroupTest: test_: Wobauth::Group should require case sensitive unique value for name.
1597
+ -----------------------------------------------------------------------------------------------
1598
+ Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" ORDER BY "wobauth_groups"."id" ASC LIMIT ? [["LIMIT", 1]]
1599
+ Wobauth::Group Exists (0.0ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "user"], ["LIMIT", 1]]
1600
+  (0.0ms) rollback transaction
1601
+  (0.0ms) begin transaction
1602
+ ------------------------------------------------------------------------
1603
+ Wobauth::GroupTest: test_: Wobauth::Group should have many memberships.
1604
+ ------------------------------------------------------------------------
1605
+  (0.0ms) rollback transaction
1606
+  (0.0ms) begin transaction
1607
+ -----------------------------------------------------------------------------------------------------
1608
+ Wobauth::GroupTest: test_: Wobauth::Group should have many users through memberships source => user.
1609
+ -----------------------------------------------------------------------------------------------------
1610
+  (0.0ms) rollback transaction
1611
+  (0.0ms) begin transaction
1612
+ -------------------------------------------------------------------------
1613
+ Wobauth::GroupTest: test_: Wobauth::Group should require name to be set.
1614
+ -------------------------------------------------------------------------
1615
+ Wobauth::Group Exists (0.1ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" IS NULL LIMIT ? [["LIMIT", 1]]
1616
+  (0.0ms) rollback transaction
1617
+  (0.0ms) begin transaction
1618
+ ---------------------------------------------------------
1619
+ NavigationTest: test_: Navigation should show home page.
1620
+ ---------------------------------------------------------
1621
+ Started GET "/home" for 127.0.0.1 at 2018-07-13 11:36:43 +0200
1622
+ Processing by HomeController#index as HTML
1623
+ Rendering home/index.html.erb within layouts/application
1624
+ Rendered home/index.html.erb within layouts/application (0.2ms)
1625
+ Rendered shared/_navi.html.erb (2.5ms)
1626
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1627
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.1ms)
1628
+ Completed 200 OK in 11ms (Views: 6.8ms | ActiveRecord: 0.0ms)
1629
+  (0.0ms) rollback transaction
1630
+  (0.0ms) PRAGMA foreign_keys
1631
+  (0.0ms) PRAGMA foreign_keys = OFF
1632
+  (0.0ms) begin transaction
1633
+ Fixture Delete (0.1ms) DELETE FROM "wobauth_memberships"
1634
+ 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)
1635
+ 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)
1636
+  (10.4ms) commit transaction
1637
+  (0.0ms) PRAGMA foreign_keys = 1
1638
+  (0.0ms) begin transaction
1639
+ ------------------------------------------------------------------
1640
+ Wobauth::MembershipsControllerTest: test_should_destroy_membership
1641
+ ------------------------------------------------------------------
1642
+ Wobauth::Membership Load (0.1ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1643
+ Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1644
+ Wobauth::Role Load (0.1ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1645
+  (0.0ms) SAVEPOINT active_record_1
1646
+ 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"]]
1647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1648
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_memberships"
1649
+ Processing by Wobauth::MembershipsController#destroy as HTML
1650
+ Parameters: {"id"=>"980190962"}
1651
+ 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]]
1652
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1653
+ 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"]]
1654
+ Wobauth::Membership Load (0.1ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1655
+  (0.0ms) SAVEPOINT active_record_1
1656
+ SQL (0.1ms) DELETE FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? [["id", 980190962]]
1657
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1658
+ Redirected to http://test.host/auth/memberships
1659
+ Completed 302 Found in 9ms (ActiveRecord: 0.4ms)
1660
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_memberships"
1661
+  (0.1ms) rollback transaction
1662
+  (0.0ms) begin transaction
1663
+ ----------------------------------------------------------------------------
1664
+ Wobauth::MembershipsControllerTest: test_should_get_all_translations_in_show
1665
+ ----------------------------------------------------------------------------
1666
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1667
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1668
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1669
+  (0.0ms) SAVEPOINT active_record_1
1670
+ 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"]]
1671
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1672
+ Processing by Wobauth::MembershipsController#show as HTML
1673
+ Parameters: {"id"=>"980190962"}
1674
+ 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]]
1675
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1676
+ 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"]]
1677
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1678
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/show.html.erb within layouts/application
1679
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]]
1680
+ Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]]
1681
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/show.html.erb within layouts/application (2.6ms)
1682
+ Rendered shared/_navi.html.erb (0.3ms)
1683
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1684
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (1.0ms)
1685
+ Completed 200 OK in 10ms (Views: 6.5ms | ActiveRecord: 0.2ms)
1686
+  (0.1ms) rollback transaction
1687
+  (0.0ms) begin transaction
1688
+ -------------------------------------------------------------------------
1689
+ Wobauth::MembershipsControllerTest: test_get_new_should_preselected_group
1690
+ -------------------------------------------------------------------------
1691
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1692
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1693
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1694
+  (0.0ms) SAVEPOINT active_record_1
1695
+ 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"]]
1696
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1697
+  (0.0ms) SAVEPOINT active_record_1
1698
+ Wobauth::Group Exists (0.1ms) SELECT 1 AS one FROM "wobauth_groups" WHERE "wobauth_groups"."name" = ? LIMIT ? [["name", "name_6"], ["LIMIT", 1]]
1699
+ 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"]]
1700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1701
+ Processing by Wobauth::MembershipsController#new as HTML
1702
+ Parameters: {"group_id"=>"980190963"}
1703
+ 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]]
1704
+ 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"]]
1705
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/new.html.erb within layouts/application
1706
+ Wobauth::User Load (0.1ms) SELECT "wobauth_users".* FROM "wobauth_users"
1707
+ Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups"
1708
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/_form.html.erb (4.8ms)
1709
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/new.html.erb within layouts/application (5.7ms)
1710
+ Rendered shared/_navi.html.erb (0.3ms)
1711
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1712
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.9ms)
1713
+ Completed 200 OK in 12ms (Views: 9.1ms | ActiveRecord: 0.2ms)
1714
+  (0.1ms) rollback transaction
1715
+  (0.0ms) begin transaction
1716
+ ------------------------------------------------------------------------
1717
+ Wobauth::MembershipsControllerTest: test_get_new_should_preselected_user
1718
+ ------------------------------------------------------------------------
1719
+ Wobauth::Membership Load (0.1ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1720
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1721
+ Wobauth::Role Load (0.4ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1722
+  (0.0ms) SAVEPOINT active_record_1
1723
+ 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"]]
1724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1725
+  (0.0ms) SAVEPOINT active_record_1
1726
+ Wobauth::User Exists (0.1ms) SELECT 1 AS one FROM "wobauth_users" WHERE "wobauth_users"."username" = ? LIMIT ? [["username", "user10"], ["LIMIT", 1]]
1727
+ 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"]]
1728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1729
+ Processing by Wobauth::MembershipsController#new as HTML
1730
+ Parameters: {"user_id"=>"980190963"}
1731
+ 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]]
1732
+ 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"]]
1733
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/new.html.erb within layouts/application
1734
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users"
1735
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups"
1736
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/_form.html.erb (4.3ms)
1737
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/new.html.erb within layouts/application (4.4ms)
1738
+ Rendered shared/_navi.html.erb (0.7ms)
1739
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (8.4ms)
1740
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.7ms)
1741
+ Completed 200 OK in 19ms (Views: 15.6ms | ActiveRecord: 0.2ms)
1742
+  (0.1ms) rollback transaction
1743
+  (0.0ms) begin transaction
1744
+ -----------------------------------------------------------------------------
1745
+ Wobauth::MembershipsControllerTest: test_should_get_all_translations_in_index
1746
+ -----------------------------------------------------------------------------
1747
+ Wobauth::Membership Load (0.1ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1748
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1749
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1750
+  (0.0ms) SAVEPOINT active_record_1
1751
+ 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"]]
1752
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1753
+ Processing by Wobauth::MembershipsController#index as HTML
1754
+ 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]]
1755
+ 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"]]
1756
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/index.html.erb within layouts/application
1757
+ Wobauth::Membership Load (0.1ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships"
1758
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]]
1759
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 22], ["LIMIT", 1]]
1760
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]]
1761
+ Wobauth::Group Load (0.1ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]]
1762
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/index.html.erb within layouts/application (3.7ms)
1763
+ Rendered shared/_navi.html.erb (0.3ms)
1764
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1765
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
1766
+ Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.3ms)
1767
+  (0.1ms) rollback transaction
1768
+  (0.0ms) begin transaction
1769
+ -----------------------------------------------------------------
1770
+ Wobauth::MembershipsControllerTest: test_should_create_membership
1771
+ -----------------------------------------------------------------
1772
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1773
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1774
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1775
+  (0.0ms) SAVEPOINT active_record_1
1776
+ 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"]]
1777
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1778
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_memberships"
1779
+ Processing by Wobauth::MembershipsController#create as HTML
1780
+ Parameters: {"membership"=>{"auto"=>"false", "group_id"=>"12", "user_id"=>"11"}}
1781
+ 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]]
1782
+ Unpermitted parameter: :auto
1783
+ 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"]]
1784
+ Unpermitted parameter: :auto
1785
+  (0.0ms) SAVEPOINT active_record_1
1786
+ 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"]]
1787
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1788
+ Redirected to http://test.host/auth/memberships/980190963
1789
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
1790
+  (0.0ms) SELECT COUNT(*) FROM "wobauth_memberships"
1791
+  (0.1ms) rollback transaction
1792
+  (0.0ms) begin transaction
1793
+ -----------------------------------------------------------------
1794
+ Wobauth::MembershipsControllerTest: test_should_update_membership
1795
+ -----------------------------------------------------------------
1796
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1797
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1798
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1799
+  (0.0ms) SAVEPOINT active_record_1
1800
+ 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"]]
1801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1802
+ Processing by Wobauth::MembershipsController#update as HTML
1803
+ Parameters: {"membership"=>{"auto"=>"false", "group_id"=>"12", "user_id"=>"11"}, "id"=>"980190962"}
1804
+ 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]]
1805
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1806
+ 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"]]
1807
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1808
+ Unpermitted parameter: :auto
1809
+  (0.0ms) SAVEPOINT active_record_1
1810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1811
+ Redirected to http://test.host/auth/memberships/980190962
1812
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
1813
+  (0.1ms) rollback transaction
1814
+  (0.0ms) begin transaction
1815
+ -------------------------------------------------------
1816
+ Wobauth::MembershipsControllerTest: test_should_get_new
1817
+ -------------------------------------------------------
1818
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1819
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1820
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1821
+  (0.0ms) SAVEPOINT active_record_1
1822
+ 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"]]
1823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1824
+ Processing by Wobauth::MembershipsController#new as HTML
1825
+ 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]]
1826
+ 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"]]
1827
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/new.html.erb within layouts/application
1828
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users"
1829
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups"
1830
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/_form.html.erb (2.4ms)
1831
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/new.html.erb within layouts/application (2.5ms)
1832
+ Rendered shared/_navi.html.erb (0.3ms)
1833
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1834
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.6ms)
1835
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.1ms)
1836
+  (0.1ms) rollback transaction
1837
+  (0.0ms) begin transaction
1838
+ --------------------------------------------------------
1839
+ Wobauth::MembershipsControllerTest: test_should_get_edit
1840
+ --------------------------------------------------------
1841
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1842
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1843
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1844
+  (0.0ms) SAVEPOINT active_record_1
1845
+ 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"]]
1846
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1847
+ Processing by Wobauth::MembershipsController#edit as HTML
1848
+ Parameters: {"id"=>"980190962"}
1849
+ 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]]
1850
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1851
+ 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"]]
1852
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1853
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/edit.html.erb within layouts/application
1854
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users"
1855
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups"
1856
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/_form.html.erb (2.4ms)
1857
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/edit.html.erb within layouts/application (2.7ms)
1858
+ Rendered shared/_navi.html.erb (0.3ms)
1859
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1860
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.5ms)
1861
+ Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.2ms)
1862
+  (0.1ms) rollback transaction
1863
+  (0.0ms) begin transaction
1864
+ ---------------------------------------------------------------
1865
+ Wobauth::MembershipsControllerTest: test_should_show_membership
1866
+ ---------------------------------------------------------------
1867
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1868
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1869
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1870
+  (0.0ms) SAVEPOINT active_record_1
1871
+ 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"]]
1872
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1873
+ Processing by Wobauth::MembershipsController#show as HTML
1874
+ Parameters: {"id"=>"980190962"}
1875
+ 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]]
1876
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1877
+ 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"]]
1878
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1879
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/show.html.erb within layouts/application
1880
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]]
1881
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]]
1882
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/show.html.erb within layouts/application (1.3ms)
1883
+ Rendered shared/_navi.html.erb (0.3ms)
1884
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1885
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.5ms)
1886
+ Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms)
1887
+  (0.1ms) rollback transaction
1888
+  (0.0ms) begin transaction
1889
+ ---------------------------------------------------------
1890
+ Wobauth::MembershipsControllerTest: test_should_get_index
1891
+ ---------------------------------------------------------
1892
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships" WHERE "wobauth_memberships"."id" = ? LIMIT ? [["id", 980190962], ["LIMIT", 1]]
1893
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1894
+ Wobauth::Role Load (0.0ms) SELECT "wobauth_roles".* FROM "wobauth_roles" WHERE "wobauth_roles"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1895
+  (0.0ms) SAVEPOINT active_record_1
1896
+ 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"]]
1897
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1898
+ Processing by Wobauth::MembershipsController#index as HTML
1899
+ 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]]
1900
+ 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"]]
1901
+ Rendering /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/index.html.erb within layouts/application
1902
+ Wobauth::Membership Load (0.0ms) SELECT "wobauth_memberships".* FROM "wobauth_memberships"
1903
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 21], ["LIMIT", 1]]
1904
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 22], ["LIMIT", 1]]
1905
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 11], ["LIMIT", 1]]
1906
+ Wobauth::Group Load (0.0ms) SELECT "wobauth_groups".* FROM "wobauth_groups" WHERE "wobauth_groups"."id" = ? LIMIT ? [["id", 12], ["LIMIT", 1]]
1907
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/memberships/index.html.erb within layouts/application (2.9ms)
1908
+ Rendered shared/_navi.html.erb (0.3ms)
1909
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1910
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.5ms)
1911
+ Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.2ms)
1912
+  (0.1ms) rollback transaction
1913
+  (0.0ms) begin transaction
1914
+ --------------------------------------------------------------------------------
1915
+ HomeControllerTest: test_: HomeController should show logout link if logged in.
1916
+ --------------------------------------------------------------------------------
1917
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 267711040], ["LIMIT", 1]]
1918
+ Processing by HomeController#index as HTML
1919
+ Rendering home/index.html.erb within layouts/application
1920
+ Rendered home/index.html.erb within layouts/application (0.0ms)
1921
+ 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]]
1922
+ Rendered shared/_navi.html.erb (0.7ms)
1923
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1924
+ 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"]]
1925
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.7ms)
1926
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)
1927
+  (0.0ms) rollback transaction
1928
+  (0.0ms) begin transaction
1929
+ ---------------------------------------------------------------------------------------
1930
+ HomeControllerTest: test_: HomeController should should get all translations in index.
1931
+ ---------------------------------------------------------------------------------------
1932
+ Wobauth::User Load (0.0ms) SELECT "wobauth_users".* FROM "wobauth_users" WHERE "wobauth_users"."id" = ? LIMIT ? [["id", 135138680], ["LIMIT", 1]]
1933
+ Processing by HomeController#index as HTML
1934
+ Rendering home/index.html.erb within layouts/application
1935
+ Rendered home/index.html.erb within layouts/application (0.0ms)
1936
+ 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]]
1937
+ Rendered shared/_navi.html.erb (0.6ms)
1938
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1939
+ 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"]]
1940
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.7ms)
1941
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
1942
+  (0.0ms) rollback transaction
1943
+  (0.0ms) begin transaction
1944
+ -----------------------------------------------------------------------------------
1945
+ HomeControllerTest: test_: HomeController should show login link if not logged in.
1946
+ -----------------------------------------------------------------------------------
1947
+ Processing by HomeController#index as HTML
1948
+ Rendering home/index.html.erb within layouts/application
1949
+ Rendered home/index.html.erb within layouts/application (0.0ms)
1950
+ Rendered shared/_navi.html.erb (0.2ms)
1951
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_accounting.html.erb (0.2ms)
1952
+ Rendered /home/wob/doc/Projects/github/wobauth/app/views/wobauth/shared/_admin.html.erb (0.0ms)
1953
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
1954
+  (0.0ms) rollback transaction