maestrano-rails 1.0.0.pre.RC4 → 1.0.0.pre.RC5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +7 -7
- data/maestrano-rails.gemspec +7 -7
- data/test/dummy_activerecord/log/test.log +1005 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/0K/0Kl2n4Uk_bMN9p4smyeemwQGasEZIOn0fQO0eJfKaTY.cache +3 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/1F/1FTJP_uF11AXjtmunFnHKmvNuLGFkJKlZx07cpkVt1E.cache +3 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/5P/5P5zP6yAr0lenf-iJYYc2OjmzqumtroTKdE04IU80bI.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/5g/5g7dhxVp4YbZmFw_-T3aU2oYq2Z9Jgtps0CKneXYSS0.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/BQ/BQtyJR3ccqed7_s43p3BPj3IL18LWu1Fo1ZnzWC3qcc.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/Kk/KkFt0z0fhE3JMKKLAuhaZLRypV5zxOWEkwqzPvXcga4.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/Tt/Tt7BFxeTDVYhFn2q6Bm8QvO0iZtqhpU3Py0aNUJ5kMI.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/UF/UFtgN0i1Oi7hYxXWi9UeyZeJyu8STn29o1JRQ4_z2Mo.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/Um/Umm0xct07dhJS0LcSl4C7qjuqwe29RPrcArcHmpCH9E.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/VN/VNCapNKJLeponthNeFJhaBYs92UBT3P8PugENHP0474.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/Vz/Vz-TATKC0c3E0YTxgKKvL-6zVhnrKZuTLimk0mFdkhI.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/W1/W1I750hXtFauIXfdF_h8f0H6Eh9fPjn1nb3WDnJGJ_0.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/XJ/XJcXzqn-ILsbVbGUfL1V9-vMJa2RhZQXvIl1KD0qQKo.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/Y0/Y0NzY5PAN_S55uV44yAyi0fmpb55hlY9U-m6zmeaQ94.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/YY/YYhr-BwbA5CTzaT_XI_ORMHpS3ej0MO1lLNgjFngUvM.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/b7/b7lBpkBxQaCxHBBRf-QF0CiQKnRE8kYGLUzgAPTjf_k.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/bE/bEM-nbvZZlvHd-VVEeByhYFYw_PQoPz0Cih2JCzGCi4.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/d6/d6-acrFwj2KUSJ8gCI-lSkjYvxy5h6H-6Tu80yrkQlI.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/h3/h3R0ogDb3_Lv-eriMG2QniXy7gKnqx_JR1m4TuPmifE.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/iO/iOprhQvDwUFWOwTIXAN7nqRSNUxtNegez2gEqgNlpVM.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/jC/jCAdpJEQwSeSSrCluGFOJsHNE6VcAWViGJ0P-G0t6mA.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/l_/l_tJ9WwBL9Q8XjxQN56nGuGtCrP7kGBvE8e76g8tRC0.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/lt/ltHfS3at480sLxxMu-MaiUGV9g2lURx1vhZVOCVLojE.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/oq/oqVkVOrnW7zIQqXe_2p4bZbOShNyg0DnfcM3Ww-Mqig.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/ph/phskQTPSOqrdvCdPHZ_6JRzQL-kFbfkH76uZWJTDRAw.cache +1 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/ue/ue3v4h_bRvmZHu9OmCth5E6MIP4HymD3ntOmdWMYJyQ.cache +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/sprockets/v3.0/wo/woAXOH3NlZuNE-gjwApF3aSKNlbIbWZbAmIZrXwWvL0.cache +1 -0
- metadata +48 -6
- /data/test/tmp/db/migrate/{20160901050033_add_maestrano_to_monsters.rb → 20160918091730_add_maestrano_to_monsters.rb} +0 -0
@@ -36297,3 +36297,1008 @@ Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
|
36297
36297
|
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
36298
36298
|
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
36299
36299
|
[1m[35m (0.0ms)[0m rollback transaction
|
36300
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
36301
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
36302
|
+
---------------------------------------------------------------------------------------
|
36303
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
36304
|
+
---------------------------------------------------------------------------------------
|
36305
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36306
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36307
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36308
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36309
|
+
----------------------------------------------------------------------------------
|
36310
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
36311
|
+
----------------------------------------------------------------------------------
|
36312
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36313
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36314
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36315
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36316
|
+
----------------------------------------------------------------------------------------------------------
|
36317
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
36318
|
+
----------------------------------------------------------------------------------------------------------
|
36319
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36320
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36321
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36322
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36323
|
+
-----------------------------------------------------------------------------------------------------
|
36324
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
36325
|
+
-----------------------------------------------------------------------------------------------------
|
36326
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36327
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36328
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36329
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36330
|
+
------------------------------------------------------------------------------------------------
|
36331
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
36332
|
+
------------------------------------------------------------------------------------------------
|
36333
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36334
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36335
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36336
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36337
|
+
--------------------------------------------------------------------------------------------------------
|
36338
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
36339
|
+
--------------------------------------------------------------------------------------------------------
|
36340
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36341
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36342
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36343
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36344
|
+
--------------------------------------------------------------------------------------------------
|
36345
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
36346
|
+
--------------------------------------------------------------------------------------------------
|
36347
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36348
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36349
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36350
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36351
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
36352
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
36353
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
36354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36355
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36356
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36357
|
+
[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"]]
|
36358
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36359
|
+
[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-18 09:17:05.294869"], ["updated_at", "2016-09-18 09:17:05.294869"]]
|
36360
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36361
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36362
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
36363
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
36364
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
36365
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36366
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36367
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36368
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36369
|
+
[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-18 09:17:05.298260"], ["updated_at", "2016-09-18 09:17:05.298260"]]
|
36370
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36371
|
+
[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"]]
|
36372
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36373
|
+
[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-18 09:17:05.299900"], ["updated_at", "2016-09-18 09:17:05.299900"]]
|
36374
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36375
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36376
|
+
------------------------------------------------------------------------------------------------------------------------------
|
36377
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
36378
|
+
------------------------------------------------------------------------------------------------------------------------------
|
36379
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36380
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36381
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36382
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36383
|
+
[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-18 09:17:05.301487"], ["updated_at", "2016-09-18 09:17:05.301487"]]
|
36384
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36385
|
+
[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"]]
|
36386
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36387
|
+
----------------------------------------------------------------------------------------------------
|
36388
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
36389
|
+
----------------------------------------------------------------------------------------------------
|
36390
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36391
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36392
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36393
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36394
|
+
-------------------------------------------------------------------------------------------------------------
|
36395
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
36396
|
+
-------------------------------------------------------------------------------------------------------------
|
36397
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36398
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36399
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36400
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36401
|
+
-----------------------------------------------------------------------------------------------
|
36402
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
36403
|
+
-----------------------------------------------------------------------------------------------
|
36404
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36405
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36406
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36407
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36408
|
+
------------------------------------------------------------------------------------------------------------------------
|
36409
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
36410
|
+
------------------------------------------------------------------------------------------------------------------------
|
36411
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36412
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36413
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36414
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36415
|
+
----------------------------------------------------------------------------------------------------------
|
36416
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
36417
|
+
----------------------------------------------------------------------------------------------------------
|
36418
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36419
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36420
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36421
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36422
|
+
----------------------------------------------------------------------------------------------------
|
36423
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
36424
|
+
----------------------------------------------------------------------------------------------------
|
36425
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36426
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36427
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36428
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36429
|
+
-------------------------------------------------------------------------------------------
|
36430
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
36431
|
+
-------------------------------------------------------------------------------------------
|
36432
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36433
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36434
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36435
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36436
|
+
---------------------------------------------------------------------------------------
|
36437
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
36438
|
+
---------------------------------------------------------------------------------------
|
36439
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36440
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36441
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36442
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36443
|
+
---------------------------------------------------------------------------------------
|
36444
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
36445
|
+
---------------------------------------------------------------------------------------
|
36446
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36447
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36448
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36449
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36450
|
+
-----------------------------------------------------------------------------------
|
36451
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
36452
|
+
-----------------------------------------------------------------------------------
|
36453
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36454
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36455
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36456
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36457
|
+
---------------------------------------------------------------------------------------------------------------------------
|
36458
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
36459
|
+
---------------------------------------------------------------------------------------------------------------------------
|
36460
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36461
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36462
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36463
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36464
|
+
---------------------------------------------------------------------------------------------------------------------------
|
36465
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
36466
|
+
---------------------------------------------------------------------------------------------------------------------------
|
36467
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36468
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36469
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36470
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36471
|
+
----------------------------------------------------------------------------------------------
|
36472
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
36473
|
+
----------------------------------------------------------------------------------------------
|
36474
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36475
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36476
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36477
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36478
|
+
-----------------------------------------------------------------
|
36479
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
36480
|
+
-----------------------------------------------------------------
|
36481
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36482
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36483
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36484
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
36485
|
+
Parameters: {"id"=>"cld-1"}
|
36486
|
+
Rendered text template (0.0ms)
|
36487
|
+
Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
|
36488
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
36489
|
+
-----------------------------------------------------------------
|
36490
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
36491
|
+
-----------------------------------------------------------------
|
36492
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36493
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36494
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36495
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
36496
|
+
Parameters: {"id"=>"cld-1"}
|
36497
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
36498
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
36499
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36500
|
+
-------------------------------------------------------------------
|
36501
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
36502
|
+
-------------------------------------------------------------------
|
36503
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36504
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36505
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36506
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
36507
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
36508
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36509
|
+
-------------------------------------------------------------------
|
36510
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
36511
|
+
-------------------------------------------------------------------
|
36512
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36513
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36514
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36515
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
36516
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
36517
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
36518
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36519
|
+
------------------------------
|
36520
|
+
MaestranoRailsTest: test_truth
|
36521
|
+
------------------------------
|
36522
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36523
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36524
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36525
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36526
|
+
---------------------------------------------------------------------
|
36527
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
36528
|
+
---------------------------------------------------------------------
|
36529
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36530
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36531
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36532
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
36533
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
36534
|
+
Rendered text template (0.0ms)
|
36535
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
36536
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36537
|
+
---------------------------------------------------------------------
|
36538
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
36539
|
+
---------------------------------------------------------------------
|
36540
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36541
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36542
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36543
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
36544
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
36545
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
36546
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
36547
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36548
|
+
------------------------------------------------------------------------------------------
|
36549
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
36550
|
+
------------------------------------------------------------------------------------------
|
36551
|
+
[1m[35m (8.0ms)[0m begin transaction
|
36552
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36553
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36554
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36555
|
+
--------------------------------------------------------------------------------------
|
36556
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
36557
|
+
--------------------------------------------------------------------------------------
|
36558
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36559
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36560
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36561
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36562
|
+
--------------------------------------------------------------------------------------
|
36563
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
36564
|
+
--------------------------------------------------------------------------------------
|
36565
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36566
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36567
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36568
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36569
|
+
----------------------------------------------------------------------------------
|
36570
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
36571
|
+
----------------------------------------------------------------------------------
|
36572
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36573
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36574
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36575
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36576
|
+
--------------------------------------------------------------------------------------------------------------------------
|
36577
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
36578
|
+
--------------------------------------------------------------------------------------------------------------------------
|
36579
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36580
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36581
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36582
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36583
|
+
--------------------------------------------------------------------------------------------------------------------------
|
36584
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
36585
|
+
--------------------------------------------------------------------------------------------------------------------------
|
36586
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36587
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36588
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36589
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36590
|
+
---------------------------------------------------------------------------------------------
|
36591
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
36592
|
+
---------------------------------------------------------------------------------------------
|
36593
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36594
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36595
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36596
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36597
|
+
---------------------------------------------------------------------------------------------------------------------
|
36598
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
36599
|
+
---------------------------------------------------------------------------------------------------------------------
|
36600
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36601
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36602
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36603
|
+
Processing by PagesController#home as HTML
|
36604
|
+
Rendered pages/home.html.erb within layouts/application (1.0ms)
|
36605
|
+
Completed 200 OK in 233ms (Views: 233.3ms | ActiveRecord: 0.0ms)
|
36606
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36607
|
+
--------------------------------------------------------------------------------------------------------------------
|
36608
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
36609
|
+
--------------------------------------------------------------------------------------------------------------------
|
36610
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36611
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36612
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36613
|
+
Processing by PagesController#home as HTML
|
36614
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
36615
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
36616
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36617
|
+
-----------------------------------------------------------------------------------------------------------
|
36618
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
36619
|
+
-----------------------------------------------------------------------------------------------------------
|
36620
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36621
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36622
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36623
|
+
Processing by PagesController#home as HTML
|
36624
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
36625
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
36626
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36627
|
+
------------------------------------------------------------------------------
|
36628
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
36629
|
+
------------------------------------------------------------------------------
|
36630
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36631
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36632
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36633
|
+
Processing by PagesController#home as HTML
|
36634
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
36635
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
36636
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36637
|
+
----------------------------------------------------------------------------------------------
|
36638
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
36639
|
+
----------------------------------------------------------------------------------------------
|
36640
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36641
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36642
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36643
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
36644
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
36645
|
+
Cannot validate SAML response: Bla
|
36646
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.1.10/gems/mocha-1.1.0/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/mocha-1.1.0/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/mocha-1.1.0/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.1.10/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.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `call'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `call'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.1.10/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.1.10/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `instance_exec'", "/home/bruno/.rvm/gems/ruby-2.1.10/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.1.10/gems/minitest-5.9.0/lib/minitest/test.rb:107:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest/test.rb:204:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest/test.rb:104:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest/test.rb:255:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest/test.rb:103:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest/test.rb:275:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest/test.rb:102:in `run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:799:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:322:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:335:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:62:in `block in autorun'"]
|
36647
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
36648
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
36649
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36650
|
+
--------------------------------------------------------------------------------------------------------------------
|
36651
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
36652
|
+
--------------------------------------------------------------------------------------------------------------------
|
36653
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36654
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36655
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36656
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
36657
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
36658
|
+
Redirected to http://test.host/
|
36659
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
36660
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36661
|
+
---------------------------------------------------------------------------------
|
36662
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
36663
|
+
---------------------------------------------------------------------------------
|
36664
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36665
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36666
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36667
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
36668
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
36669
|
+
Redirected to http://test.host/
|
36670
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
36671
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36672
|
+
--------------------------------------------------------------------------------------
|
36673
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
36674
|
+
--------------------------------------------------------------------------------------
|
36675
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36676
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36677
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36678
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
36679
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
36680
|
+
Redirected to http://test.host/
|
36681
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
36682
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36683
|
+
-------------------------------------------------------------------------------
|
36684
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
36685
|
+
-------------------------------------------------------------------------------
|
36686
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36687
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36688
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36689
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
36690
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
36691
|
+
Redirected to http://test.host/
|
36692
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
36693
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36694
|
+
-------------------------------------------------------------------------------------
|
36695
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
36696
|
+
-------------------------------------------------------------------------------------
|
36697
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36698
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36699
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36700
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
36701
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
36702
|
+
Redirected to http://test.host/
|
36703
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
36704
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36705
|
+
------------------------------------------------------------------------------------------
|
36706
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
36707
|
+
------------------------------------------------------------------------------------------
|
36708
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36709
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36710
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36711
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
36712
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
36713
|
+
Redirected to http://test.host/
|
36714
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
36715
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36716
|
+
---------------------------------------------------------------------------------------------------------------------------
|
36717
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
36718
|
+
---------------------------------------------------------------------------------------------------------------------------
|
36719
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36720
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36721
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36722
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
36723
|
+
Parameters: {"a_param"=>"value"}
|
36724
|
+
Redirected to http://idpprovider.com?r=request
|
36725
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
36726
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36727
|
+
-----------------------------------------------------------------------------------------------------------------------
|
36728
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
36729
|
+
-----------------------------------------------------------------------------------------------------------------------
|
36730
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36731
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
36732
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36733
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
36734
|
+
Parameters: {"a_param"=>"value"}
|
36735
|
+
Redirected to http://idpprovider.com?r=request
|
36736
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
36737
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
36738
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
36739
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
36740
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
36741
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36742
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36743
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36744
|
+
[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"]]
|
36745
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36746
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_monsters" ("first_name", "last_name", "email", "provider", "uid", "tenant", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["first_name", "Mon"], ["last_name", "Ster"], ["email", "monster@monst.com"], ["provider", "maestrano"], ["uid", "usr-2"], ["tenant", "default"], ["created_at", "2016-09-18 09:17:05.693649"], ["updated_at", "2016-09-18 09:17:05.693649"]]
|
36747
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36748
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
36749
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
36750
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
36751
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
36752
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36753
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
36754
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36755
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36756
|
+
[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-18 09:17:05.695625"], ["updated_at", "2016-09-18 09:17:05.695625"]]
|
36757
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36758
|
+
[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"]]
|
36759
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
36760
|
+
[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-18 09:17:05.697063"], ["updated_at", "2016-09-18 09:17:05.697063"]]
|
36761
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36762
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36763
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
36764
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
36765
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
36766
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36767
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36768
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36769
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
36770
|
+
[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-18 09:17:05.698567"], ["updated_at", "2016-09-18 09:17:05.698567"]]
|
36771
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
36772
|
+
[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"]]
|
36773
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36774
|
+
---------------------------------------------------------------------------------------------------
|
36775
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
36776
|
+
---------------------------------------------------------------------------------------------------
|
36777
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36778
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36779
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36780
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36781
|
+
------------------------------------------------------------------------------------------------------------
|
36782
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
36783
|
+
------------------------------------------------------------------------------------------------------------
|
36784
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36785
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36786
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36787
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36788
|
+
----------------------------------------------------------------------------------------------
|
36789
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
36790
|
+
----------------------------------------------------------------------------------------------
|
36791
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36792
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36793
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36794
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36795
|
+
-----------------------------------------------------------------------------------------------------------------------
|
36796
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
36797
|
+
-----------------------------------------------------------------------------------------------------------------------
|
36798
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36799
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36800
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36801
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36802
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
36803
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
36804
|
+
------------------------------
|
36805
|
+
MaestranoRailsTest: test_truth
|
36806
|
+
------------------------------
|
36807
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
36808
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36809
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36810
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36811
|
+
----------------------------------------------------------------------------------------------------------
|
36812
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
36813
|
+
----------------------------------------------------------------------------------------------------------
|
36814
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36815
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36816
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36817
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36818
|
+
----------------------------------------------------------------------------------------------------
|
36819
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
36820
|
+
----------------------------------------------------------------------------------------------------
|
36821
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36822
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36823
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36824
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36825
|
+
---------------------------------------------------------------------------------------
|
36826
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
36827
|
+
---------------------------------------------------------------------------------------
|
36828
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36829
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36830
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36831
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36832
|
+
----------------------------------------------------------------------------------
|
36833
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
36834
|
+
----------------------------------------------------------------------------------
|
36835
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36836
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36837
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36838
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36839
|
+
----------------------------------------------------------------------------------------------------------
|
36840
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
36841
|
+
----------------------------------------------------------------------------------------------------------
|
36842
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36843
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36844
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36845
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36846
|
+
-----------------------------------------------------------------------------------------------------
|
36847
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
36848
|
+
-----------------------------------------------------------------------------------------------------
|
36849
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36850
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36851
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36852
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36853
|
+
------------------------------------------------------------------------------------------------
|
36854
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
36855
|
+
------------------------------------------------------------------------------------------------
|
36856
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36857
|
+
[1m[35m (0.1ms)[0m commit transaction
|
36858
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36859
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36860
|
+
----------------------------------------------------------------------------------------------
|
36861
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
36862
|
+
----------------------------------------------------------------------------------------------
|
36863
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36864
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36865
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36866
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
36867
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
36868
|
+
Cannot validate SAML response: Bla
|
36869
|
+
Trace: ["/home/bruno/.rvm/gems/ruby-2.1.10/gems/mocha-1.1.0/lib/mocha/exception_raiser.rb:12:in `evaluate'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/mocha-1.1.0/lib/mocha/return_values.rb:20:in `next'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/mocha-1.1.0/lib/mocha/expectation.rb:569:in `invoke'", "/home/bruno/.rvm/gems/ruby-2.1.10/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.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `call'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:291:in `block in halting_and_conditional'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `call'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:639:in `process'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/actionpack-4.2.7.1/lib/action_controller/test_case.rb:67:in `process'", "/home/bruno/.rvm/gems/ruby-2.1.10/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.1.10/gems/shoulda-context-1.2.1/lib/shoulda/context/context.rb:413:in `instance_exec'", "/home/bruno/.rvm/gems/ruby-2.1.10/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.1.10/gems/minitest-5.9.0/lib/minitest/test.rb:107:in `block (3 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest/test.rb:204:in `capture_exceptions'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest/test.rb:104:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest/test.rb:255:in `time_it'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest/test.rb:103:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest/test.rb:275:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest/test.rb:102:in `run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:799:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:322:in `run_one_method'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:310:in `block (2 levels) in run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:309:in `each'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:309:in `block in run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:348:in `on_signal'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:335:in `with_info_handler'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:308:in `run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:158:in `block in __run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:158:in `map'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:158:in `__run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:135:in `run'", "/home/bruno/.rvm/gems/ruby-2.1.10/gems/minitest-5.9.0/lib/minitest.rb:62:in `block in autorun'"]
|
36870
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
36871
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
36872
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36873
|
+
--------------------------------------------------------------------------------------------------------------------
|
36874
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
36875
|
+
--------------------------------------------------------------------------------------------------------------------
|
36876
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36877
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36878
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36879
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
36880
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
36881
|
+
Redirected to http://test.host/
|
36882
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
36883
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36884
|
+
---------------------------------------------------------------------------------
|
36885
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
36886
|
+
---------------------------------------------------------------------------------
|
36887
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36888
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36889
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36890
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
36891
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
36892
|
+
Redirected to http://test.host/
|
36893
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
36894
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36895
|
+
--------------------------------------------------------------------------------------
|
36896
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
36897
|
+
--------------------------------------------------------------------------------------
|
36898
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36899
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36900
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36901
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
36902
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
36903
|
+
Redirected to http://test.host/
|
36904
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
36905
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36906
|
+
-------------------------------------------------------------------------------
|
36907
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
36908
|
+
-------------------------------------------------------------------------------
|
36909
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36910
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36911
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36912
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
36913
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
36914
|
+
Redirected to http://test.host/
|
36915
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
36916
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36917
|
+
-------------------------------------------------------------------------------------
|
36918
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
36919
|
+
-------------------------------------------------------------------------------------
|
36920
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36921
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36922
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36923
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
36924
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
36925
|
+
Redirected to http://test.host/
|
36926
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
36927
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36928
|
+
------------------------------------------------------------------------------------------
|
36929
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
36930
|
+
------------------------------------------------------------------------------------------
|
36931
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36932
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36933
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36934
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
36935
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
36936
|
+
Redirected to http://test.host/
|
36937
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
36938
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36939
|
+
---------------------------------------------------------------------------------------------------------------------------
|
36940
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
36941
|
+
---------------------------------------------------------------------------------------------------------------------------
|
36942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36943
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36945
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
36946
|
+
Parameters: {"a_param"=>"value"}
|
36947
|
+
Redirected to http://idpprovider.com?r=request
|
36948
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
36949
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36950
|
+
-----------------------------------------------------------------------------------------------------------------------
|
36951
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
36952
|
+
-----------------------------------------------------------------------------------------------------------------------
|
36953
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36954
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36955
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36956
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
36957
|
+
Parameters: {"a_param"=>"value"}
|
36958
|
+
Redirected to http://idpprovider.com?r=request
|
36959
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
36960
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36961
|
+
-------------------------------------------------------------------
|
36962
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
36963
|
+
-------------------------------------------------------------------
|
36964
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36965
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36966
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
36967
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
36968
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
36969
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36970
|
+
-------------------------------------------------------------------
|
36971
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
36972
|
+
-------------------------------------------------------------------
|
36973
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36974
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36975
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36976
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
36977
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
36978
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
36979
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
36980
|
+
---------------------------------------------------------------------
|
36981
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
36982
|
+
---------------------------------------------------------------------
|
36983
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36984
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36985
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36986
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
36987
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
36988
|
+
Rendered text template (0.0ms)
|
36989
|
+
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
36990
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36991
|
+
---------------------------------------------------------------------
|
36992
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
36993
|
+
---------------------------------------------------------------------
|
36994
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36995
|
+
[1m[35m (0.0ms)[0m commit transaction
|
36996
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
36997
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
36998
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
36999
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
37000
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
37001
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37002
|
+
--------------------------------------------------------------------------------------------------------
|
37003
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
37004
|
+
--------------------------------------------------------------------------------------------------------
|
37005
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37006
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37007
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37008
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37009
|
+
--------------------------------------------------------------------------------------------------
|
37010
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
37011
|
+
--------------------------------------------------------------------------------------------------
|
37012
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37013
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37014
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37015
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37016
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
37017
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
37018
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
37019
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37020
|
+
[1m[35m (0.1ms)[0m commit transaction
|
37021
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37022
|
+
[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"]]
|
37023
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
37024
|
+
[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-18 09:17:30.435053"], ["updated_at", "2016-09-18 09:17:30.435053"]]
|
37025
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37026
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37027
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
37028
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
37029
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
37030
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37031
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37032
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37033
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37034
|
+
[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-18 09:17:30.437328"], ["updated_at", "2016-09-18 09:17:30.437328"]]
|
37035
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37036
|
+
[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"]]
|
37037
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37038
|
+
[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-18 09:17:30.438873"], ["updated_at", "2016-09-18 09:17:30.438873"]]
|
37039
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
37040
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
37041
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
37042
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
37043
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
37044
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37045
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37046
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37047
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
37048
|
+
[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-18 09:17:30.467749"], ["updated_at", "2016-09-18 09:17:30.467749"]]
|
37049
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37050
|
+
[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"]]
|
37051
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
37052
|
+
---------------------------------------------------------------------------------------------------
|
37053
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
37054
|
+
---------------------------------------------------------------------------------------------------
|
37055
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37056
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37057
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37058
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37059
|
+
------------------------------------------------------------------------------------------------------------
|
37060
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
37061
|
+
------------------------------------------------------------------------------------------------------------
|
37062
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37063
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37064
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37065
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37066
|
+
----------------------------------------------------------------------------------------------
|
37067
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
37068
|
+
----------------------------------------------------------------------------------------------
|
37069
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37070
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37071
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37072
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37073
|
+
-----------------------------------------------------------------------------------------------------------------------
|
37074
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
37075
|
+
-----------------------------------------------------------------------------------------------------------------------
|
37076
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37077
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37078
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37079
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37080
|
+
------------------------------------------------------------------------------------------
|
37081
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
37082
|
+
------------------------------------------------------------------------------------------
|
37083
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37084
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37085
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37086
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
37087
|
+
--------------------------------------------------------------------------------------
|
37088
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
37089
|
+
--------------------------------------------------------------------------------------
|
37090
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37091
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37092
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37093
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
37094
|
+
--------------------------------------------------------------------------------------
|
37095
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
37096
|
+
--------------------------------------------------------------------------------------
|
37097
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37098
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37099
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37100
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37101
|
+
----------------------------------------------------------------------------------
|
37102
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
37103
|
+
----------------------------------------------------------------------------------
|
37104
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37105
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37106
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37107
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37108
|
+
--------------------------------------------------------------------------------------------------------------------------
|
37109
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
37110
|
+
--------------------------------------------------------------------------------------------------------------------------
|
37111
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37112
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37113
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37114
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37115
|
+
--------------------------------------------------------------------------------------------------------------------------
|
37116
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
37117
|
+
--------------------------------------------------------------------------------------------------------------------------
|
37118
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37119
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37120
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37121
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37122
|
+
---------------------------------------------------------------------------------------------
|
37123
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
37124
|
+
---------------------------------------------------------------------------------------------
|
37125
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37126
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37127
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37128
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37129
|
+
-----------------------------------------------------------------
|
37130
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
37131
|
+
-----------------------------------------------------------------
|
37132
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37133
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37134
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37135
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
37136
|
+
Parameters: {"id"=>"cld-1"}
|
37137
|
+
Rendered text template (0.0ms)
|
37138
|
+
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
37139
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37140
|
+
-----------------------------------------------------------------
|
37141
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
37142
|
+
-----------------------------------------------------------------
|
37143
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37144
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37145
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37146
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
37147
|
+
Parameters: {"id"=>"cld-1"}
|
37148
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
37149
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
37150
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37151
|
+
---------------------------------------------------------------------------------------------------------------------
|
37152
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
37153
|
+
---------------------------------------------------------------------------------------------------------------------
|
37154
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37155
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37156
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37157
|
+
Processing by PagesController#home as HTML
|
37158
|
+
Rendered pages/home.html.erb within layouts/application (0.9ms)
|
37159
|
+
Completed 200 OK in 149ms (Views: 148.8ms | ActiveRecord: 0.0ms)
|
37160
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
37161
|
+
--------------------------------------------------------------------------------------------------------------------
|
37162
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
37163
|
+
--------------------------------------------------------------------------------------------------------------------
|
37164
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37165
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37166
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37167
|
+
Processing by PagesController#home as HTML
|
37168
|
+
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
37169
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
37170
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
37171
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37172
|
+
-----------------------------------------------------------------------------------------------------------
|
37173
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
37174
|
+
-----------------------------------------------------------------------------------------------------------
|
37175
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37176
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37177
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37178
|
+
Processing by PagesController#home as HTML
|
37179
|
+
Rendered pages/home.html.erb within layouts/application (0.1ms)
|
37180
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
37181
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37182
|
+
------------------------------------------------------------------------------
|
37183
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
37184
|
+
------------------------------------------------------------------------------
|
37185
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37186
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37187
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37188
|
+
Processing by PagesController#home as HTML
|
37189
|
+
Rendered pages/home.html.erb within layouts/application (0.0ms)
|
37190
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
37191
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37192
|
+
-------------------------------------------------------------------------------------------
|
37193
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
37194
|
+
-------------------------------------------------------------------------------------------
|
37195
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37196
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37197
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37198
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37199
|
+
---------------------------------------------------------------------------------------
|
37200
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
37201
|
+
---------------------------------------------------------------------------------------
|
37202
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37203
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37204
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37205
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37206
|
+
---------------------------------------------------------------------------------------
|
37207
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
37208
|
+
---------------------------------------------------------------------------------------
|
37209
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37210
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37211
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37212
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
37213
|
+
-----------------------------------------------------------------------------------
|
37214
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
37215
|
+
-----------------------------------------------------------------------------------
|
37216
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37217
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37218
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37219
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37220
|
+
---------------------------------------------------------------------------------------------------------------------------
|
37221
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
37222
|
+
---------------------------------------------------------------------------------------------------------------------------
|
37223
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37224
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37225
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37226
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37227
|
+
---------------------------------------------------------------------------------------------------------------------------
|
37228
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
37229
|
+
---------------------------------------------------------------------------------------------------------------------------
|
37230
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37231
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37232
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37233
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
37234
|
+
----------------------------------------------------------------------------------------------
|
37235
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
37236
|
+
----------------------------------------------------------------------------------------------
|
37237
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37238
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37239
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37240
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
37241
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
37242
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
37243
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
37244
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37245
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37246
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37247
|
+
[1m[36mMnoCrew Load (0.2ms)[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"]]
|
37248
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37249
|
+
[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-18 09:17:30.688456"], ["updated_at", "2016-09-18 09:17:30.688456"]]
|
37250
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37251
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
37252
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
37253
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
37254
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
37255
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37256
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37257
|
+
[1m[35m (0.0ms)[0m begin transaction
|
37258
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
37259
|
+
[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-18 09:17:30.690437"], ["updated_at", "2016-09-18 09:17:30.690437"]]
|
37260
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37261
|
+
[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"]]
|
37262
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
37263
|
+
[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-18 09:17:30.691789"], ["updated_at", "2016-09-18 09:17:30.691789"]]
|
37264
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37265
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37266
|
+
------------------------------------------------------------------------------------------------------------------------------
|
37267
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
37268
|
+
------------------------------------------------------------------------------------------------------------------------------
|
37269
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37270
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37271
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37272
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37273
|
+
[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-18 09:17:30.693124"], ["updated_at", "2016-09-18 09:17:30.693124"]]
|
37274
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37275
|
+
[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"]]
|
37276
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
37277
|
+
----------------------------------------------------------------------------------------------------
|
37278
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
37279
|
+
----------------------------------------------------------------------------------------------------
|
37280
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37281
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37283
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37284
|
+
-------------------------------------------------------------------------------------------------------------
|
37285
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
37286
|
+
-------------------------------------------------------------------------------------------------------------
|
37287
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37288
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37289
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37290
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37291
|
+
-----------------------------------------------------------------------------------------------
|
37292
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
37293
|
+
-----------------------------------------------------------------------------------------------
|
37294
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37295
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37296
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37297
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
37298
|
+
------------------------------------------------------------------------------------------------------------------------
|
37299
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
37300
|
+
------------------------------------------------------------------------------------------------------------------------
|
37301
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37302
|
+
[1m[35m (0.0ms)[0m commit transaction
|
37303
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37304
|
+
[1m[35m (0.0ms)[0m rollback transaction
|