maestrano-rails 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +43 -38
- data/README.md +4 -7
- data/lib/generators/maestrano/templates/maestrano.rb +6 -139
- data/lib/maestrano/rails/routing/routes.rb +1 -9
- data/maestrano-rails.gemspec +8 -9
- data/test/dummy_activerecord/config/initializers/maestrano.rb +7 -85
- data/test/dummy_activerecord/log/test.log +2947 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/1Y/1YNesTg9JO8EmKnsQ5o2QuHPY1_SoBI4IzPgjGbNDtg.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/2E/2EMDck6E8hnJgftO6NKYnFBF3I7OY1XxmBhGYJx9hVU.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/2J/2JXGkjZ38teJKsoxInZDvaepp3CkHBoDSogY8mrjnz4.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/2y/2yOKmCmlo43TKFToC7sDi79zv1sEaKuRhPT-9RwLexo.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/5g/5g7dhxVp4YbZmFw_-T3aU2oYq2Z9Jgtps0CKneXYSS0.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/6C/6CJDEgEqVZ6WWB28_UrOgZXJ7imhTkyPfJCnjZaeHQo.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/9v/9vZgtlozMnArb7R4KXZgyLUlc2hAKYMVeczENURRLfk.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/BD/BD9vS-VA_G0ByKRS5cM8hNg17DhxAUCnbjirsC7QZT8.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/BQ/BQtyJR3ccqed7_s43p3BPj3IL18LWu1Fo1ZnzWC3qcc.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/Br/BrPxwjWI-O7aKFPR9IHgVHTz--0ve7HgO1xAHOSorxw.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/D0/D0oQIDvZMxs7K1-bwAjXYaRTXNnKIB-vk4wDO3Mw3d4.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/Eg/Eg9dsjuoufOcT1ojGffj56kcFY4ujQHBl4iBxaHNywQ.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/GN/GN7EpxkaiDaaLFjlptcIZ0BjIwz4SQv-J6Si_qHNtRQ.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/GX/GXBrspUeZnBiwFADWDaNmSYt9wkavup0id1nDW51SwI.cache +3 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/J7/J7Oklw3hOELd9594tXtFa2w66T4_zffVHzJ8TfX9uwc.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/Lg/LgG4iMjI9pzWwqLjXp3JvB3xs8j14SUJzG4eRCYOWrU.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/MJ/MJ2lcrIryOfzt2cWGx3d8LeFOJoLuIAlrL7SCdGMaik.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/Oa/OaJik9XhKBzY7AT4At2irZpA2GTHO3p4_hUa1ORSzjc.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/PJ/PJU52zcAkrMbEOmlo13u_i04nf-PXPCL_i6_ybo2AYo.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/VN/VNCapNKJLeponthNeFJhaBYs92UBT3P8PugENHP0474.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/VO/VOqmZhoZgNGgBPBfKq2xsc37yyNBBqntTUWteHs1VVc.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/Vl/VlVHSjm74GkjWDuZlfcI6KAaQ9xjg8meWAssVwt-YMI.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/Vt/VtysXvEqJf4LwL6kuKUSWHZbeR_jKoYj_z1L99d5Yzk.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/W1/W1I750hXtFauIXfdF_h8f0H6Eh9fPjn1nb3WDnJGJ_0.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/W_/W_AqS_Ihb1uBTP5eubT7Ep7vc3CcoUzol5J0T4xQsL0.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/Yc/YcfvUdqaxEInuhPH8QMPNyhWsGLwtIx76o-tR_VUc_0.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/_S/_SiC-nT_xG9vCIPkHUmC7GfAGNufVJLYqHQ4vQLOjvs.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/_m/_m7Yy9Dl3hfylyoF91XSCvlOZ3762vGWH_ZhkTvreMU.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/ak/akBxy_qeJ5hlUAP5G80qm_ZsKBlpXViO9rGg95rWx8U.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/b7/b7lBpkBxQaCxHBBRf-QF0CiQKnRE8kYGLUzgAPTjf_k.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/c2/c2LxqcKRpYH4PIKJj0RIMbpQeONqcvmk8zRZ3qAd4no.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/dp/dplQ3jBb_bBGoJ4xMRKxYbJR5YoZjuyamwFopJb07Xo.cache +3 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/eZ/eZWyKd8Y-LcqrovIoB-YJiklulQC0CGG0d22eCJcYuU.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/em/emPaz2829mOOQZolLXyEoXP73X44t4p-YUUA763b_1k.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/fk/fkliCI8v5fyy_CObCj5Va9hEnO4JqIPX6WBhUYUJS4k.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/hk/hkWnysQ9aaUtcEVLGt9gkfzIPrFfFqnR1P4LlriYD40.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/j3/j3F-bQu56g8H580zxIStr369Vt2DEbb0BQJ21ie2eoI.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/jK/jK6-bONOghUmAYu3DkuJ2MLIlLa8P9kbTE3tc1wBheg.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/jm/jmJh54mguyD0TmNGQ4ExIqEW4jR1jQeJcO5mhggpfMs.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/jt/jtrPJEzuZbLsfLK4SZphEu2PPyopSCtRfXQwj2AyAZg.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/kQ/kQZfXHFhuNUcLTvh4QzLL6fKDZc-8XkwCwT8eMIW8ns.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/l_/l_tJ9WwBL9Q8XjxQN56nGuGtCrP7kGBvE8e76g8tRC0.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/my/mybo3dsRj5MFU0orUFY47lfsYuIuBB_KL1Z4aNANxYI.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/qo/qob9eyRuMnynEh3V1dqTC-rEE-j5mOlG7t6EamNVBFY.cache +3 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/rf/rfsxw1dZNQvrAvAmqFP8bFeBcVIAPuvqozFzw80eS-4.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/rm/rmsobLUxsQY2_hRp-ygb9dlbdoHpFlV6FMPnhxqpA1k.cache +3 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/sm/sm0X5aOvu10an00TtKAEtdF3Wpi08DQrHKEe3XXNHtk.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/x_/x_ZYCJrtiH6rATOiHF1QuxobPhpt7IRQUwciwGdXOxo.cache +0 -0
- data/test/dummy_mongoid/config/initializers/maestrano.rb +7 -85
- data/test/tmp/app/controllers/maestrano/account/group_users_controller.rb +27 -0
- data/test/tmp/app/controllers/maestrano/account/groups_controller.rb +37 -0
- data/test/tmp/app/controllers/maestrano/auth/saml_controller.rb +57 -0
- data/test/tmp/config/initializers/maestrano.rb +7 -0
- data/test/tmp/config/routes.rb +60 -0
- metadata +99 -10
- data/app/controllers/maestrano/rails/metadata_controller.rb +0 -10
- data/test/controllers/metadata_controller_test.rb +0 -24
- data/test/tmp/app/models/monster.rb +0 -19
@@ -43831,3 +43831,2950 @@ GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration gene
|
|
43831
43831
|
[1m[35m (0.1ms)[0m commit transaction
|
43832
43832
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43833
43833
|
[1m[35m (0.2ms)[0m rollback transaction
|
43834
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
43835
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
43836
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
43837
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
43838
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
43839
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43840
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43841
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43842
|
+
[1m[35mMnoMonster Load (0.1ms)[0m 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"]]
|
43843
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43844
|
+
[1m[35mSQL (0.2ms)[0m 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", "2017-01-03 01:16:39.115573"], ["updated_at", "2017-01-03 01:16:39.115573"]]
|
43845
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43846
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43847
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
43848
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
43849
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
43850
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43851
|
+
[1m[35m (0.1ms)[0m commit transaction
|
43852
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43853
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43854
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["first_name", "John"], ["last_name", "Jack"], ["email", "monster@co.com"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:16:39.119133"], ["updated_at", "2017-01-03 01:16:39.119133"]]
|
43855
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43856
|
+
[1m[36mMnoMonster Load (0.1ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"]]
|
43857
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43858
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mno_monsters" ("provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:16:39.122008"], ["updated_at", "2017-01-03 01:16:39.122008"]]
|
43859
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43860
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43861
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
43862
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
43863
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
43864
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43865
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43866
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43867
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43868
|
+
[1m[35mSQL (0.1ms)[0m 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", "2017-01-03 01:16:39.125148"], ["updated_at", "2017-01-03 01:16:39.125148"]]
|
43869
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43870
|
+
[1m[35mMnoMonster Load (0.1ms)[0m 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"]]
|
43871
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43872
|
+
---------------------------------------------------------------------------------------------------
|
43873
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
43874
|
+
---------------------------------------------------------------------------------------------------
|
43875
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43876
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43877
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43878
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
43879
|
+
------------------------------------------------------------------------------------------------------------
|
43880
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
43881
|
+
------------------------------------------------------------------------------------------------------------
|
43882
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43883
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43884
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43885
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
43886
|
+
----------------------------------------------------------------------------------------------
|
43887
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
43888
|
+
----------------------------------------------------------------------------------------------
|
43889
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43890
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43891
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43892
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
43893
|
+
-----------------------------------------------------------------------------------------------------------------------
|
43894
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
43895
|
+
-----------------------------------------------------------------------------------------------------------------------
|
43896
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43897
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43898
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43899
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
43900
|
+
----------------------------------------------------------------------------------------------------------
|
43901
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
43902
|
+
----------------------------------------------------------------------------------------------------------
|
43903
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43904
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43905
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43906
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43907
|
+
----------------------------------------------------------------------------------------------------
|
43908
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
43909
|
+
----------------------------------------------------------------------------------------------------
|
43910
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43911
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43912
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43913
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43914
|
+
-------------------------------------------------------------------
|
43915
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
43916
|
+
-------------------------------------------------------------------
|
43917
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43918
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43919
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43920
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
43921
|
+
-------------------------------------------------------------------
|
43922
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
43923
|
+
-------------------------------------------------------------------
|
43924
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43925
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43926
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43927
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
43928
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
43929
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
43930
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
43931
|
+
----------------------------------------------------------------------------------------------
|
43932
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
43933
|
+
----------------------------------------------------------------------------------------------
|
43934
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43935
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43936
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43937
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
43938
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
43939
|
+
Cannot validate SAML response: Bla
|
43940
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.2.1/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.2.1/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.2.1/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.2.1/lib/mocha/mock.rb:296:in `method_missing'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:35:in `process_saml_response'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:18:in `saml_response_transaction'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:520:in `post'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:117:in `block (3 levels) in <class:SamlBaseControllerTest>'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:129:in `instance_exec'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:129:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:105:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:202:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:102:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:253:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:101:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:273:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:100:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:822:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:323:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:336:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:62:in `block in autorun'"]
|
43941
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
43942
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43943
|
+
--------------------------------------------------------------------------------------------------------------------
|
43944
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
43945
|
+
--------------------------------------------------------------------------------------------------------------------
|
43946
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43947
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43948
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43949
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
43950
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
43951
|
+
Cannot validate SAML response: undefined method `[]' for nil:NilClass
|
43952
|
+
Trace: ["/home/bruno/Workspace/maestrano-ruby/lib/maestrano.rb:122:in `param'", "/home/bruno/Workspace/maestrano-ruby/lib/maestrano/sso/base_user.rb:30:in `to_uid'", "/home/bruno/Workspace/maestrano-ruby/lib/maestrano/sso/base_user.rb:49:in `to_hash'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:36:in `process_saml_response'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:18:in `saml_response_transaction'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:520:in `post'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:102:in `block (2 levels) in <class:SamlBaseControllerTest>'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:106:in `instance_exec'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:106:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:105:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:202:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:102:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:253:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:101:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:273:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:100:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:822:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:323:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:336:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:62:in `block in autorun'"]
|
43953
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
|
43954
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
43955
|
+
---------------------------------------------------------------------------------
|
43956
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
43957
|
+
---------------------------------------------------------------------------------
|
43958
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43959
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43960
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43961
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
43962
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
43963
|
+
Cannot validate SAML response: undefined method `[]' for nil:NilClass
|
43964
|
+
Trace: ["/home/bruno/Workspace/maestrano-ruby/lib/maestrano.rb:122:in `param'", "/home/bruno/Workspace/maestrano-ruby/lib/maestrano/sso/base_user.rb:30:in `to_uid'", "/home/bruno/Workspace/maestrano-ruby/lib/maestrano/sso/base_user.rb:49:in `to_hash'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:36:in `process_saml_response'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:18:in `saml_response_transaction'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:520:in `post'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:56:in `block (2 levels) in <class:SamlBaseControllerTest>'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:68:in `instance_exec'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:68:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:105:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:202:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:102:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:253:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:101:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:273:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:100:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:822:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:323:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:336:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:62:in `block in autorun'"]
|
43965
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
|
43966
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
43967
|
+
--------------------------------------------------------------------------------------
|
43968
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
43969
|
+
--------------------------------------------------------------------------------------
|
43970
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43971
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43972
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43973
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
43974
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
43975
|
+
Cannot validate SAML response: undefined method `[]' for nil:NilClass
|
43976
|
+
Trace: ["/home/bruno/Workspace/maestrano-ruby/lib/maestrano.rb:122:in `param'", "/home/bruno/Workspace/maestrano-ruby/lib/maestrano/sso/base_user.rb:30:in `to_uid'", "/home/bruno/Workspace/maestrano-ruby/lib/maestrano/sso/base_user.rb:49:in `to_hash'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:36:in `process_saml_response'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:18:in `saml_response_transaction'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:520:in `post'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:67:in `block (2 levels) in <class:SamlBaseControllerTest>'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:79:in `instance_exec'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:79:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:105:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:202:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:102:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:253:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:101:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:273:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:100:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:822:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:323:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:336:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:62:in `block in autorun'"]
|
43977
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
|
43978
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
43979
|
+
-------------------------------------------------------------------------------
|
43980
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
43981
|
+
-------------------------------------------------------------------------------
|
43982
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43983
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43984
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43985
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
43986
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
43987
|
+
Cannot validate SAML response: undefined method `[]' for nil:NilClass
|
43988
|
+
Trace: ["/home/bruno/Workspace/maestrano-ruby/lib/maestrano.rb:122:in `param'", "/home/bruno/Workspace/maestrano-ruby/lib/maestrano/sso/base_user.rb:30:in `to_uid'", "/home/bruno/Workspace/maestrano-ruby/lib/maestrano/sso/base_user.rb:49:in `to_hash'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:36:in `process_saml_response'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:18:in `saml_response_transaction'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:520:in `post'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:84:in `block (2 levels) in <class:SamlBaseControllerTest>'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:96:in `instance_exec'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:96:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:105:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:202:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:102:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:253:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:101:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:273:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:100:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:822:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:323:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:336:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:62:in `block in autorun'"]
|
43989
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
|
43990
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
43991
|
+
-------------------------------------------------------------------------------------
|
43992
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
43993
|
+
-------------------------------------------------------------------------------------
|
43994
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43995
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43996
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43997
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
43998
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
43999
|
+
Cannot validate SAML response: undefined method `[]' for nil:NilClass
|
44000
|
+
Trace: ["/home/bruno/Workspace/maestrano-ruby/lib/maestrano.rb:122:in `param'", "/home/bruno/Workspace/maestrano-ruby/lib/maestrano/sso/base_user.rb:30:in `to_uid'", "/home/bruno/Workspace/maestrano-ruby/lib/maestrano/sso/base_user.rb:49:in `to_hash'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:36:in `process_saml_response'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:18:in `saml_response_transaction'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:520:in `post'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:61:in `block (2 levels) in <class:SamlBaseControllerTest>'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:73:in `instance_exec'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:73:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:105:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:202:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:102:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:253:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:101:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:273:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:100:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:822:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:323:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:336:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:62:in `block in autorun'"]
|
44001
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
|
44002
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44003
|
+
------------------------------------------------------------------------------------------
|
44004
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
44005
|
+
------------------------------------------------------------------------------------------
|
44006
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44007
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44008
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44009
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
44010
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
44011
|
+
Cannot validate SAML response: undefined method `[]' for nil:NilClass
|
44012
|
+
Trace: ["/home/bruno/Workspace/maestrano-ruby/lib/maestrano.rb:122:in `param'", "/home/bruno/Workspace/maestrano-ruby/lib/maestrano/sso/base_user.rb:30:in `to_uid'", "/home/bruno/Workspace/maestrano-ruby/lib/maestrano/sso/base_user.rb:49:in `to_hash'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:36:in `process_saml_response'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:18:in `saml_response_transaction'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:520:in `post'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:73:in `block (2 levels) in <class:SamlBaseControllerTest>'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:85:in `instance_exec'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:85:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:105:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:202:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:102:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:253:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:101:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:273:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest/test.rb:100:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:822:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:323:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:336:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.10.1/lib/minitest.rb:62:in `block in autorun'"]
|
44013
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
|
44014
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44015
|
+
---------------------------------------------------------------------------------------------------------------------------
|
44016
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
44017
|
+
---------------------------------------------------------------------------------------------------------------------------
|
44018
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44019
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44020
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44021
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
44022
|
+
Parameters: {"a_param"=>"value"}
|
44023
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
44024
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44025
|
+
-----------------------------------------------------------------------------------------------------------------------
|
44026
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
44027
|
+
-----------------------------------------------------------------------------------------------------------------------
|
44028
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44029
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
44030
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44031
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
44032
|
+
Parameters: {"a_param"=>"value"}
|
44033
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
44034
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44035
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
44036
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
44037
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
44038
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44039
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44040
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44041
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"]]
|
44042
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44043
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2017-01-03 01:16:39.193401"], ["updated_at", "2017-01-03 01:16:39.193401"]]
|
44044
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44045
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44046
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
44047
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
44048
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
44049
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44050
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44051
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44052
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44053
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:16:39.195436"], ["updated_at", "2017-01-03 01:16:39.195436"]]
|
44054
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44055
|
+
[1m[35mMnoCrew Load (0.0ms)[0m 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"]]
|
44056
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44057
|
+
[1m[35mSQL (0.1ms)[0m 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", "2017-01-03 01:16:39.197016"], ["updated_at", "2017-01-03 01:16:39.197016"]]
|
44058
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44059
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44060
|
+
------------------------------------------------------------------------------------------------------------------------------
|
44061
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
44062
|
+
------------------------------------------------------------------------------------------------------------------------------
|
44063
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44064
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44065
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44066
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44067
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:16:39.198607"], ["updated_at", "2017-01-03 01:16:39.198607"]]
|
44068
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44069
|
+
[1m[36mMnoCrew Load (0.0ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"]]
|
44070
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44071
|
+
----------------------------------------------------------------------------------------------------
|
44072
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
44073
|
+
----------------------------------------------------------------------------------------------------
|
44074
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44075
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44076
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44077
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44078
|
+
-------------------------------------------------------------------------------------------------------------
|
44079
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
44080
|
+
-------------------------------------------------------------------------------------------------------------
|
44081
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44082
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44083
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44084
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44085
|
+
-----------------------------------------------------------------------------------------------
|
44086
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
44087
|
+
-----------------------------------------------------------------------------------------------
|
44088
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44089
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44090
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44091
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44092
|
+
------------------------------------------------------------------------------------------------------------------------
|
44093
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
44094
|
+
------------------------------------------------------------------------------------------------------------------------
|
44095
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44096
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44097
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44098
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44099
|
+
------------------------------------------------------------------------------------------
|
44100
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
44101
|
+
------------------------------------------------------------------------------------------
|
44102
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44103
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44104
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44105
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44106
|
+
--------------------------------------------------------------------------------------
|
44107
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
44108
|
+
--------------------------------------------------------------------------------------
|
44109
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44110
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44111
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44112
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44113
|
+
--------------------------------------------------------------------------------------
|
44114
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
44115
|
+
--------------------------------------------------------------------------------------
|
44116
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44117
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44118
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44119
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44120
|
+
----------------------------------------------------------------------------------
|
44121
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
44122
|
+
----------------------------------------------------------------------------------
|
44123
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44124
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44125
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44126
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44127
|
+
--------------------------------------------------------------------------------------------------------------------------
|
44128
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
44129
|
+
--------------------------------------------------------------------------------------------------------------------------
|
44130
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44131
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44132
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44133
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44134
|
+
--------------------------------------------------------------------------------------------------------------------------
|
44135
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
44136
|
+
--------------------------------------------------------------------------------------------------------------------------
|
44137
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44138
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44139
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44140
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44141
|
+
---------------------------------------------------------------------------------------------
|
44142
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
44143
|
+
---------------------------------------------------------------------------------------------
|
44144
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44145
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44146
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44147
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44148
|
+
-----------------------------------------------------------------
|
44149
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
44150
|
+
-----------------------------------------------------------------
|
44151
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44152
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44153
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44154
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44155
|
+
-----------------------------------------------------------------
|
44156
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
44157
|
+
-----------------------------------------------------------------
|
44158
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44159
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44160
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44161
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
44162
|
+
Parameters: {"id"=>"cld-1"}
|
44163
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
44164
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
44165
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44166
|
+
---------------------------------------------------------------------------------------
|
44167
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
44168
|
+
---------------------------------------------------------------------------------------
|
44169
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44170
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44171
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44172
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44173
|
+
----------------------------------------------------------------------------------
|
44174
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
44175
|
+
----------------------------------------------------------------------------------
|
44176
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44177
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44178
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44179
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44180
|
+
----------------------------------------------------------------------------------------------------------
|
44181
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
44182
|
+
----------------------------------------------------------------------------------------------------------
|
44183
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44184
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44185
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44186
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44187
|
+
-----------------------------------------------------------------------------------------------------
|
44188
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
44189
|
+
-----------------------------------------------------------------------------------------------------
|
44190
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44191
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44192
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44193
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44194
|
+
------------------------------------------------------------------------------------------------
|
44195
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
44196
|
+
------------------------------------------------------------------------------------------------
|
44197
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44198
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44199
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44200
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44201
|
+
-------------------------------------------------------------------------------------------
|
44202
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
44203
|
+
-------------------------------------------------------------------------------------------
|
44204
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44205
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44206
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44207
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44208
|
+
---------------------------------------------------------------------------------------
|
44209
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
44210
|
+
---------------------------------------------------------------------------------------
|
44211
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44212
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44213
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44214
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44215
|
+
---------------------------------------------------------------------------------------
|
44216
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
44217
|
+
---------------------------------------------------------------------------------------
|
44218
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44219
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44220
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44221
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44222
|
+
-----------------------------------------------------------------------------------
|
44223
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
44224
|
+
-----------------------------------------------------------------------------------
|
44225
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44226
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44227
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44228
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44229
|
+
---------------------------------------------------------------------------------------------------------------------------
|
44230
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
44231
|
+
---------------------------------------------------------------------------------------------------------------------------
|
44232
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44233
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44234
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44235
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44236
|
+
---------------------------------------------------------------------------------------------------------------------------
|
44237
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
44238
|
+
---------------------------------------------------------------------------------------------------------------------------
|
44239
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44240
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44241
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44242
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44243
|
+
----------------------------------------------------------------------------------------------
|
44244
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
44245
|
+
----------------------------------------------------------------------------------------------
|
44246
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44247
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44248
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44249
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44250
|
+
---------------------------------------------------------------------------------------------------------------------
|
44251
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
44252
|
+
---------------------------------------------------------------------------------------------------------------------
|
44253
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44254
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44255
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44256
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44257
|
+
--------------------------------------------------------------------------------------------------------------------
|
44258
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
44259
|
+
--------------------------------------------------------------------------------------------------------------------
|
44260
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44261
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44262
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44263
|
+
Processing by PagesController#home as HTML
|
44264
|
+
Redirected to http://localhost:3000/maestrano/auth/saml/init
|
44265
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
44266
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
44267
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44268
|
+
-----------------------------------------------------------------------------------------------------------
|
44269
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
44270
|
+
-----------------------------------------------------------------------------------------------------------
|
44271
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44272
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44273
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44274
|
+
Processing by PagesController#home as HTML
|
44275
|
+
Rendered pages/home.html.erb within layouts/application (0.9ms)
|
44276
|
+
Completed 200 OK in 202ms (Views: 202.1ms | ActiveRecord: 0.0ms)
|
44277
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44278
|
+
------------------------------------------------------------------------------
|
44279
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
44280
|
+
------------------------------------------------------------------------------
|
44281
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44282
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44283
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44284
|
+
Processing by PagesController#home as HTML
|
44285
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
44286
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
44287
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44288
|
+
------------------------------
|
44289
|
+
MaestranoRailsTest: test_truth
|
44290
|
+
------------------------------
|
44291
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44292
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44293
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44294
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44295
|
+
--------------------------------------------------------------------------------------------------------
|
44296
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
44297
|
+
--------------------------------------------------------------------------------------------------------
|
44298
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44299
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44300
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44301
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44302
|
+
--------------------------------------------------------------------------------------------------
|
44303
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
44304
|
+
--------------------------------------------------------------------------------------------------
|
44305
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44306
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44307
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44308
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44309
|
+
---------------------------------------------------------------------
|
44310
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
44311
|
+
---------------------------------------------------------------------
|
44312
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
44313
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44314
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44315
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
44316
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
44317
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
44318
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
44319
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44320
|
+
---------------------------------------------------------------------
|
44321
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
44322
|
+
---------------------------------------------------------------------
|
44323
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44324
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44325
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44326
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
44327
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
44328
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
44329
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
44330
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44331
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
44332
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
44333
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
44334
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
44335
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
44336
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44337
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44338
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44339
|
+
[1m[35mMnoMonster Load (0.1ms)[0m 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"]]
|
44340
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44341
|
+
[1m[35mSQL (0.3ms)[0m 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", "2017-01-03 01:22:27.702190"], ["updated_at", "2017-01-03 01:22:27.702190"]]
|
44342
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44343
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44344
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
44345
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
44346
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
44347
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44348
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44349
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44350
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44351
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["first_name", "John"], ["last_name", "Jack"], ["email", "monster@co.com"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:22:27.705663"], ["updated_at", "2017-01-03 01:22:27.705663"]]
|
44352
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44353
|
+
[1m[36mMnoMonster Load (0.0ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"]]
|
44354
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44355
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_monsters" ("provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:22:27.707963"], ["updated_at", "2017-01-03 01:22:27.707963"]]
|
44356
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44357
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44358
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
44359
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
44360
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
44361
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44362
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44363
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44364
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44365
|
+
[1m[35mSQL (0.1ms)[0m 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", "2017-01-03 01:22:27.710431"], ["updated_at", "2017-01-03 01:22:27.710431"]]
|
44366
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44367
|
+
[1m[35mMnoMonster Load (0.0ms)[0m 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"]]
|
44368
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44369
|
+
---------------------------------------------------------------------------------------------------
|
44370
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
44371
|
+
---------------------------------------------------------------------------------------------------
|
44372
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44373
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44374
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44375
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44376
|
+
------------------------------------------------------------------------------------------------------------
|
44377
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
44378
|
+
------------------------------------------------------------------------------------------------------------
|
44379
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44380
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44381
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44382
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44383
|
+
----------------------------------------------------------------------------------------------
|
44384
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
44385
|
+
----------------------------------------------------------------------------------------------
|
44386
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44387
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44388
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44389
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44390
|
+
-----------------------------------------------------------------------------------------------------------------------
|
44391
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
44392
|
+
-----------------------------------------------------------------------------------------------------------------------
|
44393
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44394
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44395
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44396
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44397
|
+
----------------------------------------------------------------------------------------------------------
|
44398
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
44399
|
+
----------------------------------------------------------------------------------------------------------
|
44400
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44401
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44402
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44403
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44404
|
+
----------------------------------------------------------------------------------------------------
|
44405
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
44406
|
+
----------------------------------------------------------------------------------------------------
|
44407
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44408
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44409
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44410
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44411
|
+
---------------------------------------------------------------------
|
44412
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
44413
|
+
---------------------------------------------------------------------
|
44414
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44415
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44416
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44417
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44418
|
+
---------------------------------------------------------------------
|
44419
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
44420
|
+
---------------------------------------------------------------------
|
44421
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44422
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44423
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44424
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
44425
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
44426
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
44427
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
44428
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44429
|
+
-------------------------------------------------------------------------------------------
|
44430
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
44431
|
+
-------------------------------------------------------------------------------------------
|
44432
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44433
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44434
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44435
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44436
|
+
---------------------------------------------------------------------------------------
|
44437
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
44438
|
+
---------------------------------------------------------------------------------------
|
44439
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44440
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44441
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44442
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44443
|
+
---------------------------------------------------------------------------------------
|
44444
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
44445
|
+
---------------------------------------------------------------------------------------
|
44446
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44447
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44448
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44449
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44450
|
+
-----------------------------------------------------------------------------------
|
44451
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
44452
|
+
-----------------------------------------------------------------------------------
|
44453
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44454
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44455
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44456
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44457
|
+
---------------------------------------------------------------------------------------------------------------------------
|
44458
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
44459
|
+
---------------------------------------------------------------------------------------------------------------------------
|
44460
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44461
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44462
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44463
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44464
|
+
---------------------------------------------------------------------------------------------------------------------------
|
44465
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
44466
|
+
---------------------------------------------------------------------------------------------------------------------------
|
44467
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44468
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44469
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44470
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44471
|
+
----------------------------------------------------------------------------------------------
|
44472
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
44473
|
+
----------------------------------------------------------------------------------------------
|
44474
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44475
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44476
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44477
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
44478
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
44479
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
44480
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
44481
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44482
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44483
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44484
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"]]
|
44485
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44486
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2017-01-03 01:22:27.777604"], ["updated_at", "2017-01-03 01:22:27.777604"]]
|
44487
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44488
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44489
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
44490
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
44491
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
44492
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44493
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
44494
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44495
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44496
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:22:27.779558"], ["updated_at", "2017-01-03 01:22:27.779558"]]
|
44497
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44498
|
+
[1m[35mMnoCrew Load (0.0ms)[0m 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"]]
|
44499
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44500
|
+
[1m[35mSQL (0.1ms)[0m 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", "2017-01-03 01:22:27.780892"], ["updated_at", "2017-01-03 01:22:27.780892"]]
|
44501
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44502
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44503
|
+
------------------------------------------------------------------------------------------------------------------------------
|
44504
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
44505
|
+
------------------------------------------------------------------------------------------------------------------------------
|
44506
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44507
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44508
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44509
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44510
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:22:27.782754"], ["updated_at", "2017-01-03 01:22:27.782754"]]
|
44511
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44512
|
+
[1m[36mMnoCrew Load (0.0ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"]]
|
44513
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44514
|
+
----------------------------------------------------------------------------------------------------
|
44515
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
44516
|
+
----------------------------------------------------------------------------------------------------
|
44517
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44518
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44519
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44520
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44521
|
+
-------------------------------------------------------------------------------------------------------------
|
44522
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
44523
|
+
-------------------------------------------------------------------------------------------------------------
|
44524
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44525
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44526
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44527
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44528
|
+
-----------------------------------------------------------------------------------------------
|
44529
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
44530
|
+
-----------------------------------------------------------------------------------------------
|
44531
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44532
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44533
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44534
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44535
|
+
------------------------------------------------------------------------------------------------------------------------
|
44536
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
44537
|
+
------------------------------------------------------------------------------------------------------------------------
|
44538
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44539
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44540
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44541
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44542
|
+
---------------------------------------------------------------------------------------
|
44543
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
44544
|
+
---------------------------------------------------------------------------------------
|
44545
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44546
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44547
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44548
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44549
|
+
----------------------------------------------------------------------------------
|
44550
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
44551
|
+
----------------------------------------------------------------------------------
|
44552
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44553
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44554
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44555
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44556
|
+
----------------------------------------------------------------------------------------------------------
|
44557
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
44558
|
+
----------------------------------------------------------------------------------------------------------
|
44559
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44560
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44561
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44562
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44563
|
+
-----------------------------------------------------------------------------------------------------
|
44564
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
44565
|
+
-----------------------------------------------------------------------------------------------------
|
44566
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44567
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44568
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44569
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44570
|
+
------------------------------------------------------------------------------------------------
|
44571
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
44572
|
+
------------------------------------------------------------------------------------------------
|
44573
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44574
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44575
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44576
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44577
|
+
------------------------------
|
44578
|
+
MaestranoRailsTest: test_truth
|
44579
|
+
------------------------------
|
44580
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44581
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44582
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44583
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44584
|
+
---------------------------------------------------------------------------------------------------------------------
|
44585
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
44586
|
+
---------------------------------------------------------------------------------------------------------------------
|
44587
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44588
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44589
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44590
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44591
|
+
--------------------------------------------------------------------------------------------------------------------
|
44592
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
44593
|
+
--------------------------------------------------------------------------------------------------------------------
|
44594
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44595
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44596
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44597
|
+
Processing by PagesController#home as HTML
|
44598
|
+
Redirected to http://localhost:3000/maestrano/auth/saml/init
|
44599
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
44600
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
44601
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44602
|
+
-----------------------------------------------------------------------------------------------------------
|
44603
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
44604
|
+
-----------------------------------------------------------------------------------------------------------
|
44605
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44606
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44607
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44608
|
+
Processing by PagesController#home as HTML
|
44609
|
+
Rendered pages/home.html.erb within layouts/application (0.8ms)
|
44610
|
+
Completed 200 OK in 297ms (Views: 297.1ms | ActiveRecord: 0.0ms)
|
44611
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44612
|
+
------------------------------------------------------------------------------
|
44613
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
44614
|
+
------------------------------------------------------------------------------
|
44615
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44616
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44617
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44618
|
+
Processing by PagesController#home as HTML
|
44619
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
44620
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
44621
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44622
|
+
-------------------------------------------------------------------
|
44623
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
44624
|
+
-------------------------------------------------------------------
|
44625
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44626
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44627
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44628
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
44629
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
44630
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
44631
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44632
|
+
-------------------------------------------------------------------
|
44633
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
44634
|
+
-------------------------------------------------------------------
|
44635
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44636
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44637
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44638
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
44639
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
44640
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
44641
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44642
|
+
------------------------------------------------------------------------------------------
|
44643
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
44644
|
+
------------------------------------------------------------------------------------------
|
44645
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44646
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44647
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44648
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44649
|
+
--------------------------------------------------------------------------------------
|
44650
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
44651
|
+
--------------------------------------------------------------------------------------
|
44652
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44653
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44654
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44655
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44656
|
+
--------------------------------------------------------------------------------------
|
44657
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
44658
|
+
--------------------------------------------------------------------------------------
|
44659
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44660
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44661
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44662
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44663
|
+
----------------------------------------------------------------------------------
|
44664
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
44665
|
+
----------------------------------------------------------------------------------
|
44666
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44667
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44668
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44669
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44670
|
+
--------------------------------------------------------------------------------------------------------------------------
|
44671
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
44672
|
+
--------------------------------------------------------------------------------------------------------------------------
|
44673
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44674
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44675
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44676
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44677
|
+
--------------------------------------------------------------------------------------------------------------------------
|
44678
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
44679
|
+
--------------------------------------------------------------------------------------------------------------------------
|
44680
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44681
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44682
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44683
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44684
|
+
---------------------------------------------------------------------------------------------
|
44685
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
44686
|
+
---------------------------------------------------------------------------------------------
|
44687
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44688
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44689
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44690
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44691
|
+
-----------------------------------------------------------------
|
44692
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
44693
|
+
-----------------------------------------------------------------
|
44694
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44695
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44696
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44697
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
44698
|
+
Parameters: {"id"=>"cld-1"}
|
44699
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
44700
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
44701
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44702
|
+
-----------------------------------------------------------------
|
44703
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
44704
|
+
-----------------------------------------------------------------
|
44705
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44706
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44707
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44708
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
44709
|
+
Parameters: {"id"=>"cld-1"}
|
44710
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
44711
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
44712
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44713
|
+
----------------------------------------------------------------------------------------------
|
44714
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
44715
|
+
----------------------------------------------------------------------------------------------
|
44716
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44717
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44718
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44719
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
44720
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
44721
|
+
Cannot validate SAML response: Bla
|
44722
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/mock.rb:296:in `method_missing'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:35:in `process_saml_response'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:18:in `saml_response_transaction'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:520:in `post'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:117:in `block (3 levels) in <class:SamlBaseControllerTest>'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:129:in `instance_exec'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:129:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:105:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:202:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:102:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:253:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:101:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:273:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:100:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:822:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:323:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:336:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:62:in `block in autorun'"]
|
44723
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
44724
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44725
|
+
--------------------------------------------------------------------------------------------------------------------
|
44726
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
44727
|
+
--------------------------------------------------------------------------------------------------------------------
|
44728
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44729
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44730
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44731
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
44732
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
44733
|
+
Redirected to http://test.host/
|
44734
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
44735
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44736
|
+
---------------------------------------------------------------------------------
|
44737
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
44738
|
+
---------------------------------------------------------------------------------
|
44739
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44740
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44741
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44742
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
44743
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
44744
|
+
Redirected to http://test.host/
|
44745
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
44746
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44747
|
+
--------------------------------------------------------------------------------------
|
44748
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
44749
|
+
--------------------------------------------------------------------------------------
|
44750
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44751
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44752
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44753
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
44754
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
44755
|
+
Redirected to http://test.host/
|
44756
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
44757
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44758
|
+
-------------------------------------------------------------------------------
|
44759
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
44760
|
+
-------------------------------------------------------------------------------
|
44761
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44762
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44763
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44764
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
44765
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
44766
|
+
Redirected to http://test.host/
|
44767
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
44768
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44769
|
+
-------------------------------------------------------------------------------------
|
44770
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
44771
|
+
-------------------------------------------------------------------------------------
|
44772
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44773
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44774
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44775
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
44776
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
44777
|
+
Redirected to http://test.host/
|
44778
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
44779
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44780
|
+
------------------------------------------------------------------------------------------
|
44781
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
44782
|
+
------------------------------------------------------------------------------------------
|
44783
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44784
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44785
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44786
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
44787
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
44788
|
+
Redirected to http://test.host/
|
44789
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
44790
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44791
|
+
---------------------------------------------------------------------------------------------------------------------------
|
44792
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
44793
|
+
---------------------------------------------------------------------------------------------------------------------------
|
44794
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44795
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44796
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44797
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
44798
|
+
Parameters: {"a_param"=>"value"}
|
44799
|
+
Redirected to http://idpprovider.com?r=request
|
44800
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
44801
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44802
|
+
-----------------------------------------------------------------------------------------------------------------------
|
44803
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
44804
|
+
-----------------------------------------------------------------------------------------------------------------------
|
44805
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44806
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44807
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44808
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
44809
|
+
Parameters: {"a_param"=>"value"}
|
44810
|
+
Redirected to http://idpprovider.com?r=request
|
44811
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
44812
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44813
|
+
--------------------------------------------------------------------------------------------------------
|
44814
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
44815
|
+
--------------------------------------------------------------------------------------------------------
|
44816
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44817
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44818
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44819
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44820
|
+
--------------------------------------------------------------------------------------------------
|
44821
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
44822
|
+
--------------------------------------------------------------------------------------------------
|
44823
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44824
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44825
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44826
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44827
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
44828
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
44829
|
+
---------------------------------------------------------------------------------------
|
44830
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
44831
|
+
---------------------------------------------------------------------------------------
|
44832
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44833
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44834
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44835
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44836
|
+
----------------------------------------------------------------------------------
|
44837
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
44838
|
+
----------------------------------------------------------------------------------
|
44839
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44840
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44841
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44842
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44843
|
+
----------------------------------------------------------------------------------------------------------
|
44844
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
44845
|
+
----------------------------------------------------------------------------------------------------------
|
44846
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44847
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44848
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44849
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44850
|
+
-----------------------------------------------------------------------------------------------------
|
44851
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
44852
|
+
-----------------------------------------------------------------------------------------------------
|
44853
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44854
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44855
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44856
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44857
|
+
------------------------------------------------------------------------------------------------
|
44858
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
44859
|
+
------------------------------------------------------------------------------------------------
|
44860
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44861
|
+
[1m[35m (0.1ms)[0m commit transaction
|
44862
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44863
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44864
|
+
------------------------------
|
44865
|
+
MaestranoRailsTest: test_truth
|
44866
|
+
------------------------------
|
44867
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44868
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44869
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44870
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44871
|
+
---------------------------------------------------------------------
|
44872
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
44873
|
+
---------------------------------------------------------------------
|
44874
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44875
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44876
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44877
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
44878
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
44879
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
44880
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
44881
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44882
|
+
---------------------------------------------------------------------
|
44883
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
44884
|
+
---------------------------------------------------------------------
|
44885
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44886
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44887
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44888
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
44889
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
44890
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
44891
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
44892
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44893
|
+
------------------------------------------------------------------------------------------
|
44894
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
44895
|
+
------------------------------------------------------------------------------------------
|
44896
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44897
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44898
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44899
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44900
|
+
--------------------------------------------------------------------------------------
|
44901
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
44902
|
+
--------------------------------------------------------------------------------------
|
44903
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44904
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44905
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44906
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44907
|
+
--------------------------------------------------------------------------------------
|
44908
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
44909
|
+
--------------------------------------------------------------------------------------
|
44910
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44911
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44912
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44913
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44914
|
+
----------------------------------------------------------------------------------
|
44915
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
44916
|
+
----------------------------------------------------------------------------------
|
44917
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44918
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44919
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44920
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44921
|
+
--------------------------------------------------------------------------------------------------------------------------
|
44922
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
44923
|
+
--------------------------------------------------------------------------------------------------------------------------
|
44924
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44925
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44926
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44927
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44928
|
+
--------------------------------------------------------------------------------------------------------------------------
|
44929
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
44930
|
+
--------------------------------------------------------------------------------------------------------------------------
|
44931
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44932
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44933
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44934
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44935
|
+
---------------------------------------------------------------------------------------------
|
44936
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
44937
|
+
---------------------------------------------------------------------------------------------
|
44938
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44939
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44940
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44941
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44942
|
+
---------------------------------------------------------------------------------------------------------------------
|
44943
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
44944
|
+
---------------------------------------------------------------------------------------------------------------------
|
44945
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44946
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44947
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44948
|
+
Processing by PagesController#home as HTML
|
44949
|
+
Rendered pages/home.html.erb within layouts/application (0.8ms)
|
44950
|
+
Completed 200 OK in 209ms (Views: 208.7ms | ActiveRecord: 0.0ms)
|
44951
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44952
|
+
--------------------------------------------------------------------------------------------------------------------
|
44953
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
44954
|
+
--------------------------------------------------------------------------------------------------------------------
|
44955
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44956
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44957
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44958
|
+
Processing by PagesController#home as HTML
|
44959
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
44960
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
44961
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44962
|
+
-----------------------------------------------------------------------------------------------------------
|
44963
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
44964
|
+
-----------------------------------------------------------------------------------------------------------
|
44965
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44966
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44967
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44968
|
+
Processing by PagesController#home as HTML
|
44969
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
44970
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
44971
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44972
|
+
------------------------------------------------------------------------------
|
44973
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
44974
|
+
------------------------------------------------------------------------------
|
44975
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44976
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44977
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44978
|
+
Processing by PagesController#home as HTML
|
44979
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
44980
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
44981
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44982
|
+
----------------------------------------------------------------------------------------------
|
44983
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
44984
|
+
----------------------------------------------------------------------------------------------
|
44985
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44986
|
+
[1m[35m (0.0ms)[0m commit transaction
|
44987
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44988
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
44989
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
44990
|
+
Cannot validate SAML response: Bla
|
44991
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/mock.rb:296:in `method_missing'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:35:in `process_saml_response'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:18:in `saml_response_transaction'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:520:in `post'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:117:in `block (3 levels) in <class:SamlBaseControllerTest>'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:129:in `instance_exec'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:129:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:105:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:202:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:102:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:253:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:101:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:273:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:100:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:822:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:323:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:336:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:62:in `block in autorun'"]
|
44992
|
+
Redirected to http://localhost:3001/app_access_unauthorized?err=internal
|
44993
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
44994
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
44995
|
+
--------------------------------------------------------------------------------------------------------------------
|
44996
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
44997
|
+
--------------------------------------------------------------------------------------------------------------------
|
44998
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44999
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45000
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45001
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45002
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45003
|
+
Redirected to http://test.host/
|
45004
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45005
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45006
|
+
---------------------------------------------------------------------------------
|
45007
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
45008
|
+
---------------------------------------------------------------------------------
|
45009
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45010
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45011
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45012
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45013
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45014
|
+
Redirected to http://test.host/
|
45015
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45016
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45017
|
+
--------------------------------------------------------------------------------------
|
45018
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
45019
|
+
--------------------------------------------------------------------------------------
|
45020
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45021
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45022
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45023
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45024
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45025
|
+
Redirected to http://test.host/
|
45026
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45027
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45028
|
+
-------------------------------------------------------------------------------
|
45029
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
45030
|
+
-------------------------------------------------------------------------------
|
45031
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45032
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45033
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45034
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45035
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45036
|
+
Redirected to http://test.host/
|
45037
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
45038
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45039
|
+
-------------------------------------------------------------------------------------
|
45040
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
45041
|
+
-------------------------------------------------------------------------------------
|
45042
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45043
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45044
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45045
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45046
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45047
|
+
Redirected to http://test.host/
|
45048
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45049
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45050
|
+
------------------------------------------------------------------------------------------
|
45051
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
45052
|
+
------------------------------------------------------------------------------------------
|
45053
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45054
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45055
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45056
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45057
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45058
|
+
Redirected to http://test.host/
|
45059
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
45060
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45061
|
+
---------------------------------------------------------------------------------------------------------------------------
|
45062
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
45063
|
+
---------------------------------------------------------------------------------------------------------------------------
|
45064
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45065
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45066
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45067
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
45068
|
+
Parameters: {"a_param"=>"value"}
|
45069
|
+
Redirected to http://idpprovider.com?r=request
|
45070
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
45071
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45072
|
+
-----------------------------------------------------------------------------------------------------------------------
|
45073
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
45074
|
+
-----------------------------------------------------------------------------------------------------------------------
|
45075
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45076
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45077
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45078
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
45079
|
+
Parameters: {"a_param"=>"value"}
|
45080
|
+
Redirected to http://idpprovider.com?r=request
|
45081
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
45082
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45083
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
45084
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
45085
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
45086
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45087
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45088
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45089
|
+
[1m[35mMnoCrew Load (0.1ms)[0m 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"]]
|
45090
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45091
|
+
[1m[35mSQL (0.2ms)[0m 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", "2017-01-03 01:25:15.663724"], ["updated_at", "2017-01-03 01:25:15.663724"]]
|
45092
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45093
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45094
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
45095
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
45096
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
45097
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45098
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45099
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45100
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45101
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:25:15.665802"], ["updated_at", "2017-01-03 01:25:15.665802"]]
|
45102
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45103
|
+
[1m[36mMnoCrew Load (0.0ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"]]
|
45104
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45105
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:25:15.667052"], ["updated_at", "2017-01-03 01:25:15.667052"]]
|
45106
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45107
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45108
|
+
------------------------------------------------------------------------------------------------------------------------------
|
45109
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
45110
|
+
------------------------------------------------------------------------------------------------------------------------------
|
45111
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45112
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45113
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45114
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45115
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:25:15.668497"], ["updated_at", "2017-01-03 01:25:15.668497"]]
|
45116
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45117
|
+
[1m[35mMnoCrew Load (0.0ms)[0m 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"]]
|
45118
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45119
|
+
----------------------------------------------------------------------------------------------------
|
45120
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
45121
|
+
----------------------------------------------------------------------------------------------------
|
45122
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45123
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45124
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45125
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45126
|
+
-------------------------------------------------------------------------------------------------------------
|
45127
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
45128
|
+
-------------------------------------------------------------------------------------------------------------
|
45129
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45130
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45131
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45132
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45133
|
+
-----------------------------------------------------------------------------------------------
|
45134
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
45135
|
+
-----------------------------------------------------------------------------------------------
|
45136
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45137
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45138
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45139
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45140
|
+
------------------------------------------------------------------------------------------------------------------------
|
45141
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
45142
|
+
------------------------------------------------------------------------------------------------------------------------
|
45143
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45144
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45145
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45146
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45147
|
+
----------------------------------------------------------------------------------------------------------
|
45148
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
45149
|
+
----------------------------------------------------------------------------------------------------------
|
45150
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45151
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45152
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45153
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45154
|
+
----------------------------------------------------------------------------------------------------
|
45155
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
45156
|
+
----------------------------------------------------------------------------------------------------
|
45157
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45158
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45159
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45160
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45161
|
+
--------------------------------------------------------------------------------------------------------
|
45162
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
45163
|
+
--------------------------------------------------------------------------------------------------------
|
45164
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45165
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45166
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45167
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45168
|
+
--------------------------------------------------------------------------------------------------
|
45169
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
45170
|
+
--------------------------------------------------------------------------------------------------
|
45171
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45172
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45173
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45174
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45175
|
+
-----------------------------------------------------------------
|
45176
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
45177
|
+
-----------------------------------------------------------------
|
45178
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45179
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45180
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45181
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
45182
|
+
Parameters: {"id"=>"cld-1"}
|
45183
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
45184
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
45185
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45186
|
+
-----------------------------------------------------------------
|
45187
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
45188
|
+
-----------------------------------------------------------------
|
45189
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45190
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45191
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45192
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
45193
|
+
Parameters: {"id"=>"cld-1"}
|
45194
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
45195
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
45196
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45197
|
+
-------------------------------------------------------------------
|
45198
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
45199
|
+
-------------------------------------------------------------------
|
45200
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45201
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45202
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45203
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
45204
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
45205
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
45206
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45207
|
+
-------------------------------------------------------------------
|
45208
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
45209
|
+
-------------------------------------------------------------------
|
45210
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45211
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45212
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45213
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
45214
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
45215
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
45216
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45217
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
45218
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
45219
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
45220
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45221
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45222
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45223
|
+
[1m[36mMnoMonster Load (0.1ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"]]
|
45224
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45225
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["first_name", "Mon"], ["last_name", "Ster"], ["email", "monster@monst.com"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2017-01-03 01:25:15.721433"], ["updated_at", "2017-01-03 01:25:15.721433"]]
|
45226
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45227
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45228
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
45229
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
45230
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
45231
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45232
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45233
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45234
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45235
|
+
[1m[35mSQL (0.1ms)[0m 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", "2017-01-03 01:25:15.724598"], ["updated_at", "2017-01-03 01:25:15.724598"]]
|
45236
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45237
|
+
[1m[35mMnoMonster Load (0.0ms)[0m 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"]]
|
45238
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45239
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_monsters" ("provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:25:15.726397"], ["updated_at", "2017-01-03 01:25:15.726397"]]
|
45240
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45241
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45242
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
45243
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
45244
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
45245
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45246
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45247
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45248
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45249
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["first_name", "John"], ["last_name", "Jack"], ["email", "monster@co.com"], ["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:25:15.727977"], ["updated_at", "2017-01-03 01:25:15.727977"]]
|
45250
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45251
|
+
[1m[36mMnoMonster Load (0.0ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"]]
|
45252
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45253
|
+
---------------------------------------------------------------------------------------------------
|
45254
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
45255
|
+
---------------------------------------------------------------------------------------------------
|
45256
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45257
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45258
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45259
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45260
|
+
------------------------------------------------------------------------------------------------------------
|
45261
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
45262
|
+
------------------------------------------------------------------------------------------------------------
|
45263
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45264
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45265
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45266
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45267
|
+
----------------------------------------------------------------------------------------------
|
45268
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
45269
|
+
----------------------------------------------------------------------------------------------
|
45270
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45271
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45272
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45273
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45274
|
+
-----------------------------------------------------------------------------------------------------------------------
|
45275
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
45276
|
+
-----------------------------------------------------------------------------------------------------------------------
|
45277
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45278
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45279
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45280
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45281
|
+
-------------------------------------------------------------------------------------------
|
45282
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
45283
|
+
-------------------------------------------------------------------------------------------
|
45284
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45285
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45286
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45287
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45288
|
+
---------------------------------------------------------------------------------------
|
45289
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
45290
|
+
---------------------------------------------------------------------------------------
|
45291
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45292
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45293
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45294
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45295
|
+
---------------------------------------------------------------------------------------
|
45296
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
45297
|
+
---------------------------------------------------------------------------------------
|
45298
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45299
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45300
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45301
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45302
|
+
-----------------------------------------------------------------------------------
|
45303
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
45304
|
+
-----------------------------------------------------------------------------------
|
45305
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45306
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45307
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45308
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45309
|
+
---------------------------------------------------------------------------------------------------------------------------
|
45310
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
45311
|
+
---------------------------------------------------------------------------------------------------------------------------
|
45312
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45313
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45314
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45315
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45316
|
+
---------------------------------------------------------------------------------------------------------------------------
|
45317
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
45318
|
+
---------------------------------------------------------------------------------------------------------------------------
|
45319
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45320
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45321
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45322
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45323
|
+
----------------------------------------------------------------------------------------------
|
45324
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
45325
|
+
----------------------------------------------------------------------------------------------
|
45326
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45327
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45328
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45329
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45330
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
45331
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
45332
|
+
---------------------------------------------------------------------------------------
|
45333
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
45334
|
+
---------------------------------------------------------------------------------------
|
45335
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45336
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45337
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45338
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45339
|
+
----------------------------------------------------------------------------------
|
45340
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
45341
|
+
----------------------------------------------------------------------------------
|
45342
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45343
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45344
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45345
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45346
|
+
----------------------------------------------------------------------------------------------------------
|
45347
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
45348
|
+
----------------------------------------------------------------------------------------------------------
|
45349
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45350
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45351
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45352
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45353
|
+
-----------------------------------------------------------------------------------------------------
|
45354
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
45355
|
+
-----------------------------------------------------------------------------------------------------
|
45356
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45357
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45358
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45359
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45360
|
+
------------------------------------------------------------------------------------------------
|
45361
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
45362
|
+
------------------------------------------------------------------------------------------------
|
45363
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45364
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45365
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45366
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45367
|
+
----------------------------------------------------------------------------------------------------------
|
45368
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
45369
|
+
----------------------------------------------------------------------------------------------------------
|
45370
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45371
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45372
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45373
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
45374
|
+
----------------------------------------------------------------------------------------------------
|
45375
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
45376
|
+
----------------------------------------------------------------------------------------------------
|
45377
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
45378
|
+
[1m[35m (0.1ms)[0m commit transaction
|
45379
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45380
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45381
|
+
------------------------------------------------------------------------------------------
|
45382
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
45383
|
+
------------------------------------------------------------------------------------------
|
45384
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45385
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45386
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45387
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45388
|
+
--------------------------------------------------------------------------------------
|
45389
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
45390
|
+
--------------------------------------------------------------------------------------
|
45391
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45392
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45393
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45394
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45395
|
+
--------------------------------------------------------------------------------------
|
45396
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
45397
|
+
--------------------------------------------------------------------------------------
|
45398
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45399
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45400
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45401
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45402
|
+
----------------------------------------------------------------------------------
|
45403
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
45404
|
+
----------------------------------------------------------------------------------
|
45405
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45406
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45407
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45408
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45409
|
+
--------------------------------------------------------------------------------------------------------------------------
|
45410
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
45411
|
+
--------------------------------------------------------------------------------------------------------------------------
|
45412
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45413
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45414
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45415
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45416
|
+
--------------------------------------------------------------------------------------------------------------------------
|
45417
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
45418
|
+
--------------------------------------------------------------------------------------------------------------------------
|
45419
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45420
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45421
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45422
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45423
|
+
---------------------------------------------------------------------------------------------
|
45424
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
45425
|
+
---------------------------------------------------------------------------------------------
|
45426
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45427
|
+
[1m[35m (0.1ms)[0m commit transaction
|
45428
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45429
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45430
|
+
---------------------------------------------------------------------
|
45431
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
45432
|
+
---------------------------------------------------------------------
|
45433
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45434
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45435
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45436
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
45437
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
45438
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
45439
|
+
Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
45440
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45441
|
+
---------------------------------------------------------------------
|
45442
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
45443
|
+
---------------------------------------------------------------------
|
45444
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45445
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45446
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45447
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
45448
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
45449
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
45450
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
45451
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45452
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
45453
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
45454
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
45455
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45456
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45457
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45458
|
+
[1m[35mMnoMonster Load (0.2ms)[0m 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"]]
|
45459
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
45460
|
+
[1m[35mSQL (0.3ms)[0m 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", "2017-01-03 01:30:29.831379"], ["updated_at", "2017-01-03 01:30:29.831379"]]
|
45461
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45462
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
45463
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
45464
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
45465
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
45466
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45467
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45468
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45469
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45470
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["first_name", "John"], ["last_name", "Jack"], ["email", "monster@co.com"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:30:29.834734"], ["updated_at", "2017-01-03 01:30:29.834734"]]
|
45471
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45472
|
+
[1m[36mMnoMonster Load (0.0ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"]]
|
45473
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45474
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:30:29.836331"], ["updated_at", "2017-01-03 01:30:29.836331"]]
|
45475
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45476
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45477
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
45478
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
45479
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
45480
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45481
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45482
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45483
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45484
|
+
[1m[35mSQL (0.1ms)[0m 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", "2017-01-03 01:30:29.837923"], ["updated_at", "2017-01-03 01:30:29.837923"]]
|
45485
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45486
|
+
[1m[35mMnoMonster Load (0.0ms)[0m 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"]]
|
45487
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45488
|
+
---------------------------------------------------------------------------------------------------
|
45489
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
45490
|
+
---------------------------------------------------------------------------------------------------
|
45491
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45492
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45493
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45494
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45495
|
+
------------------------------------------------------------------------------------------------------------
|
45496
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
45497
|
+
------------------------------------------------------------------------------------------------------------
|
45498
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45499
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45500
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45501
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45502
|
+
----------------------------------------------------------------------------------------------
|
45503
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
45504
|
+
----------------------------------------------------------------------------------------------
|
45505
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45506
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45507
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45508
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45509
|
+
-----------------------------------------------------------------------------------------------------------------------
|
45510
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
45511
|
+
-----------------------------------------------------------------------------------------------------------------------
|
45512
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45513
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45514
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45515
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45516
|
+
---------------------------------------------------------------------------------------------------------------------
|
45517
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
45518
|
+
---------------------------------------------------------------------------------------------------------------------
|
45519
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45520
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45521
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45522
|
+
Processing by PagesController#home as HTML
|
45523
|
+
Rendered pages/home.html.erb within layouts/application (0.7ms)
|
45524
|
+
Completed 200 OK in 229ms (Views: 228.6ms | ActiveRecord: 0.0ms)
|
45525
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45526
|
+
--------------------------------------------------------------------------------------------------------------------
|
45527
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
45528
|
+
--------------------------------------------------------------------------------------------------------------------
|
45529
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45530
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45531
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45532
|
+
Processing by PagesController#home as HTML
|
45533
|
+
Redirected to http://localhost:3000/maestrano/auth/saml/init
|
45534
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
45535
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45536
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45537
|
+
-----------------------------------------------------------------------------------------------------------
|
45538
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
45539
|
+
-----------------------------------------------------------------------------------------------------------
|
45540
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45541
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45542
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45543
|
+
Processing by PagesController#home as HTML
|
45544
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
45545
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
45546
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45547
|
+
------------------------------------------------------------------------------
|
45548
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
45549
|
+
------------------------------------------------------------------------------
|
45550
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45551
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45552
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45553
|
+
Processing by PagesController#home as HTML
|
45554
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
45555
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
45556
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45557
|
+
--------------------------------------------------------------------------------------------------------
|
45558
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
45559
|
+
--------------------------------------------------------------------------------------------------------
|
45560
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45561
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45562
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45563
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45564
|
+
--------------------------------------------------------------------------------------------------
|
45565
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
45566
|
+
--------------------------------------------------------------------------------------------------
|
45567
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45568
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45569
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45570
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45571
|
+
----------------------------------------------------------------------------------------------
|
45572
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
45573
|
+
----------------------------------------------------------------------------------------------
|
45574
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45575
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45576
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45577
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45578
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45579
|
+
Cannot validate SAML response: Bla
|
45580
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/mock.rb:296:in `method_missing'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:35:in `process_saml_response'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:18:in `saml_response_transaction'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:520:in `post'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:117:in `block (3 levels) in <class:SamlBaseControllerTest>'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:129:in `instance_exec'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:129:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:105:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:202:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:102:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:253:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:101:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:273:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:100:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:822:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:323:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:336:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:62:in `block in autorun'"]
|
45581
|
+
Redirected to http://localhost:3001/app_access_unauthorized?err=internal
|
45582
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45583
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45584
|
+
--------------------------------------------------------------------------------------------------------------------
|
45585
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
45586
|
+
--------------------------------------------------------------------------------------------------------------------
|
45587
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45588
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45589
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45590
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45591
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45592
|
+
Redirected to http://test.host/
|
45593
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
|
45594
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45595
|
+
---------------------------------------------------------------------------------
|
45596
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
45597
|
+
---------------------------------------------------------------------------------
|
45598
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45599
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45600
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45601
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45602
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45603
|
+
Redirected to http://test.host/
|
45604
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
|
45605
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45606
|
+
--------------------------------------------------------------------------------------
|
45607
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
45608
|
+
--------------------------------------------------------------------------------------
|
45609
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45610
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45611
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45612
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45613
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45614
|
+
Redirected to http://test.host/
|
45615
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45616
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45617
|
+
-------------------------------------------------------------------------------
|
45618
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
45619
|
+
-------------------------------------------------------------------------------
|
45620
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45621
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45622
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45623
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45624
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45625
|
+
Redirected to http://test.host/
|
45626
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45627
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45628
|
+
-------------------------------------------------------------------------------------
|
45629
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
45630
|
+
-------------------------------------------------------------------------------------
|
45631
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45632
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45633
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45634
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45635
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45636
|
+
Redirected to http://test.host/
|
45637
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45638
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45639
|
+
------------------------------------------------------------------------------------------
|
45640
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
45641
|
+
------------------------------------------------------------------------------------------
|
45642
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45643
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45644
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45645
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45646
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45647
|
+
Redirected to http://test.host/
|
45648
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45649
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45650
|
+
---------------------------------------------------------------------------------------------------------------------------
|
45651
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
45652
|
+
---------------------------------------------------------------------------------------------------------------------------
|
45653
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45654
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45655
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45656
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
45657
|
+
Parameters: {"a_param"=>"value"}
|
45658
|
+
Redirected to http://idpprovider.com?r=request
|
45659
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
45660
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45661
|
+
-----------------------------------------------------------------------------------------------------------------------
|
45662
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
45663
|
+
-----------------------------------------------------------------------------------------------------------------------
|
45664
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45665
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45666
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45667
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
45668
|
+
Parameters: {"a_param"=>"value"}
|
45669
|
+
Redirected to http://idpprovider.com?r=request
|
45670
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
45671
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45672
|
+
-------------------------------------------------------------------------------------------
|
45673
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
45674
|
+
-------------------------------------------------------------------------------------------
|
45675
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45676
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45677
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45678
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45679
|
+
---------------------------------------------------------------------------------------
|
45680
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
45681
|
+
---------------------------------------------------------------------------------------
|
45682
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45683
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45684
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45685
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45686
|
+
---------------------------------------------------------------------------------------
|
45687
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
45688
|
+
---------------------------------------------------------------------------------------
|
45689
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45690
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45691
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45692
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45693
|
+
-----------------------------------------------------------------------------------
|
45694
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
45695
|
+
-----------------------------------------------------------------------------------
|
45696
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45697
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45698
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45699
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45700
|
+
---------------------------------------------------------------------------------------------------------------------------
|
45701
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
45702
|
+
---------------------------------------------------------------------------------------------------------------------------
|
45703
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45704
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45705
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45706
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
45707
|
+
---------------------------------------------------------------------------------------------------------------------------
|
45708
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
45709
|
+
---------------------------------------------------------------------------------------------------------------------------
|
45710
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45711
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45712
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45713
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45714
|
+
----------------------------------------------------------------------------------------------
|
45715
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
45716
|
+
----------------------------------------------------------------------------------------------
|
45717
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45718
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45719
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45720
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45721
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
45722
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
45723
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
45724
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45725
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45726
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45727
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"]]
|
45728
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45729
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2017-01-03 01:30:30.159857"], ["updated_at", "2017-01-03 01:30:30.159857"]]
|
45730
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45731
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45732
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
45733
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
45734
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
45735
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45736
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
45737
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45738
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
45739
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:30:30.162868"], ["updated_at", "2017-01-03 01:30:30.162868"]]
|
45740
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45741
|
+
[1m[35mMnoCrew Load (0.0ms)[0m 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"]]
|
45742
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45743
|
+
[1m[35mSQL (0.1ms)[0m 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", "2017-01-03 01:30:30.164760"], ["updated_at", "2017-01-03 01:30:30.164760"]]
|
45744
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45745
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45746
|
+
------------------------------------------------------------------------------------------------------------------------------
|
45747
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
45748
|
+
------------------------------------------------------------------------------------------------------------------------------
|
45749
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45750
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45751
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45752
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45753
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:30:30.167133"], ["updated_at", "2017-01-03 01:30:30.167133"]]
|
45754
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45755
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"]]
|
45756
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45757
|
+
----------------------------------------------------------------------------------------------------
|
45758
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
45759
|
+
----------------------------------------------------------------------------------------------------
|
45760
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45761
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45762
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45763
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45764
|
+
-------------------------------------------------------------------------------------------------------------
|
45765
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
45766
|
+
-------------------------------------------------------------------------------------------------------------
|
45767
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45768
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45770
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45771
|
+
-----------------------------------------------------------------------------------------------
|
45772
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
45773
|
+
-----------------------------------------------------------------------------------------------
|
45774
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45775
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45776
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45777
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45778
|
+
------------------------------------------------------------------------------------------------------------------------
|
45779
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
45780
|
+
------------------------------------------------------------------------------------------------------------------------
|
45781
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45782
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45783
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45784
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45785
|
+
-----------------------------------------------------------------
|
45786
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
45787
|
+
-----------------------------------------------------------------
|
45788
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45789
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45790
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45791
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
45792
|
+
Parameters: {"id"=>"cld-1"}
|
45793
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
45794
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
45795
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45796
|
+
-----------------------------------------------------------------
|
45797
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
45798
|
+
-----------------------------------------------------------------
|
45799
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45800
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45801
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45802
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
45803
|
+
Parameters: {"id"=>"cld-1"}
|
45804
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
45805
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
45806
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45807
|
+
------------------------------
|
45808
|
+
MaestranoRailsTest: test_truth
|
45809
|
+
------------------------------
|
45810
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45811
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45812
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45813
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45814
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
45815
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
45816
|
+
-----------------------------------------------------------------
|
45817
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
45818
|
+
-----------------------------------------------------------------
|
45819
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45820
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45821
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45822
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
45823
|
+
Parameters: {"id"=>"cld-1"}
|
45824
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
45825
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
45826
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45827
|
+
-----------------------------------------------------------------
|
45828
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
45829
|
+
-----------------------------------------------------------------
|
45830
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45831
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45832
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45833
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
45834
|
+
Parameters: {"id"=>"cld-1"}
|
45835
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
45836
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
45837
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
45838
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
45839
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
45840
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
45841
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45842
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45843
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45844
|
+
[1m[35mMnoMonster Load (0.1ms)[0m 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"]]
|
45845
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45846
|
+
[1m[35mSQL (0.2ms)[0m 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", "2017-01-03 01:31:15.425148"], ["updated_at", "2017-01-03 01:31:15.425148"]]
|
45847
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45848
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45849
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
45850
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
45851
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
45852
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45853
|
+
[1m[35m (0.0ms)[0m commit transaction
|
45854
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45855
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45856
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["first_name", "John"], ["last_name", "Jack"], ["email", "monster@co.com"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:31:15.427268"], ["updated_at", "2017-01-03 01:31:15.427268"]]
|
45857
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45858
|
+
[1m[36mMnoMonster Load (0.0ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"]]
|
45859
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45860
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:31:15.428629"], ["updated_at", "2017-01-03 01:31:15.428629"]]
|
45861
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45862
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45863
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
45864
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
45865
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
45866
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45867
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45868
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45869
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45870
|
+
[1m[35mSQL (0.1ms)[0m 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", "2017-01-03 01:31:15.430194"], ["updated_at", "2017-01-03 01:31:15.430194"]]
|
45871
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45872
|
+
[1m[35mMnoMonster Load (0.0ms)[0m 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"]]
|
45873
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45874
|
+
---------------------------------------------------------------------------------------------------
|
45875
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
45876
|
+
---------------------------------------------------------------------------------------------------
|
45877
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45878
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45879
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45880
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45881
|
+
------------------------------------------------------------------------------------------------------------
|
45882
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
45883
|
+
------------------------------------------------------------------------------------------------------------
|
45884
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45885
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45886
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45887
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45888
|
+
----------------------------------------------------------------------------------------------
|
45889
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
45890
|
+
----------------------------------------------------------------------------------------------
|
45891
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45892
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45893
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45894
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45895
|
+
-----------------------------------------------------------------------------------------------------------------------
|
45896
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
45897
|
+
-----------------------------------------------------------------------------------------------------------------------
|
45898
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45899
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45900
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45901
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45902
|
+
--------------------------------------------------------------------------------------------------------
|
45903
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
45904
|
+
--------------------------------------------------------------------------------------------------------
|
45905
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45906
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45907
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45908
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45909
|
+
--------------------------------------------------------------------------------------------------
|
45910
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
45911
|
+
--------------------------------------------------------------------------------------------------
|
45912
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45913
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45914
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45915
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45916
|
+
----------------------------------------------------------------------------------------------
|
45917
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
45918
|
+
----------------------------------------------------------------------------------------------
|
45919
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45920
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45921
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45922
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45923
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45924
|
+
Cannot validate SAML response: Bla
|
45925
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/mock.rb:296:in `method_missing'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:35:in `process_saml_response'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:18:in `saml_response_transaction'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:520:in `post'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:117:in `block (3 levels) in <class:SamlBaseControllerTest>'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:129:in `instance_exec'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:129:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:105:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:202:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:102:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:253:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:101:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:273:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:100:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:822:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:323:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:336:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:62:in `block in autorun'"]
|
45926
|
+
Redirected to http://localhost:3001/app_access_unauthorized?err=internal
|
45927
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45928
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45929
|
+
--------------------------------------------------------------------------------------------------------------------
|
45930
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
45931
|
+
--------------------------------------------------------------------------------------------------------------------
|
45932
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45933
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45934
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45935
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45936
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45937
|
+
Redirected to http://test.host/
|
45938
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45939
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45940
|
+
---------------------------------------------------------------------------------
|
45941
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
45942
|
+
---------------------------------------------------------------------------------
|
45943
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45944
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45945
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45946
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45947
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45948
|
+
Redirected to http://test.host/
|
45949
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45950
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45951
|
+
--------------------------------------------------------------------------------------
|
45952
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
45953
|
+
--------------------------------------------------------------------------------------
|
45954
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45955
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45956
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45957
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45958
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45959
|
+
Redirected to http://test.host/
|
45960
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45961
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45962
|
+
-------------------------------------------------------------------------------
|
45963
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
45964
|
+
-------------------------------------------------------------------------------
|
45965
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45966
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45967
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45968
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45969
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45970
|
+
Redirected to http://test.host/
|
45971
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45972
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45973
|
+
-------------------------------------------------------------------------------------
|
45974
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
45975
|
+
-------------------------------------------------------------------------------------
|
45976
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45977
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45978
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45979
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45980
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45981
|
+
Redirected to http://test.host/
|
45982
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45983
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45984
|
+
------------------------------------------------------------------------------------------
|
45985
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
45986
|
+
------------------------------------------------------------------------------------------
|
45987
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45988
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
45989
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45990
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
45991
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
45992
|
+
Redirected to http://test.host/
|
45993
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
45994
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45995
|
+
---------------------------------------------------------------------------------------------------------------------------
|
45996
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
45997
|
+
---------------------------------------------------------------------------------------------------------------------------
|
45998
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45999
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46000
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46001
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
46002
|
+
Parameters: {"a_param"=>"value"}
|
46003
|
+
Redirected to http://idpprovider.com?r=request
|
46004
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
46005
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46006
|
+
-----------------------------------------------------------------------------------------------------------------------
|
46007
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
46008
|
+
-----------------------------------------------------------------------------------------------------------------------
|
46009
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46010
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46011
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46012
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
46013
|
+
Parameters: {"a_param"=>"value"}
|
46014
|
+
Redirected to http://idpprovider.com?r=request
|
46015
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
46016
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46017
|
+
---------------------------------------------------------------------------------------
|
46018
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
46019
|
+
---------------------------------------------------------------------------------------
|
46020
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46021
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46023
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46024
|
+
----------------------------------------------------------------------------------
|
46025
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
46026
|
+
----------------------------------------------------------------------------------
|
46027
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46028
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46029
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46030
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46031
|
+
----------------------------------------------------------------------------------------------------------
|
46032
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
46033
|
+
----------------------------------------------------------------------------------------------------------
|
46034
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46035
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46036
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46037
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46038
|
+
-----------------------------------------------------------------------------------------------------
|
46039
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
46040
|
+
-----------------------------------------------------------------------------------------------------
|
46041
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46042
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46043
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46044
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46045
|
+
------------------------------------------------------------------------------------------------
|
46046
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
46047
|
+
------------------------------------------------------------------------------------------------
|
46048
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46049
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46050
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46051
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46052
|
+
---------------------------------------------------------------------
|
46053
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
46054
|
+
---------------------------------------------------------------------
|
46055
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46056
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46057
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46058
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
46059
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
46060
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
46061
|
+
Completed 401 Unauthorized in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
46062
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46063
|
+
---------------------------------------------------------------------
|
46064
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
46065
|
+
---------------------------------------------------------------------
|
46066
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46067
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46068
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46069
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
46070
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
46071
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
46072
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
46073
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46074
|
+
-------------------------------------------------------------------------------------------
|
46075
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
46076
|
+
-------------------------------------------------------------------------------------------
|
46077
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46078
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46079
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46080
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46081
|
+
---------------------------------------------------------------------------------------
|
46082
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
46083
|
+
---------------------------------------------------------------------------------------
|
46084
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46085
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46086
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46087
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46088
|
+
---------------------------------------------------------------------------------------
|
46089
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
46090
|
+
---------------------------------------------------------------------------------------
|
46091
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46092
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46093
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46094
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46095
|
+
-----------------------------------------------------------------------------------
|
46096
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
46097
|
+
-----------------------------------------------------------------------------------
|
46098
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46099
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46100
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46101
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46102
|
+
---------------------------------------------------------------------------------------------------------------------------
|
46103
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
46104
|
+
---------------------------------------------------------------------------------------------------------------------------
|
46105
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46106
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46107
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46108
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46109
|
+
---------------------------------------------------------------------------------------------------------------------------
|
46110
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
46111
|
+
---------------------------------------------------------------------------------------------------------------------------
|
46112
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46113
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46114
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46115
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46116
|
+
----------------------------------------------------------------------------------------------
|
46117
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
46118
|
+
----------------------------------------------------------------------------------------------
|
46119
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46120
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46121
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46122
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46123
|
+
------------------------------------------------------------------------------------------
|
46124
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
46125
|
+
------------------------------------------------------------------------------------------
|
46126
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46127
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46128
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46129
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46130
|
+
--------------------------------------------------------------------------------------
|
46131
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
46132
|
+
--------------------------------------------------------------------------------------
|
46133
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46134
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46135
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46136
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46137
|
+
--------------------------------------------------------------------------------------
|
46138
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
46139
|
+
--------------------------------------------------------------------------------------
|
46140
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46141
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46142
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46143
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46144
|
+
----------------------------------------------------------------------------------
|
46145
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
46146
|
+
----------------------------------------------------------------------------------
|
46147
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46148
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46149
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46150
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46151
|
+
--------------------------------------------------------------------------------------------------------------------------
|
46152
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
46153
|
+
--------------------------------------------------------------------------------------------------------------------------
|
46154
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46155
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46156
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46157
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46158
|
+
--------------------------------------------------------------------------------------------------------------------------
|
46159
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
46160
|
+
--------------------------------------------------------------------------------------------------------------------------
|
46161
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46162
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46163
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46164
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46165
|
+
---------------------------------------------------------------------------------------------
|
46166
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
46167
|
+
---------------------------------------------------------------------------------------------
|
46168
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46169
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46170
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46171
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46172
|
+
----------------------------------------------------------------------------------------------------------
|
46173
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
46174
|
+
----------------------------------------------------------------------------------------------------------
|
46175
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46176
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46177
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46178
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46179
|
+
----------------------------------------------------------------------------------------------------
|
46180
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
46181
|
+
----------------------------------------------------------------------------------------------------
|
46182
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46183
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46184
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46185
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46186
|
+
------------------------------
|
46187
|
+
MaestranoRailsTest: test_truth
|
46188
|
+
------------------------------
|
46189
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46190
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46191
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46192
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46193
|
+
---------------------------------------------------------------------------------------------------------------------
|
46194
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
46195
|
+
---------------------------------------------------------------------------------------------------------------------
|
46196
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46197
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46198
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46199
|
+
Processing by PagesController#home as HTML
|
46200
|
+
Rendered pages/home.html.erb within layouts/application (0.8ms)
|
46201
|
+
Completed 200 OK in 199ms (Views: 199.0ms | ActiveRecord: 0.0ms)
|
46202
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46203
|
+
--------------------------------------------------------------------------------------------------------------------
|
46204
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
46205
|
+
--------------------------------------------------------------------------------------------------------------------
|
46206
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46207
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46208
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46209
|
+
Processing by PagesController#home as HTML
|
46210
|
+
Redirected to http://localhost:3000/maestrano/auth/saml/init
|
46211
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
46212
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
46213
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46214
|
+
-----------------------------------------------------------------------------------------------------------
|
46215
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
46216
|
+
-----------------------------------------------------------------------------------------------------------
|
46217
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46218
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46219
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46220
|
+
Processing by PagesController#home as HTML
|
46221
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
46222
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
46223
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46224
|
+
------------------------------------------------------------------------------
|
46225
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
46226
|
+
------------------------------------------------------------------------------
|
46227
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46228
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46229
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46230
|
+
Processing by PagesController#home as HTML
|
46231
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
46232
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
46233
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46234
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
46235
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
46236
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
46237
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46238
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46239
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46240
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"]]
|
46241
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46242
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2017-01-03 01:31:15.785012"], ["updated_at", "2017-01-03 01:31:15.785012"]]
|
46243
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46244
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46245
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
46246
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
46247
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
46248
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46249
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46250
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46251
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46252
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:31:15.787036"], ["updated_at", "2017-01-03 01:31:15.787036"]]
|
46253
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46254
|
+
[1m[35mMnoCrew Load (0.0ms)[0m 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"]]
|
46255
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46256
|
+
[1m[35mSQL (0.1ms)[0m 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", "2017-01-03 01:31:15.789253"], ["updated_at", "2017-01-03 01:31:15.789253"]]
|
46257
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46258
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46259
|
+
------------------------------------------------------------------------------------------------------------------------------
|
46260
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
46261
|
+
------------------------------------------------------------------------------------------------------------------------------
|
46262
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46263
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46264
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46265
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46266
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:31:15.790883"], ["updated_at", "2017-01-03 01:31:15.790883"]]
|
46267
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46268
|
+
[1m[36mMnoCrew Load (0.0ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"]]
|
46269
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46270
|
+
----------------------------------------------------------------------------------------------------
|
46271
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
46272
|
+
----------------------------------------------------------------------------------------------------
|
46273
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46274
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46275
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46276
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46277
|
+
-------------------------------------------------------------------------------------------------------------
|
46278
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
46279
|
+
-------------------------------------------------------------------------------------------------------------
|
46280
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46281
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46283
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46284
|
+
-----------------------------------------------------------------------------------------------
|
46285
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
46286
|
+
-----------------------------------------------------------------------------------------------
|
46287
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46288
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46289
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46290
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46291
|
+
------------------------------------------------------------------------------------------------------------------------
|
46292
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
46293
|
+
------------------------------------------------------------------------------------------------------------------------
|
46294
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46295
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46296
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46297
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46298
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
46299
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
46300
|
+
-------------------------------------------------------------------------------------------
|
46301
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
46302
|
+
-------------------------------------------------------------------------------------------
|
46303
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46304
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46305
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46306
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46307
|
+
---------------------------------------------------------------------------------------
|
46308
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
46309
|
+
---------------------------------------------------------------------------------------
|
46310
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46311
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46312
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46313
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46314
|
+
---------------------------------------------------------------------------------------
|
46315
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
46316
|
+
---------------------------------------------------------------------------------------
|
46317
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46318
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46319
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46320
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46321
|
+
-----------------------------------------------------------------------------------
|
46322
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
46323
|
+
-----------------------------------------------------------------------------------
|
46324
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46325
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46326
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46327
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46328
|
+
---------------------------------------------------------------------------------------------------------------------------
|
46329
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
46330
|
+
---------------------------------------------------------------------------------------------------------------------------
|
46331
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46332
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46333
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46334
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46335
|
+
---------------------------------------------------------------------------------------------------------------------------
|
46336
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
46337
|
+
---------------------------------------------------------------------------------------------------------------------------
|
46338
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46339
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46340
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46341
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46342
|
+
----------------------------------------------------------------------------------------------
|
46343
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
46344
|
+
----------------------------------------------------------------------------------------------
|
46345
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46346
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46347
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46348
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46349
|
+
---------------------------------------------------------------------------------------------------------------------
|
46350
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
46351
|
+
---------------------------------------------------------------------------------------------------------------------
|
46352
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46353
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46354
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46355
|
+
Processing by PagesController#home as HTML
|
46356
|
+
Rendered pages/home.html.erb within layouts/application (0.8ms)
|
46357
|
+
Completed 200 OK in 220ms (Views: 220.1ms | ActiveRecord: 0.0ms)
|
46358
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46359
|
+
--------------------------------------------------------------------------------------------------------------------
|
46360
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
46361
|
+
--------------------------------------------------------------------------------------------------------------------
|
46362
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46363
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46364
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46365
|
+
Processing by PagesController#home as HTML
|
46366
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
46367
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
46368
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46369
|
+
-----------------------------------------------------------------------------------------------------------
|
46370
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
46371
|
+
-----------------------------------------------------------------------------------------------------------
|
46372
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46373
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46374
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46375
|
+
Processing by PagesController#home as HTML
|
46376
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
46377
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
46378
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46379
|
+
------------------------------------------------------------------------------
|
46380
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
46381
|
+
------------------------------------------------------------------------------
|
46382
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46383
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46384
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46385
|
+
Processing by PagesController#home as HTML
|
46386
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
46387
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
46388
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46389
|
+
----------------------------------------------------------------------------------------------
|
46390
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
46391
|
+
----------------------------------------------------------------------------------------------
|
46392
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46393
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46394
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46395
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
46396
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
46397
|
+
Cannot validate SAML response: Bla
|
46398
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/mocha-1.2.1/lib/mocha/mock.rb:296:in `method_missing'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:35:in `process_saml_response'", "/home/bruno/Workspace/maestrano-rails/app/controllers/maestrano/rails/saml_base_controller.rb:18:in `saml_response_transaction'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:520:in `post'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:117:in `block (3 levels) in <class:SamlBaseControllerTest>'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:129:in `instance_exec'", "/home/bruno/Workspace/maestrano-rails/test/controllers/saml_controller_test.rb:129:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:105:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:202:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:102:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:253:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:101:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:273:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest/test.rb:100:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:822:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:323:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:349:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:336:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.2.5/gems/minitest-5.10.1/lib/minitest.rb:62:in `block in autorun'"]
|
46399
|
+
Redirected to http://localhost:3001/app_access_unauthorized?err=internal
|
46400
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
46401
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46402
|
+
--------------------------------------------------------------------------------------------------------------------
|
46403
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
46404
|
+
--------------------------------------------------------------------------------------------------------------------
|
46405
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46406
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46407
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46408
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
46409
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
46410
|
+
Redirected to http://test.host/
|
46411
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
46412
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46413
|
+
---------------------------------------------------------------------------------
|
46414
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
46415
|
+
---------------------------------------------------------------------------------
|
46416
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46417
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46418
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46419
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
46420
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
46421
|
+
Redirected to http://test.host/
|
46422
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
46423
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46424
|
+
--------------------------------------------------------------------------------------
|
46425
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
46426
|
+
--------------------------------------------------------------------------------------
|
46427
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46428
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46429
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46430
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
46431
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
46432
|
+
Redirected to http://test.host/
|
46433
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
46434
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46435
|
+
-------------------------------------------------------------------------------
|
46436
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
46437
|
+
-------------------------------------------------------------------------------
|
46438
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46439
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46440
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46441
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
46442
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
46443
|
+
Redirected to http://test.host/
|
46444
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
46445
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46446
|
+
-------------------------------------------------------------------------------------
|
46447
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
46448
|
+
-------------------------------------------------------------------------------------
|
46449
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46450
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46451
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46452
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
46453
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
46454
|
+
Redirected to http://test.host/
|
46455
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
46456
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46457
|
+
------------------------------------------------------------------------------------------
|
46458
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
46459
|
+
------------------------------------------------------------------------------------------
|
46460
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46461
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46462
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46463
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
46464
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
46465
|
+
Redirected to http://test.host/
|
46466
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
46467
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46468
|
+
---------------------------------------------------------------------------------------------------------------------------
|
46469
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
46470
|
+
---------------------------------------------------------------------------------------------------------------------------
|
46471
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46472
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46473
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46474
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
46475
|
+
Parameters: {"a_param"=>"value"}
|
46476
|
+
Redirected to http://idpprovider.com?r=request
|
46477
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
46478
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46479
|
+
-----------------------------------------------------------------------------------------------------------------------
|
46480
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
46481
|
+
-----------------------------------------------------------------------------------------------------------------------
|
46482
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46483
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46484
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46485
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
46486
|
+
Parameters: {"a_param"=>"value"}
|
46487
|
+
Redirected to http://idpprovider.com?r=request
|
46488
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
46489
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46490
|
+
-----------------------------------------------------------------
|
46491
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
46492
|
+
-----------------------------------------------------------------
|
46493
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46494
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46495
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46496
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
46497
|
+
Parameters: {"id"=>"cld-1"}
|
46498
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
46499
|
+
Completed 401 Unauthorized in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
46500
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46501
|
+
-----------------------------------------------------------------
|
46502
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
46503
|
+
-----------------------------------------------------------------
|
46504
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46505
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46506
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46507
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
46508
|
+
Parameters: {"id"=>"cld-1"}
|
46509
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
46510
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
46511
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46512
|
+
------------------------------------------------------------------------------------------
|
46513
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
46514
|
+
------------------------------------------------------------------------------------------
|
46515
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46516
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46517
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46518
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46519
|
+
--------------------------------------------------------------------------------------
|
46520
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
46521
|
+
--------------------------------------------------------------------------------------
|
46522
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46523
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46524
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46525
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46526
|
+
--------------------------------------------------------------------------------------
|
46527
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
46528
|
+
--------------------------------------------------------------------------------------
|
46529
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46530
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46531
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46532
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46533
|
+
----------------------------------------------------------------------------------
|
46534
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
46535
|
+
----------------------------------------------------------------------------------
|
46536
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46537
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46538
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46539
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46540
|
+
--------------------------------------------------------------------------------------------------------------------------
|
46541
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
46542
|
+
--------------------------------------------------------------------------------------------------------------------------
|
46543
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46544
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46545
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46546
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46547
|
+
--------------------------------------------------------------------------------------------------------------------------
|
46548
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
46549
|
+
--------------------------------------------------------------------------------------------------------------------------
|
46550
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46551
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46552
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46553
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46554
|
+
---------------------------------------------------------------------------------------------
|
46555
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
46556
|
+
---------------------------------------------------------------------------------------------
|
46557
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46558
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46559
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46560
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46561
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
46562
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
46563
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
46564
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46565
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46566
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46567
|
+
[1m[35mMnoMonster Load (0.2ms)[0m 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"]]
|
46568
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46569
|
+
[1m[35mSQL (0.2ms)[0m 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", "2017-01-03 01:36:49.821835"], ["updated_at", "2017-01-03 01:36:49.821835"]]
|
46570
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46571
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46572
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
46573
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
46574
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
46575
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46576
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46577
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46578
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46579
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["first_name", "John"], ["last_name", "Jack"], ["email", "monster@co.com"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:36:49.824075"], ["updated_at", "2017-01-03 01:36:49.824075"]]
|
46580
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46581
|
+
[1m[36mMnoMonster Load (0.0ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"]]
|
46582
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46583
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["provider", "maestrano"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:36:49.825569"], ["updated_at", "2017-01-03 01:36:49.825569"]]
|
46584
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46585
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46586
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
46587
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
46588
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
46589
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46590
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46591
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46592
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46593
|
+
[1m[35mSQL (0.1ms)[0m 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", "2017-01-03 01:36:49.827098"], ["updated_at", "2017-01-03 01:36:49.827098"]]
|
46594
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46595
|
+
[1m[35mMnoMonster Load (0.0ms)[0m 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"]]
|
46596
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46597
|
+
---------------------------------------------------------------------------------------------------
|
46598
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
46599
|
+
---------------------------------------------------------------------------------------------------
|
46600
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46601
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46602
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46603
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46604
|
+
------------------------------------------------------------------------------------------------------------
|
46605
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
46606
|
+
------------------------------------------------------------------------------------------------------------
|
46607
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46608
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46609
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46610
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46611
|
+
----------------------------------------------------------------------------------------------
|
46612
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
46613
|
+
----------------------------------------------------------------------------------------------
|
46614
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46615
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46616
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46617
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46618
|
+
-----------------------------------------------------------------------------------------------------------------------
|
46619
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
46620
|
+
-----------------------------------------------------------------------------------------------------------------------
|
46621
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46622
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46623
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46624
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46625
|
+
---------------------------------------------------------------------
|
46626
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
46627
|
+
---------------------------------------------------------------------
|
46628
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46629
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46630
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46631
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
46632
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
46633
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
46634
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
46635
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46636
|
+
---------------------------------------------------------------------
|
46637
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
46638
|
+
---------------------------------------------------------------------
|
46639
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46640
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46641
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46642
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
46643
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
46644
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
46645
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
46646
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46647
|
+
----------------------------------------------------------------------------------------------------------
|
46648
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
46649
|
+
----------------------------------------------------------------------------------------------------------
|
46650
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46651
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46652
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46653
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46654
|
+
----------------------------------------------------------------------------------------------------
|
46655
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
46656
|
+
----------------------------------------------------------------------------------------------------
|
46657
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46658
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46659
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46660
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46661
|
+
--------------------------------------------------------------------------------------------------------
|
46662
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
46663
|
+
--------------------------------------------------------------------------------------------------------
|
46664
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46665
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46666
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46667
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46668
|
+
--------------------------------------------------------------------------------------------------
|
46669
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
46670
|
+
--------------------------------------------------------------------------------------------------
|
46671
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46672
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46673
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46674
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46675
|
+
---------------------------------------------------------------------------------------
|
46676
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
46677
|
+
---------------------------------------------------------------------------------------
|
46678
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46679
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46680
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46681
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46682
|
+
----------------------------------------------------------------------------------
|
46683
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
46684
|
+
----------------------------------------------------------------------------------
|
46685
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46686
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46687
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46688
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46689
|
+
----------------------------------------------------------------------------------------------------------
|
46690
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
46691
|
+
----------------------------------------------------------------------------------------------------------
|
46692
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46693
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46694
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46695
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46696
|
+
-----------------------------------------------------------------------------------------------------
|
46697
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
46698
|
+
-----------------------------------------------------------------------------------------------------
|
46699
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46700
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46701
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46702
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46703
|
+
------------------------------------------------------------------------------------------------
|
46704
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
46705
|
+
------------------------------------------------------------------------------------------------
|
46706
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46707
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46708
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46709
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46710
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
46711
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
46712
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
46713
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46714
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46715
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46716
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"]]
|
46717
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46718
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2017-01-03 01:36:49.892539"], ["updated_at", "2017-01-03 01:36:49.892539"]]
|
46719
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46720
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46721
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
46722
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
46723
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
46724
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46725
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
46726
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46727
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46728
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:36:49.894488"], ["updated_at", "2017-01-03 01:36:49.894488"]]
|
46729
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46730
|
+
[1m[35mMnoCrew Load (0.0ms)[0m 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"]]
|
46731
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46732
|
+
[1m[35mSQL (0.1ms)[0m 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", "2017-01-03 01:36:49.895712"], ["updated_at", "2017-01-03 01:36:49.895712"]]
|
46733
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46734
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46735
|
+
------------------------------------------------------------------------------------------------------------------------------
|
46736
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
46737
|
+
------------------------------------------------------------------------------------------------------------------------------
|
46738
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46739
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46740
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46741
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46742
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"], ["created_at", "2017-01-03 01:36:49.897222"], ["updated_at", "2017-01-03 01:36:49.897222"]]
|
46743
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46744
|
+
[1m[36mMnoCrew Load (0.0ms)[0m [1mSELECT "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[0m [["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"]]
|
46745
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46746
|
+
----------------------------------------------------------------------------------------------------
|
46747
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
46748
|
+
----------------------------------------------------------------------------------------------------
|
46749
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46750
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46751
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46752
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46753
|
+
-------------------------------------------------------------------------------------------------------------
|
46754
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
46755
|
+
-------------------------------------------------------------------------------------------------------------
|
46756
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46757
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46758
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46759
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46760
|
+
-----------------------------------------------------------------------------------------------
|
46761
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
46762
|
+
-----------------------------------------------------------------------------------------------
|
46763
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46764
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46765
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46766
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46767
|
+
------------------------------------------------------------------------------------------------------------------------
|
46768
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
46769
|
+
------------------------------------------------------------------------------------------------------------------------
|
46770
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46771
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46772
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46773
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46774
|
+
------------------------------
|
46775
|
+
MaestranoRailsTest: test_truth
|
46776
|
+
------------------------------
|
46777
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46778
|
+
[1m[35m (0.0ms)[0m commit transaction
|
46779
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46780
|
+
[1m[35m (0.0ms)[0m rollback transaction
|