maestrano-rails 0.15.0 → 0.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/maestrano/rails/saml_base_controller.rb +1 -1
  3. data/maestrano-rails.gemspec +3 -3
  4. data/test/dummy_activerecord/log/test.log +1004 -0
  5. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/2-0w2lrUYGJTWSS8ctq_qa38uSr88P2L-iV2bXyyGuA.cache +2 -0
  6. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/5g7dhxVp4YbZmFw_-T3aU2oYq2Z9Jgtps0CKneXYSS0.cache +2 -0
  7. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/9j4Cn3Bg7rj2--N8lWHQ-aSIKt0CZxl7GNjlSaHb7L0.cache +0 -0
  8. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/BQtyJR3ccqed7_s43p3BPj3IL18LWu1Fo1ZnzWC3qcc.cache +2 -0
  9. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/GDQMRgyhp21p2xg_ITm3PdEDJXU-mgllQ2Mij3aSig4.cache +1 -0
  10. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/HmDZuiDF0OtgSoq7e2rtPrN16sGrNzJO1GrvmJBFqYs.cache +0 -0
  11. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/IgIskv_-aTzPU_wM_Xr1bhk_nLAf8zYrjJonfNtAv6E.cache +1 -0
  12. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/IrC3CI4UK9epEnLL0YUsgNBcThnYcTbaNjMC5uPv1Uo.cache +1 -0
  13. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/K_kmfMGNdm_wfvEnsfYglN-C8fj94rbCQJSnAI03mNU.cache +1 -0
  14. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/LN4-PLL3b8DkfopaNEJ8U-nu9FuSHjEL4nELYoYCub8.cache +0 -0
  15. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/LniLozFK0AHveFRcKmFzbr_tFBteoecaWgVBQbJwaL0.cache +1 -0
  16. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/M6sHCm5v32qRTBidHBsrTORDxaA9SCVgH3jnRn8iNLk.cache +2 -0
  17. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/N6i2RwsdhSsA60KxpXlF7RYb3gLVu2mOQlWzPTMcNw4.cache +1 -0
  18. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/POVOiJI4HFOnKUqmwmHBWI-64koorns1IzsUwQdJwL0.cache +0 -0
  19. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/TM6G95HBN6Kv_sF1SaADJyoSpQQSLmMnUXVn2f1jlnY.cache +1 -0
  20. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/VNCapNKJLeponthNeFJhaBYs92UBT3P8PugENHP0474.cache +2 -0
  21. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/W1I750hXtFauIXfdF_h8f0H6Eh9fPjn1nb3WDnJGJ_0.cache +2 -0
  22. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/WHb_lDwqFJu6BaJF8_AHwWMmgY9AIS0RUjJZATvHGy8.cache +0 -0
  23. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/WkKqqsOutgzMPu_Ym1AolTwC2_fRzqxbvRFpO9Lgh5s.cache +0 -0
  24. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/Wo3dLIbJvLLO5QrL7Lxqf8CcxQPjTVgZjmAHci0eYlg.cache +1 -0
  25. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/aAuuIrhNOw2g3r2XWyh_9bURa6E2xn_5BCVi43ab-Ps.cache +0 -0
  26. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/b7lBpkBxQaCxHBBRf-QF0CiQKnRE8kYGLUzgAPTjf_k.cache +2 -0
  27. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/elwOvgAJ85O6bhimWI8AJJbAOJO-_oUSslLhr9GEfFc.cache +1 -0
  28. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/f8WWrWAptfo1qSmHsTYrCJzb_vYG0wpQ9xvPvb0F6yI.cache +2 -0
  29. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/hcPk5eM7VJPi2ZM7DxeJRgnl-LSUUd_GrYrFi2mj0Yc.cache +1 -0
  30. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/l_tJ9WwBL9Q8XjxQN56nGuGtCrP7kGBvE8e76g8tRC0.cache +2 -0
  31. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/qY82QbvY3JrynAsb6pAVt8teuBrKIkOQ4Yw25pqPvE0.cache +1 -0
  32. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/rjZFcBcZBcZzhVbfMwVzSmiPIhOG3lI-TPXRAVtpN6I.cache +1 -0
  33. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/spcLVj7sWjAbzSoM2eka7e_jHpvNnVKRzuuDwd0m-pQ.cache +1 -0
  34. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/uESU-1lgcxaDZ5lrTLLAlg8GUd-Igwr2gRavnaveWXU.cache +0 -0
  35. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/y66z-kCCKl0cyGdSI_hQzkRNjxRApQedRgJVTu3BuRo.cache +2 -0
  36. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/yJMqE54-t1my_dumhIg6mamMyRx0qADs7nY7cks0l-Q.cache +1 -0
  37. data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/zcBfaDXG5wGN1mPgJL8V1Y7f3VJ7zCZzS4q4zY6CkEM.cache +1 -0
  38. data/test/tmp/app/models/monster.rb +18 -0
  39. metadata +69 -9
  40. data/test/tmp/app/controllers/maestrano/account/group_users_controller.rb +0 -27
  41. data/test/tmp/app/controllers/maestrano/account/groups_controller.rb +0 -37
  42. data/test/tmp/app/controllers/maestrano/auth/saml_controller.rb +0 -57
  43. data/test/tmp/config/routes.rb +0 -60
@@ -13806,3 +13806,1007 @@ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/s
13806
13806
   (0.0ms) commit transaction
13807
13807
   (0.0ms) begin transaction
13808
13808
   (0.0ms) rollback transaction
13809
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13810
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13811
+ ---------------------------------------------------------------------------------------------------------------------------------------
13812
+ MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
13813
+ ---------------------------------------------------------------------------------------------------------------------------------------
13814
+  (0.1ms) begin transaction
13815
+  (0.1ms) commit transaction
13816
+  (0.1ms) begin transaction
13817
+ MnoCrew Load (0.1ms) SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = ? AND "mno_crews"."uid" = ? AND "mno_crews"."tenant" = ? ORDER BY "mno_crews"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"]]
13818
+  (0.1ms) SAVEPOINT active_record_1
13819
+ SQL (0.2ms) INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:19.344337"], ["updated_at", "2016-02-15 06:38:19.344337"]]
13820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13821
+  (0.1ms) rollback transaction
13822
+ ------------------------------------------------------------------------------------------------------------------------------------------------------
13823
+ MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
13824
+ ------------------------------------------------------------------------------------------------------------------------------------------------------
13825
+  (0.0ms) begin transaction
13826
+  (0.0ms) commit transaction
13827
+  (0.0ms) begin transaction
13828
+  (0.0ms) SAVEPOINT active_record_1
13829
+ SQL (0.1ms) INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:19.346856"], ["updated_at", "2016-02-15 06:38:19.346856"]]
13830
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13831
+ MnoCrew Load (0.4ms) SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = ? AND "mno_crews"."uid" = ? AND "mno_crews"."tenant" = ? ORDER BY "mno_crews"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"]]
13832
+  (0.0ms) SAVEPOINT active_record_1
13833
+ SQL (0.1ms) INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:19.348776"], ["updated_at", "2016-02-15 06:38:19.348776"]]
13834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13835
+  (0.1ms) rollback transaction
13836
+ ------------------------------------------------------------------------------------------------------------------------------
13837
+ MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
13838
+ ------------------------------------------------------------------------------------------------------------------------------
13839
+  (0.0ms) begin transaction
13840
+  (0.0ms) commit transaction
13841
+  (0.0ms) begin transaction
13842
+  (0.0ms) SAVEPOINT active_record_1
13843
+ SQL (0.1ms) INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:19.350908"], ["updated_at", "2016-02-15 06:38:19.350908"]]
13844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13845
+ MnoCrew Load (0.0ms) SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = ? AND "mno_crews"."uid" = ? AND "mno_crews"."tenant" = ? ORDER BY "mno_crews"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"]]
13846
+  (0.1ms) rollback transaction
13847
+ ----------------------------------------------------------------------------------------------------
13848
+ MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
13849
+ ----------------------------------------------------------------------------------------------------
13850
+  (0.0ms) begin transaction
13851
+  (0.0ms) commit transaction
13852
+  (0.0ms) begin transaction
13853
+  (0.0ms) rollback transaction
13854
+ -------------------------------------------------------------------------------------------------------------
13855
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
13856
+ -------------------------------------------------------------------------------------------------------------
13857
+  (0.0ms) begin transaction
13858
+  (0.0ms) commit transaction
13859
+  (0.0ms) begin transaction
13860
+  (0.0ms) rollback transaction
13861
+ -----------------------------------------------------------------------------------------------
13862
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
13863
+ -----------------------------------------------------------------------------------------------
13864
+  (0.0ms) begin transaction
13865
+  (0.0ms) commit transaction
13866
+  (0.0ms) begin transaction
13867
+  (0.0ms) rollback transaction
13868
+ ------------------------------------------------------------------------------------------------------------------------
13869
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
13870
+ ------------------------------------------------------------------------------------------------------------------------
13871
+  (0.0ms) begin transaction
13872
+  (0.0ms) commit transaction
13873
+  (0.0ms) begin transaction
13874
+  (0.0ms) rollback transaction
13875
+ --------------------------------------------------------------------------------------------------------
13876
+ UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
13877
+ --------------------------------------------------------------------------------------------------------
13878
+  (0.1ms) begin transaction
13879
+  (0.0ms) commit transaction
13880
+  (0.0ms) begin transaction
13881
+  (0.1ms) rollback transaction
13882
+ --------------------------------------------------------------------------------------------------
13883
+ UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
13884
+ --------------------------------------------------------------------------------------------------
13885
+  (0.0ms) begin transaction
13886
+  (0.0ms) commit transaction
13887
+  (0.0ms) begin transaction
13888
+  (0.1ms) rollback transaction
13889
+ -----------------------------------------------------------------
13890
+ GroupsControllerTest: test_: authenticated should be successful.
13891
+ -----------------------------------------------------------------
13892
+  (0.0ms) begin transaction
13893
+  (0.0ms) commit transaction
13894
+  (0.0ms) begin transaction
13895
+ Processing by Maestrano::Account::GroupsController#destroy as HTML
13896
+ Parameters: {"id"=>"cld-1"}
13897
+ Rendered text template (0.0ms)
13898
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
13899
+  (0.0ms) rollback transaction
13900
+ -----------------------------------------------------------------
13901
+ GroupsControllerTest: test_: unauthenticated should deny access.
13902
+ -----------------------------------------------------------------
13903
+  (0.3ms) begin transaction
13904
+  (0.0ms) commit transaction
13905
+  (0.0ms) begin transaction
13906
+ Processing by Maestrano::Account::GroupsController#destroy as HTML
13907
+ Parameters: {"id"=>"cld-1"}
13908
+ Filter chain halted as :authenticate_maestrano! rendered or redirected
13909
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
13910
+  (0.0ms) rollback transaction
13911
+ ------------------------------
13912
+ MaestranoRailsTest: test_truth
13913
+ ------------------------------
13914
+  (0.0ms) begin transaction
13915
+  (0.0ms) commit transaction
13916
+  (0.0ms) begin transaction
13917
+  (0.0ms) rollback transaction
13918
+ ------------------------------------------------------------------------------------------
13919
+ ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
13920
+ ------------------------------------------------------------------------------------------
13921
+  (0.0ms) begin transaction
13922
+  (0.0ms) commit transaction
13923
+  (0.0ms) begin transaction
13924
+  (0.0ms) rollback transaction
13925
+ --------------------------------------------------------------------------------------
13926
+ ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
13927
+ --------------------------------------------------------------------------------------
13928
+  (0.0ms) begin transaction
13929
+  (0.0ms) commit transaction
13930
+  (0.0ms) begin transaction
13931
+  (0.1ms) rollback transaction
13932
+ --------------------------------------------------------------------------------------
13933
+ ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
13934
+ --------------------------------------------------------------------------------------
13935
+  (0.1ms) begin transaction
13936
+  (0.0ms) commit transaction
13937
+  (0.0ms) begin transaction
13938
+  (0.0ms) rollback transaction
13939
+ ----------------------------------------------------------------------------------
13940
+ ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
13941
+ ----------------------------------------------------------------------------------
13942
+  (0.0ms) begin transaction
13943
+  (0.0ms) commit transaction
13944
+  (0.0ms) begin transaction
13945
+  (0.0ms) rollback transaction
13946
+ --------------------------------------------------------------------------------------------------------------------------
13947
+ ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
13948
+ --------------------------------------------------------------------------------------------------------------------------
13949
+  (0.0ms) begin transaction
13950
+  (0.0ms) commit transaction
13951
+  (0.0ms) begin transaction
13952
+  (0.0ms) rollback transaction
13953
+ --------------------------------------------------------------------------------------------------------------------------
13954
+ ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
13955
+ --------------------------------------------------------------------------------------------------------------------------
13956
+  (0.0ms) begin transaction
13957
+  (0.0ms) commit transaction
13958
+  (0.0ms) begin transaction
13959
+  (0.0ms) rollback transaction
13960
+ ---------------------------------------------------------------------------------------------
13961
+ ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
13962
+ ---------------------------------------------------------------------------------------------
13963
+  (0.2ms) begin transaction
13964
+  (0.0ms) commit transaction
13965
+  (0.0ms) begin transaction
13966
+  (0.0ms) rollback transaction
13967
+ ----------------------------------------------------------------------------------------------------------
13968
+ GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
13969
+ ----------------------------------------------------------------------------------------------------------
13970
+  (0.0ms) begin transaction
13971
+  (0.0ms) commit transaction
13972
+  (0.0ms) begin transaction
13973
+  (0.1ms) rollback transaction
13974
+ ----------------------------------------------------------------------------------------------------
13975
+ GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
13976
+ ----------------------------------------------------------------------------------------------------
13977
+  (0.3ms) begin transaction
13978
+  (0.0ms) commit transaction
13979
+  (0.0ms) begin transaction
13980
+  (0.1ms) rollback transaction
13981
+ ----------------------------------------------------------------------------------------------
13982
+ SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
13983
+ ----------------------------------------------------------------------------------------------
13984
+  (0.0ms) begin transaction
13985
+  (0.0ms) commit transaction
13986
+  (0.0ms) begin transaction
13987
+ Processing by Maestrano::Auth::SamlController#consume as HTML
13988
+ Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
13989
+ Bla
13990
+ Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
13991
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
13992
+  (0.0ms) rollback transaction
13993
+ --------------------------------------------------------------------------------------------------------------------
13994
+ SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
13995
+ --------------------------------------------------------------------------------------------------------------------
13996
+  (0.0ms) begin transaction
13997
+  (0.0ms) commit transaction
13998
+  (0.0ms) begin transaction
13999
+ Processing by Maestrano::Auth::SamlController#consume as HTML
14000
+ Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
14001
+ Redirected to http://test.host/
14002
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
14003
+  (0.0ms) rollback transaction
14004
+ ---------------------------------------------------------------------------------
14005
+ SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
14006
+ ---------------------------------------------------------------------------------
14007
+  (0.0ms) begin transaction
14008
+  (0.0ms) commit transaction
14009
+  (0.0ms) begin transaction
14010
+ Processing by Maestrano::Auth::SamlController#consume as HTML
14011
+ Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
14012
+ Redirected to http://test.host/
14013
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
14014
+  (0.0ms) rollback transaction
14015
+ --------------------------------------------------------------------------------------
14016
+ SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
14017
+ --------------------------------------------------------------------------------------
14018
+  (0.0ms) begin transaction
14019
+  (0.0ms) commit transaction
14020
+  (0.0ms) begin transaction
14021
+ Processing by Maestrano::Auth::SamlController#consume as HTML
14022
+ Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
14023
+ Redirected to http://test.host/
14024
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
14025
+  (0.0ms) rollback transaction
14026
+ -------------------------------------------------------------------------------
14027
+ SamlBaseControllerTest: test_: consume phase should set the maestrano session.
14028
+ -------------------------------------------------------------------------------
14029
+  (0.0ms) begin transaction
14030
+  (0.0ms) commit transaction
14031
+  (0.0ms) begin transaction
14032
+ Processing by Maestrano::Auth::SamlController#consume as HTML
14033
+ Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
14034
+ Redirected to http://test.host/
14035
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
14036
+  (0.0ms) rollback transaction
14037
+ -------------------------------------------------------------------------------------
14038
+ SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
14039
+ -------------------------------------------------------------------------------------
14040
+  (0.0ms) begin transaction
14041
+  (0.0ms) commit transaction
14042
+  (0.0ms) begin transaction
14043
+ Processing by Maestrano::Auth::SamlController#consume as HTML
14044
+ Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
14045
+ Redirected to http://test.host/
14046
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
14047
+  (0.0ms) rollback transaction
14048
+ ------------------------------------------------------------------------------------------
14049
+ SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
14050
+ ------------------------------------------------------------------------------------------
14051
+  (0.0ms) begin transaction
14052
+  (0.0ms) commit transaction
14053
+  (0.0ms) begin transaction
14054
+ Processing by Maestrano::Auth::SamlController#consume as HTML
14055
+ Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
14056
+ Redirected to http://test.host/
14057
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
14058
+  (0.0ms) rollback transaction
14059
+ ---------------------------------------------------------------------------------------------------------------------------
14060
+ SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
14061
+ ---------------------------------------------------------------------------------------------------------------------------
14062
+  (0.0ms) begin transaction
14063
+  (0.0ms) commit transaction
14064
+  (0.0ms) begin transaction
14065
+ Processing by Maestrano::Auth::SamlController#init as HTML
14066
+ Parameters: {"a_param"=>"value"}
14067
+ Redirected to http://idpprovider.com?r=request
14068
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
14069
+  (0.0ms) rollback transaction
14070
+ -----------------------------------------------------------------------------------------------------------------------
14071
+ SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
14072
+ -----------------------------------------------------------------------------------------------------------------------
14073
+  (0.0ms) begin transaction
14074
+  (0.0ms) commit transaction
14075
+  (0.0ms) begin transaction
14076
+ Processing by Maestrano::Auth::SamlController#init as HTML
14077
+ Parameters: {"a_param"=>"value"}
14078
+ Redirected to http://idpprovider.com?r=request
14079
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
14080
+  (0.0ms) rollback transaction
14081
+ ---------------------------------------------------------------------------------------
14082
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
14083
+ ---------------------------------------------------------------------------------------
14084
+  (0.0ms) begin transaction
14085
+  (0.0ms) commit transaction
14086
+  (0.0ms) begin transaction
14087
+  (0.0ms) rollback transaction
14088
+ ----------------------------------------------------------------------------------
14089
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
14090
+ ----------------------------------------------------------------------------------
14091
+  (0.0ms) begin transaction
14092
+  (0.0ms) commit transaction
14093
+  (0.0ms) begin transaction
14094
+  (0.0ms) rollback transaction
14095
+ ----------------------------------------------------------------------------------------------------------
14096
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
14097
+ ----------------------------------------------------------------------------------------------------------
14098
+  (0.0ms) begin transaction
14099
+  (0.0ms) commit transaction
14100
+  (0.0ms) begin transaction
14101
+  (0.0ms) rollback transaction
14102
+ -----------------------------------------------------------------------------------------------------
14103
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
14104
+ -----------------------------------------------------------------------------------------------------
14105
+  (0.0ms) begin transaction
14106
+  (0.0ms) commit transaction
14107
+  (0.0ms) begin transaction
14108
+  (0.0ms) rollback transaction
14109
+ ------------------------------------------------------------------------------------------------
14110
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
14111
+ ------------------------------------------------------------------------------------------------
14112
+  (0.0ms) begin transaction
14113
+  (0.0ms) commit transaction
14114
+  (0.0ms) begin transaction
14115
+  (0.0ms) rollback transaction
14116
+ ---------------------------------------------------------------------
14117
+ GroupUsersControllerTest: test_: authenticated should be successful.
14118
+ ---------------------------------------------------------------------
14119
+  (0.0ms) begin transaction
14120
+  (0.0ms) commit transaction
14121
+  (0.0ms) begin transaction
14122
+ Processing by Maestrano::Account::GroupUsersController#destroy as HTML
14123
+ Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
14124
+ Rendered text template (0.0ms)
14125
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
14126
+  (0.1ms) rollback transaction
14127
+ ---------------------------------------------------------------------
14128
+ GroupUsersControllerTest: test_: unauthenticated should deny access.
14129
+ ---------------------------------------------------------------------
14130
+  (0.0ms) begin transaction
14131
+  (0.0ms) commit transaction
14132
+  (0.0ms) begin transaction
14133
+ Processing by Maestrano::Account::GroupUsersController#destroy as HTML
14134
+ Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
14135
+ Filter chain halted as :authenticate_maestrano! rendered or redirected
14136
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
14137
+  (0.0ms) rollback transaction
14138
+ -------------------------------------------------------------------------------------------
14139
+ ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
14140
+ -------------------------------------------------------------------------------------------
14141
+  (0.0ms) begin transaction
14142
+  (0.0ms) commit transaction
14143
+  (0.0ms) begin transaction
14144
+  (0.0ms) rollback transaction
14145
+ ---------------------------------------------------------------------------------------
14146
+ ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
14147
+ ---------------------------------------------------------------------------------------
14148
+  (0.0ms) begin transaction
14149
+  (0.0ms) commit transaction
14150
+  (0.0ms) begin transaction
14151
+  (0.0ms) rollback transaction
14152
+ ---------------------------------------------------------------------------------------
14153
+ ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
14154
+ ---------------------------------------------------------------------------------------
14155
+  (0.0ms) begin transaction
14156
+  (0.0ms) commit transaction
14157
+  (0.0ms) begin transaction
14158
+  (0.0ms) rollback transaction
14159
+ -----------------------------------------------------------------------------------
14160
+ ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
14161
+ -----------------------------------------------------------------------------------
14162
+  (0.0ms) begin transaction
14163
+  (0.0ms) commit transaction
14164
+  (0.0ms) begin transaction
14165
+  (0.0ms) rollback transaction
14166
+ ---------------------------------------------------------------------------------------------------------------------------
14167
+ ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
14168
+ ---------------------------------------------------------------------------------------------------------------------------
14169
+  (0.0ms) begin transaction
14170
+  (0.0ms) commit transaction
14171
+  (0.0ms) begin transaction
14172
+  (0.0ms) rollback transaction
14173
+ ---------------------------------------------------------------------------------------------------------------------------
14174
+ ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
14175
+ ---------------------------------------------------------------------------------------------------------------------------
14176
+  (0.0ms) begin transaction
14177
+  (0.0ms) commit transaction
14178
+  (0.0ms) begin transaction
14179
+  (0.0ms) rollback transaction
14180
+ ----------------------------------------------------------------------------------------------
14181
+ ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
14182
+ ----------------------------------------------------------------------------------------------
14183
+  (0.0ms) begin transaction
14184
+  (0.0ms) commit transaction
14185
+  (0.0ms) begin transaction
14186
+  (0.0ms) rollback transaction
14187
+ -------------------------------------------------------------------
14188
+ MetadataControllerTest: test_: authenticated should be successful.
14189
+ -------------------------------------------------------------------
14190
+  (0.0ms) begin transaction
14191
+  (0.0ms) commit transaction
14192
+  (0.0ms) begin transaction
14193
+ Processing by Maestrano::Rails::MetadataController#index as HTML
14194
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
14195
+  (0.0ms) rollback transaction
14196
+ -------------------------------------------------------------------
14197
+ MetadataControllerTest: test_: unauthenticated should deny access.
14198
+ -------------------------------------------------------------------
14199
+  (0.0ms) begin transaction
14200
+  (0.0ms) commit transaction
14201
+  (0.0ms) begin transaction
14202
+ Processing by Maestrano::Rails::MetadataController#index as HTML
14203
+ Filter chain halted as :authenticate_maestrano! rendered or redirected
14204
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
14205
+  (0.0ms) rollback transaction
14206
+ --------------------------------------------------------------------------------------------------------------------------------------
14207
+ MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
14208
+ --------------------------------------------------------------------------------------------------------------------------------------
14209
+  (0.1ms) begin transaction
14210
+  (0.0ms) commit transaction
14211
+  (0.0ms) begin transaction
14212
+ MnoMonster Load (0.1ms) SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = ? AND "mno_monsters"."uid" = ? AND "mno_monsters"."tenant" = ? ORDER BY "mno_monsters"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"]]
14213
+  (0.0ms) SAVEPOINT active_record_1
14214
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Mon"], ["last_name", "Ster"], ["email", "monster@monst.com"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:19.522740"], ["updated_at", "2016-02-15 06:38:19.522740"]]
14215
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14216
+  (0.1ms) rollback transaction
14217
+ --------------------------------------------------------------------------------------------------------------------------------------------------------
14218
+ MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
14219
+ --------------------------------------------------------------------------------------------------------------------------------------------------------
14220
+  (0.0ms) begin transaction
14221
+  (0.0ms) commit transaction
14222
+  (0.0ms) begin transaction
14223
+  (0.0ms) SAVEPOINT active_record_1
14224
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Jack"], ["email", "monster@co.com"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:19.524641"], ["updated_at", "2016-02-15 06:38:19.524641"]]
14225
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14226
+ MnoMonster Load (0.0ms) SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = ? AND "mno_monsters"."uid" = ? AND "mno_monsters"."tenant" = ? ORDER BY "mno_monsters"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"]]
14227
+  (0.0ms) SAVEPOINT active_record_1
14228
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:19.525994"], ["updated_at", "2016-02-15 06:38:19.525994"]]
14229
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14230
+  (0.1ms) rollback transaction
14231
+ --------------------------------------------------------------------------------------------------------------------------------
14232
+ MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
14233
+ --------------------------------------------------------------------------------------------------------------------------------
14234
+  (0.0ms) begin transaction
14235
+  (0.0ms) commit transaction
14236
+  (0.0ms) begin transaction
14237
+  (0.0ms) SAVEPOINT active_record_1
14238
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Jack"], ["email", "monster@co.com"], ["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:19.527374"], ["updated_at", "2016-02-15 06:38:19.527374"]]
14239
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14240
+ MnoMonster Load (0.0ms) SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = ? AND "mno_monsters"."uid" = ? AND "mno_monsters"."tenant" = ? ORDER BY "mno_monsters"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"]]
14241
+  (0.1ms) rollback transaction
14242
+ ---------------------------------------------------------------------------------------------------
14243
+ MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
14244
+ ---------------------------------------------------------------------------------------------------
14245
+  (0.0ms) begin transaction
14246
+  (0.0ms) commit transaction
14247
+  (0.0ms) begin transaction
14248
+  (0.0ms) rollback transaction
14249
+ ------------------------------------------------------------------------------------------------------------
14250
+ MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
14251
+ ------------------------------------------------------------------------------------------------------------
14252
+  (0.0ms) begin transaction
14253
+  (0.0ms) commit transaction
14254
+  (0.0ms) begin transaction
14255
+  (0.0ms) rollback transaction
14256
+ ----------------------------------------------------------------------------------------------
14257
+ MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
14258
+ ----------------------------------------------------------------------------------------------
14259
+  (0.0ms) begin transaction
14260
+  (0.0ms) commit transaction
14261
+  (0.0ms) begin transaction
14262
+  (0.0ms) rollback transaction
14263
+ -----------------------------------------------------------------------------------------------------------------------
14264
+ MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
14265
+ -----------------------------------------------------------------------------------------------------------------------
14266
+  (0.0ms) begin transaction
14267
+  (0.0ms) commit transaction
14268
+  (0.0ms) begin transaction
14269
+  (0.0ms) rollback transaction
14270
+ ---------------------------------------------------------------------------------------------------------------------
14271
+ GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
14272
+ ---------------------------------------------------------------------------------------------------------------------
14273
+  (0.0ms) begin transaction
14274
+  (0.0ms) commit transaction
14275
+  (0.0ms) begin transaction
14276
+ Processing by PagesController#home as HTML
14277
+ Rendered pages/home.html.erb within layouts/application (0.3ms)
14278
+ Completed 200 OK in 185ms (Views: 184.6ms | ActiveRecord: 0.0ms)
14279
+  (0.1ms) rollback transaction
14280
+ --------------------------------------------------------------------------------------------------------------------
14281
+ GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
14282
+ --------------------------------------------------------------------------------------------------------------------
14283
+  (0.1ms) begin transaction
14284
+  (0.0ms) commit transaction
14285
+  (0.0ms) begin transaction
14286
+ Processing by PagesController#home as HTML
14287
+ Redirected to http://localhost:3000/maestrano/auth/saml/init/default
14288
+ Filter chain halted as :verify_maestrano_session rendered or redirected
14289
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
14290
+  (0.0ms) rollback transaction
14291
+ -----------------------------------------------------------------------------------------------------------
14292
+ GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
14293
+ -----------------------------------------------------------------------------------------------------------
14294
+  (0.0ms) begin transaction
14295
+  (0.0ms) commit transaction
14296
+  (0.0ms) begin transaction
14297
+ Processing by PagesController#home as HTML
14298
+ Rendered pages/home.html.erb within layouts/application (0.0ms)
14299
+ Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
14300
+  (0.1ms) rollback transaction
14301
+ ------------------------------------------------------------------------------
14302
+ GenericControllerTest: test_: with no maestrano session should be successful.
14303
+ ------------------------------------------------------------------------------
14304
+  (0.0ms) begin transaction
14305
+  (0.0ms) commit transaction
14306
+  (0.1ms) begin transaction
14307
+ Processing by PagesController#home as HTML
14308
+ Rendered pages/home.html.erb within layouts/application (0.1ms)
14309
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
14310
+  (0.1ms) rollback transaction
14311
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
14312
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
14313
+ -------------------------------------------------------------------
14314
+ MetadataControllerTest: test_: authenticated should be successful.
14315
+ -------------------------------------------------------------------
14316
+  (0.1ms) begin transaction
14317
+  (0.0ms) commit transaction
14318
+  (0.0ms) begin transaction
14319
+ Processing by Maestrano::Rails::MetadataController#index as HTML
14320
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
14321
+  (0.0ms) rollback transaction
14322
+ -------------------------------------------------------------------
14323
+ MetadataControllerTest: test_: unauthenticated should deny access.
14324
+ -------------------------------------------------------------------
14325
+  (0.0ms) begin transaction
14326
+  (0.0ms) commit transaction
14327
+  (0.0ms) begin transaction
14328
+ Processing by Maestrano::Rails::MetadataController#index as HTML
14329
+ Filter chain halted as :authenticate_maestrano! rendered or redirected
14330
+ Completed 401 Unauthorized in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
14331
+  (0.0ms) rollback transaction
14332
+ ------------------------------
14333
+ MaestranoRailsTest: test_truth
14334
+ ------------------------------
14335
+  (0.0ms) begin transaction
14336
+  (0.0ms) commit transaction
14337
+  (0.0ms) begin transaction
14338
+  (0.0ms) rollback transaction
14339
+ ---------------------------------------------------------------------------------------
14340
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
14341
+ ---------------------------------------------------------------------------------------
14342
+  (0.0ms) begin transaction
14343
+  (0.0ms) commit transaction
14344
+  (0.0ms) begin transaction
14345
+  (0.0ms) rollback transaction
14346
+ ----------------------------------------------------------------------------------
14347
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
14348
+ ----------------------------------------------------------------------------------
14349
+  (0.0ms) begin transaction
14350
+  (0.0ms) commit transaction
14351
+  (0.0ms) begin transaction
14352
+  (0.1ms) rollback transaction
14353
+ ----------------------------------------------------------------------------------------------------------
14354
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
14355
+ ----------------------------------------------------------------------------------------------------------
14356
+  (0.0ms) begin transaction
14357
+  (0.0ms) commit transaction
14358
+  (0.0ms) begin transaction
14359
+  (0.1ms) rollback transaction
14360
+ -----------------------------------------------------------------------------------------------------
14361
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
14362
+ -----------------------------------------------------------------------------------------------------
14363
+  (0.0ms) begin transaction
14364
+  (0.0ms) commit transaction
14365
+  (0.0ms) begin transaction
14366
+  (0.0ms) rollback transaction
14367
+ ------------------------------------------------------------------------------------------------
14368
+ InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
14369
+ ------------------------------------------------------------------------------------------------
14370
+  (0.0ms) begin transaction
14371
+  (0.0ms) commit transaction
14372
+  (0.0ms) begin transaction
14373
+  (0.0ms) rollback transaction
14374
+ ---------------------------------------------------------------------------------------------------------------------------------------
14375
+ MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
14376
+ ---------------------------------------------------------------------------------------------------------------------------------------
14377
+  (0.0ms) begin transaction
14378
+  (0.3ms) commit transaction
14379
+  (0.0ms) begin transaction
14380
+ MnoCrew Load (0.1ms) SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = ? AND "mno_crews"."uid" = ? AND "mno_crews"."tenant" = ? ORDER BY "mno_crews"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"]]
14381
+  (0.1ms) SAVEPOINT active_record_1
14382
+ SQL (0.3ms) INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:45.740847"], ["updated_at", "2016-02-15 06:38:45.740847"]]
14383
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14384
+  (0.1ms) rollback transaction
14385
+ ------------------------------------------------------------------------------------------------------------------------------------------------------
14386
+ MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
14387
+ ------------------------------------------------------------------------------------------------------------------------------------------------------
14388
+  (0.1ms) begin transaction
14389
+  (0.2ms) commit transaction
14390
+  (0.0ms) begin transaction
14391
+  (0.0ms) SAVEPOINT active_record_1
14392
+ SQL (0.1ms) INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:45.743935"], ["updated_at", "2016-02-15 06:38:45.743935"]]
14393
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14394
+ MnoCrew Load (0.0ms) SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = ? AND "mno_crews"."uid" = ? AND "mno_crews"."tenant" = ? ORDER BY "mno_crews"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"]]
14395
+  (0.1ms) SAVEPOINT active_record_1
14396
+ SQL (0.2ms) INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:45.746217"], ["updated_at", "2016-02-15 06:38:45.746217"]]
14397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14398
+  (0.1ms) rollback transaction
14399
+ ------------------------------------------------------------------------------------------------------------------------------
14400
+ MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
14401
+ ------------------------------------------------------------------------------------------------------------------------------
14402
+  (0.0ms) begin transaction
14403
+  (0.0ms) commit transaction
14404
+  (0.0ms) begin transaction
14405
+  (0.0ms) SAVEPOINT active_record_1
14406
+ SQL (0.1ms) INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:45.748271"], ["updated_at", "2016-02-15 06:38:45.748271"]]
14407
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14408
+ MnoCrew Load (0.0ms) SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = ? AND "mno_crews"."uid" = ? AND "mno_crews"."tenant" = ? ORDER BY "mno_crews"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"]]
14409
+  (0.1ms) rollback transaction
14410
+ ----------------------------------------------------------------------------------------------------
14411
+ MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
14412
+ ----------------------------------------------------------------------------------------------------
14413
+  (0.0ms) begin transaction
14414
+  (0.0ms) commit transaction
14415
+  (0.0ms) begin transaction
14416
+  (0.0ms) rollback transaction
14417
+ -------------------------------------------------------------------------------------------------------------
14418
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
14419
+ -------------------------------------------------------------------------------------------------------------
14420
+  (0.0ms) begin transaction
14421
+  (0.0ms) commit transaction
14422
+  (0.2ms) begin transaction
14423
+  (0.0ms) rollback transaction
14424
+ -----------------------------------------------------------------------------------------------
14425
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
14426
+ -----------------------------------------------------------------------------------------------
14427
+  (0.0ms) begin transaction
14428
+  (0.0ms) commit transaction
14429
+  (0.0ms) begin transaction
14430
+  (0.0ms) rollback transaction
14431
+ ------------------------------------------------------------------------------------------------------------------------
14432
+ MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
14433
+ ------------------------------------------------------------------------------------------------------------------------
14434
+  (0.0ms) begin transaction
14435
+  (0.0ms) commit transaction
14436
+  (0.0ms) begin transaction
14437
+  (0.0ms) rollback transaction
14438
+ -------------------------------------------------------------------------------------------
14439
+ ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
14440
+ -------------------------------------------------------------------------------------------
14441
+  (0.0ms) begin transaction
14442
+  (0.0ms) commit transaction
14443
+  (0.0ms) begin transaction
14444
+  (0.0ms) rollback transaction
14445
+ ---------------------------------------------------------------------------------------
14446
+ ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
14447
+ ---------------------------------------------------------------------------------------
14448
+  (0.0ms) begin transaction
14449
+  (0.0ms) commit transaction
14450
+  (0.0ms) begin transaction
14451
+  (0.0ms) rollback transaction
14452
+ ---------------------------------------------------------------------------------------
14453
+ ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
14454
+ ---------------------------------------------------------------------------------------
14455
+  (0.0ms) begin transaction
14456
+  (0.0ms) commit transaction
14457
+  (0.0ms) begin transaction
14458
+  (0.0ms) rollback transaction
14459
+ -----------------------------------------------------------------------------------
14460
+ ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
14461
+ -----------------------------------------------------------------------------------
14462
+  (0.0ms) begin transaction
14463
+  (0.0ms) commit transaction
14464
+  (0.0ms) begin transaction
14465
+  (0.1ms) rollback transaction
14466
+ ---------------------------------------------------------------------------------------------------------------------------
14467
+ ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
14468
+ ---------------------------------------------------------------------------------------------------------------------------
14469
+  (0.0ms) begin transaction
14470
+  (0.0ms) commit transaction
14471
+  (0.0ms) begin transaction
14472
+  (0.0ms) rollback transaction
14473
+ ---------------------------------------------------------------------------------------------------------------------------
14474
+ ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
14475
+ ---------------------------------------------------------------------------------------------------------------------------
14476
+  (0.0ms) begin transaction
14477
+  (0.0ms) commit transaction
14478
+  (0.0ms) begin transaction
14479
+  (0.1ms) rollback transaction
14480
+ ----------------------------------------------------------------------------------------------
14481
+ ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
14482
+ ----------------------------------------------------------------------------------------------
14483
+  (0.0ms) begin transaction
14484
+  (0.0ms) commit transaction
14485
+  (0.0ms) begin transaction
14486
+  (0.0ms) rollback transaction
14487
+ -----------------------------------------------------------------
14488
+ GroupsControllerTest: test_: authenticated should be successful.
14489
+ -----------------------------------------------------------------
14490
+  (0.0ms) begin transaction
14491
+  (0.0ms) commit transaction
14492
+  (0.0ms) begin transaction
14493
+ Processing by Maestrano::Account::GroupsController#destroy as HTML
14494
+ Parameters: {"id"=>"cld-1"}
14495
+ Rendered text template (0.0ms)
14496
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
14497
+  (0.0ms) rollback transaction
14498
+ -----------------------------------------------------------------
14499
+ GroupsControllerTest: test_: unauthenticated should deny access.
14500
+ -----------------------------------------------------------------
14501
+  (0.0ms) begin transaction
14502
+  (0.0ms) commit transaction
14503
+  (0.0ms) begin transaction
14504
+ Processing by Maestrano::Account::GroupsController#destroy as HTML
14505
+ Parameters: {"id"=>"cld-1"}
14506
+ Filter chain halted as :authenticate_maestrano! rendered or redirected
14507
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
14508
+  (0.0ms) rollback transaction
14509
+ ---------------------------------------------------------------------------------------------------------------------
14510
+ GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
14511
+ ---------------------------------------------------------------------------------------------------------------------
14512
+  (0.0ms) begin transaction
14513
+  (0.0ms) commit transaction
14514
+  (0.0ms) begin transaction
14515
+ Processing by PagesController#home as HTML
14516
+ Rendered pages/home.html.erb within layouts/application (0.3ms)
14517
+ Completed 200 OK in 99ms (Views: 98.4ms | ActiveRecord: 0.0ms)
14518
+  (0.1ms) rollback transaction
14519
+ --------------------------------------------------------------------------------------------------------------------
14520
+ GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
14521
+ --------------------------------------------------------------------------------------------------------------------
14522
+  (0.0ms) begin transaction
14523
+  (0.0ms) commit transaction
14524
+  (0.0ms) begin transaction
14525
+ Processing by PagesController#home as HTML
14526
+ Redirected to http://localhost:3000/maestrano/auth/saml/init/default
14527
+ Filter chain halted as :verify_maestrano_session rendered or redirected
14528
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
14529
+  (0.0ms) rollback transaction
14530
+ -----------------------------------------------------------------------------------------------------------
14531
+ GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
14532
+ -----------------------------------------------------------------------------------------------------------
14533
+  (0.0ms) begin transaction
14534
+  (0.0ms) commit transaction
14535
+  (0.0ms) begin transaction
14536
+ Processing by PagesController#home as HTML
14537
+ Rendered pages/home.html.erb within layouts/application (0.0ms)
14538
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
14539
+  (0.0ms) rollback transaction
14540
+ ------------------------------------------------------------------------------
14541
+ GenericControllerTest: test_: with no maestrano session should be successful.
14542
+ ------------------------------------------------------------------------------
14543
+  (0.0ms) begin transaction
14544
+  (0.0ms) commit transaction
14545
+  (0.0ms) begin transaction
14546
+ Processing by PagesController#home as HTML
14547
+ Rendered pages/home.html.erb within layouts/application (0.0ms)
14548
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
14549
+  (0.0ms) rollback transaction
14550
+ ------------------------------------------------------------------------------------------
14551
+ ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
14552
+ ------------------------------------------------------------------------------------------
14553
+  (0.0ms) begin transaction
14554
+  (0.0ms) commit transaction
14555
+  (0.0ms) begin transaction
14556
+  (0.0ms) rollback transaction
14557
+ --------------------------------------------------------------------------------------
14558
+ ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
14559
+ --------------------------------------------------------------------------------------
14560
+  (0.0ms) begin transaction
14561
+  (0.0ms) commit transaction
14562
+  (0.0ms) begin transaction
14563
+  (0.0ms) rollback transaction
14564
+ --------------------------------------------------------------------------------------
14565
+ ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
14566
+ --------------------------------------------------------------------------------------
14567
+  (0.0ms) begin transaction
14568
+  (0.0ms) commit transaction
14569
+  (0.0ms) begin transaction
14570
+  (0.0ms) rollback transaction
14571
+ ----------------------------------------------------------------------------------
14572
+ ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
14573
+ ----------------------------------------------------------------------------------
14574
+  (0.0ms) begin transaction
14575
+  (0.0ms) commit transaction
14576
+  (0.0ms) begin transaction
14577
+  (0.0ms) rollback transaction
14578
+ --------------------------------------------------------------------------------------------------------------------------
14579
+ ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
14580
+ --------------------------------------------------------------------------------------------------------------------------
14581
+  (0.0ms) begin transaction
14582
+  (0.0ms) commit transaction
14583
+  (0.0ms) begin transaction
14584
+  (0.0ms) rollback transaction
14585
+ --------------------------------------------------------------------------------------------------------------------------
14586
+ ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
14587
+ --------------------------------------------------------------------------------------------------------------------------
14588
+  (0.1ms) begin transaction
14589
+  (0.0ms) commit transaction
14590
+  (0.0ms) begin transaction
14591
+  (0.0ms) rollback transaction
14592
+ ---------------------------------------------------------------------------------------------
14593
+ ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
14594
+ ---------------------------------------------------------------------------------------------
14595
+  (0.0ms) begin transaction
14596
+  (0.0ms) commit transaction
14597
+  (0.0ms) begin transaction
14598
+  (0.0ms) rollback transaction
14599
+ ----------------------------------------------------------------------------------------------------------
14600
+ GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
14601
+ ----------------------------------------------------------------------------------------------------------
14602
+  (0.1ms) begin transaction
14603
+  (0.0ms) commit transaction
14604
+  (0.0ms) begin transaction
14605
+  (0.1ms) rollback transaction
14606
+ ----------------------------------------------------------------------------------------------------
14607
+ GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
14608
+ ----------------------------------------------------------------------------------------------------
14609
+  (0.0ms) begin transaction
14610
+  (0.0ms) commit transaction
14611
+  (0.0ms) begin transaction
14612
+  (0.0ms) rollback transaction
14613
+ --------------------------------------------------------------------------------------------------------------------------------------
14614
+ MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
14615
+ --------------------------------------------------------------------------------------------------------------------------------------
14616
+  (0.0ms) begin transaction
14617
+  (0.0ms) commit transaction
14618
+  (0.0ms) begin transaction
14619
+ MnoMonster Load (0.1ms) SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = ? AND "mno_monsters"."uid" = ? AND "mno_monsters"."tenant" = ? ORDER BY "mno_monsters"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"]]
14620
+  (0.0ms) SAVEPOINT active_record_1
14621
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Mon"], ["last_name", "Ster"], ["email", "monster@monst.com"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:45.942299"], ["updated_at", "2016-02-15 06:38:45.942299"]]
14622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14623
+  (0.1ms) rollback transaction
14624
+ --------------------------------------------------------------------------------------------------------------------------------------------------------
14625
+ MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
14626
+ --------------------------------------------------------------------------------------------------------------------------------------------------------
14627
+  (0.0ms) begin transaction
14628
+  (0.0ms) commit transaction
14629
+  (0.0ms) begin transaction
14630
+  (0.0ms) SAVEPOINT active_record_1
14631
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Jack"], ["email", "monster@co.com"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:45.944318"], ["updated_at", "2016-02-15 06:38:45.944318"]]
14632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14633
+ MnoMonster Load (0.0ms) SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = ? AND "mno_monsters"."uid" = ? AND "mno_monsters"."tenant" = ? ORDER BY "mno_monsters"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"]]
14634
+  (0.0ms) SAVEPOINT active_record_1
14635
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:45.945735"], ["updated_at", "2016-02-15 06:38:45.945735"]]
14636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14637
+  (0.1ms) rollback transaction
14638
+ --------------------------------------------------------------------------------------------------------------------------------
14639
+ MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
14640
+ --------------------------------------------------------------------------------------------------------------------------------
14641
+  (0.0ms) begin transaction
14642
+  (0.0ms) commit transaction
14643
+  (0.0ms) begin transaction
14644
+  (0.0ms) SAVEPOINT active_record_1
14645
+ SQL (0.1ms) INSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Jack"], ["email", "monster@co.com"], ["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2016-02-15 06:38:45.947371"], ["updated_at", "2016-02-15 06:38:45.947371"]]
14646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14647
+ MnoMonster Load (0.0ms) SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = ? AND "mno_monsters"."uid" = ? AND "mno_monsters"."tenant" = ? ORDER BY "mno_monsters"."id" ASC LIMIT 1 [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"]]
14648
+  (0.1ms) rollback transaction
14649
+ ---------------------------------------------------------------------------------------------------
14650
+ MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
14651
+ ---------------------------------------------------------------------------------------------------
14652
+  (0.0ms) begin transaction
14653
+  (0.0ms) commit transaction
14654
+  (0.0ms) begin transaction
14655
+  (0.0ms) rollback transaction
14656
+ ------------------------------------------------------------------------------------------------------------
14657
+ MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
14658
+ ------------------------------------------------------------------------------------------------------------
14659
+  (0.0ms) begin transaction
14660
+  (0.0ms) commit transaction
14661
+  (0.0ms) begin transaction
14662
+  (0.0ms) rollback transaction
14663
+ ----------------------------------------------------------------------------------------------
14664
+ MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
14665
+ ----------------------------------------------------------------------------------------------
14666
+  (0.0ms) begin transaction
14667
+  (0.0ms) commit transaction
14668
+  (0.0ms) begin transaction
14669
+  (0.0ms) rollback transaction
14670
+ -----------------------------------------------------------------------------------------------------------------------
14671
+ MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
14672
+ -----------------------------------------------------------------------------------------------------------------------
14673
+  (0.0ms) begin transaction
14674
+  (0.0ms) commit transaction
14675
+  (0.0ms) begin transaction
14676
+  (0.0ms) rollback transaction
14677
+ ---------------------------------------------------------------------
14678
+ GroupUsersControllerTest: test_: authenticated should be successful.
14679
+ ---------------------------------------------------------------------
14680
+  (0.0ms) begin transaction
14681
+  (0.0ms) commit transaction
14682
+  (0.0ms) begin transaction
14683
+ Processing by Maestrano::Account::GroupUsersController#destroy as HTML
14684
+ Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
14685
+ Rendered text template (0.0ms)
14686
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
14687
+  (0.1ms) rollback transaction
14688
+ ---------------------------------------------------------------------
14689
+ GroupUsersControllerTest: test_: unauthenticated should deny access.
14690
+ ---------------------------------------------------------------------
14691
+  (0.0ms) begin transaction
14692
+  (0.0ms) commit transaction
14693
+  (0.0ms) begin transaction
14694
+ Processing by Maestrano::Account::GroupUsersController#destroy as HTML
14695
+ Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
14696
+ Filter chain halted as :authenticate_maestrano! rendered or redirected
14697
+ Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
14698
+  (0.1ms) rollback transaction
14699
+ ----------------------------------------------------------------------------------------------
14700
+ SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
14701
+ ----------------------------------------------------------------------------------------------
14702
+  (0.1ms) begin transaction
14703
+  (0.1ms) commit transaction
14704
+  (0.0ms) begin transaction
14705
+ Processing by Maestrano::Auth::SamlController#consume as HTML
14706
+ Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
14707
+ Bla
14708
+ Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
14709
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
14710
+  (0.0ms) rollback transaction
14711
+ --------------------------------------------------------------------------------------------------------------------
14712
+ SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
14713
+ --------------------------------------------------------------------------------------------------------------------
14714
+  (0.0ms) begin transaction
14715
+  (0.0ms) commit transaction
14716
+  (0.0ms) begin transaction
14717
+ Processing by Maestrano::Auth::SamlController#consume as HTML
14718
+ Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
14719
+ Redirected to http://test.host/
14720
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
14721
+  (0.0ms) rollback transaction
14722
+ ---------------------------------------------------------------------------------
14723
+ SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
14724
+ ---------------------------------------------------------------------------------
14725
+  (0.0ms) begin transaction
14726
+  (0.0ms) commit transaction
14727
+  (0.0ms) begin transaction
14728
+ Processing by Maestrano::Auth::SamlController#consume as HTML
14729
+ Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
14730
+ Redirected to http://test.host/
14731
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
14732
+  (0.0ms) rollback transaction
14733
+ --------------------------------------------------------------------------------------
14734
+ SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
14735
+ --------------------------------------------------------------------------------------
14736
+  (0.0ms) begin transaction
14737
+  (0.0ms) commit transaction
14738
+  (0.0ms) begin transaction
14739
+ Processing by Maestrano::Auth::SamlController#consume as HTML
14740
+ Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
14741
+ Redirected to http://test.host/
14742
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
14743
+  (0.0ms) rollback transaction
14744
+ -------------------------------------------------------------------------------
14745
+ SamlBaseControllerTest: test_: consume phase should set the maestrano session.
14746
+ -------------------------------------------------------------------------------
14747
+  (0.0ms) begin transaction
14748
+  (0.0ms) commit transaction
14749
+  (0.0ms) begin transaction
14750
+ Processing by Maestrano::Auth::SamlController#consume as HTML
14751
+ Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
14752
+ Redirected to http://test.host/
14753
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
14754
+  (0.0ms) rollback transaction
14755
+ -------------------------------------------------------------------------------------
14756
+ SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
14757
+ -------------------------------------------------------------------------------------
14758
+  (0.0ms) begin transaction
14759
+  (0.0ms) commit transaction
14760
+  (0.0ms) begin transaction
14761
+ Processing by Maestrano::Auth::SamlController#consume as HTML
14762
+ Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
14763
+ Redirected to http://test.host/
14764
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
14765
+  (0.0ms) rollback transaction
14766
+ ------------------------------------------------------------------------------------------
14767
+ SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
14768
+ ------------------------------------------------------------------------------------------
14769
+  (0.0ms) begin transaction
14770
+  (0.0ms) commit transaction
14771
+  (0.0ms) begin transaction
14772
+ Processing by Maestrano::Auth::SamlController#consume as HTML
14773
+ Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
14774
+ Redirected to http://test.host/
14775
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
14776
+  (0.0ms) rollback transaction
14777
+ ---------------------------------------------------------------------------------------------------------------------------
14778
+ SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
14779
+ ---------------------------------------------------------------------------------------------------------------------------
14780
+  (0.0ms) begin transaction
14781
+  (0.0ms) commit transaction
14782
+  (0.0ms) begin transaction
14783
+ Processing by Maestrano::Auth::SamlController#init as HTML
14784
+ Parameters: {"a_param"=>"value"}
14785
+ Redirected to http://idpprovider.com?r=request
14786
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
14787
+  (0.0ms) rollback transaction
14788
+ -----------------------------------------------------------------------------------------------------------------------
14789
+ SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
14790
+ -----------------------------------------------------------------------------------------------------------------------
14791
+  (0.0ms) begin transaction
14792
+  (0.0ms) commit transaction
14793
+  (0.0ms) begin transaction
14794
+ Processing by Maestrano::Auth::SamlController#init as HTML
14795
+ Parameters: {"a_param"=>"value"}
14796
+ Redirected to http://idpprovider.com?r=request
14797
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
14798
+  (0.0ms) rollback transaction
14799
+ --------------------------------------------------------------------------------------------------------
14800
+ UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
14801
+ --------------------------------------------------------------------------------------------------------
14802
+  (0.0ms) begin transaction
14803
+  (0.0ms) commit transaction
14804
+  (0.0ms) begin transaction
14805
+  (0.0ms) rollback transaction
14806
+ --------------------------------------------------------------------------------------------------
14807
+ UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
14808
+ --------------------------------------------------------------------------------------------------
14809
+  (0.0ms) begin transaction
14810
+  (0.0ms) commit transaction
14811
+  (0.0ms) begin transaction
14812
+  (0.1ms) rollback transaction