maestrano-rails 1.0.0.pre.RC5 → 1.0.0.pre.RC6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +6 -6
- data/maestrano-rails.gemspec +10 -10
- data/test/dummy_activerecord/log/test.log +3519 -0
- data/test/tmp/app/models/monster.rb +17 -11
- metadata +8 -10
- data/test/tmp/db/migrate/20160918091730_add_maestrano_to_monsters.rb +0 -16
@@ -37302,3 +37302,3522 @@ MaestranoGroupViaTest: test_: instance methods maestrano? should return true if
|
|
37302
37302
|
[1m[35m (0.0ms)[0m commit transaction
|
37303
37303
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37304
37304
|
[1m[35m (0.0ms)[0m rollback transaction
|
37305
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
37306
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
37307
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
37308
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
37309
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
37310
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37311
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37312
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37313
|
+
[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"]]
|
37314
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
37315
|
+
[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-09-20 04:44:31.156541"], ["updated_at", "2016-09-20 04:44:31.156541"]]
|
37316
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37317
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37318
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
37319
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
37320
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
37321
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37322
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37323
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37324
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37325
|
+
[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-09-20 04:44:31.158847"], ["updated_at", "2016-09-20 04:44:31.158847"]]
|
37326
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37327
|
+
[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"]]
|
37328
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37329
|
+
[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-09-20 04:44:31.160201"], ["updated_at", "2016-09-20 04:44:31.160201"]]
|
37330
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37331
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
37332
|
+
------------------------------------------------------------------------------------------------------------------------------
|
37333
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
37334
|
+
------------------------------------------------------------------------------------------------------------------------------
|
37335
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37336
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37337
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37338
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
37339
|
+
[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-09-20 04:44:31.161684"], ["updated_at", "2016-09-20 04:44:31.161684"]]
|
37340
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37341
|
+
[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"]]
|
37342
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
37343
|
+
----------------------------------------------------------------------------------------------------
|
37344
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
37345
|
+
----------------------------------------------------------------------------------------------------
|
37346
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37347
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37348
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37349
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37350
|
+
-------------------------------------------------------------------------------------------------------------
|
37351
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
37352
|
+
-------------------------------------------------------------------------------------------------------------
|
37353
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37354
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37355
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37356
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37357
|
+
-----------------------------------------------------------------------------------------------
|
37358
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
37359
|
+
-----------------------------------------------------------------------------------------------
|
37360
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37361
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37362
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37363
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37364
|
+
------------------------------------------------------------------------------------------------------------------------
|
37365
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
37366
|
+
------------------------------------------------------------------------------------------------------------------------
|
37367
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37368
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37369
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37370
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37371
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
37372
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
37373
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
37374
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37375
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37376
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37377
|
+
[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"]]
|
37378
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
37379
|
+
[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-09-20 04:44:31.172368"], ["updated_at", "2016-09-20 04:44:31.172368"]]
|
37380
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37381
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
37382
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
37383
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
37384
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
37385
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37386
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37387
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37388
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
37389
|
+
[1m[35mSQL (0.2ms)[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-09-20 04:44:31.175498"], ["updated_at", "2016-09-20 04:44:31.175498"]]
|
37390
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37391
|
+
[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"]]
|
37392
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
37393
|
+
[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-09-20 04:44:31.177942"], ["updated_at", "2016-09-20 04:44:31.177942"]]
|
37394
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37395
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37396
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
37397
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
37398
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
37399
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37400
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37401
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37402
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37403
|
+
[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-09-20 04:44:31.179601"], ["updated_at", "2016-09-20 04:44:31.179601"]]
|
37404
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37405
|
+
[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"]]
|
37406
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37407
|
+
---------------------------------------------------------------------------------------------------
|
37408
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
37409
|
+
---------------------------------------------------------------------------------------------------
|
37410
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37411
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37412
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37413
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37414
|
+
------------------------------------------------------------------------------------------------------------
|
37415
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
37416
|
+
------------------------------------------------------------------------------------------------------------
|
37417
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37418
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37419
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37420
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37421
|
+
----------------------------------------------------------------------------------------------
|
37422
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
37423
|
+
----------------------------------------------------------------------------------------------
|
37424
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37425
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37426
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37427
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37428
|
+
-----------------------------------------------------------------------------------------------------------------------
|
37429
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
37430
|
+
-----------------------------------------------------------------------------------------------------------------------
|
37431
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37432
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37433
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37434
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37435
|
+
----------------------------------------------------------------------------------------------------------
|
37436
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
37437
|
+
----------------------------------------------------------------------------------------------------------
|
37438
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37439
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37440
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37441
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37442
|
+
----------------------------------------------------------------------------------------------------
|
37443
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
37444
|
+
----------------------------------------------------------------------------------------------------
|
37445
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37446
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37447
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37448
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37449
|
+
----------------------------------------------------------------------------------------------
|
37450
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
37451
|
+
----------------------------------------------------------------------------------------------
|
37452
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37453
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37454
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37455
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
37456
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
37457
|
+
Cannot validate SAML response: Bla
|
37458
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/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.0/lib/minitest/test.rb:107:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:204:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:104:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:255:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:103:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:275:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:102:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:799:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:322:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:335:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:62:in `block in autorun'"]
|
37459
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
37460
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
37461
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37462
|
+
--------------------------------------------------------------------------------------------------------------------
|
37463
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
37464
|
+
--------------------------------------------------------------------------------------------------------------------
|
37465
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37466
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37467
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37468
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
37469
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
37470
|
+
Redirected to http://test.host/
|
37471
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
37472
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37473
|
+
---------------------------------------------------------------------------------
|
37474
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
37475
|
+
---------------------------------------------------------------------------------
|
37476
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37477
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37478
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37479
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
37480
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
37481
|
+
Redirected to http://test.host/
|
37482
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
37483
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37484
|
+
--------------------------------------------------------------------------------------
|
37485
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
37486
|
+
--------------------------------------------------------------------------------------
|
37487
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37488
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37489
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37490
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
37491
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
37492
|
+
Redirected to http://test.host/
|
37493
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
37494
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37495
|
+
-------------------------------------------------------------------------------
|
37496
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
37497
|
+
-------------------------------------------------------------------------------
|
37498
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37499
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37500
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37501
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
37502
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
37503
|
+
Redirected to http://test.host/
|
37504
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
37505
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37506
|
+
-------------------------------------------------------------------------------------
|
37507
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
37508
|
+
-------------------------------------------------------------------------------------
|
37509
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37510
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37511
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37512
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
37513
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
37514
|
+
Redirected to http://test.host/
|
37515
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
37516
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37517
|
+
------------------------------------------------------------------------------------------
|
37518
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
37519
|
+
------------------------------------------------------------------------------------------
|
37520
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37521
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37522
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37523
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
37524
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
37525
|
+
Redirected to http://test.host/
|
37526
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
37527
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37528
|
+
---------------------------------------------------------------------------------------------------------------------------
|
37529
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
37530
|
+
---------------------------------------------------------------------------------------------------------------------------
|
37531
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37532
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37533
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37534
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
37535
|
+
Parameters: {"a_param"=>"value"}
|
37536
|
+
Redirected to http://idpprovider.com?r=request
|
37537
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
37538
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37539
|
+
-----------------------------------------------------------------------------------------------------------------------
|
37540
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
37541
|
+
-----------------------------------------------------------------------------------------------------------------------
|
37542
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37543
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37544
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37545
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
37546
|
+
Parameters: {"a_param"=>"value"}
|
37547
|
+
Redirected to http://idpprovider.com?r=request
|
37548
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
37549
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37550
|
+
------------------------------------------------------------------------------------------
|
37551
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
37552
|
+
------------------------------------------------------------------------------------------
|
37553
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37554
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37555
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37556
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37557
|
+
--------------------------------------------------------------------------------------
|
37558
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
37559
|
+
--------------------------------------------------------------------------------------
|
37560
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37561
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37562
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37563
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37564
|
+
--------------------------------------------------------------------------------------
|
37565
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
37566
|
+
--------------------------------------------------------------------------------------
|
37567
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37568
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37569
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37570
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37571
|
+
----------------------------------------------------------------------------------
|
37572
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
37573
|
+
----------------------------------------------------------------------------------
|
37574
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37575
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37576
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37577
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37578
|
+
--------------------------------------------------------------------------------------------------------------------------
|
37579
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
37580
|
+
--------------------------------------------------------------------------------------------------------------------------
|
37581
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37582
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37583
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37584
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37585
|
+
--------------------------------------------------------------------------------------------------------------------------
|
37586
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
37587
|
+
--------------------------------------------------------------------------------------------------------------------------
|
37588
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37589
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37590
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37591
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37592
|
+
---------------------------------------------------------------------------------------------
|
37593
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
37594
|
+
---------------------------------------------------------------------------------------------
|
37595
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37596
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37597
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37598
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37599
|
+
------------------------------
|
37600
|
+
MaestranoRailsTest: test_truth
|
37601
|
+
------------------------------
|
37602
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37603
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37604
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37605
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37606
|
+
-----------------------------------------------------------------
|
37607
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
37608
|
+
-----------------------------------------------------------------
|
37609
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37610
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37611
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37612
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
37613
|
+
Parameters: {"id"=>"cld-1"}
|
37614
|
+
Rendered text template (0.0ms)
|
37615
|
+
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
37616
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37617
|
+
-----------------------------------------------------------------
|
37618
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
37619
|
+
-----------------------------------------------------------------
|
37620
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37621
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37622
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37623
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
37624
|
+
Parameters: {"id"=>"cld-1"}
|
37625
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
37626
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
37627
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37628
|
+
---------------------------------------------------------------------------------------------------------------------
|
37629
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
37630
|
+
---------------------------------------------------------------------------------------------------------------------
|
37631
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37632
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37633
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37634
|
+
Processing by PagesController#home as HTML
|
37635
|
+
Rendered pages/home.html.erb within layouts/application (1.0ms)
|
37636
|
+
Completed 200 OK in 104ms (Views: 104.0ms | ActiveRecord: 0.0ms)
|
37637
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37638
|
+
--------------------------------------------------------------------------------------------------------------------
|
37639
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
37640
|
+
--------------------------------------------------------------------------------------------------------------------
|
37641
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37642
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37643
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37644
|
+
Processing by PagesController#home as HTML
|
37645
|
+
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
37646
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
37647
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
37648
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37649
|
+
-----------------------------------------------------------------------------------------------------------
|
37650
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
37651
|
+
-----------------------------------------------------------------------------------------------------------
|
37652
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37653
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37654
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37655
|
+
Processing by PagesController#home as HTML
|
37656
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
37657
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
37658
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37659
|
+
------------------------------------------------------------------------------
|
37660
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
37661
|
+
------------------------------------------------------------------------------
|
37662
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37663
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37664
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37665
|
+
Processing by PagesController#home as HTML
|
37666
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
37667
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
37668
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37669
|
+
-------------------------------------------------------------------------------------------
|
37670
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
37671
|
+
-------------------------------------------------------------------------------------------
|
37672
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37673
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37674
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37675
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37676
|
+
---------------------------------------------------------------------------------------
|
37677
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
37678
|
+
---------------------------------------------------------------------------------------
|
37679
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37680
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37681
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37682
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37683
|
+
---------------------------------------------------------------------------------------
|
37684
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
37685
|
+
---------------------------------------------------------------------------------------
|
37686
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37687
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37688
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37689
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37690
|
+
-----------------------------------------------------------------------------------
|
37691
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
37692
|
+
-----------------------------------------------------------------------------------
|
37693
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37694
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37695
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37696
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37697
|
+
---------------------------------------------------------------------------------------------------------------------------
|
37698
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
37699
|
+
---------------------------------------------------------------------------------------------------------------------------
|
37700
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37701
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37702
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37703
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37704
|
+
---------------------------------------------------------------------------------------------------------------------------
|
37705
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
37706
|
+
---------------------------------------------------------------------------------------------------------------------------
|
37707
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37708
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37709
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37710
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37711
|
+
----------------------------------------------------------------------------------------------
|
37712
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
37713
|
+
----------------------------------------------------------------------------------------------
|
37714
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37715
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37716
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37717
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37718
|
+
---------------------------------------------------------------------
|
37719
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
37720
|
+
---------------------------------------------------------------------
|
37721
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37722
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37723
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37724
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
37725
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
37726
|
+
Rendered text template (0.0ms)
|
37727
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
37728
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37729
|
+
---------------------------------------------------------------------
|
37730
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
37731
|
+
---------------------------------------------------------------------
|
37732
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37733
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37734
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37735
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
37736
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
37737
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
37738
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
37739
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37740
|
+
---------------------------------------------------------------------------------------
|
37741
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
37742
|
+
---------------------------------------------------------------------------------------
|
37743
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37744
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37745
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37746
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37747
|
+
----------------------------------------------------------------------------------
|
37748
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
37749
|
+
----------------------------------------------------------------------------------
|
37750
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37751
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37752
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37753
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37754
|
+
----------------------------------------------------------------------------------------------------------
|
37755
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
37756
|
+
----------------------------------------------------------------------------------------------------------
|
37757
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37758
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37759
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37760
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37761
|
+
-----------------------------------------------------------------------------------------------------
|
37762
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
37763
|
+
-----------------------------------------------------------------------------------------------------
|
37764
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37765
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37766
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37767
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37768
|
+
------------------------------------------------------------------------------------------------
|
37769
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
37770
|
+
------------------------------------------------------------------------------------------------
|
37771
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37772
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37773
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37774
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37775
|
+
--------------------------------------------------------------------------------------------------------
|
37776
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
37777
|
+
--------------------------------------------------------------------------------------------------------
|
37778
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37779
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37780
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37781
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37782
|
+
--------------------------------------------------------------------------------------------------
|
37783
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
37784
|
+
--------------------------------------------------------------------------------------------------
|
37785
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37786
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37787
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37788
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37789
|
+
-------------------------------------------------------------------
|
37790
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
37791
|
+
-------------------------------------------------------------------
|
37792
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37793
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37794
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37795
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
37796
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
37797
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37798
|
+
-------------------------------------------------------------------
|
37799
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
37800
|
+
-------------------------------------------------------------------
|
37801
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37802
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37803
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37804
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
37805
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
37806
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
37807
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37808
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
37809
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
37810
|
+
------------------------------------------------------------------------------------------
|
37811
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
37812
|
+
------------------------------------------------------------------------------------------
|
37813
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37814
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37815
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37816
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37817
|
+
--------------------------------------------------------------------------------------
|
37818
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
37819
|
+
--------------------------------------------------------------------------------------
|
37820
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37821
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37822
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37823
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37824
|
+
--------------------------------------------------------------------------------------
|
37825
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
37826
|
+
--------------------------------------------------------------------------------------
|
37827
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37828
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37829
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37830
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37831
|
+
----------------------------------------------------------------------------------
|
37832
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
37833
|
+
----------------------------------------------------------------------------------
|
37834
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37835
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37836
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37837
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37838
|
+
--------------------------------------------------------------------------------------------------------------------------
|
37839
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
37840
|
+
--------------------------------------------------------------------------------------------------------------------------
|
37841
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37842
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37843
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37844
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37845
|
+
--------------------------------------------------------------------------------------------------------------------------
|
37846
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
37847
|
+
--------------------------------------------------------------------------------------------------------------------------
|
37848
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37849
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37850
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37851
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37852
|
+
---------------------------------------------------------------------------------------------
|
37853
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
37854
|
+
---------------------------------------------------------------------------------------------
|
37855
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37856
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37857
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37858
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37859
|
+
-------------------------------------------------------------------
|
37860
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
37861
|
+
-------------------------------------------------------------------
|
37862
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37863
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37864
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37865
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
37866
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
37867
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37868
|
+
-------------------------------------------------------------------
|
37869
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
37870
|
+
-------------------------------------------------------------------
|
37871
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37872
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37873
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37874
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
37875
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
37876
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
37877
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37878
|
+
-------------------------------------------------------------------------------------------
|
37879
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
37880
|
+
-------------------------------------------------------------------------------------------
|
37881
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37882
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37883
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37884
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37885
|
+
---------------------------------------------------------------------------------------
|
37886
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
37887
|
+
---------------------------------------------------------------------------------------
|
37888
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37889
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37890
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37891
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37892
|
+
---------------------------------------------------------------------------------------
|
37893
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
37894
|
+
---------------------------------------------------------------------------------------
|
37895
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37896
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37897
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37898
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37899
|
+
-----------------------------------------------------------------------------------
|
37900
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
37901
|
+
-----------------------------------------------------------------------------------
|
37902
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37903
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37904
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37905
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37906
|
+
---------------------------------------------------------------------------------------------------------------------------
|
37907
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
37908
|
+
---------------------------------------------------------------------------------------------------------------------------
|
37909
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37910
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37911
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37912
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37913
|
+
---------------------------------------------------------------------------------------------------------------------------
|
37914
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
37915
|
+
---------------------------------------------------------------------------------------------------------------------------
|
37916
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37917
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37918
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37919
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37920
|
+
----------------------------------------------------------------------------------------------
|
37921
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
37922
|
+
----------------------------------------------------------------------------------------------
|
37923
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37924
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37925
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37926
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37927
|
+
---------------------------------------------------------------------
|
37928
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
37929
|
+
---------------------------------------------------------------------
|
37930
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37931
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37932
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37933
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
37934
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
37935
|
+
Rendered text template (0.0ms)
|
37936
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
37937
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37938
|
+
---------------------------------------------------------------------
|
37939
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
37940
|
+
---------------------------------------------------------------------
|
37941
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37942
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37943
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37944
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
37945
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
37946
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
37947
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
37948
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37949
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
37950
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
37951
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
37952
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37953
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37954
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37955
|
+
[1m[35mMnoCrew Load (0.3ms)[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"]]
|
37956
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
37957
|
+
[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-09-20 04:45:20.702480"], ["updated_at", "2016-09-20 04:45:20.702480"]]
|
37958
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37959
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37960
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
37961
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
37962
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
37963
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37964
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37965
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37966
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37967
|
+
[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-09-20 04:45:20.704552"], ["updated_at", "2016-09-20 04:45:20.704552"]]
|
37968
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37969
|
+
[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"]]
|
37970
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37971
|
+
[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-09-20 04:45:20.705815"], ["updated_at", "2016-09-20 04:45:20.705815"]]
|
37972
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37973
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
37974
|
+
------------------------------------------------------------------------------------------------------------------------------
|
37975
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
37976
|
+
------------------------------------------------------------------------------------------------------------------------------
|
37977
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37978
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37979
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37980
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
37981
|
+
[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-09-20 04:45:20.707173"], ["updated_at", "2016-09-20 04:45:20.707173"]]
|
37982
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37983
|
+
[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"]]
|
37984
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
37985
|
+
----------------------------------------------------------------------------------------------------
|
37986
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
37987
|
+
----------------------------------------------------------------------------------------------------
|
37988
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37989
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37990
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37991
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37992
|
+
-------------------------------------------------------------------------------------------------------------
|
37993
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
37994
|
+
-------------------------------------------------------------------------------------------------------------
|
37995
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37996
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37997
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37998
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37999
|
+
-----------------------------------------------------------------------------------------------
|
38000
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
38001
|
+
-----------------------------------------------------------------------------------------------
|
38002
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38003
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38004
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38005
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38006
|
+
------------------------------------------------------------------------------------------------------------------------
|
38007
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
38008
|
+
------------------------------------------------------------------------------------------------------------------------
|
38009
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38010
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38011
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38012
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38013
|
+
-----------------------------------------------------------------
|
38014
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
38015
|
+
-----------------------------------------------------------------
|
38016
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38017
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38018
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38019
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
38020
|
+
Parameters: {"id"=>"cld-1"}
|
38021
|
+
Rendered text template (0.0ms)
|
38022
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
38023
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38024
|
+
-----------------------------------------------------------------
|
38025
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
38026
|
+
-----------------------------------------------------------------
|
38027
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38028
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38029
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38030
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
38031
|
+
Parameters: {"id"=>"cld-1"}
|
38032
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
38033
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
38034
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38035
|
+
---------------------------------------------------------------------------------------
|
38036
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
38037
|
+
---------------------------------------------------------------------------------------
|
38038
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38039
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38040
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38041
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38042
|
+
----------------------------------------------------------------------------------
|
38043
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
38044
|
+
----------------------------------------------------------------------------------
|
38045
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38046
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38047
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38048
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38049
|
+
----------------------------------------------------------------------------------------------------------
|
38050
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
38051
|
+
----------------------------------------------------------------------------------------------------------
|
38052
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38053
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38054
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38055
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38056
|
+
-----------------------------------------------------------------------------------------------------
|
38057
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
38058
|
+
-----------------------------------------------------------------------------------------------------
|
38059
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38060
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38061
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38062
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38063
|
+
------------------------------------------------------------------------------------------------
|
38064
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
38065
|
+
------------------------------------------------------------------------------------------------
|
38066
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38067
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38068
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38069
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38070
|
+
--------------------------------------------------------------------------------------------------------
|
38071
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
38072
|
+
--------------------------------------------------------------------------------------------------------
|
38073
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38074
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38075
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38076
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38077
|
+
--------------------------------------------------------------------------------------------------
|
38078
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
38079
|
+
--------------------------------------------------------------------------------------------------
|
38080
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38081
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38082
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38083
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38084
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
38085
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
38086
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
38087
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38088
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38089
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38090
|
+
[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"]]
|
38091
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38092
|
+
[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", "Mon"], ["last_name", "Ster"], ["email", "monster@monst.com"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2016-09-20 04:45:20.759549"], ["updated_at", "2016-09-20 04:45:20.759549"]]
|
38093
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38094
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38095
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
38096
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
38097
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
38098
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38099
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38100
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38101
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38102
|
+
[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-09-20 04:45:20.761328"], ["updated_at", "2016-09-20 04:45:20.761328"]]
|
38103
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38104
|
+
[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"]]
|
38105
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38106
|
+
[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-09-20 04:45:20.762599"], ["updated_at", "2016-09-20 04:45:20.762599"]]
|
38107
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38108
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38109
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
38110
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
38111
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
38112
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38113
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38114
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38115
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38116
|
+
[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-09-20 04:45:20.764020"], ["updated_at", "2016-09-20 04:45:20.764020"]]
|
38117
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38118
|
+
[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"]]
|
38119
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38120
|
+
---------------------------------------------------------------------------------------------------
|
38121
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
38122
|
+
---------------------------------------------------------------------------------------------------
|
38123
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38124
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38125
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38126
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38127
|
+
------------------------------------------------------------------------------------------------------------
|
38128
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
38129
|
+
------------------------------------------------------------------------------------------------------------
|
38130
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38131
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38132
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38133
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38134
|
+
----------------------------------------------------------------------------------------------
|
38135
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
38136
|
+
----------------------------------------------------------------------------------------------
|
38137
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38138
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38139
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38140
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38141
|
+
-----------------------------------------------------------------------------------------------------------------------
|
38142
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
38143
|
+
-----------------------------------------------------------------------------------------------------------------------
|
38144
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38145
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38146
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38147
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38148
|
+
----------------------------------------------------------------------------------------------------------
|
38149
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
38150
|
+
----------------------------------------------------------------------------------------------------------
|
38151
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38152
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38153
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38154
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38155
|
+
----------------------------------------------------------------------------------------------------
|
38156
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
38157
|
+
----------------------------------------------------------------------------------------------------
|
38158
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38159
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38160
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38161
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38162
|
+
---------------------------------------------------------------------------------------------------------------------
|
38163
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
38164
|
+
---------------------------------------------------------------------------------------------------------------------
|
38165
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38166
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38167
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38168
|
+
Processing by PagesController#home as HTML
|
38169
|
+
Rendered pages/home.html.erb within layouts/application (0.8ms)
|
38170
|
+
Completed 200 OK in 102ms (Views: 101.8ms | ActiveRecord: 0.0ms)
|
38171
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38172
|
+
--------------------------------------------------------------------------------------------------------------------
|
38173
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
38174
|
+
--------------------------------------------------------------------------------------------------------------------
|
38175
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38176
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38177
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38178
|
+
Processing by PagesController#home as HTML
|
38179
|
+
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
38180
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
38181
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
38182
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38183
|
+
-----------------------------------------------------------------------------------------------------------
|
38184
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
38185
|
+
-----------------------------------------------------------------------------------------------------------
|
38186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38187
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38188
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38189
|
+
Processing by PagesController#home as HTML
|
38190
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
38191
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
38192
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38193
|
+
------------------------------------------------------------------------------
|
38194
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
38195
|
+
------------------------------------------------------------------------------
|
38196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38197
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38198
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38199
|
+
Processing by PagesController#home as HTML
|
38200
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
38201
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
38202
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38203
|
+
----------------------------------------------------------------------------------------------
|
38204
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
38205
|
+
----------------------------------------------------------------------------------------------
|
38206
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38207
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38208
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38209
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38210
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38211
|
+
Cannot validate SAML response: Bla
|
38212
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/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.0/lib/minitest/test.rb:107:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:204:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:104:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:255:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:103:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:275:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:102:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:799:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:322:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:335:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:62:in `block in autorun'"]
|
38213
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
38214
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38215
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38216
|
+
--------------------------------------------------------------------------------------------------------------------
|
38217
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
38218
|
+
--------------------------------------------------------------------------------------------------------------------
|
38219
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38220
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38221
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38222
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38223
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38224
|
+
Redirected to http://test.host/
|
38225
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38226
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38227
|
+
---------------------------------------------------------------------------------
|
38228
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
38229
|
+
---------------------------------------------------------------------------------
|
38230
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38231
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38232
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38233
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38234
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38235
|
+
Redirected to http://test.host/
|
38236
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38237
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38238
|
+
--------------------------------------------------------------------------------------
|
38239
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
38240
|
+
--------------------------------------------------------------------------------------
|
38241
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38242
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38243
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38244
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38245
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38246
|
+
Redirected to http://test.host/
|
38247
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38248
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38249
|
+
-------------------------------------------------------------------------------
|
38250
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
38251
|
+
-------------------------------------------------------------------------------
|
38252
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38253
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38254
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38255
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38256
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38257
|
+
Redirected to http://test.host/
|
38258
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38259
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38260
|
+
-------------------------------------------------------------------------------------
|
38261
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
38262
|
+
-------------------------------------------------------------------------------------
|
38263
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38264
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38265
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38266
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38267
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38268
|
+
Redirected to http://test.host/
|
38269
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38270
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38271
|
+
------------------------------------------------------------------------------------------
|
38272
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
38273
|
+
------------------------------------------------------------------------------------------
|
38274
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38275
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38276
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38277
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38278
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38279
|
+
Redirected to http://test.host/
|
38280
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38281
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38282
|
+
---------------------------------------------------------------------------------------------------------------------------
|
38283
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
38284
|
+
---------------------------------------------------------------------------------------------------------------------------
|
38285
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38286
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38287
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38288
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
38289
|
+
Parameters: {"a_param"=>"value"}
|
38290
|
+
Redirected to http://idpprovider.com?r=request
|
38291
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38292
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38293
|
+
-----------------------------------------------------------------------------------------------------------------------
|
38294
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
38295
|
+
-----------------------------------------------------------------------------------------------------------------------
|
38296
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38297
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38298
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38299
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
38300
|
+
Parameters: {"a_param"=>"value"}
|
38301
|
+
Redirected to http://idpprovider.com?r=request
|
38302
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
38303
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38304
|
+
------------------------------
|
38305
|
+
MaestranoRailsTest: test_truth
|
38306
|
+
------------------------------
|
38307
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38308
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38309
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38310
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38311
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
38312
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
38313
|
+
---------------------------------------------------------------------------------------------------------------------
|
38314
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
38315
|
+
---------------------------------------------------------------------------------------------------------------------
|
38316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38317
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38318
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38319
|
+
Processing by PagesController#home as HTML
|
38320
|
+
Rendered pages/home.html.erb within layouts/application (0.7ms)
|
38321
|
+
Completed 200 OK in 101ms (Views: 100.9ms | ActiveRecord: 0.0ms)
|
38322
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38323
|
+
--------------------------------------------------------------------------------------------------------------------
|
38324
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
38325
|
+
--------------------------------------------------------------------------------------------------------------------
|
38326
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38327
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38328
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38329
|
+
Processing by PagesController#home as HTML
|
38330
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
38331
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
38332
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38333
|
+
-----------------------------------------------------------------------------------------------------------
|
38334
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
38335
|
+
-----------------------------------------------------------------------------------------------------------
|
38336
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38337
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38338
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38339
|
+
Processing by PagesController#home as HTML
|
38340
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
38341
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
38342
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38343
|
+
------------------------------------------------------------------------------
|
38344
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
38345
|
+
------------------------------------------------------------------------------
|
38346
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38347
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38348
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38349
|
+
Processing by PagesController#home as HTML
|
38350
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
38351
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
38352
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38353
|
+
-------------------------------------------------------------------------------------------
|
38354
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
38355
|
+
-------------------------------------------------------------------------------------------
|
38356
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38357
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38358
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38359
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38360
|
+
---------------------------------------------------------------------------------------
|
38361
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
38362
|
+
---------------------------------------------------------------------------------------
|
38363
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38364
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38365
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38366
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38367
|
+
---------------------------------------------------------------------------------------
|
38368
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
38369
|
+
---------------------------------------------------------------------------------------
|
38370
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38371
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38372
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38373
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38374
|
+
-----------------------------------------------------------------------------------
|
38375
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
38376
|
+
-----------------------------------------------------------------------------------
|
38377
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38378
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38379
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38380
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38381
|
+
---------------------------------------------------------------------------------------------------------------------------
|
38382
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
38383
|
+
---------------------------------------------------------------------------------------------------------------------------
|
38384
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38385
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38386
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38387
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38388
|
+
---------------------------------------------------------------------------------------------------------------------------
|
38389
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
38390
|
+
---------------------------------------------------------------------------------------------------------------------------
|
38391
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38392
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38393
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38394
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38395
|
+
----------------------------------------------------------------------------------------------
|
38396
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
38397
|
+
----------------------------------------------------------------------------------------------
|
38398
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38399
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38400
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38401
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38402
|
+
--------------------------------------------------------------------------------------------------------
|
38403
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
38404
|
+
--------------------------------------------------------------------------------------------------------
|
38405
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38406
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38407
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38408
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38409
|
+
--------------------------------------------------------------------------------------------------
|
38410
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
38411
|
+
--------------------------------------------------------------------------------------------------
|
38412
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38413
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38414
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38415
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38416
|
+
-----------------------------------------------------------------
|
38417
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
38418
|
+
-----------------------------------------------------------------
|
38419
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38420
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38421
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38422
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
38423
|
+
Parameters: {"id"=>"cld-1"}
|
38424
|
+
Rendered text template (0.0ms)
|
38425
|
+
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
38426
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38427
|
+
-----------------------------------------------------------------
|
38428
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
38429
|
+
-----------------------------------------------------------------
|
38430
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38431
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38432
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38433
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
38434
|
+
Parameters: {"id"=>"cld-1"}
|
38435
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
38436
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
38437
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38438
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
38439
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
38440
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
38441
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38442
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38443
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38444
|
+
[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"]]
|
38445
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38446
|
+
[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-09-20 04:47:22.261747"], ["updated_at", "2016-09-20 04:47:22.261747"]]
|
38447
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38448
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38449
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
38450
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
38451
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
38452
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38453
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38454
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38455
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38456
|
+
[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-09-20 04:47:22.265474"], ["updated_at", "2016-09-20 04:47:22.265474"]]
|
38457
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38458
|
+
[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"]]
|
38459
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38460
|
+
[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-09-20 04:47:22.267121"], ["updated_at", "2016-09-20 04:47:22.267121"]]
|
38461
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38462
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38463
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
38464
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
38465
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
38466
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38467
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38468
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38469
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38470
|
+
[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-09-20 04:47:22.268519"], ["updated_at", "2016-09-20 04:47:22.268519"]]
|
38471
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38472
|
+
[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"]]
|
38473
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38474
|
+
---------------------------------------------------------------------------------------------------
|
38475
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
38476
|
+
---------------------------------------------------------------------------------------------------
|
38477
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38478
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38479
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38480
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38481
|
+
------------------------------------------------------------------------------------------------------------
|
38482
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
38483
|
+
------------------------------------------------------------------------------------------------------------
|
38484
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38485
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38486
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38487
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38488
|
+
----------------------------------------------------------------------------------------------
|
38489
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
38490
|
+
----------------------------------------------------------------------------------------------
|
38491
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38492
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38493
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38494
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38495
|
+
-----------------------------------------------------------------------------------------------------------------------
|
38496
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
38497
|
+
-----------------------------------------------------------------------------------------------------------------------
|
38498
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38499
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38500
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38501
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38502
|
+
------------------------------
|
38503
|
+
MaestranoRailsTest: test_truth
|
38504
|
+
------------------------------
|
38505
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38506
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38507
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38508
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38509
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
38510
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
38511
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
38512
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38513
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38514
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38515
|
+
[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"]]
|
38516
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38517
|
+
[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-09-20 04:47:22.278219"], ["updated_at", "2016-09-20 04:47:22.278219"]]
|
38518
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38519
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38520
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
38521
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
38522
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
38523
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38524
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38525
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38526
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38527
|
+
[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-09-20 04:47:22.279946"], ["updated_at", "2016-09-20 04:47:22.279946"]]
|
38528
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38529
|
+
[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"]]
|
38530
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38531
|
+
[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-09-20 04:47:22.281219"], ["updated_at", "2016-09-20 04:47:22.281219"]]
|
38532
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38533
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38534
|
+
------------------------------------------------------------------------------------------------------------------------------
|
38535
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
38536
|
+
------------------------------------------------------------------------------------------------------------------------------
|
38537
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38538
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38539
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38540
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38541
|
+
[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-09-20 04:47:22.282578"], ["updated_at", "2016-09-20 04:47:22.282578"]]
|
38542
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38543
|
+
[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"]]
|
38544
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38545
|
+
----------------------------------------------------------------------------------------------------
|
38546
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
38547
|
+
----------------------------------------------------------------------------------------------------
|
38548
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38549
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38550
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38551
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38552
|
+
-------------------------------------------------------------------------------------------------------------
|
38553
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
38554
|
+
-------------------------------------------------------------------------------------------------------------
|
38555
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38556
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38557
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38558
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38559
|
+
-----------------------------------------------------------------------------------------------
|
38560
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
38561
|
+
-----------------------------------------------------------------------------------------------
|
38562
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38563
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38564
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38565
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38566
|
+
------------------------------------------------------------------------------------------------------------------------
|
38567
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
38568
|
+
------------------------------------------------------------------------------------------------------------------------
|
38569
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38570
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38571
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38572
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38573
|
+
------------------------------------------------------------------------------------------
|
38574
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
38575
|
+
------------------------------------------------------------------------------------------
|
38576
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38577
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38578
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38579
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38580
|
+
--------------------------------------------------------------------------------------
|
38581
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
38582
|
+
--------------------------------------------------------------------------------------
|
38583
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38584
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38585
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38586
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38587
|
+
--------------------------------------------------------------------------------------
|
38588
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
38589
|
+
--------------------------------------------------------------------------------------
|
38590
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38591
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38592
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38593
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38594
|
+
----------------------------------------------------------------------------------
|
38595
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
38596
|
+
----------------------------------------------------------------------------------
|
38597
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38598
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38599
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38600
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38601
|
+
--------------------------------------------------------------------------------------------------------------------------
|
38602
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
38603
|
+
--------------------------------------------------------------------------------------------------------------------------
|
38604
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38605
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38606
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38607
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38608
|
+
--------------------------------------------------------------------------------------------------------------------------
|
38609
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
38610
|
+
--------------------------------------------------------------------------------------------------------------------------
|
38611
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38612
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38613
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38614
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38615
|
+
---------------------------------------------------------------------------------------------
|
38616
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
38617
|
+
---------------------------------------------------------------------------------------------
|
38618
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38619
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38620
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38621
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38622
|
+
----------------------------------------------------------------------------------------------
|
38623
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
38624
|
+
----------------------------------------------------------------------------------------------
|
38625
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38626
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38627
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38628
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38629
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38630
|
+
Cannot validate SAML response: Bla
|
38631
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/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.0/lib/minitest/test.rb:107:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:204:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:104:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:255:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:103:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:275:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:102:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:799:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:322:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:335:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:62:in `block in autorun'"]
|
38632
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
38633
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38634
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38635
|
+
--------------------------------------------------------------------------------------------------------------------
|
38636
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
38637
|
+
--------------------------------------------------------------------------------------------------------------------
|
38638
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38639
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38640
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38641
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38642
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38643
|
+
Redirected to http://test.host/
|
38644
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38645
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38646
|
+
---------------------------------------------------------------------------------
|
38647
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
38648
|
+
---------------------------------------------------------------------------------
|
38649
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38650
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38651
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38652
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38653
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38654
|
+
Redirected to http://test.host/
|
38655
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38656
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38657
|
+
--------------------------------------------------------------------------------------
|
38658
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
38659
|
+
--------------------------------------------------------------------------------------
|
38660
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38661
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38662
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38663
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38664
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38665
|
+
Redirected to http://test.host/
|
38666
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38667
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38668
|
+
-------------------------------------------------------------------------------
|
38669
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
38670
|
+
-------------------------------------------------------------------------------
|
38671
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38672
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38673
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38674
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38675
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38676
|
+
Redirected to http://test.host/
|
38677
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38678
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38679
|
+
-------------------------------------------------------------------------------------
|
38680
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
38681
|
+
-------------------------------------------------------------------------------------
|
38682
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38683
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38684
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38685
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38686
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38687
|
+
Redirected to http://test.host/
|
38688
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38689
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38690
|
+
------------------------------------------------------------------------------------------
|
38691
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
38692
|
+
------------------------------------------------------------------------------------------
|
38693
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38694
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38695
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38696
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38697
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38698
|
+
Redirected to http://test.host/
|
38699
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38700
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38701
|
+
---------------------------------------------------------------------------------------------------------------------------
|
38702
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
38703
|
+
---------------------------------------------------------------------------------------------------------------------------
|
38704
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38705
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38706
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38707
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
38708
|
+
Parameters: {"a_param"=>"value"}
|
38709
|
+
Redirected to http://idpprovider.com?r=request
|
38710
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
38711
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38712
|
+
-----------------------------------------------------------------------------------------------------------------------
|
38713
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
38714
|
+
-----------------------------------------------------------------------------------------------------------------------
|
38715
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38716
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38717
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38718
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
38719
|
+
Parameters: {"a_param"=>"value"}
|
38720
|
+
Redirected to http://idpprovider.com?r=request
|
38721
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
38722
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38723
|
+
-------------------------------------------------------------------
|
38724
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
38725
|
+
-------------------------------------------------------------------
|
38726
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38727
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38728
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38729
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
38730
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
38731
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38732
|
+
-------------------------------------------------------------------
|
38733
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
38734
|
+
-------------------------------------------------------------------
|
38735
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38736
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38737
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38738
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
38739
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
38740
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
38741
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38742
|
+
----------------------------------------------------------------------------------------------------------
|
38743
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
38744
|
+
----------------------------------------------------------------------------------------------------------
|
38745
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38746
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38747
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38748
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38749
|
+
----------------------------------------------------------------------------------------------------
|
38750
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
38751
|
+
----------------------------------------------------------------------------------------------------
|
38752
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38753
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38754
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38755
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38756
|
+
---------------------------------------------------------------------
|
38757
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
38758
|
+
---------------------------------------------------------------------
|
38759
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38760
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38761
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38762
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
38763
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
38764
|
+
Rendered text template (0.0ms)
|
38765
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
38766
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38767
|
+
---------------------------------------------------------------------
|
38768
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
38769
|
+
---------------------------------------------------------------------
|
38770
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38771
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38772
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38773
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
38774
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
38775
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
38776
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
38777
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38778
|
+
---------------------------------------------------------------------------------------
|
38779
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
38780
|
+
---------------------------------------------------------------------------------------
|
38781
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38782
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38783
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38784
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38785
|
+
----------------------------------------------------------------------------------
|
38786
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
38787
|
+
----------------------------------------------------------------------------------
|
38788
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38789
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38790
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38791
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38792
|
+
----------------------------------------------------------------------------------------------------------
|
38793
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
38794
|
+
----------------------------------------------------------------------------------------------------------
|
38795
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38796
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38797
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38798
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38799
|
+
-----------------------------------------------------------------------------------------------------
|
38800
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
38801
|
+
-----------------------------------------------------------------------------------------------------
|
38802
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38803
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38804
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38805
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38806
|
+
------------------------------------------------------------------------------------------------
|
38807
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
38808
|
+
------------------------------------------------------------------------------------------------
|
38809
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38810
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38811
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38812
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38813
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
38814
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
38815
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
38816
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
38817
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
38818
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38819
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38820
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38821
|
+
[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"]]
|
38822
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38823
|
+
[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-09-20 04:48:14.857474"], ["updated_at", "2016-09-20 04:48:14.857474"]]
|
38824
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38825
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38826
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
38827
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
38828
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
38829
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38830
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38831
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38832
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38833
|
+
[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-09-20 04:48:14.859829"], ["updated_at", "2016-09-20 04:48:14.859829"]]
|
38834
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38835
|
+
[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"]]
|
38836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38837
|
+
[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-09-20 04:48:14.861432"], ["updated_at", "2016-09-20 04:48:14.861432"]]
|
38838
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38839
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38840
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
38841
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
38842
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
38843
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38844
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38845
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38846
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38847
|
+
[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-09-20 04:48:14.863178"], ["updated_at", "2016-09-20 04:48:14.863178"]]
|
38848
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38849
|
+
[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"]]
|
38850
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38851
|
+
---------------------------------------------------------------------------------------------------
|
38852
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
38853
|
+
---------------------------------------------------------------------------------------------------
|
38854
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38855
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38856
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38857
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38858
|
+
------------------------------------------------------------------------------------------------------------
|
38859
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
38860
|
+
------------------------------------------------------------------------------------------------------------
|
38861
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38862
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38863
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38864
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38865
|
+
----------------------------------------------------------------------------------------------
|
38866
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
38867
|
+
----------------------------------------------------------------------------------------------
|
38868
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38869
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38870
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38871
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38872
|
+
-----------------------------------------------------------------------------------------------------------------------
|
38873
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
38874
|
+
-----------------------------------------------------------------------------------------------------------------------
|
38875
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38876
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38877
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38878
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38879
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
38880
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
38881
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
38882
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38883
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38884
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38885
|
+
[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"]]
|
38886
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38887
|
+
[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-09-20 04:48:14.872863"], ["updated_at", "2016-09-20 04:48:14.872863"]]
|
38888
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38889
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
38890
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
38891
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
38892
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
38893
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38894
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
38895
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38896
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38897
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["tenant", "default"], ["created_at", "2016-09-20 04:48:14.875587"], ["updated_at", "2016-09-20 04:48:14.875587"]]
|
38898
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38899
|
+
[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", "cld-1"], ["tenant", "default"]]
|
38900
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38901
|
+
[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-09-20 04:48:14.878451"], ["updated_at", "2016-09-20 04:48:14.878451"]]
|
38902
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38903
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38904
|
+
------------------------------------------------------------------------------------------------------------------------------
|
38905
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
38906
|
+
------------------------------------------------------------------------------------------------------------------------------
|
38907
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38908
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38909
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38910
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38911
|
+
[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-09-20 04:48:14.880319"], ["updated_at", "2016-09-20 04:48:14.880319"]]
|
38912
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38913
|
+
[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"]]
|
38914
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38915
|
+
----------------------------------------------------------------------------------------------------
|
38916
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
38917
|
+
----------------------------------------------------------------------------------------------------
|
38918
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38919
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38920
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38921
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38922
|
+
-------------------------------------------------------------------------------------------------------------
|
38923
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
38924
|
+
-------------------------------------------------------------------------------------------------------------
|
38925
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38926
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38927
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38928
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38929
|
+
-----------------------------------------------------------------------------------------------
|
38930
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
38931
|
+
-----------------------------------------------------------------------------------------------
|
38932
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38933
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38934
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38935
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38936
|
+
------------------------------------------------------------------------------------------------------------------------
|
38937
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
38938
|
+
------------------------------------------------------------------------------------------------------------------------
|
38939
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38940
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38941
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38942
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38943
|
+
--------------------------------------------------------------------------------------------------------
|
38944
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
38945
|
+
--------------------------------------------------------------------------------------------------------
|
38946
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38947
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38949
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38950
|
+
--------------------------------------------------------------------------------------------------
|
38951
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
38952
|
+
--------------------------------------------------------------------------------------------------
|
38953
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38954
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38955
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38956
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38957
|
+
------------------------------
|
38958
|
+
MaestranoRailsTest: test_truth
|
38959
|
+
------------------------------
|
38960
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38961
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38962
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38963
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38964
|
+
----------------------------------------------------------------------------------------------
|
38965
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
38966
|
+
----------------------------------------------------------------------------------------------
|
38967
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38968
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38969
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38970
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38971
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38972
|
+
Cannot validate SAML response: Bla
|
38973
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/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.0/lib/minitest/test.rb:107:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:204:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:104:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:255:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:103:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:275:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:102:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:799:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:322:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:335:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:62:in `block in autorun'"]
|
38974
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
38975
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38976
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38977
|
+
--------------------------------------------------------------------------------------------------------------------
|
38978
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
38979
|
+
--------------------------------------------------------------------------------------------------------------------
|
38980
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38981
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38982
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38983
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38984
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38985
|
+
Redirected to http://test.host/
|
38986
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38987
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38988
|
+
---------------------------------------------------------------------------------
|
38989
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
38990
|
+
---------------------------------------------------------------------------------
|
38991
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38992
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38993
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38994
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
38995
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
38996
|
+
Redirected to http://test.host/
|
38997
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
38998
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38999
|
+
--------------------------------------------------------------------------------------
|
39000
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
39001
|
+
--------------------------------------------------------------------------------------
|
39002
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39003
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39004
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39005
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
39006
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
39007
|
+
Redirected to http://test.host/
|
39008
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
39009
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39010
|
+
-------------------------------------------------------------------------------
|
39011
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
39012
|
+
-------------------------------------------------------------------------------
|
39013
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39014
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39015
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39016
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
39017
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
39018
|
+
Redirected to http://test.host/
|
39019
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
39020
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39021
|
+
-------------------------------------------------------------------------------------
|
39022
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
39023
|
+
-------------------------------------------------------------------------------------
|
39024
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39025
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39026
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39027
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
39028
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
39029
|
+
Redirected to http://test.host/
|
39030
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
39031
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39032
|
+
------------------------------------------------------------------------------------------
|
39033
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
39034
|
+
------------------------------------------------------------------------------------------
|
39035
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39036
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39037
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39038
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
39039
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
39040
|
+
Redirected to http://test.host/
|
39041
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
39042
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39043
|
+
---------------------------------------------------------------------------------------------------------------------------
|
39044
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
39045
|
+
---------------------------------------------------------------------------------------------------------------------------
|
39046
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39047
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39048
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39049
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
39050
|
+
Parameters: {"a_param"=>"value"}
|
39051
|
+
Redirected to http://idpprovider.com?r=request
|
39052
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
39053
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39054
|
+
-----------------------------------------------------------------------------------------------------------------------
|
39055
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
39056
|
+
-----------------------------------------------------------------------------------------------------------------------
|
39057
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39058
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39059
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39060
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
39061
|
+
Parameters: {"a_param"=>"value"}
|
39062
|
+
Redirected to http://idpprovider.com?r=request
|
39063
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
39064
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39065
|
+
-----------------------------------------------------------------
|
39066
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
39067
|
+
-----------------------------------------------------------------
|
39068
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39069
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39070
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39071
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
39072
|
+
Parameters: {"id"=>"cld-1"}
|
39073
|
+
Rendered text template (0.0ms)
|
39074
|
+
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
|
39075
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39076
|
+
-----------------------------------------------------------------
|
39077
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
39078
|
+
-----------------------------------------------------------------
|
39079
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39080
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39081
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39082
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
39083
|
+
Parameters: {"id"=>"cld-1"}
|
39084
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
39085
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
39086
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39087
|
+
----------------------------------------------------------------------------------------------------------
|
39088
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
39089
|
+
----------------------------------------------------------------------------------------------------------
|
39090
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39091
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39092
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39093
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39094
|
+
----------------------------------------------------------------------------------------------------
|
39095
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
39096
|
+
----------------------------------------------------------------------------------------------------
|
39097
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39098
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39099
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39100
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39101
|
+
------------------------------------------------------------------------------------------
|
39102
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
39103
|
+
------------------------------------------------------------------------------------------
|
39104
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39105
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39106
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39107
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39108
|
+
--------------------------------------------------------------------------------------
|
39109
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
39110
|
+
--------------------------------------------------------------------------------------
|
39111
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39112
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39113
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39114
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39115
|
+
--------------------------------------------------------------------------------------
|
39116
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
39117
|
+
--------------------------------------------------------------------------------------
|
39118
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39119
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39120
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39121
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39122
|
+
----------------------------------------------------------------------------------
|
39123
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
39124
|
+
----------------------------------------------------------------------------------
|
39125
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39126
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39127
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39128
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39129
|
+
--------------------------------------------------------------------------------------------------------------------------
|
39130
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
39131
|
+
--------------------------------------------------------------------------------------------------------------------------
|
39132
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39133
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39134
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39135
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39136
|
+
--------------------------------------------------------------------------------------------------------------------------
|
39137
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
39138
|
+
--------------------------------------------------------------------------------------------------------------------------
|
39139
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39140
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39141
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39142
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39143
|
+
---------------------------------------------------------------------------------------------
|
39144
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
39145
|
+
---------------------------------------------------------------------------------------------
|
39146
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39147
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39148
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39149
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39150
|
+
---------------------------------------------------------------------
|
39151
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
39152
|
+
---------------------------------------------------------------------
|
39153
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39154
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39155
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39156
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
39157
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
39158
|
+
Rendered text template (0.0ms)
|
39159
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
39160
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39161
|
+
---------------------------------------------------------------------
|
39162
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
39163
|
+
---------------------------------------------------------------------
|
39164
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39165
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39166
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39167
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
39168
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
39169
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
39170
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
39171
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39172
|
+
---------------------------------------------------------------------------------------------------------------------
|
39173
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
39174
|
+
---------------------------------------------------------------------------------------------------------------------
|
39175
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39176
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39177
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39178
|
+
Processing by PagesController#home as HTML
|
39179
|
+
Rendered pages/home.html.erb within layouts/application (0.9ms)
|
39180
|
+
Completed 200 OK in 106ms (Views: 106.1ms | ActiveRecord: 0.0ms)
|
39181
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39182
|
+
--------------------------------------------------------------------------------------------------------------------
|
39183
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
39184
|
+
--------------------------------------------------------------------------------------------------------------------
|
39185
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39186
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39187
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39188
|
+
Processing by PagesController#home as HTML
|
39189
|
+
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
39190
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
39191
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
39192
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39193
|
+
-----------------------------------------------------------------------------------------------------------
|
39194
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
39195
|
+
-----------------------------------------------------------------------------------------------------------
|
39196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39197
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39198
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39199
|
+
Processing by PagesController#home as HTML
|
39200
|
+
Rendered pages/home.html.erb within layouts/application (0.1ms)
|
39201
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
39202
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39203
|
+
------------------------------------------------------------------------------
|
39204
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
39205
|
+
------------------------------------------------------------------------------
|
39206
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39207
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39208
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39209
|
+
Processing by PagesController#home as HTML
|
39210
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
39211
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
39212
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39213
|
+
-------------------------------------------------------------------
|
39214
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
39215
|
+
-------------------------------------------------------------------
|
39216
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39217
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39218
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39219
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
39220
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
39221
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39222
|
+
-------------------------------------------------------------------
|
39223
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
39224
|
+
-------------------------------------------------------------------
|
39225
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39226
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39227
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39228
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
39229
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
39230
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
39231
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39232
|
+
-------------------------------------------------------------------------------------------
|
39233
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
39234
|
+
-------------------------------------------------------------------------------------------
|
39235
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39236
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39237
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39238
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39239
|
+
---------------------------------------------------------------------------------------
|
39240
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
39241
|
+
---------------------------------------------------------------------------------------
|
39242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39243
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39244
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39245
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39246
|
+
---------------------------------------------------------------------------------------
|
39247
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
39248
|
+
---------------------------------------------------------------------------------------
|
39249
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39250
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39251
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39252
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39253
|
+
-----------------------------------------------------------------------------------
|
39254
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
39255
|
+
-----------------------------------------------------------------------------------
|
39256
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39257
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39258
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39259
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39260
|
+
---------------------------------------------------------------------------------------------------------------------------
|
39261
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
39262
|
+
---------------------------------------------------------------------------------------------------------------------------
|
39263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39264
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39265
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39266
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39267
|
+
---------------------------------------------------------------------------------------------------------------------------
|
39268
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
39269
|
+
---------------------------------------------------------------------------------------------------------------------------
|
39270
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39271
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39272
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39273
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39274
|
+
----------------------------------------------------------------------------------------------
|
39275
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
39276
|
+
----------------------------------------------------------------------------------------------
|
39277
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39278
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39279
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39280
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39281
|
+
---------------------------------------------------------------------------------------
|
39282
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
39283
|
+
---------------------------------------------------------------------------------------
|
39284
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39285
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39286
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39287
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39288
|
+
----------------------------------------------------------------------------------
|
39289
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
39290
|
+
----------------------------------------------------------------------------------
|
39291
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39292
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39293
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39294
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39295
|
+
----------------------------------------------------------------------------------------------------------
|
39296
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
39297
|
+
----------------------------------------------------------------------------------------------------------
|
39298
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39299
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39300
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39301
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39302
|
+
-----------------------------------------------------------------------------------------------------
|
39303
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
39304
|
+
-----------------------------------------------------------------------------------------------------
|
39305
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39306
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39307
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39308
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39309
|
+
------------------------------------------------------------------------------------------------
|
39310
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
39311
|
+
------------------------------------------------------------------------------------------------
|
39312
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39313
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39314
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39315
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39316
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
39317
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
39318
|
+
--------------------------------------------------------------------------------------------------------
|
39319
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
39320
|
+
--------------------------------------------------------------------------------------------------------
|
39321
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
39322
|
+
[1m[35m (0.1ms)[0m commit transaction
|
39323
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39324
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39325
|
+
--------------------------------------------------------------------------------------------------
|
39326
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
39327
|
+
--------------------------------------------------------------------------------------------------
|
39328
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39329
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39330
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39331
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39332
|
+
-----------------------------------------------------------------
|
39333
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
39334
|
+
-----------------------------------------------------------------
|
39335
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39336
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39337
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39338
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
39339
|
+
Parameters: {"id"=>"cld-1"}
|
39340
|
+
Rendered text template (0.0ms)
|
39341
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
39342
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39343
|
+
-----------------------------------------------------------------
|
39344
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
39345
|
+
-----------------------------------------------------------------
|
39346
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39347
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39348
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39349
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
39350
|
+
Parameters: {"id"=>"cld-1"}
|
39351
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
39352
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
39353
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39354
|
+
---------------------------------------------------------------------
|
39355
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
39356
|
+
---------------------------------------------------------------------
|
39357
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39358
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39359
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39360
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
39361
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
39362
|
+
Rendered text template (0.0ms)
|
39363
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
39364
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39365
|
+
---------------------------------------------------------------------
|
39366
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
39367
|
+
---------------------------------------------------------------------
|
39368
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39369
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39370
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39371
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
39372
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
39373
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
39374
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
39375
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39376
|
+
----------------------------------------------------------------------------------------------
|
39377
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
39378
|
+
----------------------------------------------------------------------------------------------
|
39379
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39380
|
+
[1m[35m (0.1ms)[0m commit transaction
|
39381
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39382
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
39383
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
39384
|
+
Cannot validate SAML response: Bla
|
39385
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/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.0/lib/minitest/test.rb:107:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:204:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:104:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:255:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:103:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:275:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:102:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:799:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:322:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:335:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:62:in `block in autorun'"]
|
39386
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
39387
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
39388
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39389
|
+
--------------------------------------------------------------------------------------------------------------------
|
39390
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
39391
|
+
--------------------------------------------------------------------------------------------------------------------
|
39392
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39393
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39394
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39395
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
39396
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
39397
|
+
Redirected to http://test.host/
|
39398
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
39399
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39400
|
+
---------------------------------------------------------------------------------
|
39401
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
39402
|
+
---------------------------------------------------------------------------------
|
39403
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39404
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39405
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39406
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
39407
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
39408
|
+
Redirected to http://test.host/
|
39409
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
39410
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39411
|
+
--------------------------------------------------------------------------------------
|
39412
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
39413
|
+
--------------------------------------------------------------------------------------
|
39414
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39415
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39416
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39417
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
39418
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
39419
|
+
Redirected to http://test.host/
|
39420
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
39421
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39422
|
+
-------------------------------------------------------------------------------
|
39423
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
39424
|
+
-------------------------------------------------------------------------------
|
39425
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39426
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39427
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39428
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
39429
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
39430
|
+
Redirected to http://test.host/
|
39431
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
39432
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39433
|
+
-------------------------------------------------------------------------------------
|
39434
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
39435
|
+
-------------------------------------------------------------------------------------
|
39436
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39437
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39438
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39439
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
39440
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
39441
|
+
Redirected to http://test.host/
|
39442
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
39443
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39444
|
+
------------------------------------------------------------------------------------------
|
39445
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
39446
|
+
------------------------------------------------------------------------------------------
|
39447
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39448
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39449
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39450
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
39451
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
39452
|
+
Redirected to http://test.host/
|
39453
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
39454
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39455
|
+
---------------------------------------------------------------------------------------------------------------------------
|
39456
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
39457
|
+
---------------------------------------------------------------------------------------------------------------------------
|
39458
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39459
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39460
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39461
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
39462
|
+
Parameters: {"a_param"=>"value"}
|
39463
|
+
Redirected to http://idpprovider.com?r=request
|
39464
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
39465
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39466
|
+
-----------------------------------------------------------------------------------------------------------------------
|
39467
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
39468
|
+
-----------------------------------------------------------------------------------------------------------------------
|
39469
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39470
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39471
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39472
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
39473
|
+
Parameters: {"a_param"=>"value"}
|
39474
|
+
Redirected to http://idpprovider.com?r=request
|
39475
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
39476
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39477
|
+
------------------------------
|
39478
|
+
MaestranoRailsTest: test_truth
|
39479
|
+
------------------------------
|
39480
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39481
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39482
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39483
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39484
|
+
-------------------------------------------------------------------------------------------
|
39485
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
39486
|
+
-------------------------------------------------------------------------------------------
|
39487
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39488
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39489
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39490
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39491
|
+
---------------------------------------------------------------------------------------
|
39492
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
39493
|
+
---------------------------------------------------------------------------------------
|
39494
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39495
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39496
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39497
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39498
|
+
---------------------------------------------------------------------------------------
|
39499
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
39500
|
+
---------------------------------------------------------------------------------------
|
39501
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39502
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39503
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39504
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39505
|
+
-----------------------------------------------------------------------------------
|
39506
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
39507
|
+
-----------------------------------------------------------------------------------
|
39508
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39509
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39510
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39511
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39512
|
+
---------------------------------------------------------------------------------------------------------------------------
|
39513
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
39514
|
+
---------------------------------------------------------------------------------------------------------------------------
|
39515
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39516
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39517
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39518
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39519
|
+
---------------------------------------------------------------------------------------------------------------------------
|
39520
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
39521
|
+
---------------------------------------------------------------------------------------------------------------------------
|
39522
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39523
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39524
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39525
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39526
|
+
----------------------------------------------------------------------------------------------
|
39527
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
39528
|
+
----------------------------------------------------------------------------------------------
|
39529
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39530
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39531
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39532
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39533
|
+
------------------------------------------------------------------------------------------
|
39534
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
39535
|
+
------------------------------------------------------------------------------------------
|
39536
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39537
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39538
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39539
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39540
|
+
--------------------------------------------------------------------------------------
|
39541
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
39542
|
+
--------------------------------------------------------------------------------------
|
39543
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39544
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39545
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39546
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39547
|
+
--------------------------------------------------------------------------------------
|
39548
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
39549
|
+
--------------------------------------------------------------------------------------
|
39550
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39551
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39552
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39553
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39554
|
+
----------------------------------------------------------------------------------
|
39555
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
39556
|
+
----------------------------------------------------------------------------------
|
39557
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39558
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39559
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39560
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39561
|
+
--------------------------------------------------------------------------------------------------------------------------
|
39562
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
39563
|
+
--------------------------------------------------------------------------------------------------------------------------
|
39564
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39565
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39566
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39567
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39568
|
+
--------------------------------------------------------------------------------------------------------------------------
|
39569
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
39570
|
+
--------------------------------------------------------------------------------------------------------------------------
|
39571
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39572
|
+
[1m[35m (0.1ms)[0m commit transaction
|
39573
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39574
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39575
|
+
---------------------------------------------------------------------------------------------
|
39576
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
39577
|
+
---------------------------------------------------------------------------------------------
|
39578
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39579
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39580
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39581
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39582
|
+
----------------------------------------------------------------------------------------------------------
|
39583
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
39584
|
+
----------------------------------------------------------------------------------------------------------
|
39585
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39586
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39587
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39588
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39589
|
+
----------------------------------------------------------------------------------------------------
|
39590
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
39591
|
+
----------------------------------------------------------------------------------------------------
|
39592
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39593
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39594
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39595
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39596
|
+
---------------------------------------------------------------------------------------
|
39597
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
39598
|
+
---------------------------------------------------------------------------------------
|
39599
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39600
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39601
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39602
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39603
|
+
----------------------------------------------------------------------------------
|
39604
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
39605
|
+
----------------------------------------------------------------------------------
|
39606
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39607
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39608
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39609
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39610
|
+
----------------------------------------------------------------------------------------------------------
|
39611
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
39612
|
+
----------------------------------------------------------------------------------------------------------
|
39613
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39614
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39615
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39616
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39617
|
+
-----------------------------------------------------------------------------------------------------
|
39618
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
39619
|
+
-----------------------------------------------------------------------------------------------------
|
39620
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39621
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39622
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39623
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39624
|
+
------------------------------------------------------------------------------------------------
|
39625
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
39626
|
+
------------------------------------------------------------------------------------------------
|
39627
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39628
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39629
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39630
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39631
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
39632
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
39633
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
39634
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39635
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39636
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39637
|
+
[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"]]
|
39638
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39639
|
+
[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-09-20 04:48:20.269166"], ["updated_at", "2016-09-20 04:48:20.269166"]]
|
39640
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39641
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39642
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
39643
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
39644
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
39645
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39646
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39647
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39648
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39649
|
+
[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-09-20 04:48:20.271139"], ["updated_at", "2016-09-20 04:48:20.271139"]]
|
39650
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39651
|
+
[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"]]
|
39652
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39653
|
+
[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-09-20 04:48:20.272460"], ["updated_at", "2016-09-20 04:48:20.272460"]]
|
39654
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39655
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
39656
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
39657
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
39658
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
39659
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39660
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
39661
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39662
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39663
|
+
[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-09-20 04:48:20.273852"], ["updated_at", "2016-09-20 04:48:20.273852"]]
|
39664
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39665
|
+
[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"]]
|
39666
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
39667
|
+
---------------------------------------------------------------------------------------------------
|
39668
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
39669
|
+
---------------------------------------------------------------------------------------------------
|
39670
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39671
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
39672
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39673
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39674
|
+
------------------------------------------------------------------------------------------------------------
|
39675
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
39676
|
+
------------------------------------------------------------------------------------------------------------
|
39677
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39678
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
39679
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39680
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39681
|
+
----------------------------------------------------------------------------------------------
|
39682
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
39683
|
+
----------------------------------------------------------------------------------------------
|
39684
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39685
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
39686
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39687
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39688
|
+
-----------------------------------------------------------------------------------------------------------------------
|
39689
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
39690
|
+
-----------------------------------------------------------------------------------------------------------------------
|
39691
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39692
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
39693
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39694
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39695
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
39696
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
39697
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
39698
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39699
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
39700
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39701
|
+
[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"]]
|
39702
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39703
|
+
[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-09-20 04:48:20.283576"], ["updated_at", "2016-09-20 04:48:20.283576"]]
|
39704
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39705
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
39706
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
39707
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
39708
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
39709
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39710
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
39711
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39712
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39713
|
+
[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-09-20 04:48:20.285512"], ["updated_at", "2016-09-20 04:48:20.285512"]]
|
39714
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39715
|
+
[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"]]
|
39716
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39717
|
+
[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-09-20 04:48:20.286825"], ["updated_at", "2016-09-20 04:48:20.286825"]]
|
39718
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39719
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39720
|
+
------------------------------------------------------------------------------------------------------------------------------
|
39721
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
39722
|
+
------------------------------------------------------------------------------------------------------------------------------
|
39723
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39724
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39725
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39726
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39727
|
+
[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-09-20 04:48:20.288338"], ["updated_at", "2016-09-20 04:48:20.288338"]]
|
39728
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39729
|
+
[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"]]
|
39730
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39731
|
+
----------------------------------------------------------------------------------------------------
|
39732
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
39733
|
+
----------------------------------------------------------------------------------------------------
|
39734
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39735
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39736
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39737
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39738
|
+
-------------------------------------------------------------------------------------------------------------
|
39739
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
39740
|
+
-------------------------------------------------------------------------------------------------------------
|
39741
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39742
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39743
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39744
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39745
|
+
-----------------------------------------------------------------------------------------------
|
39746
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
39747
|
+
-----------------------------------------------------------------------------------------------
|
39748
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39749
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39750
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39751
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39752
|
+
------------------------------------------------------------------------------------------------------------------------
|
39753
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
39754
|
+
------------------------------------------------------------------------------------------------------------------------
|
39755
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39756
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39757
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39758
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39759
|
+
---------------------------------------------------------------------------------------------------------------------
|
39760
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
39761
|
+
---------------------------------------------------------------------------------------------------------------------
|
39762
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39763
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39764
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39765
|
+
Processing by PagesController#home as HTML
|
39766
|
+
Rendered pages/home.html.erb within layouts/application (0.8ms)
|
39767
|
+
Completed 200 OK in 98ms (Views: 97.9ms | ActiveRecord: 0.0ms)
|
39768
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39769
|
+
--------------------------------------------------------------------------------------------------------------------
|
39770
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
39771
|
+
--------------------------------------------------------------------------------------------------------------------
|
39772
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39773
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39774
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39775
|
+
Processing by PagesController#home as HTML
|
39776
|
+
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
39777
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
39778
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
39779
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39780
|
+
-----------------------------------------------------------------------------------------------------------
|
39781
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
39782
|
+
-----------------------------------------------------------------------------------------------------------
|
39783
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39784
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39785
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39786
|
+
Processing by PagesController#home as HTML
|
39787
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
39788
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
39789
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39790
|
+
------------------------------------------------------------------------------
|
39791
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
39792
|
+
------------------------------------------------------------------------------
|
39793
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39794
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39795
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39796
|
+
Processing by PagesController#home as HTML
|
39797
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
39798
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
39799
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39800
|
+
-------------------------------------------------------------------
|
39801
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
39802
|
+
-------------------------------------------------------------------
|
39803
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39804
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39805
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39806
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
39807
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
39808
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39809
|
+
-------------------------------------------------------------------
|
39810
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
39811
|
+
-------------------------------------------------------------------
|
39812
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39813
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39814
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39815
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
39816
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
39817
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
39818
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39819
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
39820
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
39821
|
+
---------------------------------------------------------------------
|
39822
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
39823
|
+
---------------------------------------------------------------------
|
39824
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
39825
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39826
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39827
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
39828
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
39829
|
+
Rendered text template (0.0ms)
|
39830
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
39831
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39832
|
+
---------------------------------------------------------------------
|
39833
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
39834
|
+
---------------------------------------------------------------------
|
39835
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39836
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39837
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39838
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
39839
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
39840
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
39841
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
39842
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39843
|
+
---------------------------------------------------------------------------------------
|
39844
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
39845
|
+
---------------------------------------------------------------------------------------
|
39846
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39847
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39848
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39849
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39850
|
+
----------------------------------------------------------------------------------
|
39851
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
39852
|
+
----------------------------------------------------------------------------------
|
39853
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39854
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39855
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39856
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39857
|
+
----------------------------------------------------------------------------------------------------------
|
39858
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
39859
|
+
----------------------------------------------------------------------------------------------------------
|
39860
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39861
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39862
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39863
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39864
|
+
-----------------------------------------------------------------------------------------------------
|
39865
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
39866
|
+
-----------------------------------------------------------------------------------------------------
|
39867
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39868
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39869
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39870
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39871
|
+
------------------------------------------------------------------------------------------------
|
39872
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
39873
|
+
------------------------------------------------------------------------------------------------
|
39874
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39875
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39876
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39877
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39878
|
+
---------------------------------------------------------------------------------------------------------------------
|
39879
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
39880
|
+
---------------------------------------------------------------------------------------------------------------------
|
39881
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39882
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39883
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39884
|
+
Processing by PagesController#home as HTML
|
39885
|
+
Rendered pages/home.html.erb within layouts/application (1.5ms)
|
39886
|
+
Completed 200 OK in 103ms (Views: 103.0ms | ActiveRecord: 0.0ms)
|
39887
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39888
|
+
--------------------------------------------------------------------------------------------------------------------
|
39889
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
39890
|
+
--------------------------------------------------------------------------------------------------------------------
|
39891
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39892
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39893
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39894
|
+
Processing by PagesController#home as HTML
|
39895
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
39896
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
39897
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39898
|
+
-----------------------------------------------------------------------------------------------------------
|
39899
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
39900
|
+
-----------------------------------------------------------------------------------------------------------
|
39901
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39902
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39903
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39904
|
+
Processing by PagesController#home as HTML
|
39905
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
39906
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
39907
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39908
|
+
------------------------------------------------------------------------------
|
39909
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
39910
|
+
------------------------------------------------------------------------------
|
39911
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39912
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39913
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39914
|
+
Processing by PagesController#home as HTML
|
39915
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
39916
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
39917
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39918
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
39919
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
39920
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
39921
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39922
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39923
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39924
|
+
[1m[35mMnoCrew Load (0.2ms)[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"]]
|
39925
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39926
|
+
[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-09-20 04:48:24.563927"], ["updated_at", "2016-09-20 04:48:24.563927"]]
|
39927
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39928
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39929
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
39930
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
39931
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
39932
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39933
|
+
[1m[35m (0.0ms)[0m commit transaction
|
39934
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39935
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39936
|
+
[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-09-20 04:48:24.566029"], ["updated_at", "2016-09-20 04:48:24.566029"]]
|
39937
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39938
|
+
[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"]]
|
39939
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39940
|
+
[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-09-20 04:48:24.567242"], ["updated_at", "2016-09-20 04:48:24.567242"]]
|
39941
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39942
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
39943
|
+
------------------------------------------------------------------------------------------------------------------------------
|
39944
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
39945
|
+
------------------------------------------------------------------------------------------------------------------------------
|
39946
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39947
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
39948
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39949
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39950
|
+
[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-09-20 04:48:24.568677"], ["updated_at", "2016-09-20 04:48:24.568677"]]
|
39951
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39952
|
+
[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"]]
|
39953
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
39954
|
+
----------------------------------------------------------------------------------------------------
|
39955
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
39956
|
+
----------------------------------------------------------------------------------------------------
|
39957
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39958
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
39959
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39960
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39961
|
+
-------------------------------------------------------------------------------------------------------------
|
39962
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
39963
|
+
-------------------------------------------------------------------------------------------------------------
|
39964
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39965
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
39966
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39967
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39968
|
+
-----------------------------------------------------------------------------------------------
|
39969
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
39970
|
+
-----------------------------------------------------------------------------------------------
|
39971
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39972
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
39973
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39974
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39975
|
+
------------------------------------------------------------------------------------------------------------------------
|
39976
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
39977
|
+
------------------------------------------------------------------------------------------------------------------------
|
39978
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39979
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
39980
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39981
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39982
|
+
------------------------------
|
39983
|
+
MaestranoRailsTest: test_truth
|
39984
|
+
------------------------------
|
39985
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39986
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
39987
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39988
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39989
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
39990
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
39991
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
39992
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39993
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
39994
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39995
|
+
[1m[36mMnoMonster Load (0.2ms)[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"]]
|
39996
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39997
|
+
[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", "Mon"], ["last_name", "Ster"], ["email", "monster@monst.com"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2016-09-20 04:48:24.581904"], ["updated_at", "2016-09-20 04:48:24.581904"]]
|
39998
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39999
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40000
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
40001
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
40002
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
40003
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40004
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40005
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40006
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40007
|
+
[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-09-20 04:48:24.583921"], ["updated_at", "2016-09-20 04:48:24.583921"]]
|
40008
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40009
|
+
[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"]]
|
40010
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40011
|
+
[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-09-20 04:48:24.585396"], ["updated_at", "2016-09-20 04:48:24.585396"]]
|
40012
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40013
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40014
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
40015
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
40016
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
40017
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40018
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40019
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40020
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40021
|
+
[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-09-20 04:48:24.586914"], ["updated_at", "2016-09-20 04:48:24.586914"]]
|
40022
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40023
|
+
[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"]]
|
40024
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40025
|
+
---------------------------------------------------------------------------------------------------
|
40026
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
40027
|
+
---------------------------------------------------------------------------------------------------
|
40028
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40029
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40030
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40031
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40032
|
+
------------------------------------------------------------------------------------------------------------
|
40033
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
40034
|
+
------------------------------------------------------------------------------------------------------------
|
40035
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40036
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40037
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40038
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40039
|
+
----------------------------------------------------------------------------------------------
|
40040
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
40041
|
+
----------------------------------------------------------------------------------------------
|
40042
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40043
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40044
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40045
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40046
|
+
-----------------------------------------------------------------------------------------------------------------------
|
40047
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
40048
|
+
-----------------------------------------------------------------------------------------------------------------------
|
40049
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40050
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40051
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40052
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40053
|
+
----------------------------------------------------------------------------------------------
|
40054
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
40055
|
+
----------------------------------------------------------------------------------------------
|
40056
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40057
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40058
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40059
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40060
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40061
|
+
Cannot validate SAML response: Bla
|
40062
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/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.0/lib/minitest/test.rb:107:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:204:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:104:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:255:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:103:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:275:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:102:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:799:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:322:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:335:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:62:in `block in autorun'"]
|
40063
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
40064
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40065
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40066
|
+
--------------------------------------------------------------------------------------------------------------------
|
40067
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
40068
|
+
--------------------------------------------------------------------------------------------------------------------
|
40069
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40070
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40071
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40072
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40073
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40074
|
+
Redirected to http://test.host/
|
40075
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40076
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40077
|
+
---------------------------------------------------------------------------------
|
40078
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
40079
|
+
---------------------------------------------------------------------------------
|
40080
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40081
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40082
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40083
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40084
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40085
|
+
Redirected to http://test.host/
|
40086
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40087
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40088
|
+
--------------------------------------------------------------------------------------
|
40089
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
40090
|
+
--------------------------------------------------------------------------------------
|
40091
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40092
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40093
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40094
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40095
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40096
|
+
Redirected to http://test.host/
|
40097
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40098
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40099
|
+
-------------------------------------------------------------------------------
|
40100
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
40101
|
+
-------------------------------------------------------------------------------
|
40102
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40103
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40104
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40105
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40106
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40107
|
+
Redirected to http://test.host/
|
40108
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40109
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40110
|
+
-------------------------------------------------------------------------------------
|
40111
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
40112
|
+
-------------------------------------------------------------------------------------
|
40113
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40114
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40115
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40116
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40117
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40118
|
+
Redirected to http://test.host/
|
40119
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40120
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40121
|
+
------------------------------------------------------------------------------------------
|
40122
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
40123
|
+
------------------------------------------------------------------------------------------
|
40124
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40125
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40126
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40127
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40128
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40129
|
+
Redirected to http://test.host/
|
40130
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40131
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40132
|
+
---------------------------------------------------------------------------------------------------------------------------
|
40133
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
40134
|
+
---------------------------------------------------------------------------------------------------------------------------
|
40135
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40136
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40137
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40138
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
40139
|
+
Parameters: {"a_param"=>"value"}
|
40140
|
+
Redirected to http://idpprovider.com?r=request
|
40141
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40142
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40143
|
+
-----------------------------------------------------------------------------------------------------------------------
|
40144
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
40145
|
+
-----------------------------------------------------------------------------------------------------------------------
|
40146
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40147
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40148
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40149
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
40150
|
+
Parameters: {"a_param"=>"value"}
|
40151
|
+
Redirected to http://idpprovider.com?r=request
|
40152
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
40153
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40154
|
+
----------------------------------------------------------------------------------------------------------
|
40155
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
40156
|
+
----------------------------------------------------------------------------------------------------------
|
40157
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40158
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40159
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40160
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40161
|
+
----------------------------------------------------------------------------------------------------
|
40162
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
40163
|
+
----------------------------------------------------------------------------------------------------
|
40164
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40165
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40166
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40167
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40168
|
+
--------------------------------------------------------------------------------------------------------
|
40169
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
40170
|
+
--------------------------------------------------------------------------------------------------------
|
40171
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40172
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40173
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40174
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40175
|
+
--------------------------------------------------------------------------------------------------
|
40176
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
40177
|
+
--------------------------------------------------------------------------------------------------
|
40178
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40179
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40180
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40181
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40182
|
+
-------------------------------------------------------------------------------------------
|
40183
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
40184
|
+
-------------------------------------------------------------------------------------------
|
40185
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40186
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40187
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40188
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40189
|
+
---------------------------------------------------------------------------------------
|
40190
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
40191
|
+
---------------------------------------------------------------------------------------
|
40192
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40193
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40194
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40195
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40196
|
+
---------------------------------------------------------------------------------------
|
40197
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
40198
|
+
---------------------------------------------------------------------------------------
|
40199
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40200
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40201
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40202
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40203
|
+
-----------------------------------------------------------------------------------
|
40204
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
40205
|
+
-----------------------------------------------------------------------------------
|
40206
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40207
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40208
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40209
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40210
|
+
---------------------------------------------------------------------------------------------------------------------------
|
40211
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
40212
|
+
---------------------------------------------------------------------------------------------------------------------------
|
40213
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40214
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40215
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40216
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40217
|
+
---------------------------------------------------------------------------------------------------------------------------
|
40218
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
40219
|
+
---------------------------------------------------------------------------------------------------------------------------
|
40220
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40221
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40222
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40223
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40224
|
+
----------------------------------------------------------------------------------------------
|
40225
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
40226
|
+
----------------------------------------------------------------------------------------------
|
40227
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40228
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40229
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40230
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40231
|
+
------------------------------------------------------------------------------------------
|
40232
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
40233
|
+
------------------------------------------------------------------------------------------
|
40234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40235
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40236
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40237
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40238
|
+
--------------------------------------------------------------------------------------
|
40239
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
40240
|
+
--------------------------------------------------------------------------------------
|
40241
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40242
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40243
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40244
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40245
|
+
--------------------------------------------------------------------------------------
|
40246
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
40247
|
+
--------------------------------------------------------------------------------------
|
40248
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40249
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40250
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40251
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40252
|
+
----------------------------------------------------------------------------------
|
40253
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
40254
|
+
----------------------------------------------------------------------------------
|
40255
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40256
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40257
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40258
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40259
|
+
--------------------------------------------------------------------------------------------------------------------------
|
40260
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
40261
|
+
--------------------------------------------------------------------------------------------------------------------------
|
40262
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40263
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40264
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40265
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40266
|
+
--------------------------------------------------------------------------------------------------------------------------
|
40267
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
40268
|
+
--------------------------------------------------------------------------------------------------------------------------
|
40269
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40270
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40271
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40272
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40273
|
+
---------------------------------------------------------------------------------------------
|
40274
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
40275
|
+
---------------------------------------------------------------------------------------------
|
40276
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40277
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40278
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40279
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40280
|
+
-------------------------------------------------------------------
|
40281
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
40282
|
+
-------------------------------------------------------------------
|
40283
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40284
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40285
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40286
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
40287
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
40288
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40289
|
+
-------------------------------------------------------------------
|
40290
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
40291
|
+
-------------------------------------------------------------------
|
40292
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40293
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40294
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40295
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
40296
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
40297
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
40298
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40299
|
+
-----------------------------------------------------------------
|
40300
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
40301
|
+
-----------------------------------------------------------------
|
40302
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40303
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40304
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40305
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
40306
|
+
Parameters: {"id"=>"cld-1"}
|
40307
|
+
Rendered text template (0.0ms)
|
40308
|
+
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
40309
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40310
|
+
-----------------------------------------------------------------
|
40311
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
40312
|
+
-----------------------------------------------------------------
|
40313
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40314
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40315
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40316
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
40317
|
+
Parameters: {"id"=>"cld-1"}
|
40318
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
40319
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
40320
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40321
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
40322
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
40323
|
+
-------------------------------------------------------------------
|
40324
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
40325
|
+
-------------------------------------------------------------------
|
40326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40327
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40328
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40329
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
40330
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
40331
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40332
|
+
-------------------------------------------------------------------
|
40333
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
40334
|
+
-------------------------------------------------------------------
|
40335
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40336
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40337
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40338
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
40339
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
40340
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
40341
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40342
|
+
---------------------------------------------------------------------------------------
|
40343
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
40344
|
+
---------------------------------------------------------------------------------------
|
40345
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40346
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40347
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40348
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40349
|
+
----------------------------------------------------------------------------------
|
40350
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
40351
|
+
----------------------------------------------------------------------------------
|
40352
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40353
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40354
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40355
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40356
|
+
----------------------------------------------------------------------------------------------------------
|
40357
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
40358
|
+
----------------------------------------------------------------------------------------------------------
|
40359
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40360
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40361
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40362
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40363
|
+
-----------------------------------------------------------------------------------------------------
|
40364
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
40365
|
+
-----------------------------------------------------------------------------------------------------
|
40366
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40367
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40368
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40369
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40370
|
+
------------------------------------------------------------------------------------------------
|
40371
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
40372
|
+
------------------------------------------------------------------------------------------------
|
40373
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40374
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40375
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40376
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40377
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
40378
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
40379
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
40380
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40381
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40382
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40383
|
+
[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"]]
|
40384
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40385
|
+
[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-09-20 07:02:52.581055"], ["updated_at", "2016-09-20 07:02:52.581055"]]
|
40386
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40387
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40388
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
40389
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
40390
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
40391
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40392
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40393
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40394
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40395
|
+
[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-09-20 07:02:52.583131"], ["updated_at", "2016-09-20 07:02:52.583131"]]
|
40396
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40397
|
+
[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"]]
|
40398
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40399
|
+
[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-09-20 07:02:52.584472"], ["updated_at", "2016-09-20 07:02:52.584472"]]
|
40400
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40401
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40402
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
40403
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
40404
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
40405
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40406
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40407
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40408
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40409
|
+
[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-09-20 07:02:52.585872"], ["updated_at", "2016-09-20 07:02:52.585872"]]
|
40410
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40411
|
+
[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"]]
|
40412
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40413
|
+
---------------------------------------------------------------------------------------------------
|
40414
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
40415
|
+
---------------------------------------------------------------------------------------------------
|
40416
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40417
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40418
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40419
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40420
|
+
------------------------------------------------------------------------------------------------------------
|
40421
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
40422
|
+
------------------------------------------------------------------------------------------------------------
|
40423
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40424
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40425
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40426
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40427
|
+
----------------------------------------------------------------------------------------------
|
40428
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
40429
|
+
----------------------------------------------------------------------------------------------
|
40430
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40431
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40432
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40433
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40434
|
+
-----------------------------------------------------------------------------------------------------------------------
|
40435
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
40436
|
+
-----------------------------------------------------------------------------------------------------------------------
|
40437
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40438
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40439
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40440
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40441
|
+
----------------------------------------------------------------------------------------------------------
|
40442
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
40443
|
+
----------------------------------------------------------------------------------------------------------
|
40444
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40445
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40446
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40447
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40448
|
+
----------------------------------------------------------------------------------------------------
|
40449
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
40450
|
+
----------------------------------------------------------------------------------------------------
|
40451
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40452
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40453
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40454
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40455
|
+
---------------------------------------------------------------------
|
40456
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
40457
|
+
---------------------------------------------------------------------
|
40458
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40459
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40460
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40461
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
40462
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
40463
|
+
Rendered text template (0.0ms)
|
40464
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
40465
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40466
|
+
---------------------------------------------------------------------
|
40467
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
40468
|
+
---------------------------------------------------------------------
|
40469
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40470
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40471
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40472
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
40473
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
40474
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
40475
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
40476
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40477
|
+
------------------------------------------------------------------------------------------
|
40478
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
40479
|
+
------------------------------------------------------------------------------------------
|
40480
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40481
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40482
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40483
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40484
|
+
--------------------------------------------------------------------------------------
|
40485
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
40486
|
+
--------------------------------------------------------------------------------------
|
40487
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40488
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40489
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40490
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40491
|
+
--------------------------------------------------------------------------------------
|
40492
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
40493
|
+
--------------------------------------------------------------------------------------
|
40494
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40495
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40496
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40497
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40498
|
+
----------------------------------------------------------------------------------
|
40499
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
40500
|
+
----------------------------------------------------------------------------------
|
40501
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40502
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40503
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40504
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40505
|
+
--------------------------------------------------------------------------------------------------------------------------
|
40506
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
40507
|
+
--------------------------------------------------------------------------------------------------------------------------
|
40508
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40509
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40510
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40511
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40512
|
+
--------------------------------------------------------------------------------------------------------------------------
|
40513
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
40514
|
+
--------------------------------------------------------------------------------------------------------------------------
|
40515
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40516
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40517
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40518
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40519
|
+
---------------------------------------------------------------------------------------------
|
40520
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
40521
|
+
---------------------------------------------------------------------------------------------
|
40522
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40523
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40524
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40525
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40526
|
+
------------------------------
|
40527
|
+
MaestranoRailsTest: test_truth
|
40528
|
+
------------------------------
|
40529
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40530
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40531
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40532
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40533
|
+
-----------------------------------------------------------------
|
40534
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
40535
|
+
-----------------------------------------------------------------
|
40536
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40537
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40538
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40539
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
40540
|
+
Parameters: {"id"=>"cld-1"}
|
40541
|
+
Rendered text template (0.0ms)
|
40542
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
40543
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40544
|
+
-----------------------------------------------------------------
|
40545
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
40546
|
+
-----------------------------------------------------------------
|
40547
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40548
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40549
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40550
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
40551
|
+
Parameters: {"id"=>"cld-1"}
|
40552
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
40553
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
40554
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40555
|
+
---------------------------------------------------------------------------------------------------------------------
|
40556
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
40557
|
+
---------------------------------------------------------------------------------------------------------------------
|
40558
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40559
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40560
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40561
|
+
Processing by PagesController#home as HTML
|
40562
|
+
Rendered pages/home.html.erb within layouts/application (0.8ms)
|
40563
|
+
Completed 200 OK in 104ms (Views: 103.9ms | ActiveRecord: 0.0ms)
|
40564
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40565
|
+
--------------------------------------------------------------------------------------------------------------------
|
40566
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
40567
|
+
--------------------------------------------------------------------------------------------------------------------
|
40568
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40569
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40570
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40571
|
+
Processing by PagesController#home as HTML
|
40572
|
+
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
40573
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
40574
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40575
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40576
|
+
-----------------------------------------------------------------------------------------------------------
|
40577
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
40578
|
+
-----------------------------------------------------------------------------------------------------------
|
40579
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40580
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40581
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40582
|
+
Processing by PagesController#home as HTML
|
40583
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
40584
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
40585
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40586
|
+
------------------------------------------------------------------------------
|
40587
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
40588
|
+
------------------------------------------------------------------------------
|
40589
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40590
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40591
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40592
|
+
Processing by PagesController#home as HTML
|
40593
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
40594
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
40595
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40596
|
+
-------------------------------------------------------------------------------------------
|
40597
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
40598
|
+
-------------------------------------------------------------------------------------------
|
40599
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40600
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40601
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40602
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40603
|
+
---------------------------------------------------------------------------------------
|
40604
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
40605
|
+
---------------------------------------------------------------------------------------
|
40606
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40607
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40608
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40609
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40610
|
+
---------------------------------------------------------------------------------------
|
40611
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
40612
|
+
---------------------------------------------------------------------------------------
|
40613
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40614
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
40615
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40616
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40617
|
+
-----------------------------------------------------------------------------------
|
40618
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
40619
|
+
-----------------------------------------------------------------------------------
|
40620
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40621
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40622
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40623
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40624
|
+
---------------------------------------------------------------------------------------------------------------------------
|
40625
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
40626
|
+
---------------------------------------------------------------------------------------------------------------------------
|
40627
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40628
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40629
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40630
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40631
|
+
---------------------------------------------------------------------------------------------------------------------------
|
40632
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
40633
|
+
---------------------------------------------------------------------------------------------------------------------------
|
40634
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40635
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40636
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40637
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40638
|
+
----------------------------------------------------------------------------------------------
|
40639
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
40640
|
+
----------------------------------------------------------------------------------------------
|
40641
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40642
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40643
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40644
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40645
|
+
----------------------------------------------------------------------------------------------
|
40646
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
40647
|
+
----------------------------------------------------------------------------------------------
|
40648
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40649
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40650
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40651
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40652
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40653
|
+
Cannot validate SAML response: Bla
|
40654
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/mocha-1.1.0/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.0/lib/minitest/test.rb:107:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:204:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:104:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:255:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:103:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:275:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest/test.rb:102:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:799:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:322:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:335:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.3.1/gems/minitest-5.9.0/lib/minitest.rb:62:in `block in autorun'"]
|
40655
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
40656
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40657
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40658
|
+
--------------------------------------------------------------------------------------------------------------------
|
40659
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
40660
|
+
--------------------------------------------------------------------------------------------------------------------
|
40661
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40662
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40663
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40664
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40665
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40666
|
+
Redirected to http://test.host/
|
40667
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40668
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40669
|
+
---------------------------------------------------------------------------------
|
40670
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
40671
|
+
---------------------------------------------------------------------------------
|
40672
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40673
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40674
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40675
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40676
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40677
|
+
Redirected to http://test.host/
|
40678
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40679
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40680
|
+
--------------------------------------------------------------------------------------
|
40681
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
40682
|
+
--------------------------------------------------------------------------------------
|
40683
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40684
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40685
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40686
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40687
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40688
|
+
Redirected to http://test.host/
|
40689
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40690
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40691
|
+
-------------------------------------------------------------------------------
|
40692
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
40693
|
+
-------------------------------------------------------------------------------
|
40694
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40695
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40696
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40697
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40698
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40699
|
+
Redirected to http://test.host/
|
40700
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40701
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40702
|
+
-------------------------------------------------------------------------------------
|
40703
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
40704
|
+
-------------------------------------------------------------------------------------
|
40705
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40706
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40707
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40708
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40709
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40710
|
+
Redirected to http://test.host/
|
40711
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
40712
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40713
|
+
------------------------------------------------------------------------------------------
|
40714
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
40715
|
+
------------------------------------------------------------------------------------------
|
40716
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40717
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40718
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40719
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
40720
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
40721
|
+
Redirected to http://test.host/
|
40722
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
40723
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40724
|
+
---------------------------------------------------------------------------------------------------------------------------
|
40725
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
40726
|
+
---------------------------------------------------------------------------------------------------------------------------
|
40727
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40728
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40729
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40730
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
40731
|
+
Parameters: {"a_param"=>"value"}
|
40732
|
+
Redirected to http://idpprovider.com?r=request
|
40733
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
40734
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40735
|
+
-----------------------------------------------------------------------------------------------------------------------
|
40736
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
40737
|
+
-----------------------------------------------------------------------------------------------------------------------
|
40738
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40739
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40740
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40741
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
40742
|
+
Parameters: {"a_param"=>"value"}
|
40743
|
+
Redirected to http://idpprovider.com?r=request
|
40744
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
40745
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40746
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
40747
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
40748
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
40749
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40750
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40751
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40752
|
+
[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"]]
|
40753
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40754
|
+
[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-09-20 07:02:52.811305"], ["updated_at", "2016-09-20 07:02:52.811305"]]
|
40755
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40756
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
40757
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
40758
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
40759
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
40760
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40761
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
40762
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40763
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40764
|
+
[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-09-20 07:02:52.813045"], ["updated_at", "2016-09-20 07:02:52.813045"]]
|
40765
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40766
|
+
[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"]]
|
40767
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40768
|
+
[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-09-20 07:02:52.814554"], ["updated_at", "2016-09-20 07:02:52.814554"]]
|
40769
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40770
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40771
|
+
------------------------------------------------------------------------------------------------------------------------------
|
40772
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
40773
|
+
------------------------------------------------------------------------------------------------------------------------------
|
40774
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40775
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40776
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40777
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40778
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_crews" ("name", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"], ["created_at", "2016-09-20 07:02:52.816310"], ["updated_at", "2016-09-20 07:02:52.816310"]]
|
40779
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40780
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = ? AND "mno_crews"."uid" = ? AND "mno_crews"."tenant" = ? ORDER BY "mno_crews"."id" ASC LIMIT 1[0m [["provider", "maestrano"], ["uid", "cld-1"], ["tenant", "default"]]
|
40781
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40782
|
+
----------------------------------------------------------------------------------------------------
|
40783
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
40784
|
+
----------------------------------------------------------------------------------------------------
|
40785
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40786
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40787
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40788
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40789
|
+
-------------------------------------------------------------------------------------------------------------
|
40790
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
40791
|
+
-------------------------------------------------------------------------------------------------------------
|
40792
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40793
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40794
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40795
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40796
|
+
-----------------------------------------------------------------------------------------------
|
40797
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
40798
|
+
-----------------------------------------------------------------------------------------------
|
40799
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40800
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40801
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40802
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40803
|
+
------------------------------------------------------------------------------------------------------------------------
|
40804
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
40805
|
+
------------------------------------------------------------------------------------------------------------------------
|
40806
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40807
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40808
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40809
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40810
|
+
--------------------------------------------------------------------------------------------------------
|
40811
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
40812
|
+
--------------------------------------------------------------------------------------------------------
|
40813
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40814
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40815
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40816
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40817
|
+
--------------------------------------------------------------------------------------------------
|
40818
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
40819
|
+
--------------------------------------------------------------------------------------------------
|
40820
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40821
|
+
[1m[35m (0.0ms)[0m commit transaction
|
40822
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40823
|
+
[1m[35m (0.0ms)[0m rollback transaction
|