maestrano-rails 1.0.0.pre.RC7 → 1.0.0.pre.RC8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +5 -5
- data/Gemfile.lock +10 -12
- data/maestrano-rails.gemspec +7 -7
- data/test/dummy_activerecord/config/environments/development.rb +0 -7
- data/test/dummy_activerecord/config/environments/production.rb +0 -4
- data/test/dummy_activerecord/db/development.sqlite3 +0 -0
- data/test/dummy_activerecord/db/schema.rb +1 -0
- data/test/dummy_activerecord/log/development.log +29 -0
- data/test/dummy_activerecord/log/test.log +2508 -0
- data/test/dummy_mongoid/config/environments/development.rb +0 -7
- data/test/dummy_mongoid/config/environments/production.rb +0 -4
- data/test/tmp/app/models/monster.rb +11 -17
- data/test/tmp/db/migrate/20161018205552_add_maestrano_to_monsters.rb +16 -0
- metadata +10 -4
@@ -40821,3 +40821,2511 @@ UserGeneratorTest: test_: UserGenerator should call the mongoid migration genera
|
|
40821
40821
|
[1m[35m (0.0ms)[0m commit transaction
|
40822
40822
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40823
40823
|
[1m[35m (0.0ms)[0m rollback transaction
|
40824
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
40825
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
40826
|
+
-------------------------------------------------------------------
|
40827
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
40828
|
+
-------------------------------------------------------------------
|
40829
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40830
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40831
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40832
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
40833
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
40834
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40835
|
+
-------------------------------------------------------------------
|
40836
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
40837
|
+
-------------------------------------------------------------------
|
40838
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40839
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40840
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40841
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
40842
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
40843
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40844
|
+
------------------------------
|
40845
|
+
MaestranoRailsTest: test_truth
|
40846
|
+
------------------------------
|
40847
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40848
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40850
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40851
|
+
----------------------------------------------------------------------------------------------
|
40852
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
40853
|
+
----------------------------------------------------------------------------------------------
|
40854
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40855
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40856
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40857
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40858
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40859
|
+
Cannot validate SAML response: Bla
|
40860
|
+
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/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `instance_exec'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block in autorun'"]
|
40861
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
40862
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40863
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40864
|
+
--------------------------------------------------------------------------------------------------------------------
|
40865
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
40866
|
+
--------------------------------------------------------------------------------------------------------------------
|
40867
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40868
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40869
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40870
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40871
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40872
|
+
Redirected to http://test.host/
|
40873
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40874
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40875
|
+
---------------------------------------------------------------------------------
|
40876
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
40877
|
+
---------------------------------------------------------------------------------
|
40878
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40879
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40880
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40881
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40882
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40883
|
+
Redirected to http://test.host/
|
40884
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40885
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40886
|
+
--------------------------------------------------------------------------------------
|
40887
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
40888
|
+
--------------------------------------------------------------------------------------
|
40889
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40890
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40891
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40892
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40893
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40894
|
+
Redirected to http://test.host/
|
40895
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40896
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40897
|
+
-------------------------------------------------------------------------------
|
40898
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
40899
|
+
-------------------------------------------------------------------------------
|
40900
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40901
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40902
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40903
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40904
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40905
|
+
Redirected to http://test.host/
|
40906
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40907
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40908
|
+
-------------------------------------------------------------------------------------
|
40909
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
40910
|
+
-------------------------------------------------------------------------------------
|
40911
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40912
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40913
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40914
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40915
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40916
|
+
Redirected to http://test.host/
|
40917
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
40918
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40919
|
+
------------------------------------------------------------------------------------------
|
40920
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
40921
|
+
------------------------------------------------------------------------------------------
|
40922
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40923
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40924
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40925
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40926
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40927
|
+
Redirected to http://test.host/
|
40928
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
40929
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40930
|
+
---------------------------------------------------------------------------------------------------------------------------
|
40931
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
40932
|
+
---------------------------------------------------------------------------------------------------------------------------
|
40933
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40934
|
+
[1m[35m (0.1ms)[0m commit transaction
|
40935
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40936
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
40937
|
+
Parameters: {"a_param"=>"value"}
|
40938
|
+
Redirected to http://idpprovider.com?r=request
|
40939
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
40940
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40941
|
+
-----------------------------------------------------------------------------------------------------------------------
|
40942
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
40943
|
+
-----------------------------------------------------------------------------------------------------------------------
|
40944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40945
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40946
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40947
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
40948
|
+
Parameters: {"a_param"=>"value"}
|
40949
|
+
Redirected to http://idpprovider.com?r=request
|
40950
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
40951
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40952
|
+
---------------------------------------------------------------------------------------------------------------------
|
40953
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
40954
|
+
---------------------------------------------------------------------------------------------------------------------
|
40955
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40956
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40957
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40958
|
+
Processing by PagesController#home as HTML
|
40959
|
+
Rendered pages/home.html.erb within layouts/application (1.0ms)
|
40960
|
+
Completed 200 OK in 112ms (Views: 111.9ms | ActiveRecord: 0.0ms)
|
40961
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40962
|
+
--------------------------------------------------------------------------------------------------------------------
|
40963
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
40964
|
+
--------------------------------------------------------------------------------------------------------------------
|
40965
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40966
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40967
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40968
|
+
Processing by PagesController#home as HTML
|
40969
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
40970
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
40971
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40972
|
+
-----------------------------------------------------------------------------------------------------------
|
40973
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
40974
|
+
-----------------------------------------------------------------------------------------------------------
|
40975
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40976
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40977
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40978
|
+
Processing by PagesController#home as HTML
|
40979
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
40980
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
40981
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40982
|
+
------------------------------------------------------------------------------
|
40983
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
40984
|
+
------------------------------------------------------------------------------
|
40985
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40986
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40987
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40988
|
+
Processing by PagesController#home as HTML
|
40989
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
40990
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
40991
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40992
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
40993
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
40994
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
40995
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40996
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40997
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40998
|
+
[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"]]
|
40999
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41000
|
+
[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", "2016-10-18 20:48:03.739591"], ["updated_at", "2016-10-18 20:48:03.739591"]]
|
41001
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41002
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41003
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
41004
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
41005
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
41006
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41007
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41008
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41009
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41010
|
+
[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", "2016-10-18 20:48:03.742279"], ["updated_at", "2016-10-18 20:48:03.742279"]]
|
41011
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41012
|
+
[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"]]
|
41013
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41014
|
+
[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", "2016-10-18 20:48:03.744272"], ["updated_at", "2016-10-18 20:48:03.744272"]]
|
41015
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41016
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41017
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
41018
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
41019
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
41020
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41021
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41023
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41024
|
+
[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", "2016-10-18 20:48:03.746423"], ["updated_at", "2016-10-18 20:48:03.746423"]]
|
41025
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41026
|
+
[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"]]
|
41027
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
41028
|
+
---------------------------------------------------------------------------------------------------
|
41029
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
41030
|
+
---------------------------------------------------------------------------------------------------
|
41031
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41032
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41033
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41034
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41035
|
+
------------------------------------------------------------------------------------------------------------
|
41036
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
41037
|
+
------------------------------------------------------------------------------------------------------------
|
41038
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41039
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41040
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41041
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41042
|
+
----------------------------------------------------------------------------------------------
|
41043
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
41044
|
+
----------------------------------------------------------------------------------------------
|
41045
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41046
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41047
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41048
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41049
|
+
-----------------------------------------------------------------------------------------------------------------------
|
41050
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
41051
|
+
-----------------------------------------------------------------------------------------------------------------------
|
41052
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41053
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41054
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41055
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41056
|
+
------------------------------------------------------------------------------------------
|
41057
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
41058
|
+
------------------------------------------------------------------------------------------
|
41059
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41060
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41061
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41062
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41063
|
+
--------------------------------------------------------------------------------------
|
41064
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
41065
|
+
--------------------------------------------------------------------------------------
|
41066
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41067
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41068
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41069
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41070
|
+
--------------------------------------------------------------------------------------
|
41071
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
41072
|
+
--------------------------------------------------------------------------------------
|
41073
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41074
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41075
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41076
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41077
|
+
----------------------------------------------------------------------------------
|
41078
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
41079
|
+
----------------------------------------------------------------------------------
|
41080
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41081
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41082
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41083
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41084
|
+
--------------------------------------------------------------------------------------------------------------------------
|
41085
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
41086
|
+
--------------------------------------------------------------------------------------------------------------------------
|
41087
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41088
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41089
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41090
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41091
|
+
--------------------------------------------------------------------------------------------------------------------------
|
41092
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
41093
|
+
--------------------------------------------------------------------------------------------------------------------------
|
41094
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41095
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41096
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41097
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41098
|
+
---------------------------------------------------------------------------------------------
|
41099
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
41100
|
+
---------------------------------------------------------------------------------------------
|
41101
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41102
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41103
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41104
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41105
|
+
---------------------------------------------------------------------------------------
|
41106
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
41107
|
+
---------------------------------------------------------------------------------------
|
41108
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41109
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41110
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41111
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41112
|
+
----------------------------------------------------------------------------------
|
41113
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
41114
|
+
----------------------------------------------------------------------------------
|
41115
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41116
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41117
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41118
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41119
|
+
----------------------------------------------------------------------------------------------------------
|
41120
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
41121
|
+
----------------------------------------------------------------------------------------------------------
|
41122
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41123
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41124
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41125
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41126
|
+
-----------------------------------------------------------------------------------------------------
|
41127
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
41128
|
+
-----------------------------------------------------------------------------------------------------
|
41129
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41130
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41131
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41132
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41133
|
+
------------------------------------------------------------------------------------------------
|
41134
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
41135
|
+
------------------------------------------------------------------------------------------------
|
41136
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41137
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41138
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41139
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41140
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
41141
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
41142
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
41143
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41144
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41145
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41146
|
+
[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"]]
|
41147
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41148
|
+
[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", "2016-10-18 20:48:03.798426"], ["updated_at", "2016-10-18 20:48:03.798426"]]
|
41149
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41150
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41151
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
41152
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
41153
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
41154
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41155
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41156
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41157
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41158
|
+
[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", "2016-10-18 20:48:03.800353"], ["updated_at", "2016-10-18 20:48:03.800353"]]
|
41159
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41160
|
+
[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"]]
|
41161
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41162
|
+
[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", "2016-10-18 20:48:03.801645"], ["updated_at", "2016-10-18 20:48:03.801645"]]
|
41163
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41164
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41165
|
+
------------------------------------------------------------------------------------------------------------------------------
|
41166
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
41167
|
+
------------------------------------------------------------------------------------------------------------------------------
|
41168
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41169
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41171
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41172
|
+
[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", "2016-10-18 20:48:03.803307"], ["updated_at", "2016-10-18 20:48:03.803307"]]
|
41173
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41174
|
+
[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"]]
|
41175
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41176
|
+
----------------------------------------------------------------------------------------------------
|
41177
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
41178
|
+
----------------------------------------------------------------------------------------------------
|
41179
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41180
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41181
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41182
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41183
|
+
-------------------------------------------------------------------------------------------------------------
|
41184
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
41185
|
+
-------------------------------------------------------------------------------------------------------------
|
41186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41187
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41188
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41189
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41190
|
+
-----------------------------------------------------------------------------------------------
|
41191
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
41192
|
+
-----------------------------------------------------------------------------------------------
|
41193
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41194
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41195
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41196
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41197
|
+
------------------------------------------------------------------------------------------------------------------------
|
41198
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
41199
|
+
------------------------------------------------------------------------------------------------------------------------
|
41200
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41201
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41202
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41203
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41204
|
+
---------------------------------------------------------------------
|
41205
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
41206
|
+
---------------------------------------------------------------------
|
41207
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41208
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41209
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41210
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
41211
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
41212
|
+
Rendered text template (0.0ms)
|
41213
|
+
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
41214
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41215
|
+
---------------------------------------------------------------------
|
41216
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
41217
|
+
---------------------------------------------------------------------
|
41218
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41219
|
+
[1m[35m (0.1ms)[0m commit transaction
|
41220
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41221
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
41222
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
41223
|
+
Rendered text template (0.0ms)
|
41224
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
41225
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
41226
|
+
--------------------------------------------------------------------------------------------------------
|
41227
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
41228
|
+
--------------------------------------------------------------------------------------------------------
|
41229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41230
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41231
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41232
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41233
|
+
--------------------------------------------------------------------------------------------------
|
41234
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
41235
|
+
--------------------------------------------------------------------------------------------------
|
41236
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41237
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41238
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41239
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41240
|
+
-------------------------------------------------------------------------------------------
|
41241
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
41242
|
+
-------------------------------------------------------------------------------------------
|
41243
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41244
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41245
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41246
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41247
|
+
---------------------------------------------------------------------------------------
|
41248
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
41249
|
+
---------------------------------------------------------------------------------------
|
41250
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41251
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41252
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41253
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41254
|
+
---------------------------------------------------------------------------------------
|
41255
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
41256
|
+
---------------------------------------------------------------------------------------
|
41257
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41258
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41259
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41260
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41261
|
+
-----------------------------------------------------------------------------------
|
41262
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
41263
|
+
-----------------------------------------------------------------------------------
|
41264
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41265
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41266
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41267
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41268
|
+
---------------------------------------------------------------------------------------------------------------------------
|
41269
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
41270
|
+
---------------------------------------------------------------------------------------------------------------------------
|
41271
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41272
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41273
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41274
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41275
|
+
---------------------------------------------------------------------------------------------------------------------------
|
41276
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
41277
|
+
---------------------------------------------------------------------------------------------------------------------------
|
41278
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41279
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41280
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41281
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41282
|
+
----------------------------------------------------------------------------------------------
|
41283
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
41284
|
+
----------------------------------------------------------------------------------------------
|
41285
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41286
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41287
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41288
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41289
|
+
-----------------------------------------------------------------
|
41290
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
41291
|
+
-----------------------------------------------------------------
|
41292
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41293
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41294
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41295
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
41296
|
+
Parameters: {"id"=>"cld-1"}
|
41297
|
+
Rendered text template (0.0ms)
|
41298
|
+
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
41299
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41300
|
+
-----------------------------------------------------------------
|
41301
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
41302
|
+
-----------------------------------------------------------------
|
41303
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41304
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41305
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41306
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
41307
|
+
Parameters: {"id"=>"cld-1"}
|
41308
|
+
Rendered text template (0.0ms)
|
41309
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
41310
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41311
|
+
----------------------------------------------------------------------------------------------------------
|
41312
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
41313
|
+
----------------------------------------------------------------------------------------------------------
|
41314
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41315
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41316
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41317
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41318
|
+
----------------------------------------------------------------------------------------------------
|
41319
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
41320
|
+
----------------------------------------------------------------------------------------------------
|
41321
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41322
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41323
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41324
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41325
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
41326
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
41327
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
41328
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
41329
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
41330
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41331
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41332
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41333
|
+
[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"]]
|
41334
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41335
|
+
[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", "2016-10-18 20:48:52.594024"], ["updated_at", "2016-10-18 20:48:52.594024"]]
|
41336
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41337
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41338
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
41339
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
41340
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
41341
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41342
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41343
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41344
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41345
|
+
[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", "2016-10-18 20:48:52.596244"], ["updated_at", "2016-10-18 20:48:52.596244"]]
|
41346
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41347
|
+
[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"]]
|
41348
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41349
|
+
[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", "2016-10-18 20:48:52.597575"], ["updated_at", "2016-10-18 20:48:52.597575"]]
|
41350
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41351
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41352
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
41353
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
41354
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
41355
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41356
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41357
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41358
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41359
|
+
[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", "2016-10-18 20:48:52.599116"], ["updated_at", "2016-10-18 20:48:52.599116"]]
|
41360
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41361
|
+
[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"]]
|
41362
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41363
|
+
---------------------------------------------------------------------------------------------------
|
41364
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
41365
|
+
---------------------------------------------------------------------------------------------------
|
41366
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41367
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41368
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41369
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41370
|
+
------------------------------------------------------------------------------------------------------------
|
41371
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
41372
|
+
------------------------------------------------------------------------------------------------------------
|
41373
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41374
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41375
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41376
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41377
|
+
----------------------------------------------------------------------------------------------
|
41378
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
41379
|
+
----------------------------------------------------------------------------------------------
|
41380
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41381
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41382
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41383
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41384
|
+
-----------------------------------------------------------------------------------------------------------------------
|
41385
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
41386
|
+
-----------------------------------------------------------------------------------------------------------------------
|
41387
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41388
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41389
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41390
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41391
|
+
-------------------------------------------------------------------------------------------
|
41392
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
41393
|
+
-------------------------------------------------------------------------------------------
|
41394
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41395
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41396
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41397
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41398
|
+
---------------------------------------------------------------------------------------
|
41399
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
41400
|
+
---------------------------------------------------------------------------------------
|
41401
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41402
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41403
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41404
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41405
|
+
---------------------------------------------------------------------------------------
|
41406
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
41407
|
+
---------------------------------------------------------------------------------------
|
41408
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41409
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41410
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41411
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
41412
|
+
-----------------------------------------------------------------------------------
|
41413
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
41414
|
+
-----------------------------------------------------------------------------------
|
41415
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41416
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41417
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41418
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41419
|
+
---------------------------------------------------------------------------------------------------------------------------
|
41420
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
41421
|
+
---------------------------------------------------------------------------------------------------------------------------
|
41422
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41423
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41424
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41425
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41426
|
+
---------------------------------------------------------------------------------------------------------------------------
|
41427
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
41428
|
+
---------------------------------------------------------------------------------------------------------------------------
|
41429
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41430
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41431
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41432
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41433
|
+
----------------------------------------------------------------------------------------------
|
41434
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
41435
|
+
----------------------------------------------------------------------------------------------
|
41436
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41437
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41438
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41439
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41440
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
41441
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
41442
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
41443
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41444
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41445
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41446
|
+
[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"]]
|
41447
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41448
|
+
[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", "2016-10-18 20:48:52.630321"], ["updated_at", "2016-10-18 20:48:52.630321"]]
|
41449
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41450
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41451
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
41452
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
41453
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
41454
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41455
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41456
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41457
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41458
|
+
[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", "2016-10-18 20:48:52.632187"], ["updated_at", "2016-10-18 20:48:52.632187"]]
|
41459
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41460
|
+
[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"]]
|
41461
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41462
|
+
[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", "2016-10-18 20:48:52.633464"], ["updated_at", "2016-10-18 20:48:52.633464"]]
|
41463
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41464
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41465
|
+
------------------------------------------------------------------------------------------------------------------------------
|
41466
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
41467
|
+
------------------------------------------------------------------------------------------------------------------------------
|
41468
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41469
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41470
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41471
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41472
|
+
[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", "2016-10-18 20:48:52.634977"], ["updated_at", "2016-10-18 20:48:52.634977"]]
|
41473
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41474
|
+
[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"]]
|
41475
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41476
|
+
----------------------------------------------------------------------------------------------------
|
41477
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
41478
|
+
----------------------------------------------------------------------------------------------------
|
41479
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41480
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41481
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41482
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41483
|
+
-------------------------------------------------------------------------------------------------------------
|
41484
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
41485
|
+
-------------------------------------------------------------------------------------------------------------
|
41486
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41487
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41488
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41489
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41490
|
+
-----------------------------------------------------------------------------------------------
|
41491
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
41492
|
+
-----------------------------------------------------------------------------------------------
|
41493
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41494
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41495
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41496
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41497
|
+
------------------------------------------------------------------------------------------------------------------------
|
41498
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
41499
|
+
------------------------------------------------------------------------------------------------------------------------
|
41500
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41501
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41502
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41503
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41504
|
+
-----------------------------------------------------------------
|
41505
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
41506
|
+
-----------------------------------------------------------------
|
41507
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41508
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41509
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41510
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
41511
|
+
Parameters: {"id"=>"cld-1"}
|
41512
|
+
Rendered text template (0.0ms)
|
41513
|
+
Completed 200 OK in 8ms (Views: 8.1ms | ActiveRecord: 0.0ms)
|
41514
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41515
|
+
-----------------------------------------------------------------
|
41516
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
41517
|
+
-----------------------------------------------------------------
|
41518
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41519
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41520
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41521
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
41522
|
+
Parameters: {"id"=>"cld-1"}
|
41523
|
+
Rendered text template (0.0ms)
|
41524
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
41525
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41526
|
+
---------------------------------------------------------------------------------------
|
41527
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
41528
|
+
---------------------------------------------------------------------------------------
|
41529
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41530
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41531
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41532
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41533
|
+
----------------------------------------------------------------------------------
|
41534
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
41535
|
+
----------------------------------------------------------------------------------
|
41536
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41537
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41538
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41539
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41540
|
+
----------------------------------------------------------------------------------------------------------
|
41541
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
41542
|
+
----------------------------------------------------------------------------------------------------------
|
41543
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41544
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41545
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41546
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41547
|
+
-----------------------------------------------------------------------------------------------------
|
41548
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
41549
|
+
-----------------------------------------------------------------------------------------------------
|
41550
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41551
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41552
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41553
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41554
|
+
------------------------------------------------------------------------------------------------
|
41555
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
41556
|
+
------------------------------------------------------------------------------------------------
|
41557
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41558
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41559
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41560
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41561
|
+
---------------------------------------------------------------------------------------------------------------------
|
41562
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
41563
|
+
---------------------------------------------------------------------------------------------------------------------
|
41564
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41565
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41566
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41567
|
+
Processing by PagesController#home as HTML
|
41568
|
+
Rendered pages/home.html.erb within layouts/application (1.3ms)
|
41569
|
+
Completed 200 OK in 105ms (Views: 104.2ms | ActiveRecord: 0.0ms)
|
41570
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41571
|
+
--------------------------------------------------------------------------------------------------------------------
|
41572
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
41573
|
+
--------------------------------------------------------------------------------------------------------------------
|
41574
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41575
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41576
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41577
|
+
Processing by PagesController#home as HTML
|
41578
|
+
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
41579
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
41580
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
41581
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41582
|
+
-----------------------------------------------------------------------------------------------------------
|
41583
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
41584
|
+
-----------------------------------------------------------------------------------------------------------
|
41585
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41586
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41587
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41588
|
+
Processing by PagesController#home as HTML
|
41589
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
41590
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
41591
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41592
|
+
------------------------------------------------------------------------------
|
41593
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
41594
|
+
------------------------------------------------------------------------------
|
41595
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41596
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41597
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41598
|
+
Processing by PagesController#home as HTML
|
41599
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
41600
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
41601
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41602
|
+
----------------------------------------------------------------------------------------------
|
41603
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
41604
|
+
----------------------------------------------------------------------------------------------
|
41605
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41606
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41607
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41608
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
41609
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
41610
|
+
Cannot validate SAML response: Bla
|
41611
|
+
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/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `instance_exec'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block in autorun'"]
|
41612
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
41613
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
41614
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41615
|
+
--------------------------------------------------------------------------------------------------------------------
|
41616
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
41617
|
+
--------------------------------------------------------------------------------------------------------------------
|
41618
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41619
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41620
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41621
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
41622
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
41623
|
+
Redirected to http://test.host/
|
41624
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
41625
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41626
|
+
---------------------------------------------------------------------------------
|
41627
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
41628
|
+
---------------------------------------------------------------------------------
|
41629
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41630
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41631
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41632
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
41633
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
41634
|
+
Redirected to http://test.host/
|
41635
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
41636
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41637
|
+
--------------------------------------------------------------------------------------
|
41638
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
41639
|
+
--------------------------------------------------------------------------------------
|
41640
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41641
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41642
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41643
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
41644
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
41645
|
+
Redirected to http://test.host/
|
41646
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
41647
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41648
|
+
-------------------------------------------------------------------------------
|
41649
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
41650
|
+
-------------------------------------------------------------------------------
|
41651
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41652
|
+
[1m[35m (0.1ms)[0m commit transaction
|
41653
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41654
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
41655
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
41656
|
+
Redirected to http://test.host/
|
41657
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
41658
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41659
|
+
-------------------------------------------------------------------------------------
|
41660
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
41661
|
+
-------------------------------------------------------------------------------------
|
41662
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41663
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41664
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41665
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
41666
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
41667
|
+
Redirected to http://test.host/
|
41668
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
41669
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41670
|
+
------------------------------------------------------------------------------------------
|
41671
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
41672
|
+
------------------------------------------------------------------------------------------
|
41673
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41674
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41675
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41676
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
41677
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
41678
|
+
Redirected to http://test.host/
|
41679
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
41680
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41681
|
+
---------------------------------------------------------------------------------------------------------------------------
|
41682
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
41683
|
+
---------------------------------------------------------------------------------------------------------------------------
|
41684
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41685
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41686
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41687
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
41688
|
+
Parameters: {"a_param"=>"value"}
|
41689
|
+
Redirected to http://idpprovider.com?r=request
|
41690
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
41691
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41692
|
+
-----------------------------------------------------------------------------------------------------------------------
|
41693
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
41694
|
+
-----------------------------------------------------------------------------------------------------------------------
|
41695
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41696
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41697
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41698
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
41699
|
+
Parameters: {"a_param"=>"value"}
|
41700
|
+
Redirected to http://idpprovider.com?r=request
|
41701
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
41702
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41703
|
+
---------------------------------------------------------------------
|
41704
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
41705
|
+
---------------------------------------------------------------------
|
41706
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41707
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41708
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41709
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
41710
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
41711
|
+
Rendered text template (0.0ms)
|
41712
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
41713
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
41714
|
+
---------------------------------------------------------------------
|
41715
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
41716
|
+
---------------------------------------------------------------------
|
41717
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41718
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41719
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41720
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
41721
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
41722
|
+
Rendered text template (0.0ms)
|
41723
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
41724
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41725
|
+
------------------------------------------------------------------------------------------
|
41726
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
41727
|
+
------------------------------------------------------------------------------------------
|
41728
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41729
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41730
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41731
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41732
|
+
--------------------------------------------------------------------------------------
|
41733
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
41734
|
+
--------------------------------------------------------------------------------------
|
41735
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41736
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41737
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41738
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41739
|
+
--------------------------------------------------------------------------------------
|
41740
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
41741
|
+
--------------------------------------------------------------------------------------
|
41742
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41743
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41744
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41745
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41746
|
+
----------------------------------------------------------------------------------
|
41747
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
41748
|
+
----------------------------------------------------------------------------------
|
41749
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41750
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41751
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41752
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41753
|
+
--------------------------------------------------------------------------------------------------------------------------
|
41754
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
41755
|
+
--------------------------------------------------------------------------------------------------------------------------
|
41756
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41757
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41758
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41759
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41760
|
+
--------------------------------------------------------------------------------------------------------------------------
|
41761
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
41762
|
+
--------------------------------------------------------------------------------------------------------------------------
|
41763
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41764
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41765
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41766
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41767
|
+
---------------------------------------------------------------------------------------------
|
41768
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
41769
|
+
---------------------------------------------------------------------------------------------
|
41770
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41771
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41772
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41773
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41774
|
+
-------------------------------------------------------------------
|
41775
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
41776
|
+
-------------------------------------------------------------------
|
41777
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41778
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41779
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41780
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
41781
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
41782
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41783
|
+
-------------------------------------------------------------------
|
41784
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
41785
|
+
-------------------------------------------------------------------
|
41786
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41787
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41788
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41789
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
41790
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
41791
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41792
|
+
--------------------------------------------------------------------------------------------------------
|
41793
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
41794
|
+
--------------------------------------------------------------------------------------------------------
|
41795
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41796
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41797
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41798
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41799
|
+
--------------------------------------------------------------------------------------------------
|
41800
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
41801
|
+
--------------------------------------------------------------------------------------------------
|
41802
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41803
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41804
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41805
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41806
|
+
----------------------------------------------------------------------------------------------------------
|
41807
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
41808
|
+
----------------------------------------------------------------------------------------------------------
|
41809
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41810
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41811
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41812
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41813
|
+
----------------------------------------------------------------------------------------------------
|
41814
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
41815
|
+
----------------------------------------------------------------------------------------------------
|
41816
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41817
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41818
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41819
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41820
|
+
------------------------------
|
41821
|
+
MaestranoRailsTest: test_truth
|
41822
|
+
------------------------------
|
41823
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41824
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41825
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41826
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41827
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
41828
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
41829
|
+
-------------------------------------------------------------------------------------------
|
41830
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
41831
|
+
-------------------------------------------------------------------------------------------
|
41832
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41833
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41834
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41835
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41836
|
+
---------------------------------------------------------------------------------------
|
41837
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
41838
|
+
---------------------------------------------------------------------------------------
|
41839
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41840
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41841
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41842
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41843
|
+
---------------------------------------------------------------------------------------
|
41844
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
41845
|
+
---------------------------------------------------------------------------------------
|
41846
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41847
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41848
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41849
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41850
|
+
-----------------------------------------------------------------------------------
|
41851
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
41852
|
+
-----------------------------------------------------------------------------------
|
41853
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41854
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41855
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41856
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41857
|
+
---------------------------------------------------------------------------------------------------------------------------
|
41858
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
41859
|
+
---------------------------------------------------------------------------------------------------------------------------
|
41860
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41861
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41862
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41863
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41864
|
+
---------------------------------------------------------------------------------------------------------------------------
|
41865
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
41866
|
+
---------------------------------------------------------------------------------------------------------------------------
|
41867
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41868
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41869
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41870
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41871
|
+
----------------------------------------------------------------------------------------------
|
41872
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
41873
|
+
----------------------------------------------------------------------------------------------
|
41874
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41875
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41876
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41877
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41878
|
+
-------------------------------------------------------------------
|
41879
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
41880
|
+
-------------------------------------------------------------------
|
41881
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41882
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41883
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41884
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
41885
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
41886
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
41887
|
+
-------------------------------------------------------------------
|
41888
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
41889
|
+
-------------------------------------------------------------------
|
41890
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41891
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41892
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41893
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
41894
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
41895
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41896
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
41897
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
41898
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
41899
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41900
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41901
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41902
|
+
[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"]]
|
41903
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41904
|
+
[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", "2016-10-18 20:50:53.551527"], ["updated_at", "2016-10-18 20:50:53.551527"]]
|
41905
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41906
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41907
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
41908
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
41909
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
41910
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41911
|
+
[1m[35m (0.0ms)[0m commit transaction
|
41912
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41913
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41914
|
+
[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", "2016-10-18 20:50:53.553685"], ["updated_at", "2016-10-18 20:50:53.553685"]]
|
41915
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41916
|
+
[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"]]
|
41917
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41918
|
+
[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", "2016-10-18 20:50:53.555132"], ["updated_at", "2016-10-18 20:50:53.555132"]]
|
41919
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41920
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41921
|
+
------------------------------------------------------------------------------------------------------------------------------
|
41922
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
41923
|
+
------------------------------------------------------------------------------------------------------------------------------
|
41924
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41925
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41926
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41927
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41928
|
+
[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", "2016-10-18 20:50:53.556689"], ["updated_at", "2016-10-18 20:50:53.556689"]]
|
41929
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41930
|
+
[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"]]
|
41931
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41932
|
+
----------------------------------------------------------------------------------------------------
|
41933
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
41934
|
+
----------------------------------------------------------------------------------------------------
|
41935
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41936
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41937
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41938
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41939
|
+
-------------------------------------------------------------------------------------------------------------
|
41940
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
41941
|
+
-------------------------------------------------------------------------------------------------------------
|
41942
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41943
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41944
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41945
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41946
|
+
-----------------------------------------------------------------------------------------------
|
41947
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
41948
|
+
-----------------------------------------------------------------------------------------------
|
41949
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41950
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41951
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41952
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41953
|
+
------------------------------------------------------------------------------------------------------------------------
|
41954
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
41955
|
+
------------------------------------------------------------------------------------------------------------------------
|
41956
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41957
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41958
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41959
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41960
|
+
---------------------------------------------------------------------------------------
|
41961
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
41962
|
+
---------------------------------------------------------------------------------------
|
41963
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41964
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41965
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41966
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41967
|
+
----------------------------------------------------------------------------------
|
41968
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
41969
|
+
----------------------------------------------------------------------------------
|
41970
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41971
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41972
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41973
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41974
|
+
----------------------------------------------------------------------------------------------------------
|
41975
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
41976
|
+
----------------------------------------------------------------------------------------------------------
|
41977
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41978
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41979
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41980
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41981
|
+
-----------------------------------------------------------------------------------------------------
|
41982
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
41983
|
+
-----------------------------------------------------------------------------------------------------
|
41984
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41985
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41986
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41987
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41988
|
+
------------------------------------------------------------------------------------------------
|
41989
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
41990
|
+
------------------------------------------------------------------------------------------------
|
41991
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41992
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
41993
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41994
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
41995
|
+
--------------------------------------------------------------------------------------------------------
|
41996
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
41997
|
+
--------------------------------------------------------------------------------------------------------
|
41998
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41999
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42000
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42001
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42002
|
+
--------------------------------------------------------------------------------------------------
|
42003
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
42004
|
+
--------------------------------------------------------------------------------------------------
|
42005
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42006
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42007
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42008
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42009
|
+
----------------------------------------------------------------------------------------------------------
|
42010
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
42011
|
+
----------------------------------------------------------------------------------------------------------
|
42012
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42013
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42014
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42015
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42016
|
+
----------------------------------------------------------------------------------------------------
|
42017
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
42018
|
+
----------------------------------------------------------------------------------------------------
|
42019
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42020
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42021
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42022
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42023
|
+
---------------------------------------------------------------------
|
42024
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
42025
|
+
---------------------------------------------------------------------
|
42026
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42027
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42028
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42029
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
42030
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
42031
|
+
Rendered text template (0.0ms)
|
42032
|
+
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
42033
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42034
|
+
---------------------------------------------------------------------
|
42035
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
42036
|
+
---------------------------------------------------------------------
|
42037
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42038
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42039
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42040
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
42041
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
42042
|
+
Rendered text template (0.0ms)
|
42043
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
42044
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42045
|
+
-----------------------------------------------------------------
|
42046
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
42047
|
+
-----------------------------------------------------------------
|
42048
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42049
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42050
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42051
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
42052
|
+
Parameters: {"id"=>"cld-1"}
|
42053
|
+
Rendered text template (0.0ms)
|
42054
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
42055
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42056
|
+
-----------------------------------------------------------------
|
42057
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
42058
|
+
-----------------------------------------------------------------
|
42059
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42060
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42061
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42062
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
42063
|
+
Parameters: {"id"=>"cld-1"}
|
42064
|
+
Rendered text template (0.0ms)
|
42065
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
42066
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42067
|
+
------------------------------------------------------------------------------------------
|
42068
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
42069
|
+
------------------------------------------------------------------------------------------
|
42070
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42071
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42072
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42073
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42074
|
+
--------------------------------------------------------------------------------------
|
42075
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
42076
|
+
--------------------------------------------------------------------------------------
|
42077
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42078
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42079
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42080
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42081
|
+
--------------------------------------------------------------------------------------
|
42082
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
42083
|
+
--------------------------------------------------------------------------------------
|
42084
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42085
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42086
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42087
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42088
|
+
----------------------------------------------------------------------------------
|
42089
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
42090
|
+
----------------------------------------------------------------------------------
|
42091
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42092
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42093
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42094
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42095
|
+
--------------------------------------------------------------------------------------------------------------------------
|
42096
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
42097
|
+
--------------------------------------------------------------------------------------------------------------------------
|
42098
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42099
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42100
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42101
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42102
|
+
--------------------------------------------------------------------------------------------------------------------------
|
42103
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
42104
|
+
--------------------------------------------------------------------------------------------------------------------------
|
42105
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42106
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42107
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42108
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42109
|
+
---------------------------------------------------------------------------------------------
|
42110
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
42111
|
+
---------------------------------------------------------------------------------------------
|
42112
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42113
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42114
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42115
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42116
|
+
---------------------------------------------------------------------------------------------------------------------
|
42117
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
42118
|
+
---------------------------------------------------------------------------------------------------------------------
|
42119
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42120
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42121
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42122
|
+
Processing by PagesController#home as HTML
|
42123
|
+
Rendered pages/home.html.erb within layouts/application (0.8ms)
|
42124
|
+
Completed 200 OK in 98ms (Views: 98.2ms | ActiveRecord: 0.0ms)
|
42125
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42126
|
+
--------------------------------------------------------------------------------------------------------------------
|
42127
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
42128
|
+
--------------------------------------------------------------------------------------------------------------------
|
42129
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42130
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42131
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42132
|
+
Processing by PagesController#home as HTML
|
42133
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
42134
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
42135
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42136
|
+
-----------------------------------------------------------------------------------------------------------
|
42137
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
42138
|
+
-----------------------------------------------------------------------------------------------------------
|
42139
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42140
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42141
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42142
|
+
Processing by PagesController#home as HTML
|
42143
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
42144
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
42145
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42146
|
+
------------------------------------------------------------------------------
|
42147
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
42148
|
+
------------------------------------------------------------------------------
|
42149
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42150
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42151
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42152
|
+
Processing by PagesController#home as HTML
|
42153
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
42154
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
42155
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42156
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
42157
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
42158
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
42159
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42160
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42161
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42162
|
+
[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"]]
|
42163
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42164
|
+
[1m[36mSQL (0.3ms)[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", "2016-10-18 20:50:53.762731"], ["updated_at", "2016-10-18 20:50:53.762731"]]
|
42165
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42166
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42167
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
42168
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
42169
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
42170
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42171
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42172
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42173
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42174
|
+
[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", "2016-10-18 20:50:53.765571"], ["updated_at", "2016-10-18 20:50:53.765571"]]
|
42175
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42176
|
+
[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"]]
|
42177
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42178
|
+
[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", "2016-10-18 20:50:53.766970"], ["updated_at", "2016-10-18 20:50:53.766970"]]
|
42179
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42180
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42181
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
42182
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
42183
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
42184
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42185
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42187
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42188
|
+
[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", "2016-10-18 20:50:53.768549"], ["updated_at", "2016-10-18 20:50:53.768549"]]
|
42189
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42190
|
+
[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"]]
|
42191
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42192
|
+
---------------------------------------------------------------------------------------------------
|
42193
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
42194
|
+
---------------------------------------------------------------------------------------------------
|
42195
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42196
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42197
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42198
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42199
|
+
------------------------------------------------------------------------------------------------------------
|
42200
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
42201
|
+
------------------------------------------------------------------------------------------------------------
|
42202
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42203
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42204
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42205
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42206
|
+
----------------------------------------------------------------------------------------------
|
42207
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
42208
|
+
----------------------------------------------------------------------------------------------
|
42209
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42210
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42211
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42212
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42213
|
+
-----------------------------------------------------------------------------------------------------------------------
|
42214
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
42215
|
+
-----------------------------------------------------------------------------------------------------------------------
|
42216
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42217
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42218
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42219
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42220
|
+
----------------------------------------------------------------------------------------------
|
42221
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
42222
|
+
----------------------------------------------------------------------------------------------
|
42223
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42224
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42225
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42226
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
42227
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
42228
|
+
Cannot validate SAML response: Bla
|
42229
|
+
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/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `instance_exec'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block in autorun'"]
|
42230
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
42231
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
42232
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42233
|
+
--------------------------------------------------------------------------------------------------------------------
|
42234
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
42235
|
+
--------------------------------------------------------------------------------------------------------------------
|
42236
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42237
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42238
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42239
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
42240
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
42241
|
+
Redirected to http://test.host/
|
42242
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
42243
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42244
|
+
---------------------------------------------------------------------------------
|
42245
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
42246
|
+
---------------------------------------------------------------------------------
|
42247
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42248
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42249
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42250
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
42251
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
42252
|
+
Redirected to http://test.host/
|
42253
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
42254
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42255
|
+
--------------------------------------------------------------------------------------
|
42256
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
42257
|
+
--------------------------------------------------------------------------------------
|
42258
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42259
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42260
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42261
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
42262
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
42263
|
+
Redirected to http://test.host/
|
42264
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
42265
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42266
|
+
-------------------------------------------------------------------------------
|
42267
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
42268
|
+
-------------------------------------------------------------------------------
|
42269
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42270
|
+
[1m[35m (0.1ms)[0m commit transaction
|
42271
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42272
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
42273
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
42274
|
+
Redirected to http://test.host/
|
42275
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
42276
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42277
|
+
-------------------------------------------------------------------------------------
|
42278
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
42279
|
+
-------------------------------------------------------------------------------------
|
42280
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42281
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42283
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
42284
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
42285
|
+
Redirected to http://test.host/
|
42286
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
42287
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42288
|
+
------------------------------------------------------------------------------------------
|
42289
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
42290
|
+
------------------------------------------------------------------------------------------
|
42291
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42292
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42293
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42294
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
42295
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
42296
|
+
Redirected to http://test.host/
|
42297
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
42298
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42299
|
+
---------------------------------------------------------------------------------------------------------------------------
|
42300
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
42301
|
+
---------------------------------------------------------------------------------------------------------------------------
|
42302
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42303
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42304
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42305
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
42306
|
+
Parameters: {"a_param"=>"value"}
|
42307
|
+
Redirected to http://idpprovider.com?r=request
|
42308
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
42309
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42310
|
+
-----------------------------------------------------------------------------------------------------------------------
|
42311
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
42312
|
+
-----------------------------------------------------------------------------------------------------------------------
|
42313
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42314
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42315
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42316
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
42317
|
+
Parameters: {"a_param"=>"value"}
|
42318
|
+
Redirected to http://idpprovider.com?r=request
|
42319
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
42320
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42321
|
+
------------------------------
|
42322
|
+
MaestranoRailsTest: test_truth
|
42323
|
+
------------------------------
|
42324
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42325
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42326
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42327
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42328
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
42329
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
42330
|
+
---------------------------------------------------------------------------------------------------------------------
|
42331
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
42332
|
+
---------------------------------------------------------------------------------------------------------------------
|
42333
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42334
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42335
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42336
|
+
Processing by PagesController#home as HTML
|
42337
|
+
Rendered pages/home.html.erb within layouts/application (0.7ms)
|
42338
|
+
Completed 200 OK in 102ms (Views: 101.9ms | ActiveRecord: 0.0ms)
|
42339
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42340
|
+
--------------------------------------------------------------------------------------------------------------------
|
42341
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
42342
|
+
--------------------------------------------------------------------------------------------------------------------
|
42343
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42344
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42345
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42346
|
+
Processing by PagesController#home as HTML
|
42347
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
42348
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
42349
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42350
|
+
-----------------------------------------------------------------------------------------------------------
|
42351
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
42352
|
+
-----------------------------------------------------------------------------------------------------------
|
42353
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42354
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42355
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42356
|
+
Processing by PagesController#home as HTML
|
42357
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
42358
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
42359
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42360
|
+
------------------------------------------------------------------------------
|
42361
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
42362
|
+
------------------------------------------------------------------------------
|
42363
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42364
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42365
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42366
|
+
Processing by PagesController#home as HTML
|
42367
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
42368
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
42369
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42370
|
+
-------------------------------------------------------------------------------------------
|
42371
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
42372
|
+
-------------------------------------------------------------------------------------------
|
42373
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42374
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42375
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42376
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42377
|
+
---------------------------------------------------------------------------------------
|
42378
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
42379
|
+
---------------------------------------------------------------------------------------
|
42380
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42381
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42382
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42383
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42384
|
+
---------------------------------------------------------------------------------------
|
42385
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
42386
|
+
---------------------------------------------------------------------------------------
|
42387
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42388
|
+
[1m[35m (0.1ms)[0m commit transaction
|
42389
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42390
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42391
|
+
-----------------------------------------------------------------------------------
|
42392
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
42393
|
+
-----------------------------------------------------------------------------------
|
42394
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42395
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42396
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42397
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42398
|
+
---------------------------------------------------------------------------------------------------------------------------
|
42399
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
42400
|
+
---------------------------------------------------------------------------------------------------------------------------
|
42401
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42402
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42403
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42404
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42405
|
+
---------------------------------------------------------------------------------------------------------------------------
|
42406
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
42407
|
+
---------------------------------------------------------------------------------------------------------------------------
|
42408
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42409
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42410
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42411
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42412
|
+
----------------------------------------------------------------------------------------------
|
42413
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
42414
|
+
----------------------------------------------------------------------------------------------
|
42415
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42416
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42417
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42418
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42419
|
+
---------------------------------------------------------------------
|
42420
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
42421
|
+
---------------------------------------------------------------------
|
42422
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42423
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42424
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42425
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
42426
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
42427
|
+
Rendered text template (0.0ms)
|
42428
|
+
Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)
|
42429
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42430
|
+
---------------------------------------------------------------------
|
42431
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
42432
|
+
---------------------------------------------------------------------
|
42433
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42434
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42435
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42436
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
42437
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
42438
|
+
Rendered text template (0.0ms)
|
42439
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
42440
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42441
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
42442
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
42443
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
42444
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42445
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42446
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42447
|
+
[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"]]
|
42448
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42449
|
+
[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", "2016-10-18 20:52:11.866716"], ["updated_at", "2016-10-18 20:52:11.866716"]]
|
42450
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42451
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42452
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
42453
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
42454
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
42455
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42456
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42457
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42458
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42459
|
+
[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", "2016-10-18 20:52:11.868809"], ["updated_at", "2016-10-18 20:52:11.868809"]]
|
42460
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42461
|
+
[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"]]
|
42462
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42463
|
+
[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", "2016-10-18 20:52:11.870114"], ["updated_at", "2016-10-18 20:52:11.870114"]]
|
42464
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42465
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42466
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
42467
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
42468
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
42469
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42470
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42471
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42472
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42473
|
+
[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", "2016-10-18 20:52:11.871654"], ["updated_at", "2016-10-18 20:52:11.871654"]]
|
42474
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42475
|
+
[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"]]
|
42476
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42477
|
+
---------------------------------------------------------------------------------------------------
|
42478
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
42479
|
+
---------------------------------------------------------------------------------------------------
|
42480
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42481
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42482
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42483
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42484
|
+
------------------------------------------------------------------------------------------------------------
|
42485
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
42486
|
+
------------------------------------------------------------------------------------------------------------
|
42487
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42488
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42489
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42490
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42491
|
+
----------------------------------------------------------------------------------------------
|
42492
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
42493
|
+
----------------------------------------------------------------------------------------------
|
42494
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42495
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42496
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42497
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42498
|
+
-----------------------------------------------------------------------------------------------------------------------
|
42499
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
42500
|
+
-----------------------------------------------------------------------------------------------------------------------
|
42501
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42502
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42503
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42504
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42505
|
+
----------------------------------------------------------------------------------------------------------
|
42506
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
42507
|
+
----------------------------------------------------------------------------------------------------------
|
42508
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42509
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42510
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42511
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42512
|
+
----------------------------------------------------------------------------------------------------
|
42513
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
42514
|
+
----------------------------------------------------------------------------------------------------
|
42515
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42516
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42517
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42518
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42519
|
+
----------------------------------------------------------------------------------------------
|
42520
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
42521
|
+
----------------------------------------------------------------------------------------------
|
42522
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42523
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42524
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42525
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
42526
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
42527
|
+
Cannot validate SAML response: Bla
|
42528
|
+
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/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `instance_exec'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block in autorun'"]
|
42529
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
42530
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
42531
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42532
|
+
--------------------------------------------------------------------------------------------------------------------
|
42533
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
42534
|
+
--------------------------------------------------------------------------------------------------------------------
|
42535
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42536
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42537
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42538
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
42539
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
42540
|
+
Redirected to http://test.host/
|
42541
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
42542
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42543
|
+
---------------------------------------------------------------------------------
|
42544
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
42545
|
+
---------------------------------------------------------------------------------
|
42546
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42547
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42548
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42549
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
42550
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
42551
|
+
Redirected to http://test.host/
|
42552
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
42553
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42554
|
+
--------------------------------------------------------------------------------------
|
42555
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
42556
|
+
--------------------------------------------------------------------------------------
|
42557
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42558
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42559
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42560
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
42561
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
42562
|
+
Redirected to http://test.host/
|
42563
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
42564
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42565
|
+
-------------------------------------------------------------------------------
|
42566
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
42567
|
+
-------------------------------------------------------------------------------
|
42568
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42569
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
42570
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42571
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
42572
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
42573
|
+
Redirected to http://test.host/
|
42574
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
42575
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42576
|
+
-------------------------------------------------------------------------------------
|
42577
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
42578
|
+
-------------------------------------------------------------------------------------
|
42579
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42580
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42581
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42582
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
42583
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
42584
|
+
Redirected to http://test.host/
|
42585
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
42586
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42587
|
+
------------------------------------------------------------------------------------------
|
42588
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
42589
|
+
------------------------------------------------------------------------------------------
|
42590
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42591
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42592
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42593
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
42594
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
42595
|
+
Redirected to http://test.host/
|
42596
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
42597
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42598
|
+
---------------------------------------------------------------------------------------------------------------------------
|
42599
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
42600
|
+
---------------------------------------------------------------------------------------------------------------------------
|
42601
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42602
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42603
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42604
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
42605
|
+
Parameters: {"a_param"=>"value"}
|
42606
|
+
Redirected to http://idpprovider.com?r=request
|
42607
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
42608
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42609
|
+
-----------------------------------------------------------------------------------------------------------------------
|
42610
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
42611
|
+
-----------------------------------------------------------------------------------------------------------------------
|
42612
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42613
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42614
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42615
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
42616
|
+
Parameters: {"a_param"=>"value"}
|
42617
|
+
Redirected to http://idpprovider.com?r=request
|
42618
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
42619
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42620
|
+
------------------------------
|
42621
|
+
MaestranoRailsTest: test_truth
|
42622
|
+
------------------------------
|
42623
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42624
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42625
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42626
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42627
|
+
--------------------------------------------------------------------------------------------------------
|
42628
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
42629
|
+
--------------------------------------------------------------------------------------------------------
|
42630
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42631
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42632
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42633
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42634
|
+
--------------------------------------------------------------------------------------------------
|
42635
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
42636
|
+
--------------------------------------------------------------------------------------------------
|
42637
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42638
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42639
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42640
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42641
|
+
---------------------------------------------------------------------------------------
|
42642
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
42643
|
+
---------------------------------------------------------------------------------------
|
42644
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42645
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42646
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42647
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42648
|
+
----------------------------------------------------------------------------------
|
42649
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
42650
|
+
----------------------------------------------------------------------------------
|
42651
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42652
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42653
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42654
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42655
|
+
----------------------------------------------------------------------------------------------------------
|
42656
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
42657
|
+
----------------------------------------------------------------------------------------------------------
|
42658
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42659
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42660
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42661
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42662
|
+
-----------------------------------------------------------------------------------------------------
|
42663
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
42664
|
+
-----------------------------------------------------------------------------------------------------
|
42665
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42666
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42667
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42668
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42669
|
+
------------------------------------------------------------------------------------------------
|
42670
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
42671
|
+
------------------------------------------------------------------------------------------------
|
42672
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42673
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42674
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42675
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42676
|
+
-------------------------------------------------------------------
|
42677
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
42678
|
+
-------------------------------------------------------------------
|
42679
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42680
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42681
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42682
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
42683
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
42684
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42685
|
+
-------------------------------------------------------------------
|
42686
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
42687
|
+
-------------------------------------------------------------------
|
42688
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42689
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42690
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42691
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
42692
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
42693
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42694
|
+
------------------------------------------------------------------------------------------
|
42695
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
42696
|
+
------------------------------------------------------------------------------------------
|
42697
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42698
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42699
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42700
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42701
|
+
--------------------------------------------------------------------------------------
|
42702
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
42703
|
+
--------------------------------------------------------------------------------------
|
42704
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42705
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42706
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42707
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42708
|
+
--------------------------------------------------------------------------------------
|
42709
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
42710
|
+
--------------------------------------------------------------------------------------
|
42711
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42712
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42713
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42714
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42715
|
+
----------------------------------------------------------------------------------
|
42716
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
42717
|
+
----------------------------------------------------------------------------------
|
42718
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42719
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42720
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42721
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42722
|
+
--------------------------------------------------------------------------------------------------------------------------
|
42723
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
42724
|
+
--------------------------------------------------------------------------------------------------------------------------
|
42725
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42726
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42727
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42728
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42729
|
+
--------------------------------------------------------------------------------------------------------------------------
|
42730
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
42731
|
+
--------------------------------------------------------------------------------------------------------------------------
|
42732
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42733
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42734
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42735
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42736
|
+
---------------------------------------------------------------------------------------------
|
42737
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
42738
|
+
---------------------------------------------------------------------------------------------
|
42739
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42740
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42741
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42742
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42743
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
42744
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
42745
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
42746
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42747
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42748
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42749
|
+
[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"]]
|
42750
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42751
|
+
[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", "2016-10-18 20:52:11.989839"], ["updated_at", "2016-10-18 20:52:11.989839"]]
|
42752
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42753
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42754
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
42755
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
42756
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
42757
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42758
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42759
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42760
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42761
|
+
[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", "2016-10-18 20:52:11.991744"], ["updated_at", "2016-10-18 20:52:11.991744"]]
|
42762
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42763
|
+
[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"]]
|
42764
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42765
|
+
[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", "2016-10-18 20:52:11.992992"], ["updated_at", "2016-10-18 20:52:11.992992"]]
|
42766
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42767
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42768
|
+
------------------------------------------------------------------------------------------------------------------------------
|
42769
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
42770
|
+
------------------------------------------------------------------------------------------------------------------------------
|
42771
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42772
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42773
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42774
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42775
|
+
[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", "2016-10-18 20:52:11.994325"], ["updated_at", "2016-10-18 20:52:11.994325"]]
|
42776
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42777
|
+
[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"]]
|
42778
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42779
|
+
----------------------------------------------------------------------------------------------------
|
42780
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
42781
|
+
----------------------------------------------------------------------------------------------------
|
42782
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42783
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42784
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42785
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42786
|
+
-------------------------------------------------------------------------------------------------------------
|
42787
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
42788
|
+
-------------------------------------------------------------------------------------------------------------
|
42789
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42790
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42791
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42792
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42793
|
+
-----------------------------------------------------------------------------------------------
|
42794
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
42795
|
+
-----------------------------------------------------------------------------------------------
|
42796
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42797
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42798
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42799
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42800
|
+
------------------------------------------------------------------------------------------------------------------------
|
42801
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
42802
|
+
------------------------------------------------------------------------------------------------------------------------
|
42803
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42804
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42805
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42806
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42807
|
+
-----------------------------------------------------------------
|
42808
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
42809
|
+
-----------------------------------------------------------------
|
42810
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42811
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42812
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42813
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
42814
|
+
Parameters: {"id"=>"cld-1"}
|
42815
|
+
Rendered text template (0.0ms)
|
42816
|
+
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
42817
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42818
|
+
-----------------------------------------------------------------
|
42819
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
42820
|
+
-----------------------------------------------------------------
|
42821
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42822
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42823
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42824
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
42825
|
+
Parameters: {"id"=>"cld-1"}
|
42826
|
+
Rendered text template (0.0ms)
|
42827
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
42828
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42829
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
42830
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
42831
|
+
---------------------------------------------------------------------
|
42832
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
42833
|
+
---------------------------------------------------------------------
|
42834
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42835
|
+
[1m[35m (0.1ms)[0m commit transaction
|
42836
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42837
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
42838
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
42839
|
+
Rendered text template (0.0ms)
|
42840
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
42841
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42842
|
+
---------------------------------------------------------------------
|
42843
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
42844
|
+
---------------------------------------------------------------------
|
42845
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42846
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42847
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42848
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
42849
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
42850
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
42851
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
42852
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42853
|
+
----------------------------------------------------------------------------------------------------------
|
42854
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
42855
|
+
----------------------------------------------------------------------------------------------------------
|
42856
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42857
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42858
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42859
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42860
|
+
----------------------------------------------------------------------------------------------------
|
42861
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
42862
|
+
----------------------------------------------------------------------------------------------------
|
42863
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42864
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42865
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42866
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42867
|
+
------------------------------------------------------------------------------------------
|
42868
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
42869
|
+
------------------------------------------------------------------------------------------
|
42870
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42871
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42872
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42873
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42874
|
+
--------------------------------------------------------------------------------------
|
42875
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
42876
|
+
--------------------------------------------------------------------------------------
|
42877
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42878
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42879
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42880
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42881
|
+
--------------------------------------------------------------------------------------
|
42882
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
42883
|
+
--------------------------------------------------------------------------------------
|
42884
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42885
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42886
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42887
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42888
|
+
----------------------------------------------------------------------------------
|
42889
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
42890
|
+
----------------------------------------------------------------------------------
|
42891
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42892
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42893
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42894
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42895
|
+
--------------------------------------------------------------------------------------------------------------------------
|
42896
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
42897
|
+
--------------------------------------------------------------------------------------------------------------------------
|
42898
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42899
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42900
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42901
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42902
|
+
--------------------------------------------------------------------------------------------------------------------------
|
42903
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
42904
|
+
--------------------------------------------------------------------------------------------------------------------------
|
42905
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42906
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42907
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42908
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42909
|
+
---------------------------------------------------------------------------------------------
|
42910
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
42911
|
+
---------------------------------------------------------------------------------------------
|
42912
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42913
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42914
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42915
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42916
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
42917
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
42918
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
42919
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42920
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42921
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42922
|
+
[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"]]
|
42923
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42924
|
+
[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", "2016-10-18 20:55:52.473594"], ["updated_at", "2016-10-18 20:55:52.473594"]]
|
42925
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42926
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42927
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
42928
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
42929
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
42930
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42931
|
+
[1m[35m (0.0ms)[0m commit transaction
|
42932
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42933
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42934
|
+
[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", "2016-10-18 20:55:52.475694"], ["updated_at", "2016-10-18 20:55:52.475694"]]
|
42935
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42936
|
+
[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"]]
|
42937
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42938
|
+
[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", "2016-10-18 20:55:52.477117"], ["updated_at", "2016-10-18 20:55:52.477117"]]
|
42939
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42940
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42941
|
+
------------------------------------------------------------------------------------------------------------------------------
|
42942
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
42943
|
+
------------------------------------------------------------------------------------------------------------------------------
|
42944
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42945
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42946
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42947
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42948
|
+
[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", "2016-10-18 20:55:52.478858"], ["updated_at", "2016-10-18 20:55:52.478858"]]
|
42949
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42950
|
+
[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"]]
|
42951
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
42952
|
+
----------------------------------------------------------------------------------------------------
|
42953
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
42954
|
+
----------------------------------------------------------------------------------------------------
|
42955
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42956
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42957
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42958
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42959
|
+
-------------------------------------------------------------------------------------------------------------
|
42960
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
42961
|
+
-------------------------------------------------------------------------------------------------------------
|
42962
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42963
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42964
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42965
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42966
|
+
-----------------------------------------------------------------------------------------------
|
42967
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
42968
|
+
-----------------------------------------------------------------------------------------------
|
42969
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42970
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42971
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42972
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42973
|
+
------------------------------------------------------------------------------------------------------------------------
|
42974
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
42975
|
+
------------------------------------------------------------------------------------------------------------------------
|
42976
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42977
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42978
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42979
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42980
|
+
-------------------------------------------------------------------
|
42981
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
42982
|
+
-------------------------------------------------------------------
|
42983
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42984
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42985
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42986
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
42987
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
42988
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42989
|
+
-------------------------------------------------------------------
|
42990
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
42991
|
+
-------------------------------------------------------------------
|
42992
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42993
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
42994
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42995
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
42996
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
42997
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
42998
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
42999
|
+
------------------------------
|
43000
|
+
MaestranoRailsTest: test_truth
|
43001
|
+
------------------------------
|
43002
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43003
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43004
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43005
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
43006
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
43007
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
43008
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
43009
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43010
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43011
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43012
|
+
[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"]]
|
43013
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43014
|
+
[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", "Mon"], ["last_name", "Ster"], ["email", "monster@monst.com"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2016-10-18 20:55:52.494504"], ["updated_at", "2016-10-18 20:55:52.494504"]]
|
43015
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43016
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43017
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
43018
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
43019
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
43020
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43021
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
43022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43023
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43024
|
+
[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", "2016-10-18 20:55:52.496410"], ["updated_at", "2016-10-18 20:55:52.496410"]]
|
43025
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43026
|
+
[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"]]
|
43027
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43028
|
+
[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", "2016-10-18 20:55:52.497748"], ["updated_at", "2016-10-18 20:55:52.497748"]]
|
43029
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43030
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43031
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
43032
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
43033
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
43034
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43035
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43036
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43037
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43038
|
+
[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", "2016-10-18 20:55:52.499254"], ["updated_at", "2016-10-18 20:55:52.499254"]]
|
43039
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43040
|
+
[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"]]
|
43041
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43042
|
+
---------------------------------------------------------------------------------------------------
|
43043
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
43044
|
+
---------------------------------------------------------------------------------------------------
|
43045
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43046
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43047
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43048
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43049
|
+
------------------------------------------------------------------------------------------------------------
|
43050
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
43051
|
+
------------------------------------------------------------------------------------------------------------
|
43052
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43053
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43054
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43055
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43056
|
+
----------------------------------------------------------------------------------------------
|
43057
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
43058
|
+
----------------------------------------------------------------------------------------------
|
43059
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43060
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43061
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43062
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43063
|
+
-----------------------------------------------------------------------------------------------------------------------
|
43064
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
43065
|
+
-----------------------------------------------------------------------------------------------------------------------
|
43066
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43067
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43068
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43069
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43070
|
+
---------------------------------------------------------------------------------------
|
43071
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
43072
|
+
---------------------------------------------------------------------------------------
|
43073
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43074
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43075
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43076
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43077
|
+
----------------------------------------------------------------------------------
|
43078
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
43079
|
+
----------------------------------------------------------------------------------
|
43080
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43081
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43082
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43083
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43084
|
+
----------------------------------------------------------------------------------------------------------
|
43085
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
43086
|
+
----------------------------------------------------------------------------------------------------------
|
43087
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43088
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43089
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43090
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43091
|
+
-----------------------------------------------------------------------------------------------------
|
43092
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
43093
|
+
-----------------------------------------------------------------------------------------------------
|
43094
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43095
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43096
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43097
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43098
|
+
------------------------------------------------------------------------------------------------
|
43099
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
43100
|
+
------------------------------------------------------------------------------------------------
|
43101
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43102
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43103
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43104
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43105
|
+
--------------------------------------------------------------------------------------------------------
|
43106
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
43107
|
+
--------------------------------------------------------------------------------------------------------
|
43108
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43109
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43110
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43111
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43112
|
+
--------------------------------------------------------------------------------------------------
|
43113
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
43114
|
+
--------------------------------------------------------------------------------------------------
|
43115
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43116
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43117
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43118
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43119
|
+
---------------------------------------------------------------------------------------------------------------------
|
43120
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
43121
|
+
---------------------------------------------------------------------------------------------------------------------
|
43122
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43123
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43124
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43125
|
+
Processing by PagesController#home as HTML
|
43126
|
+
Rendered pages/home.html.erb within layouts/application (0.8ms)
|
43127
|
+
Completed 200 OK in 105ms (Views: 103.9ms | ActiveRecord: 0.0ms)
|
43128
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43129
|
+
--------------------------------------------------------------------------------------------------------------------
|
43130
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
43131
|
+
--------------------------------------------------------------------------------------------------------------------
|
43132
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43133
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43134
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43135
|
+
Processing by PagesController#home as HTML
|
43136
|
+
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
43137
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
43138
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
43139
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43140
|
+
-----------------------------------------------------------------------------------------------------------
|
43141
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
43142
|
+
-----------------------------------------------------------------------------------------------------------
|
43143
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43144
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43145
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43146
|
+
Processing by PagesController#home as HTML
|
43147
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
43148
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
43149
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43150
|
+
------------------------------------------------------------------------------
|
43151
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
43152
|
+
------------------------------------------------------------------------------
|
43153
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43154
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43155
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43156
|
+
Processing by PagesController#home as HTML
|
43157
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
43158
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
43159
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43160
|
+
-----------------------------------------------------------------
|
43161
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
43162
|
+
-----------------------------------------------------------------
|
43163
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43164
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43165
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43166
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
43167
|
+
Parameters: {"id"=>"cld-1"}
|
43168
|
+
Rendered text template (0.0ms)
|
43169
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
43170
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43171
|
+
-----------------------------------------------------------------
|
43172
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
43173
|
+
-----------------------------------------------------------------
|
43174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43175
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43176
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43177
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
43178
|
+
Parameters: {"id"=>"cld-1"}
|
43179
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
43180
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
43181
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43182
|
+
-------------------------------------------------------------------------------------------
|
43183
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
43184
|
+
-------------------------------------------------------------------------------------------
|
43185
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43186
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43187
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43188
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43189
|
+
---------------------------------------------------------------------------------------
|
43190
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
43191
|
+
---------------------------------------------------------------------------------------
|
43192
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43193
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43194
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43195
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43196
|
+
---------------------------------------------------------------------------------------
|
43197
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
43198
|
+
---------------------------------------------------------------------------------------
|
43199
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43200
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43201
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43202
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43203
|
+
-----------------------------------------------------------------------------------
|
43204
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
43205
|
+
-----------------------------------------------------------------------------------
|
43206
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43207
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43208
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43209
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43210
|
+
---------------------------------------------------------------------------------------------------------------------------
|
43211
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
43212
|
+
---------------------------------------------------------------------------------------------------------------------------
|
43213
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43214
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43215
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43216
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43217
|
+
---------------------------------------------------------------------------------------------------------------------------
|
43218
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
43219
|
+
---------------------------------------------------------------------------------------------------------------------------
|
43220
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43221
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43222
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43223
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43224
|
+
----------------------------------------------------------------------------------------------
|
43225
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
43226
|
+
----------------------------------------------------------------------------------------------
|
43227
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43228
|
+
[1m[35m (0.1ms)[0m commit transaction
|
43229
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43230
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43231
|
+
----------------------------------------------------------------------------------------------
|
43232
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
43233
|
+
----------------------------------------------------------------------------------------------
|
43234
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43235
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43236
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43237
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
43238
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
43239
|
+
Cannot validate SAML response: Bla
|
43240
|
+
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/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `instance_exec'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `block in create_test_from_should_hash'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:107:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:204:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:104:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:255:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:103:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:275:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest/test.rb:102:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:799:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:322:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:335:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.1/lib/minitest.rb:62:in `block in autorun'"]
|
43241
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
43242
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
43243
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43244
|
+
--------------------------------------------------------------------------------------------------------------------
|
43245
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
43246
|
+
--------------------------------------------------------------------------------------------------------------------
|
43247
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43248
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43249
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43250
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
43251
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
43252
|
+
Redirected to http://test.host/
|
43253
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
43254
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43255
|
+
---------------------------------------------------------------------------------
|
43256
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
43257
|
+
---------------------------------------------------------------------------------
|
43258
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43259
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43260
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43261
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
43262
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
43263
|
+
Redirected to http://test.host/
|
43264
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
43265
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43266
|
+
--------------------------------------------------------------------------------------
|
43267
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
43268
|
+
--------------------------------------------------------------------------------------
|
43269
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43270
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43271
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43272
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
43273
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
43274
|
+
Redirected to http://test.host/
|
43275
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
43276
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43277
|
+
-------------------------------------------------------------------------------
|
43278
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
43279
|
+
-------------------------------------------------------------------------------
|
43280
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43281
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43282
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43283
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
43284
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
43285
|
+
Redirected to http://test.host/
|
43286
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
43287
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43288
|
+
-------------------------------------------------------------------------------------
|
43289
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
43290
|
+
-------------------------------------------------------------------------------------
|
43291
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43292
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43293
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43294
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
43295
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
43296
|
+
Redirected to http://test.host/
|
43297
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
43298
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43299
|
+
------------------------------------------------------------------------------------------
|
43300
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
43301
|
+
------------------------------------------------------------------------------------------
|
43302
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43303
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43304
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43305
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
43306
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
43307
|
+
Redirected to http://test.host/
|
43308
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
43309
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43310
|
+
---------------------------------------------------------------------------------------------------------------------------
|
43311
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
43312
|
+
---------------------------------------------------------------------------------------------------------------------------
|
43313
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43314
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43315
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43316
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
43317
|
+
Parameters: {"a_param"=>"value"}
|
43318
|
+
Redirected to http://idpprovider.com?r=request
|
43319
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
43320
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43321
|
+
-----------------------------------------------------------------------------------------------------------------------
|
43322
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
43323
|
+
-----------------------------------------------------------------------------------------------------------------------
|
43324
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43325
|
+
[1m[35m (0.0ms)[0m commit transaction
|
43326
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43327
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
43328
|
+
Parameters: {"a_param"=>"value"}
|
43329
|
+
Redirected to http://idpprovider.com?r=request
|
43330
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
43331
|
+
[1m[35m (0.0ms)[0m rollback transaction
|