kadmin 0.5.7 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65844b5c04ecc6e3703875821972372211a66a22
4
- data.tar.gz: 3e331be01c31c84d4f96050f603c4a0e99a5f103
3
+ metadata.gz: 81ae852265620e0452a89cb6c760da9a7bb1477a
4
+ data.tar.gz: 9e1c2f12f906585e034efa2edd6ccb777aae24fd
5
5
  SHA512:
6
- metadata.gz: 6f8093eac2dd9cf2a5baf66177e5c16c1f2f95b44da613fff79ac3c51aa9a0fb1af1713c7e58f9426505b60771e73d13effccb7ea1c0e8af8513d1b3d528fdae
7
- data.tar.gz: 6fffa8579da263f8238cba36bc656b97dee8da265656b710517f14acb6b5f500c344eb31d852d0e2388e2a2762d75e573c1db235c0c168fbb4d6fd1c27f37efe
6
+ metadata.gz: 866c08f52a6699221fc39bec77d0fa2bec2ef29063bfa2716e73f3e3da644c4861912133edff3b0905f5786e60fde8040210aa7abff16579f80ae535ce88b771
7
+ data.tar.gz: e027ef27cb46544b1972f49ad490e64f2ed99029975fcf8460ace946e8e53d962705a4823e8fa49bec9ab910de6def08efedf7caa29328810b422cb715638b83
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Kadmin
2
2
 
3
- [![GitHub release](https://img.shields.io/badge/release-0.5.7-blue.png)](https://github.com/barcoo/kadmin/releases/tag/0.5.7)
3
+ [![GitHub release](https://img.shields.io/badge/release-0.6.1-blue.png)](https://github.com/barcoo/kadmin/releases/tag/0.6.1)
4
4
 
5
5
  Collection of utility, configuration, etc., for admin areas in different projects.
6
6
  Theme based on [Modular Admin](https://github.com/modularcode/modular-admin-html)
@@ -1,3 +1,3 @@
1
1
  module Kadmin
2
- VERSION = '0.5.7'.freeze
2
+ VERSION = '0.6.1'.freeze
3
3
  end
@@ -27,7 +27,7 @@ module Kadmin
27
27
  end
28
28
 
29
29
  def test_save
30
- post :save, provider: Kadmin::Auth.omniauth_provider
30
+ post :save, params: { provider: Kadmin::Auth.omniauth_provider }
31
31
  assert_redirected_to auth_login_path
32
32
  assert_not_nil flash.alert # it doesn't matter too much what we wrote, just that we do notify the user
33
33
 
@@ -37,20 +37,20 @@ module Kadmin
37
37
  flexmock(Kadmin::Auth.users).should_receive(:exists?).with(existent).and_return(true)
38
38
 
39
39
  @request.env['omniauth.auth'] = { 'info' => { 'email' => nonexistent } }
40
- post :save, provider: Kadmin::Auth.omniauth_provider
40
+ post :save, params: { provider: Kadmin::Auth.omniauth_provider }
41
41
  assert_redirected_to auth_login_path
42
42
  assert_not_nil flash.alert
43
43
 
44
44
  @request.env['omniauth.origin'] = dash_path
45
45
  @request.env['omniauth.auth'] = { 'info' => { 'email' => existent } }
46
- post :save, provider: Kadmin::Auth.omniauth_provider
46
+ post :save, params: { provider: Kadmin::Auth.omniauth_provider }
47
47
  assert_redirected_to dash_path
48
48
  assert_equal existent, session[Kadmin::AuthController::SESSION_KEY]
49
49
  end
50
50
 
51
51
  def test_failure
52
52
  @request.env['omniauth.origin'] = 'origin'
53
- get :failure, message: 'failed'
53
+ get :failure, params: { message: 'failed' }
54
54
  assert_redirected_to auth_login_path(origin: 'origin')
55
55
  assert_equal 'failed', flash.alert
56
56
  end
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+ class ApplicationRecord < ActiveRecord::Base
3
+ self.abstract_class = true
4
+ end
@@ -1,4 +1,4 @@
1
- class Group < ActiveRecord::Base
1
+ class Group < ApplicationRecord
2
2
  has_many :group_people, dependent: :destroy, autosave: true
3
3
  has_many :people, through: :group_people
4
4
  belongs_to :owner, class_name: 'Person', required: false, validate: true
@@ -1,4 +1,4 @@
1
- class GroupPerson < ActiveRecord::Base
1
+ class GroupPerson < ApplicationRecord
2
2
  belongs_to :group
3
3
  belongs_to :person
4
4
 
@@ -1,4 +1,4 @@
1
- class Person < ActiveRecord::Base
1
+ class Person < ApplicationRecord
2
2
  has_many :group_people, dependent: :destroy, autosave: true
3
3
  has_many :groups, through: :group_people, validate: true
4
4
  has_many :owned_groups, class_name: 'Group', foreign_key: 'owner_id', dependent: :nullify, autosave: true
@@ -30,9 +30,6 @@ module Dummy
30
30
  # Enable assets pipeline
31
31
  config.assets.enabled = true
32
32
 
33
- # Do not swallow errors in after_commit/after_rollback callbacks.
34
- config.active_record.raise_in_transactional_callbacks = true
35
-
36
33
  config.autoload_paths += %W(#{config.root}/lib)
37
34
  config.autoload_paths += Dir.glob("#{config.root}/../../lib/**/*").select { |f| File.directory?(f) }
38
35
 
@@ -13,8 +13,8 @@ Rails.application.configure do
13
13
  config.eager_load = false
14
14
 
15
15
  # Configure static file server for tests with Cache-Control for performance.
16
- config.serve_static_files = true
17
- config.static_cache_control = 'public, max-age=3600'
16
+ config.public_file_server.enabled = true
17
+ config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
18
18
 
19
19
  # Show full error reports and disable caching.
20
20
  config.consider_all_requests_local = true
@@ -3519,3 +3519,880 @@ Redirected to http://test.host/admin/auth/unauthorized
3519
3519
  Filter chain halted as :authorize rendered or redirected
3520
3520
  Completed 302 Found in 3ms (Views: 1.1ms | ActiveRecord: 0.0ms)
3521
3521
   (0.0ms) rollback transaction
3522
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
3523
+  (0.1ms) begin transaction
3524
+ ---------------------------------------
3525
+ Kadmin::AuthControllerTest: test_logout
3526
+ ---------------------------------------
3527
+ Processing by Kadmin::AuthController#logout as HTML
3528
+ Redirected to http://test.host/admin/auth/login
3529
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
3530
+  (0.1ms) rollback transaction
3531
+  (0.0ms) begin transaction
3532
+ -------------------------------------
3533
+ Kadmin::AuthControllerTest: test_save
3534
+ -------------------------------------
3535
+ Processing by Kadmin::AuthController#save as HTML
3536
+ Parameters: {"provider"=>"developer"}
3537
+ No authorization hash provided
3538
+ Redirected to http://test.host/admin/auth/login
3539
+ Completed 302 Found in 15ms (ActiveRecord: 0.0ms)
3540
+ Processing by Kadmin::AuthController#save as HTML
3541
+ Parameters: {"provider"=>"developer"}
3542
+ Redirected to http://test.host/admin/auth/login
3543
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3544
+ Processing by Kadmin::AuthController#save as HTML
3545
+ Parameters: {"provider"=>"developer"}
3546
+ Redirected to http://test.host/admin/
3547
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3548
+  (0.1ms) rollback transaction
3549
+  (0.1ms) begin transaction
3550
+ ----------------------------------------
3551
+ Kadmin::AuthControllerTest: test_failure
3552
+ ----------------------------------------
3553
+ Processing by Kadmin::AuthController#failure as HTML
3554
+ Parameters: {"message"=>"failed"}
3555
+ Redirected to http://test.host/admin/auth/login?origin=origin
3556
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3557
+  (0.0ms) rollback transaction
3558
+  (0.0ms) begin transaction
3559
+ --------------------------------------
3560
+ Kadmin::AuthControllerTest: test_login
3561
+ --------------------------------------
3562
+ Processing by Kadmin::AuthController#login as HTML
3563
+ Rendering /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/auth/login.html.erb within layouts/kadmin/application
3564
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/auth/login.html.erb within layouts/kadmin/application (1.7ms)
3565
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/helpers/_alerts.html.erb (0.4ms)
3566
+ Completed 200 OK in 35ms (Views: 34.4ms | ActiveRecord: 0.0ms)
3567
+  (0.1ms) rollback transaction
3568
+  (0.0ms) begin transaction
3569
+ -------------------------------------------------------
3570
+ Kadmin::Navbar::Link::PresenterTest: test_render_active
3571
+ -------------------------------------------------------
3572
+  (0.0ms) rollback transaction
3573
+  (0.0ms) begin transaction
3574
+ ------------------------------------------------
3575
+ Kadmin::Navbar::Link::PresenterTest: test_render
3576
+ ------------------------------------------------
3577
+  (0.0ms) rollback transaction
3578
+  (0.0ms) begin transaction
3579
+ -------------------------------
3580
+ Kadmin::FinderTest: test_filter
3581
+ -------------------------------
3582
+  (0.0ms) SAVEPOINT active_record_1
3583
+ SQL (0.8ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:43:52 UTC], ["updated_at", 2016-12-14 09:43:52 UTC]]
3584
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3585
+  (0.0ms) SAVEPOINT active_record_1
3586
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:43:52 UTC], ["updated_at", 2016-12-14 09:43:52 UTC]]
3587
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3588
+ Person Load (0.1ms) SELECT "people".* FROM "people" WHERE (`people`.`first_name` LIKE '%John%' OR `people`.`last_name` LIKE '%John%')
3589
+ Person Load (0.1ms) SELECT "people".* FROM "people" WHERE (`people`.`first_name` LIKE '%John%' OR `people`.`last_name` LIKE '%John%') AND (`people`.`first_name` LIKE '%Jane%' OR `people`.`last_name` LIKE '%Jane%')
3590
+  (0.7ms) rollback transaction
3591
+  (0.0ms) begin transaction
3592
+ ---------------------------------
3593
+ Kadmin::FinderTest: test_paginate
3594
+ ---------------------------------
3595
+  (0.0ms) SAVEPOINT active_record_1
3596
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:43:52 UTC], ["updated_at", 2016-12-14 09:43:52 UTC]]
3597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3598
+  (0.0ms) SAVEPOINT active_record_1
3599
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:43:52 UTC], ["updated_at", 2016-12-14 09:43:52 UTC]]
3600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3601
+  (0.6ms) rollback transaction
3602
+  (0.1ms) begin transaction
3603
+ ------------------------------
3604
+ Kadmin::FinderTest: test_find!
3605
+ ------------------------------
3606
+  (0.0ms) SAVEPOINT active_record_1
3607
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:43:52 UTC], ["updated_at", 2016-12-14 09:43:52 UTC]]
3608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3609
+  (0.0ms) SAVEPOINT active_record_1
3610
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:43:52 UTC], ["updated_at", 2016-12-14 09:43:52 UTC]]
3611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3612
+ Person Load (0.1ms) SELECT "people".* FROM "people"
3613
+  (0.0ms) SELECT COUNT(*) FROM "people"
3614
+ Person Load (0.1ms) SELECT "people".* FROM "people" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
3615
+  (0.7ms) rollback transaction
3616
+  (0.0ms) begin transaction
3617
+ --------------------------------
3618
+ Kadmin::FinderTest: test_results
3619
+ --------------------------------
3620
+  (0.0ms) SAVEPOINT active_record_1
3621
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:43:52 UTC], ["updated_at", 2016-12-14 09:43:52 UTC]]
3622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3623
+  (0.0ms) SAVEPOINT active_record_1
3624
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:43:52 UTC], ["updated_at", 2016-12-14 09:43:52 UTC]]
3625
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3626
+ Person Load (0.1ms) SELECT "people".* FROM "people"
3627
+  (0.1ms) SELECT COUNT(*) FROM "people"
3628
+ Person Load (0.0ms) SELECT "people".* FROM "people" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
3629
+ Person Load (0.2ms) SELECT "people".* FROM "people" ORDER BY "people"."id" DESC LIMIT ? [["LIMIT", 1]]
3630
+  (0.6ms) rollback transaction
3631
+  (0.0ms) begin transaction
3632
+ -----------------------------------------------------
3633
+ Kadmin::Concerns::AuthorizedUserTest: test_logged_in?
3634
+ -----------------------------------------------------
3635
+  (0.0ms) rollback transaction
3636
+  (0.0ms) begin transaction
3637
+ ------------------------------------------------------
3638
+ Kadmin::Concerns::AuthorizedUserTest: test_authorized?
3639
+ ------------------------------------------------------
3640
+  (0.0ms) rollback transaction
3641
+  (0.0ms) begin transaction
3642
+ ----------------------------------------------------------
3643
+ Kadmin::Concerns::AuthorizedUserTest: test_authorized_user
3644
+ ----------------------------------------------------------
3645
+  (0.0ms) rollback transaction
3646
+  (0.0ms) begin transaction
3647
+ ----------------------------------------------------
3648
+ Kadmin::Concerns::AuthorizedUserTest: test_authorize
3649
+ ----------------------------------------------------
3650
+ Processing by AuthorizedController#index as HTML
3651
+ Rendering authorized/index.html.erb within layouts/application
3652
+ Rendered authorized/index.html.erb within layouts/application (0.4ms)
3653
+ Completed 200 OK in 28ms (Views: 12.9ms | ActiveRecord: 0.0ms)
3654
+  (0.1ms) rollback transaction
3655
+  (0.0ms) begin transaction
3656
+ -------------------------------------------------------
3657
+ Kadmin::Concerns::AuthorizedUserTest: test_current_user
3658
+ -------------------------------------------------------
3659
+  (0.0ms) rollback transaction
3660
+  (0.0ms) begin transaction
3661
+ -------------------------------------
3662
+ Kadmin::PagerTest: test_current_page?
3663
+ -------------------------------------
3664
+  (0.0ms) rollback transaction
3665
+  (0.0ms) begin transaction
3666
+ --------------------------------------
3667
+ Kadmin::PagerTest: test_initialization
3668
+ --------------------------------------
3669
+  (0.0ms) rollback transaction
3670
+  (0.0ms) begin transaction
3671
+ ----------------------------------
3672
+ Kadmin::PagerTest: test_next_page?
3673
+ ----------------------------------
3674
+  (0.0ms) rollback transaction
3675
+  (0.0ms) begin transaction
3676
+ --------------------------------------
3677
+ Kadmin::PagerTest: test_previous_page?
3678
+ --------------------------------------
3679
+  (0.0ms) rollback transaction
3680
+  (0.0ms) begin transaction
3681
+ ---------------------------------
3682
+ Kadmin::PagerTest: test_page_size
3683
+ ---------------------------------
3684
+  (0.0ms) rollback transaction
3685
+  (0.0ms) begin transaction
3686
+ --------------------------------
3687
+ Kadmin::PagerTest: test_paginate
3688
+ --------------------------------
3689
+  (0.0ms) SAVEPOINT active_record_1
3690
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:43:52 UTC], ["updated_at", 2016-12-14 09:43:52 UTC]]
3691
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3692
+  (0.0ms) SAVEPOINT active_record_1
3693
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:43:52 UTC], ["updated_at", 2016-12-14 09:43:52 UTC]]
3694
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3695
+  (0.0ms) SELECT COUNT(*) FROM "people"
3696
+  (0.7ms) rollback transaction
3697
+  (0.0ms) begin transaction
3698
+ ------------------------------
3699
+ Kadmin::PagerTest: test_total=
3700
+ ------------------------------
3701
+  (0.0ms) rollback transaction
3702
+  (0.0ms) begin transaction
3703
+ ---------------------------------
3704
+ Kadmin::PagerTest: test_offset_at
3705
+ ---------------------------------
3706
+  (0.0ms) rollback transaction
3707
+  (0.0ms) begin transaction
3708
+ ---------------------------------
3709
+ Kadmin::PagerTest: test_contains?
3710
+ ---------------------------------
3711
+  (0.0ms) rollback transaction
3712
+  (0.0ms) begin transaction
3713
+ ---------------------------------------------------
3714
+ Kadmin::Navbar::Section::PresenterTest: test_render
3715
+ ---------------------------------------------------
3716
+  (0.1ms) rollback transaction
3717
+  (0.0ms) begin transaction
3718
+ --------------------------------------------------------
3719
+ Kadmin::Navbar::Section::PresenterTest: test_render_open
3720
+ --------------------------------------------------------
3721
+  (0.3ms) rollback transaction
3722
+  (0.0ms) begin transaction
3723
+ ---------------------------------
3724
+ Kadmin::FormTest: test_initialize
3725
+ ---------------------------------
3726
+  (0.0ms) SAVEPOINT active_record_1
3727
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "first"], ["last_name", "last"], ["gender", "m"], ["date_of_birth", Sun, 14 Dec 2014], ["created_at", 2016-12-14 09:43:52 UTC], ["updated_at", 2016-12-14 09:43:52 UTC]]
3728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3729
+  (0.8ms) rollback transaction
3730
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3731
+  (0.1ms) begin transaction
3732
+ ---------------------------------
3733
+ Kadmin::FormTest: test_initialize
3734
+ ---------------------------------
3735
+  (0.0ms) SAVEPOINT active_record_1
3736
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "first"], ["last_name", "last"], ["gender", "m"], ["date_of_birth", Sun, 14 Dec 2014], ["created_at", 2016-12-14 09:44:29 UTC], ["updated_at", 2016-12-14 09:44:29 UTC]]
3737
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3738
+  (25.5ms) rollback transaction
3739
+  (0.1ms) begin transaction
3740
+ ---------------------------------------
3741
+ Kadmin::AuthControllerTest: test_logout
3742
+ ---------------------------------------
3743
+ Processing by Kadmin::AuthController#logout as HTML
3744
+ Redirected to http://test.host/admin/auth/login
3745
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
3746
+  (0.1ms) rollback transaction
3747
+  (0.0ms) begin transaction
3748
+ -------------------------------------
3749
+ Kadmin::AuthControllerTest: test_save
3750
+ -------------------------------------
3751
+ Processing by Kadmin::AuthController#save as HTML
3752
+ Parameters: {"provider"=>"developer"}
3753
+ No authorization hash provided
3754
+ Redirected to http://test.host/admin/auth/login
3755
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
3756
+ Processing by Kadmin::AuthController#save as HTML
3757
+ Parameters: {"provider"=>"developer"}
3758
+ Redirected to http://test.host/admin/auth/login
3759
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3760
+ Processing by Kadmin::AuthController#save as HTML
3761
+ Parameters: {"provider"=>"developer"}
3762
+ Redirected to http://test.host/admin/
3763
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3764
+  (0.0ms) rollback transaction
3765
+  (0.0ms) begin transaction
3766
+ --------------------------------------
3767
+ Kadmin::AuthControllerTest: test_login
3768
+ --------------------------------------
3769
+ Processing by Kadmin::AuthController#login as HTML
3770
+ Rendering /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/auth/login.html.erb within layouts/kadmin/application
3771
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/auth/login.html.erb within layouts/kadmin/application (1.5ms)
3772
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/helpers/_alerts.html.erb (0.3ms)
3773
+ Completed 200 OK in 12ms (Views: 11.9ms | ActiveRecord: 0.0ms)
3774
+ Processing by Kadmin::AuthController#login as HTML
3775
+ Redirected to http://test.host/admin/
3776
+ Completed 302 Found in 1ms (Views: 11.9ms | ActiveRecord: 0.0ms)
3777
+  (0.1ms) rollback transaction
3778
+  (0.1ms) begin transaction
3779
+ ----------------------------------------
3780
+ Kadmin::AuthControllerTest: test_failure
3781
+ ----------------------------------------
3782
+ Processing by Kadmin::AuthController#failure as HTML
3783
+ Parameters: {"message"=>"failed"}
3784
+ Redirected to http://test.host/admin/auth/login?origin=origin
3785
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3786
+  (0.0ms) rollback transaction
3787
+  (0.0ms) begin transaction
3788
+ --------------------------------------------------------
3789
+ Kadmin::Navbar::Section::PresenterTest: test_render_open
3790
+ --------------------------------------------------------
3791
+  (0.0ms) rollback transaction
3792
+  (0.0ms) begin transaction
3793
+ ---------------------------------------------------
3794
+ Kadmin::Navbar::Section::PresenterTest: test_render
3795
+ ---------------------------------------------------
3796
+  (0.1ms) rollback transaction
3797
+  (0.0ms) begin transaction
3798
+ ------------------------------------------------------
3799
+ Kadmin::Concerns::AuthorizedUserTest: test_authorized?
3800
+ ------------------------------------------------------
3801
+  (0.0ms) rollback transaction
3802
+  (0.0ms) begin transaction
3803
+ ----------------------------------------------------------
3804
+ Kadmin::Concerns::AuthorizedUserTest: test_authorized_user
3805
+ ----------------------------------------------------------
3806
+  (0.0ms) rollback transaction
3807
+  (0.0ms) begin transaction
3808
+ ----------------------------------------------------
3809
+ Kadmin::Concerns::AuthorizedUserTest: test_authorize
3810
+ ----------------------------------------------------
3811
+ Processing by AuthorizedController#index as HTML
3812
+ Rendering authorized/index.html.erb within layouts/application
3813
+ Rendered authorized/index.html.erb within layouts/application (0.3ms)
3814
+ Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms)
3815
+ Processing by AuthorizedController#index as HTML
3816
+ Redirected to http://test.host/admin/auth/login?origin=%2Fauthorized
3817
+ Filter chain halted as :authorize rendered or redirected
3818
+ Completed 302 Found in 0ms (Views: 3.6ms | ActiveRecord: 0.0ms)
3819
+ Processing by AuthorizedController#index as HTML
3820
+ Rendering authorized/index.html.erb within layouts/application
3821
+ Rendered authorized/index.html.erb within layouts/application (0.0ms)
3822
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
3823
+ Processing by AuthorizedController#index as HTML
3824
+ Redirected to http://test.host/admin/auth/unauthorized
3825
+ Filter chain halted as :authorize rendered or redirected
3826
+ Completed 302 Found in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
3827
+  (0.1ms) rollback transaction
3828
+  (0.0ms) begin transaction
3829
+ -----------------------------------------------------
3830
+ Kadmin::Concerns::AuthorizedUserTest: test_logged_in?
3831
+ -----------------------------------------------------
3832
+  (0.0ms) rollback transaction
3833
+  (0.0ms) begin transaction
3834
+ -------------------------------------------------------
3835
+ Kadmin::Concerns::AuthorizedUserTest: test_current_user
3836
+ -------------------------------------------------------
3837
+  (0.0ms) rollback transaction
3838
+  (0.0ms) begin transaction
3839
+ ---------------------------------
3840
+ Kadmin::FinderTest: test_paginate
3841
+ ---------------------------------
3842
+  (0.0ms) SAVEPOINT active_record_1
3843
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:44:29 UTC], ["updated_at", 2016-12-14 09:44:29 UTC]]
3844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3845
+  (0.0ms) SAVEPOINT active_record_1
3846
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:44:29 UTC], ["updated_at", 2016-12-14 09:44:29 UTC]]
3847
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3848
+  (23.7ms) rollback transaction
3849
+  (0.1ms) begin transaction
3850
+ ------------------------------
3851
+ Kadmin::FinderTest: test_find!
3852
+ ------------------------------
3853
+  (0.1ms) SAVEPOINT active_record_1
3854
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:44:29 UTC], ["updated_at", 2016-12-14 09:44:29 UTC]]
3855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3856
+  (0.0ms) SAVEPOINT active_record_1
3857
+ SQL (0.4ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:44:29 UTC], ["updated_at", 2016-12-14 09:44:29 UTC]]
3858
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3859
+ Person Load (0.1ms) SELECT "people".* FROM "people"
3860
+  (0.1ms) SELECT COUNT(*) FROM "people"
3861
+ Person Load (0.1ms) SELECT "people".* FROM "people" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
3862
+  (0.7ms) rollback transaction
3863
+  (0.0ms) begin transaction
3864
+ -------------------------------
3865
+ Kadmin::FinderTest: test_filter
3866
+ -------------------------------
3867
+  (0.0ms) SAVEPOINT active_record_1
3868
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:44:29 UTC], ["updated_at", 2016-12-14 09:44:29 UTC]]
3869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3870
+  (0.0ms) SAVEPOINT active_record_1
3871
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:44:29 UTC], ["updated_at", 2016-12-14 09:44:29 UTC]]
3872
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3873
+ Person Load (0.1ms) SELECT "people".* FROM "people" WHERE (`people`.`first_name` LIKE '%John%' OR `people`.`last_name` LIKE '%John%')
3874
+ Person Load (0.1ms) SELECT "people".* FROM "people" WHERE (`people`.`first_name` LIKE '%John%' OR `people`.`last_name` LIKE '%John%') AND (`people`.`first_name` LIKE '%Jane%' OR `people`.`last_name` LIKE '%Jane%')
3875
+  (0.6ms) rollback transaction
3876
+  (0.0ms) begin transaction
3877
+ --------------------------------
3878
+ Kadmin::FinderTest: test_results
3879
+ --------------------------------
3880
+  (0.0ms) SAVEPOINT active_record_1
3881
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:44:29 UTC], ["updated_at", 2016-12-14 09:44:29 UTC]]
3882
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3883
+  (0.0ms) SAVEPOINT active_record_1
3884
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:44:29 UTC], ["updated_at", 2016-12-14 09:44:29 UTC]]
3885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3886
+ Person Load (0.0ms) SELECT "people".* FROM "people"
3887
+  (0.0ms) SELECT COUNT(*) FROM "people"
3888
+ Person Load (0.1ms) SELECT "people".* FROM "people" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
3889
+ Person Load (0.1ms) SELECT "people".* FROM "people" ORDER BY "people"."id" DESC LIMIT ? [["LIMIT", 1]]
3890
+  (0.6ms) rollback transaction
3891
+  (0.0ms) begin transaction
3892
+ -------------------------------------------------------
3893
+ Kadmin::Navbar::Link::PresenterTest: test_render_active
3894
+ -------------------------------------------------------
3895
+  (0.0ms) rollback transaction
3896
+  (0.1ms) begin transaction
3897
+ ------------------------------------------------
3898
+ Kadmin::Navbar::Link::PresenterTest: test_render
3899
+ ------------------------------------------------
3900
+  (0.0ms) rollback transaction
3901
+  (0.0ms) begin transaction
3902
+ --------------------------------
3903
+ Kadmin::PagerTest: test_paginate
3904
+ --------------------------------
3905
+  (0.0ms) SAVEPOINT active_record_1
3906
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:44:29 UTC], ["updated_at", 2016-12-14 09:44:29 UTC]]
3907
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3908
+  (0.0ms) SAVEPOINT active_record_1
3909
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:44:29 UTC], ["updated_at", 2016-12-14 09:44:29 UTC]]
3910
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3911
+  (0.0ms) SELECT COUNT(*) FROM "people"
3912
+  (0.6ms) rollback transaction
3913
+  (0.0ms) begin transaction
3914
+ --------------------------------------
3915
+ Kadmin::PagerTest: test_initialization
3916
+ --------------------------------------
3917
+  (0.0ms) rollback transaction
3918
+  (0.0ms) begin transaction
3919
+ ------------------------------
3920
+ Kadmin::PagerTest: test_total=
3921
+ ------------------------------
3922
+  (0.0ms) rollback transaction
3923
+  (0.0ms) begin transaction
3924
+ ---------------------------------
3925
+ Kadmin::PagerTest: test_offset_at
3926
+ ---------------------------------
3927
+  (0.0ms) rollback transaction
3928
+  (0.0ms) begin transaction
3929
+ ----------------------------------
3930
+ Kadmin::PagerTest: test_next_page?
3931
+ ----------------------------------
3932
+  (0.0ms) rollback transaction
3933
+  (0.0ms) begin transaction
3934
+ ---------------------------------
3935
+ Kadmin::PagerTest: test_contains?
3936
+ ---------------------------------
3937
+  (0.0ms) rollback transaction
3938
+  (0.1ms) begin transaction
3939
+ -------------------------------------
3940
+ Kadmin::PagerTest: test_current_page?
3941
+ -------------------------------------
3942
+  (0.0ms) rollback transaction
3943
+  (0.0ms) begin transaction
3944
+ --------------------------------------
3945
+ Kadmin::PagerTest: test_previous_page?
3946
+ --------------------------------------
3947
+  (0.0ms) rollback transaction
3948
+  (0.0ms) begin transaction
3949
+ ---------------------------------
3950
+ Kadmin::PagerTest: test_page_size
3951
+ ---------------------------------
3952
+  (0.0ms) rollback transaction
3953
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
3954
+  (0.1ms) begin transaction
3955
+ ---------------------------------------------------
3956
+ Kadmin::Navbar::Section::PresenterTest: test_render
3957
+ ---------------------------------------------------
3958
+  (0.1ms) rollback transaction
3959
+  (0.1ms) begin transaction
3960
+ --------------------------------------------------------
3961
+ Kadmin::Navbar::Section::PresenterTest: test_render_open
3962
+ --------------------------------------------------------
3963
+  (0.0ms) rollback transaction
3964
+  (0.0ms) begin transaction
3965
+ -------------------------------------
3966
+ Kadmin::AuthControllerTest: test_save
3967
+ -------------------------------------
3968
+ Processing by Kadmin::AuthController#save as HTML
3969
+ Parameters: {"provider"=>"developer"}
3970
+ No authorization hash provided
3971
+ Redirected to http://test.host/admin/auth/login
3972
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
3973
+ Processing by Kadmin::AuthController#save as HTML
3974
+ Parameters: {"provider"=>"developer"}
3975
+ Redirected to http://test.host/admin/auth/login
3976
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3977
+ Processing by Kadmin::AuthController#save as HTML
3978
+ Parameters: {"provider"=>"developer"}
3979
+ Redirected to http://test.host/admin/
3980
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3981
+  (0.1ms) rollback transaction
3982
+  (0.0ms) begin transaction
3983
+ ---------------------------------------
3984
+ Kadmin::AuthControllerTest: test_logout
3985
+ ---------------------------------------
3986
+ Processing by Kadmin::AuthController#logout as HTML
3987
+ Redirected to http://test.host/admin/auth/login
3988
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3989
+  (0.0ms) rollback transaction
3990
+  (0.0ms) begin transaction
3991
+ --------------------------------------
3992
+ Kadmin::AuthControllerTest: test_login
3993
+ --------------------------------------
3994
+ Processing by Kadmin::AuthController#login as HTML
3995
+ Rendering /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/auth/login.html.erb within layouts/kadmin/application
3996
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/auth/login.html.erb within layouts/kadmin/application (1.5ms)
3997
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/helpers/_alerts.html.erb (0.4ms)
3998
+ Completed 200 OK in 11ms (Views: 10.9ms | ActiveRecord: 0.0ms)
3999
+ Processing by Kadmin::AuthController#login as HTML
4000
+ Redirected to http://test.host/admin/
4001
+ Completed 302 Found in 0ms (Views: 10.9ms | ActiveRecord: 0.0ms)
4002
+  (0.1ms) rollback transaction
4003
+  (0.0ms) begin transaction
4004
+ ----------------------------------------
4005
+ Kadmin::AuthControllerTest: test_failure
4006
+ ----------------------------------------
4007
+ Processing by Kadmin::AuthController#failure as HTML
4008
+ Parameters: {"message"=>"failed"}
4009
+ Redirected to http://test.host/admin/auth/login?origin=origin
4010
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
4011
+  (0.0ms) rollback transaction
4012
+  (0.0ms) begin transaction
4013
+ ---------------------------------
4014
+ Kadmin::FinderTest: test_paginate
4015
+ ---------------------------------
4016
+  (0.1ms) SAVEPOINT active_record_1
4017
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:47:09 UTC], ["updated_at", 2016-12-14 09:47:09 UTC]]
4018
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4019
+  (0.0ms) SAVEPOINT active_record_1
4020
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:47:09 UTC], ["updated_at", 2016-12-14 09:47:09 UTC]]
4021
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4022
+  (19.8ms) rollback transaction
4023
+  (0.1ms) begin transaction
4024
+ --------------------------------
4025
+ Kadmin::FinderTest: test_results
4026
+ --------------------------------
4027
+  (0.0ms) SAVEPOINT active_record_1
4028
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:47:09 UTC], ["updated_at", 2016-12-14 09:47:09 UTC]]
4029
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4030
+  (0.0ms) SAVEPOINT active_record_1
4031
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:47:09 UTC], ["updated_at", 2016-12-14 09:47:09 UTC]]
4032
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4033
+ Person Load (0.1ms) SELECT "people".* FROM "people"
4034
+  (0.0ms) SELECT COUNT(*) FROM "people"
4035
+ Person Load (0.1ms) SELECT "people".* FROM "people" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
4036
+ Person Load (0.1ms) SELECT "people".* FROM "people" ORDER BY "people"."id" DESC LIMIT ? [["LIMIT", 1]]
4037
+  (0.7ms) rollback transaction
4038
+  (0.0ms) begin transaction
4039
+ ------------------------------
4040
+ Kadmin::FinderTest: test_find!
4041
+ ------------------------------
4042
+  (0.0ms) SAVEPOINT active_record_1
4043
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:47:09 UTC], ["updated_at", 2016-12-14 09:47:09 UTC]]
4044
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4045
+  (0.0ms) SAVEPOINT active_record_1
4046
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:47:09 UTC], ["updated_at", 2016-12-14 09:47:09 UTC]]
4047
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4048
+ Person Load (0.0ms) SELECT "people".* FROM "people"
4049
+  (0.0ms) SELECT COUNT(*) FROM "people"
4050
+ Person Load (0.0ms) SELECT "people".* FROM "people" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
4051
+  (0.6ms) rollback transaction
4052
+  (0.0ms) begin transaction
4053
+ -------------------------------
4054
+ Kadmin::FinderTest: test_filter
4055
+ -------------------------------
4056
+  (0.0ms) SAVEPOINT active_record_1
4057
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:47:09 UTC], ["updated_at", 2016-12-14 09:47:09 UTC]]
4058
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4059
+  (0.0ms) SAVEPOINT active_record_1
4060
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:47:09 UTC], ["updated_at", 2016-12-14 09:47:09 UTC]]
4061
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4062
+ Person Load (0.1ms) SELECT "people".* FROM "people" WHERE (`people`.`first_name` LIKE '%John%' OR `people`.`last_name` LIKE '%John%')
4063
+ Person Load (0.1ms) SELECT "people".* FROM "people" WHERE (`people`.`first_name` LIKE '%John%' OR `people`.`last_name` LIKE '%John%') AND (`people`.`first_name` LIKE '%Jane%' OR `people`.`last_name` LIKE '%Jane%')
4064
+  (0.7ms) rollback transaction
4065
+  (0.0ms) begin transaction
4066
+ ---------------------------------
4067
+ Kadmin::PagerTest: test_contains?
4068
+ ---------------------------------
4069
+  (0.0ms) rollback transaction
4070
+  (0.0ms) begin transaction
4071
+ -------------------------------------
4072
+ Kadmin::PagerTest: test_current_page?
4073
+ -------------------------------------
4074
+  (0.0ms) rollback transaction
4075
+  (0.1ms) begin transaction
4076
+ --------------------------------
4077
+ Kadmin::PagerTest: test_paginate
4078
+ --------------------------------
4079
+  (0.0ms) SAVEPOINT active_record_1
4080
+ SQL (0.4ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:47:09 UTC], ["updated_at", 2016-12-14 09:47:09 UTC]]
4081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4082
+  (0.0ms) SAVEPOINT active_record_1
4083
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:47:09 UTC], ["updated_at", 2016-12-14 09:47:09 UTC]]
4084
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4085
+  (0.0ms) SELECT COUNT(*) FROM "people"
4086
+  (0.7ms) rollback transaction
4087
+  (0.0ms) begin transaction
4088
+ ------------------------------
4089
+ Kadmin::PagerTest: test_total=
4090
+ ------------------------------
4091
+  (0.0ms) rollback transaction
4092
+  (0.0ms) begin transaction
4093
+ --------------------------------------
4094
+ Kadmin::PagerTest: test_initialization
4095
+ --------------------------------------
4096
+  (0.0ms) rollback transaction
4097
+  (0.1ms) begin transaction
4098
+ ---------------------------------
4099
+ Kadmin::PagerTest: test_offset_at
4100
+ ---------------------------------
4101
+  (0.0ms) rollback transaction
4102
+  (0.0ms) begin transaction
4103
+ ---------------------------------
4104
+ Kadmin::PagerTest: test_page_size
4105
+ ---------------------------------
4106
+  (0.0ms) rollback transaction
4107
+  (0.0ms) begin transaction
4108
+ --------------------------------------
4109
+ Kadmin::PagerTest: test_previous_page?
4110
+ --------------------------------------
4111
+  (0.0ms) rollback transaction
4112
+  (0.0ms) begin transaction
4113
+ ----------------------------------
4114
+ Kadmin::PagerTest: test_next_page?
4115
+ ----------------------------------
4116
+  (0.0ms) rollback transaction
4117
+  (0.0ms) begin transaction
4118
+ ------------------------------------------------------
4119
+ Kadmin::Concerns::AuthorizedUserTest: test_authorized?
4120
+ ------------------------------------------------------
4121
+  (0.0ms) rollback transaction
4122
+  (0.0ms) begin transaction
4123
+ ----------------------------------------------------------
4124
+ Kadmin::Concerns::AuthorizedUserTest: test_authorized_user
4125
+ ----------------------------------------------------------
4126
+  (0.0ms) rollback transaction
4127
+  (0.0ms) begin transaction
4128
+ -------------------------------------------------------
4129
+ Kadmin::Concerns::AuthorizedUserTest: test_current_user
4130
+ -------------------------------------------------------
4131
+  (0.0ms) rollback transaction
4132
+  (0.0ms) begin transaction
4133
+ -----------------------------------------------------
4134
+ Kadmin::Concerns::AuthorizedUserTest: test_logged_in?
4135
+ -----------------------------------------------------
4136
+  (0.0ms) rollback transaction
4137
+  (0.0ms) begin transaction
4138
+ ----------------------------------------------------
4139
+ Kadmin::Concerns::AuthorizedUserTest: test_authorize
4140
+ ----------------------------------------------------
4141
+ Processing by AuthorizedController#index as HTML
4142
+ Rendering authorized/index.html.erb within layouts/application
4143
+ Rendered authorized/index.html.erb within layouts/application (0.7ms)
4144
+ Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms)
4145
+ Processing by AuthorizedController#index as HTML
4146
+ Redirected to http://test.host/admin/auth/login?origin=%2Fauthorized
4147
+ Filter chain halted as :authorize rendered or redirected
4148
+ Completed 302 Found in 0ms (Views: 4.7ms | ActiveRecord: 0.0ms)
4149
+ Processing by AuthorizedController#index as HTML
4150
+ Rendering authorized/index.html.erb within layouts/application
4151
+ Rendered authorized/index.html.erb within layouts/application (0.0ms)
4152
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
4153
+ Processing by AuthorizedController#index as HTML
4154
+ Redirected to http://test.host/admin/auth/unauthorized
4155
+ Filter chain halted as :authorize rendered or redirected
4156
+ Completed 302 Found in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
4157
+  (0.1ms) rollback transaction
4158
+  (0.0ms) begin transaction
4159
+ ------------------------------------------------
4160
+ Kadmin::Navbar::Link::PresenterTest: test_render
4161
+ ------------------------------------------------
4162
+  (0.1ms) rollback transaction
4163
+  (0.0ms) begin transaction
4164
+ -------------------------------------------------------
4165
+ Kadmin::Navbar::Link::PresenterTest: test_render_active
4166
+ -------------------------------------------------------
4167
+  (0.0ms) rollback transaction
4168
+  (0.0ms) begin transaction
4169
+ ---------------------------------
4170
+ Kadmin::FormTest: test_initialize
4171
+ ---------------------------------
4172
+  (0.1ms) SAVEPOINT active_record_1
4173
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "first"], ["last_name", "last"], ["gender", "m"], ["date_of_birth", Sun, 14 Dec 2014], ["created_at", 2016-12-14 09:47:09 UTC], ["updated_at", 2016-12-14 09:47:09 UTC]]
4174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4175
+  (0.4ms) rollback transaction
4176
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4177
+  (0.1ms) begin transaction
4178
+ ---------------------------------------------------
4179
+ Kadmin::Navbar::Section::PresenterTest: test_render
4180
+ ---------------------------------------------------
4181
+  (0.1ms) rollback transaction
4182
+  (0.1ms) begin transaction
4183
+ --------------------------------------------------------
4184
+ Kadmin::Navbar::Section::PresenterTest: test_render_open
4185
+ --------------------------------------------------------
4186
+  (0.0ms) rollback transaction
4187
+  (0.2ms) begin transaction
4188
+ ------------------------------------------------------
4189
+ Kadmin::Concerns::AuthorizedUserTest: test_authorized?
4190
+ ------------------------------------------------------
4191
+  (0.0ms) rollback transaction
4192
+  (0.0ms) begin transaction
4193
+ -----------------------------------------------------
4194
+ Kadmin::Concerns::AuthorizedUserTest: test_logged_in?
4195
+ -----------------------------------------------------
4196
+  (0.0ms) rollback transaction
4197
+  (0.0ms) begin transaction
4198
+ ----------------------------------------------------------
4199
+ Kadmin::Concerns::AuthorizedUserTest: test_authorized_user
4200
+ ----------------------------------------------------------
4201
+  (0.0ms) rollback transaction
4202
+  (0.0ms) begin transaction
4203
+ -------------------------------------------------------
4204
+ Kadmin::Concerns::AuthorizedUserTest: test_current_user
4205
+ -------------------------------------------------------
4206
+  (0.0ms) rollback transaction
4207
+  (0.0ms) begin transaction
4208
+ ----------------------------------------------------
4209
+ Kadmin::Concerns::AuthorizedUserTest: test_authorize
4210
+ ----------------------------------------------------
4211
+ Processing by AuthorizedController#index as HTML
4212
+ Rendering authorized/index.html.erb within layouts/application
4213
+ Rendered authorized/index.html.erb within layouts/application (1.1ms)
4214
+ Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms)
4215
+ Processing by AuthorizedController#index as HTML
4216
+ Redirected to http://test.host/admin/auth/login?origin=%2Fauthorized
4217
+ Filter chain halted as :authorize rendered or redirected
4218
+ Completed 302 Found in 1ms (Views: 10.9ms | ActiveRecord: 0.0ms)
4219
+ Processing by AuthorizedController#index as HTML
4220
+ Rendering authorized/index.html.erb within layouts/application
4221
+ Rendered authorized/index.html.erb within layouts/application (0.0ms)
4222
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
4223
+ Processing by AuthorizedController#index as HTML
4224
+ Redirected to http://test.host/admin/auth/unauthorized
4225
+ Filter chain halted as :authorize rendered or redirected
4226
+ Completed 302 Found in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
4227
+  (0.1ms) rollback transaction
4228
+  (0.0ms) begin transaction
4229
+ --------------------------------------
4230
+ Kadmin::AuthControllerTest: test_login
4231
+ --------------------------------------
4232
+ Processing by Kadmin::AuthController#login as HTML
4233
+ Rendering /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/auth/login.html.erb within layouts/kadmin/application
4234
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/auth/login.html.erb within layouts/kadmin/application (4.8ms)
4235
+ Rendered /Users/npepinpe/work/github/barcoo/kadmin/app/views/kadmin/helpers/_alerts.html.erb (0.4ms)
4236
+ Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.0ms)
4237
+ Processing by Kadmin::AuthController#login as HTML
4238
+ Redirected to http://test.host/admin/
4239
+ Completed 302 Found in 2ms (Views: 12.8ms | ActiveRecord: 0.0ms)
4240
+  (0.1ms) rollback transaction
4241
+  (0.1ms) begin transaction
4242
+ -------------------------------------
4243
+ Kadmin::AuthControllerTest: test_save
4244
+ -------------------------------------
4245
+ Processing by Kadmin::AuthController#save as HTML
4246
+ Parameters: {"provider"=>"developer"}
4247
+ No authorization hash provided
4248
+ Redirected to http://test.host/admin/auth/login
4249
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
4250
+ Processing by Kadmin::AuthController#save as HTML
4251
+ Parameters: {"provider"=>"developer"}
4252
+ Redirected to http://test.host/admin/auth/login
4253
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
4254
+ Processing by Kadmin::AuthController#save as HTML
4255
+ Parameters: {"provider"=>"developer"}
4256
+ Redirected to http://test.host/admin/
4257
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
4258
+  (0.0ms) rollback transaction
4259
+  (0.0ms) begin transaction
4260
+ ----------------------------------------
4261
+ Kadmin::AuthControllerTest: test_failure
4262
+ ----------------------------------------
4263
+ Processing by Kadmin::AuthController#failure as HTML
4264
+ Parameters: {"message"=>"failed"}
4265
+ Redirected to http://test.host/admin/auth/login?origin=origin
4266
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
4267
+  (0.0ms) rollback transaction
4268
+  (0.0ms) begin transaction
4269
+ ---------------------------------------
4270
+ Kadmin::AuthControllerTest: test_logout
4271
+ ---------------------------------------
4272
+ Processing by Kadmin::AuthController#logout as HTML
4273
+ Redirected to http://test.host/admin/auth/login
4274
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
4275
+  (0.0ms) rollback transaction
4276
+  (0.0ms) begin transaction
4277
+ -------------------------------
4278
+ Kadmin::FinderTest: test_filter
4279
+ -------------------------------
4280
+  (0.0ms) SAVEPOINT active_record_1
4281
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:48:50 UTC], ["updated_at", 2016-12-14 09:48:50 UTC]]
4282
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4283
+  (0.0ms) SAVEPOINT active_record_1
4284
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:48:50 UTC], ["updated_at", 2016-12-14 09:48:50 UTC]]
4285
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4286
+ Person Load (0.1ms) SELECT "people".* FROM "people" WHERE (`people`.`first_name` LIKE '%John%' OR `people`.`last_name` LIKE '%John%')
4287
+ Person Load (0.1ms) SELECT "people".* FROM "people" WHERE (`people`.`first_name` LIKE '%John%' OR `people`.`last_name` LIKE '%John%') AND (`people`.`first_name` LIKE '%Jane%' OR `people`.`last_name` LIKE '%Jane%')
4288
+  (0.6ms) rollback transaction
4289
+  (0.1ms) begin transaction
4290
+ --------------------------------
4291
+ Kadmin::FinderTest: test_results
4292
+ --------------------------------
4293
+  (0.0ms) SAVEPOINT active_record_1
4294
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:48:50 UTC], ["updated_at", 2016-12-14 09:48:50 UTC]]
4295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4296
+  (0.0ms) SAVEPOINT active_record_1
4297
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:48:50 UTC], ["updated_at", 2016-12-14 09:48:50 UTC]]
4298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4299
+ Person Load (0.1ms) SELECT "people".* FROM "people"
4300
+  (0.1ms) SELECT COUNT(*) FROM "people"
4301
+ Person Load (0.1ms) SELECT "people".* FROM "people" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
4302
+ Person Load (0.1ms) SELECT "people".* FROM "people" ORDER BY "people"."id" DESC LIMIT ? [["LIMIT", 1]]
4303
+  (0.6ms) rollback transaction
4304
+  (0.0ms) begin transaction
4305
+ ---------------------------------
4306
+ Kadmin::FinderTest: test_paginate
4307
+ ---------------------------------
4308
+  (0.3ms) SAVEPOINT active_record_1
4309
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:48:50 UTC], ["updated_at", 2016-12-14 09:48:50 UTC]]
4310
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4311
+  (0.0ms) SAVEPOINT active_record_1
4312
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:48:50 UTC], ["updated_at", 2016-12-14 09:48:50 UTC]]
4313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4314
+  (0.5ms) rollback transaction
4315
+  (0.0ms) begin transaction
4316
+ ------------------------------
4317
+ Kadmin::FinderTest: test_find!
4318
+ ------------------------------
4319
+  (0.0ms) SAVEPOINT active_record_1
4320
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:48:50 UTC], ["updated_at", 2016-12-14 09:48:50 UTC]]
4321
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4322
+  (0.0ms) SAVEPOINT active_record_1
4323
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Johnson"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:48:50 UTC], ["updated_at", 2016-12-14 09:48:50 UTC]]
4324
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4325
+ Person Load (0.0ms) SELECT "people".* FROM "people"
4326
+  (0.0ms) SELECT COUNT(*) FROM "people"
4327
+ Person Load (0.0ms) SELECT "people".* FROM "people" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
4328
+  (0.6ms) rollback transaction
4329
+  (0.0ms) begin transaction
4330
+ ------------------------------------------------
4331
+ Kadmin::Navbar::Link::PresenterTest: test_render
4332
+ ------------------------------------------------
4333
+  (0.0ms) rollback transaction
4334
+  (0.0ms) begin transaction
4335
+ -------------------------------------------------------
4336
+ Kadmin::Navbar::Link::PresenterTest: test_render_active
4337
+ -------------------------------------------------------
4338
+  (0.0ms) rollback transaction
4339
+  (0.0ms) begin transaction
4340
+ ---------------------------------
4341
+ Kadmin::FormTest: test_initialize
4342
+ ---------------------------------
4343
+  (0.0ms) SAVEPOINT active_record_1
4344
+ SQL (0.3ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "first"], ["last_name", "last"], ["gender", "m"], ["date_of_birth", Sun, 14 Dec 2014], ["created_at", 2016-12-14 09:48:50 UTC], ["updated_at", 2016-12-14 09:48:50 UTC]]
4345
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4346
+  (0.5ms) rollback transaction
4347
+  (0.1ms) begin transaction
4348
+ --------------------------------------
4349
+ Kadmin::PagerTest: test_initialization
4350
+ --------------------------------------
4351
+  (0.0ms) rollback transaction
4352
+  (0.0ms) begin transaction
4353
+ -------------------------------------
4354
+ Kadmin::PagerTest: test_current_page?
4355
+ -------------------------------------
4356
+  (0.0ms) rollback transaction
4357
+  (0.0ms) begin transaction
4358
+ --------------------------------------
4359
+ Kadmin::PagerTest: test_previous_page?
4360
+ --------------------------------------
4361
+  (0.0ms) rollback transaction
4362
+  (0.0ms) begin transaction
4363
+ ---------------------------------
4364
+ Kadmin::PagerTest: test_page_size
4365
+ ---------------------------------
4366
+  (0.2ms) rollback transaction
4367
+  (0.0ms) begin transaction
4368
+ ----------------------------------
4369
+ Kadmin::PagerTest: test_next_page?
4370
+ ----------------------------------
4371
+  (0.0ms) rollback transaction
4372
+  (0.0ms) begin transaction
4373
+ ---------------------------------
4374
+ Kadmin::PagerTest: test_offset_at
4375
+ ---------------------------------
4376
+  (0.3ms) rollback transaction
4377
+  (0.0ms) begin transaction
4378
+ --------------------------------
4379
+ Kadmin::PagerTest: test_paginate
4380
+ --------------------------------
4381
+  (0.0ms) SAVEPOINT active_record_1
4382
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["gender", "m"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:48:50 UTC], ["updated_at", 2016-12-14 09:48:50 UTC]]
4383
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4384
+  (0.0ms) SAVEPOINT active_record_1
4385
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "gender", "date_of_birth", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["gender", "f"], ["date_of_birth", Sat, 14 Dec 1991], ["created_at", 2016-12-14 09:48:50 UTC], ["updated_at", 2016-12-14 09:48:50 UTC]]
4386
+  (0.0ms) RELEASE SAVEPOINT active_record_1
4387
+  (0.0ms) SELECT COUNT(*) FROM "people"
4388
+  (0.7ms) rollback transaction
4389
+  (0.0ms) begin transaction
4390
+ ------------------------------
4391
+ Kadmin::PagerTest: test_total=
4392
+ ------------------------------
4393
+  (0.0ms) rollback transaction
4394
+  (0.0ms) begin transaction
4395
+ ---------------------------------
4396
+ Kadmin::PagerTest: test_contains?
4397
+ ---------------------------------
4398
+  (0.0ms) rollback transaction
data/test/test_helper.rb CHANGED
@@ -33,7 +33,7 @@ require 'kadmin/presenter/test_case'
33
33
  # Set sane defaults for all TestCases
34
34
  module ActiveSupport
35
35
  class TestCase
36
- self.use_transactional_fixtures = true
36
+ self.use_transactional_tests = true
37
37
 
38
38
  def setup
39
39
  # Need to explicitly mount engine routes, otherwise the test cannot find them. Retarded, right?
@@ -17,3 +17,14 @@
17
17
  .fa {
18
18
  font-family: 'FontAwesomeRails' !important; // sass-lint:disable-line no-important
19
19
  }
20
+
21
+ // Temporary bootstrap fix until Modular updates bootstrap version
22
+ select {
23
+ &.form-control {
24
+ &:not([size]) {
25
+ &:not([multiple]) { // sass-lint:disable-line nesting-depth
26
+ height: calc(2.5rem - 2px);
27
+ }
28
+ }
29
+ }
30
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Pepin-Perreault
@@ -10,22 +10,28 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-11-29 00:00:00.000000000 Z
13
+ date: 2016-12-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - "~>"
19
+ - - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: '4.2'
22
+ - - "~>"
23
+ - !ruby/object:Gem::Version
24
+ version: 5.0.0
22
25
  type: :runtime
23
26
  prerelease: false
24
27
  version_requirements: !ruby/object:Gem::Requirement
25
28
  requirements:
26
- - - "~>"
29
+ - - ">="
27
30
  - !ruby/object:Gem::Version
28
31
  version: '4.2'
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: 5.0.0
29
35
  - !ruby/object:Gem::Dependency
30
36
  name: i18n
31
37
  requirement: !ruby/object:Gem::Requirement
@@ -166,6 +172,7 @@ files:
166
172
  - test/dummy/app/forms/group_form.rb
167
173
  - test/dummy/app/forms/person_form.rb
168
174
  - test/dummy/app/helpers/application_helper.rb
175
+ - test/dummy/app/models/application_record.rb
169
176
  - test/dummy/app/models/group.rb
170
177
  - test/dummy/app/models/group_person.rb
171
178
  - test/dummy/app/models/person.rb
@@ -1455,6 +1462,7 @@ test_files:
1455
1462
  - test/dummy/app/forms/group_form.rb
1456
1463
  - test/dummy/app/forms/person_form.rb
1457
1464
  - test/dummy/app/helpers/application_helper.rb
1465
+ - test/dummy/app/models/application_record.rb
1458
1466
  - test/dummy/app/models/group.rb
1459
1467
  - test/dummy/app/models/group_person.rb
1460
1468
  - test/dummy/app/models/person.rb