!RBIX 9595534255132031488 x M 1 n n x 10 __script__ i 24 5 7 0 64 47 49 1 1 15 5 45 2 3 43 4 56 5 47 50 6 1 15 2 11 I 3 I 0 I 0 I 0 n p 7 s 11 spec_helper x 7 require x 10 RailsAdmin n x 17 ApplicationHelper M 1 p 2 x 9 for_block t n x 9 __block__ i 96 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 15 5 7 5 64 56 6 47 50 4 1 15 5 7 7 64 56 8 47 50 4 1 15 5 7 9 64 56 10 47 50 4 1 15 5 7 11 64 56 12 47 50 4 1 15 5 7 13 64 56 14 47 50 4 1 15 5 7 15 64 56 16 47 50 4 1 15 5 7 17 64 56 18 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 19 M 1 p 2 x 9 for_block t n x 9 __block__ i 13 5 48 0 7 1 49 2 1 2 49 3 1 11 I 3 I 0 I 0 I 0 I -2 p 4 x 10 controller x 11 authorized? x 4 stub x 10 and_return p 3 I 0 I 6 I d x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 6 before s 16 #current_action? M 1 p 2 x 9 for_block t n x 9 __block__ i 11 5 7 0 64 56 1 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 3 s 53 should return true if current_action, false otherwise M 1 p 2 x 9 for_block t n x 9 __block__ i 65 45 0 1 43 2 43 3 7 4 49 5 1 38 6 15 5 48 7 45 0 8 43 2 43 3 7 4 49 5 1 49 9 1 5 48 10 49 11 1 15 5 48 7 45 0 12 43 2 43 3 7 13 49 5 1 49 9 1 5 48 10 49 14 1 11 I 4 I 0 I 0 I 0 I -2 p 15 x 10 RailsAdmin n x 6 Config x 7 Actions x 5 index x 4 find x 7 @action x 6 helper n x 15 current_action? x 7 be_true x 6 should n x 4 show x 10 should_not p 7 I 0 I b I f I d I 28 I e I 41 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 2 it p 3 I 0 I a I b x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 8 describe s 7 #action M 1 p 2 x 9 for_block t n x 9 __block__ i 33 5 7 0 64 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 2 1 15 5 7 5 64 56 6 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 7 s 35 should return action by :custom_key M 1 p 2 x 9 for_block t n x 9 __block__ i 24 45 0 1 56 2 50 3 0 15 5 48 4 7 5 49 6 1 5 48 7 49 8 1 11 I 3 I 0 I 0 I 0 I -2 p 9 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 12 57 19 0 15 20 0 56 0 50 1 0 11 I 4 I 1 I 1 I 1 n p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 8 5 56 0 47 50 1 0 11 I 3 I 0 I 0 I 0 I -2 p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 8 5 7 0 47 49 1 1 11 I 3 I 0 I 0 I 0 I -2 p 2 x 23 my_custom_dashboard_key x 10 custom_key p 3 I 0 I 17 I 8 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 9 dashboard p 3 I 0 I 16 I 8 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 7 actions p 5 I 0 I 14 I 4 I 15 I c x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config x 6 helper x 23 my_custom_dashboard_key x 6 action x 2 be x 6 should p 5 I 0 I 14 I 9 I 1b I 18 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 2 it s 34 should return only visible actions M 1 p 2 x 9 for_block t n x 9 __block__ i 24 45 0 1 56 2 50 3 0 15 5 48 4 7 5 49 6 1 49 7 0 1 83 8 11 I 3 I 0 I 0 I 0 I -2 p 9 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 12 57 19 0 15 20 0 56 0 50 1 0 11 I 4 I 1 I 1 I 1 n p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 8 5 56 0 47 50 1 0 11 I 3 I 0 I 0 I 0 I -2 p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 7 5 3 47 49 0 1 11 I 3 I 0 I 0 I 0 I -2 p 1 x 7 visible p 3 I 0 I 22 I 7 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 9 dashboard p 3 I 0 I 21 I 8 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 7 actions p 5 I 0 I 1f I 4 I 20 I c x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config x 6 helper x 9 dashboard x 6 action x 6 should x 2 == p 5 I 0 I 1f I 9 I 27 I 18 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 s 56 should return only visible actions, passing all bindings M 1 p 2 x 9 for_block t n x 9 __block__ i 222 45 0 1 56 2 50 3 0 15 5 48 4 7 5 45 0 6 43 7 13 71 8 47 9 40 47 49 9 0 13 45 10 11 47 49 12 1 15 8 46 45 10 13 49 8 1 45 10 14 13 71 8 47 9 67 47 49 9 0 13 47 49 12 0 15 8 70 49 8 0 49 15 3 5 48 16 49 17 1 15 5 48 4 7 5 45 0 18 43 7 13 71 8 47 9 111 47 49 9 0 13 45 10 19 47 49 12 1 15 8 117 45 10 20 49 8 1 45 21 22 13 71 8 47 9 138 47 49 9 0 13 47 49 12 0 15 8 141 49 8 0 49 15 3 5 48 23 49 17 1 15 5 48 4 7 5 45 0 24 43 7 13 71 8 47 9 182 47 49 9 0 13 45 21 25 47 49 12 1 15 8 188 45 21 26 49 8 1 45 10 27 13 71 8 47 9 209 47 49 9 0 13 47 49 12 0 15 8 212 49 8 0 49 15 3 5 48 23 49 17 1 11 I 6 I 0 I 0 I 0 I -2 p 28 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 12 57 19 0 15 20 0 56 0 50 1 0 11 I 4 I 1 I 1 I 1 n p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 10 5 7 0 56 1 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 3 x 13 test_bindings M 1 p 2 x 9 for_block t n x 9 __block__ i 8 5 56 0 47 50 1 0 11 I 3 I 0 I 0 I 0 I -2 p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 57 5 48 0 7 1 49 2 1 45 3 4 43 5 43 6 49 7 1 13 9 56 15 5 48 0 7 8 49 2 1 49 9 0 45 10 11 83 12 13 9 56 15 5 48 0 7 13 49 2 1 45 10 14 49 7 1 11 I 3 I 0 I 0 I 0 I -2 p 15 x 8 bindings x 10 controller x 2 [] x 10 ActionView n x 8 TestCase x 14 TestController x 5 is_a? x 14 abstract_model x 5 model x 4 Team n x 2 == x 6 object n p 7 I 0 I 2f I 16 I 30 I 2a I 31 I 39 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 7 visible p 3 I 0 I 2e I 8 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 6 member p 3 I 0 I 2d I a x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 7 actions p 5 I 0 I 2b I 4 I 2c I c x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config x 6 helper x 13 test_bindings n x 13 AbstractModel x 3 new x 8 allocate x 4 Team n x 10 initialize n n x 6 action x 2 be x 6 should n n n x 6 Player n x 6 be_nil n n n n p 9 I 0 I 2b I 9 I 36 I 50 I 37 I 97 I 38 I de x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 p 7 I 0 I 13 I b I 1e I 16 I 2a I 21 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 s 8 #actions M 1 p 2 x 9 for_block t n x 9 __block__ i 22 5 7 0 64 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 5 s 29 should return actions by type M 1 p 2 x 9 for_block t n x 9 __block__ i 234 45 0 1 43 2 13 71 3 47 9 26 47 49 4 0 13 45 5 6 47 49 7 1 15 8 32 45 5 8 49 3 1 19 0 15 45 9 10 7 11 49 12 1 19 1 15 5 48 13 7 14 20 0 20 1 49 15 3 7 16 13 70 10 71 44 43 17 12 49 18 1 50 19 0 49 20 0 7 21 7 22 7 23 7 3 7 24 7 25 7 26 7 27 7 28 7 29 7 30 35 11 83 31 15 5 48 13 7 32 20 0 20 1 49 15 3 7 16 13 70 10 129 44 43 17 12 49 18 1 50 19 0 49 20 0 7 21 35 1 83 31 15 5 48 13 7 33 20 0 20 1 49 15 3 7 16 13 70 10 167 44 43 17 12 49 18 1 50 19 0 49 20 0 7 22 7 3 7 25 7 27 7 29 35 5 83 31 15 5 48 13 7 34 20 0 20 1 49 15 3 7 16 13 70 10 213 44 43 17 12 49 18 1 50 19 0 49 20 0 7 23 7 24 7 26 7 28 7 30 35 5 83 31 11 I f I 2 I 0 I 0 I -2 p 35 x 10 RailsAdmin n x 13 AbstractModel x 3 new x 8 allocate x 6 Player n x 10 initialize n x 11 FactoryGirl n x 6 player x 6 create x 6 helper x 3 all x 7 actions x 10 custom_key x 4 Proc x 14 __from_block__ x 3 map x 6 should x 9 dashboard x 5 index x 4 show x 4 edit x 6 export x 6 delete x 11 bulk_delete x 12 history_show x 13 history_index x 11 show_in_app x 2 == x 4 root x 10 collection x 6 member p 13 I 0 I 3e I 23 I 3f I 2e I 40 I 68 I 41 I 8e I 42 I bc I 43 I ea x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 2 x 14 abstract_model x 6 object x 2 it s 62 should only return visible actions, passing bindings correctly M 1 p 2 x 9 for_block t n x 9 __block__ i 275 45 0 1 56 2 50 3 0 15 5 48 4 7 5 45 0 6 43 7 13 71 8 47 9 40 47 49 9 0 13 45 10 11 47 49 12 1 15 8 46 45 10 13 49 8 1 45 10 14 13 71 8 47 9 67 47 49 9 0 13 47 49 12 0 15 8 70 49 8 0 49 15 3 7 16 13 70 10 86 44 43 17 12 49 18 1 50 19 0 49 20 0 7 21 35 1 83 22 15 5 48 4 7 5 45 0 23 43 7 13 71 8 47 9 130 47 49 9 0 13 45 10 24 47 49 12 1 15 8 136 45 10 25 49 8 1 45 26 27 13 71 8 47 9 157 47 49 9 0 13 47 49 12 0 15 8 160 49 8 0 49 15 3 7 16 13 70 10 176 44 43 17 12 49 18 1 50 19 0 49 20 0 35 0 83 22 15 5 48 4 7 5 45 0 28 43 7 13 71 8 47 9 218 47 49 9 0 13 45 26 29 47 49 12 1 15 8 224 45 26 30 49 8 1 45 10 31 13 71 8 47 9 245 47 49 9 0 13 47 49 12 0 15 8 248 49 8 0 49 15 3 7 16 13 70 10 264 44 43 17 12 49 18 1 50 19 0 49 20 0 35 0 83 22 11 I 6 I 0 I 0 I 0 I -2 p 32 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 12 57 19 0 15 20 0 56 0 50 1 0 11 I 4 I 1 I 1 I 1 n p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 10 5 7 0 56 1 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 3 x 13 test_bindings M 1 p 2 x 9 for_block t n x 9 __block__ i 8 5 56 0 47 50 1 0 11 I 3 I 0 I 0 I 0 I -2 p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 57 5 48 0 7 1 49 2 1 45 3 4 43 5 43 6 49 7 1 13 9 56 15 5 48 0 7 8 49 2 1 49 9 0 45 10 11 83 12 13 9 56 15 5 48 0 7 13 49 2 1 45 10 14 49 7 1 11 I 3 I 0 I 0 I 0 I -2 p 15 x 8 bindings x 10 controller x 2 [] x 10 ActionView n x 8 TestCase x 14 TestController x 5 is_a? x 14 abstract_model x 5 model x 4 Team n x 2 == x 6 object n p 7 I 0 I 4b I 16 I 4c I 2a I 4d I 39 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 7 visible p 3 I 0 I 4a I 8 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 6 member p 3 I 0 I 49 I a x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 7 actions p 5 I 0 I 47 I 4 I 48 I c x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config x 6 helper x 3 all n x 13 AbstractModel x 3 new x 8 allocate x 4 Team n x 10 initialize n n x 7 actions x 10 custom_key x 4 Proc x 14 __from_block__ x 3 map x 6 should x 13 test_bindings x 2 == n n n x 6 Player n n n n n p 9 I 0 I 47 I 9 I 53 I 63 I 54 I bb I 55 I 113 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 p 5 I 0 I 3d I b I 46 I 16 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 s 12 #wording_for M 1 p 2 x 9 for_block t n x 9 __block__ i 44 5 7 0 64 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 2 1 15 5 7 5 64 56 6 47 50 2 1 15 5 7 7 64 56 8 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 9 s 51 gives correct wording even if action is not visible M 1 p 2 x 9 for_block t n x 9 __block__ i 28 45 0 1 56 2 50 3 0 15 5 48 4 7 5 7 6 49 7 2 49 8 0 7 9 64 83 10 11 I 4 I 0 I 0 I 0 I -2 p 11 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 12 57 19 0 15 20 0 56 0 50 1 0 11 I 4 I 1 I 1 I 1 n p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 8 5 56 0 47 50 1 0 11 I 3 I 0 I 0 I 0 I -2 p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 7 5 3 47 49 0 1 11 I 3 I 0 I 0 I 0 I -2 p 1 x 7 visible p 3 I 0 I 5e I 7 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 5 index p 3 I 0 I 5d I 8 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 7 actions p 5 I 0 I 5b I 4 I 5c I c x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config x 6 helper x 4 menu x 5 index x 11 wording_for x 6 should s 4 List x 2 == p 5 I 0 I 5b I 9 I 63 I 1c x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 2 it s 23 passes correct bindings M 1 p 2 x 9 for_block t n x 9 __block__ i 109 5 48 0 7 1 7 2 45 3 4 43 5 13 71 6 47 9 33 47 49 7 0 13 45 8 9 47 49 10 1 15 8 39 45 8 11 49 6 1 45 8 12 13 71 6 47 9 77 47 49 7 0 13 44 43 13 79 49 14 1 13 7 15 7 16 64 49 17 2 15 47 49 10 1 15 8 97 44 43 13 79 49 14 1 13 7 15 7 16 64 49 17 2 15 49 6 1 49 18 4 49 19 0 7 20 64 83 21 11 I b I 0 I 0 I 0 I -2 p 22 x 6 helper x 5 title x 4 edit x 10 RailsAdmin n x 13 AbstractModel x 3 new x 8 allocate x 4 Team n x 10 initialize n n x 4 Hash x 16 new_from_literal x 4 name s 12 the avengers x 3 []= x 11 wording_for x 6 should s 24 Edit Team 'the avengers' x 2 == p 3 I 0 I 67 I 6d x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 s 25 defaults correct bindings M 1 p 2 x 9 for_block t n x 9 __block__ i 128 45 0 1 43 2 43 3 7 4 49 5 1 38 6 15 45 0 7 43 8 13 71 9 47 9 41 47 49 10 0 13 45 11 12 47 49 13 1 15 8 47 45 11 14 49 9 1 38 15 15 45 11 16 13 71 9 47 9 88 47 49 10 0 13 44 43 17 79 49 18 1 13 7 19 7 20 64 49 21 2 15 47 49 13 1 15 8 108 44 43 17 79 49 18 1 13 7 19 7 20 64 49 21 2 15 49 9 1 38 22 15 5 48 23 7 24 49 25 1 49 26 0 7 27 64 83 28 11 I 7 I 0 I 0 I 0 I -2 p 29 x 10 RailsAdmin n x 6 Config x 7 Actions x 4 edit x 4 find x 7 @action n x 13 AbstractModel x 3 new x 8 allocate x 4 Team n x 10 initialize n x 15 @abstract_model n x 4 Hash x 16 new_from_literal x 4 name s 12 the avengers x 3 []= x 7 @object x 6 helper x 5 title x 11 wording_for x 6 should s 24 Edit Team 'the avengers' x 2 == p 9 I 0 I 6b I f I 6c I 32 I 6d I 6f I 6e I 80 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 s 42 does not try to use the wrong :label_metod M 1 p 2 x 9 for_block t n x 9 __block__ i 113 45 0 1 43 2 13 71 3 47 9 26 47 49 4 0 13 45 5 6 47 49 7 1 15 8 32 45 5 8 49 3 1 38 9 15 45 5 10 13 71 3 47 9 56 47 49 4 0 13 47 49 7 0 15 8 59 49 3 0 38 11 15 5 48 12 7 13 7 3 45 0 14 43 2 13 71 3 47 9 95 47 49 4 0 13 45 15 16 47 49 7 1 15 8 101 45 15 17 49 3 1 49 18 3 49 19 0 7 20 64 83 21 11 I 7 I 0 I 0 I 0 I -2 p 22 x 10 RailsAdmin n x 13 AbstractModel x 3 new x 8 allocate x 5 Draft n x 10 initialize n x 15 @abstract_model n x 7 @object x 6 helper x 4 link n x 4 Team n n x 11 wording_for x 6 should s 14 Add a new Team x 2 == p 7 I 0 I 72 I 23 I 73 I 3e I 75 I 71 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 p 9 I 0 I 5a I b I 66 I 16 I 6a I 21 I 71 I 2c x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 s 11 #breadcrumb M 1 p 2 x 9 for_block t n x 9 __block__ i 11 5 7 0 64 56 1 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 3 s 21 gives us a breadcrumb M 1 p 2 x 9 for_block t n x 9 __block__ i 251 45 0 1 43 2 43 3 7 4 44 43 5 80 49 6 1 13 7 7 45 0 8 43 9 13 71 10 47 9 45 47 49 11 0 13 45 12 13 47 49 14 1 15 8 51 45 12 15 49 10 1 49 16 2 15 13 7 17 45 12 18 13 71 10 47 9 96 47 49 11 0 13 44 43 5 79 49 6 1 13 7 19 7 20 64 49 16 2 15 47 49 14 1 15 8 116 44 43 5 79 49 6 1 13 7 19 7 20 64 49 16 2 15 49 10 1 49 16 2 15 49 21 2 38 22 15 5 48 23 49 24 0 19 0 15 20 0 5 7 25 13 70 9 156 15 44 43 26 7 27 78 49 10 2 6 25 47 49 28 1 49 29 1 15 20 0 5 7 30 13 70 9 185 15 44 43 26 7 31 78 49 10 2 6 30 47 49 28 1 49 29 1 15 20 0 5 7 32 13 70 9 214 15 44 43 26 7 20 78 49 10 2 6 32 47 49 28 1 49 29 1 15 20 0 5 7 33 13 70 9 243 15 44 43 26 7 34 78 49 10 2 6 33 47 49 28 1 49 29 1 11 I d I 1 I 0 I 0 I -2 p 35 x 10 RailsAdmin n x 6 Config x 7 Actions x 4 edit x 4 Hash x 16 new_from_literal x 14 abstract_model n x 13 AbstractModel x 3 new x 8 allocate x 4 Team n x 10 initialize n x 3 []= x 6 object n x 4 name s 12 the avengers x 4 find x 7 @action x 6 helper x 10 breadcrumb n x 6 Regexp s 9 Dashboard x 5 match x 6 should n s 5 Teams n n s 4 Edit p 13 I 0 I 7c I 7e I 7d I 87 I 7e I a4 I 7f I c1 I 80 I de I 81 I fb x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 2 bc x 2 it p 3 I 0 I 7b I b x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 s 9 #menu_for M 1 p 2 x 9 for_block t n x 9 __block__ i 22 5 7 0 64 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 5 s 83 passes model and object as bindings and generates a menu, excluding non-get actions M 1 p 2 x 9 for_block t n x 9 __block__ i 369 45 0 1 56 2 50 3 0 15 45 0 4 43 5 43 6 7 7 49 8 1 38 9 15 45 0 10 43 11 13 71 12 47 9 50 47 49 13 0 13 45 14 15 47 49 16 1 15 8 56 45 14 17 49 12 1 38 18 15 45 14 19 13 71 12 47 9 97 47 49 13 0 13 44 43 20 79 49 21 1 13 7 22 7 23 64 49 24 2 15 47 49 16 1 15 8 117 44 43 20 79 49 21 1 13 7 22 7 23 64 49 24 2 15 49 12 1 38 25 15 5 48 26 7 27 49 28 1 5 7 29 13 70 9 147 15 44 43 30 7 31 78 49 12 2 6 29 47 49 32 1 49 33 1 15 5 48 26 7 34 39 18 49 28 2 5 7 35 13 70 9 184 15 44 43 30 7 36 78 49 12 2 6 35 47 49 32 1 49 33 1 15 5 48 26 7 37 39 18 39 25 49 28 3 5 7 38 13 70 9 223 15 44 43 30 7 39 78 49 12 2 6 38 47 49 32 1 49 33 1 15 45 0 40 43 11 13 71 12 47 9 257 47 49 13 0 13 45 41 42 47 49 16 1 15 8 263 45 41 43 49 12 1 38 18 15 45 41 44 13 71 12 47 9 287 47 49 13 0 13 47 49 16 0 15 8 290 49 12 0 38 25 15 5 48 26 7 34 39 18 49 28 2 5 7 45 13 70 9 322 15 44 43 30 7 36 78 49 12 2 6 45 47 49 32 1 49 46 1 15 5 48 26 7 37 39 18 39 25 49 28 3 5 7 47 13 70 9 361 15 44 43 30 7 39 78 49 12 2 6 47 47 49 32 1 49 46 1 11 I 7 I 0 I 0 I 0 I -2 p 48 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 12 57 19 0 15 20 0 56 0 50 1 0 11 I 4 I 1 I 1 I 1 n p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 28 5 48 0 15 5 56 1 47 50 2 0 15 5 56 3 47 50 4 0 15 5 56 5 47 50 6 0 11 I 3 I 0 I 0 I 0 I -2 p 7 x 9 dashboard M 1 p 2 x 9 for_block t n x 9 __block__ i 8 5 56 0 47 50 1 0 11 I 3 I 0 I 0 I 0 I -2 p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 17 5 48 0 7 1 49 2 1 49 3 0 45 4 5 83 6 11 I 3 I 0 I 0 I 0 I -2 p 7 x 8 bindings x 14 abstract_model x 2 [] x 5 model x 4 Team n x 2 == p 3 I 0 I 8c I 11 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 7 visible p 3 I 0 I 8b I 8 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 5 index M 1 p 2 x 9 for_block t n x 9 __block__ i 8 5 56 0 47 50 1 0 11 I 3 I 0 I 0 I 0 I -2 p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 17 5 48 0 7 1 49 2 1 49 3 0 45 4 5 83 6 11 I 3 I 0 I 0 I 0 I -2 p 7 x 8 bindings x 6 object x 2 [] x 5 class x 4 Team n x 2 == p 3 I 0 I 91 I 11 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 7 visible p 3 I 0 I 90 I 8 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 4 show M 1 p 2 x 9 for_block t n x 9 __block__ i 14 5 7 0 7 1 7 2 35 3 47 49 3 1 11 I 5 I 0 I 0 I 0 I -2 p 4 x 4 post x 3 put x 6 delete x 12 http_methods p 3 I 0 I 95 I e x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 6 delete p 9 I 0 I 89 I 4 I 8a I c I 8f I 14 I 94 I 1c x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 7 actions p 5 I 0 I 87 I 4 I 88 I c x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config n x 6 Config x 7 Actions x 4 show x 4 find x 7 @action n x 13 AbstractModel x 3 new x 8 allocate x 4 Team n x 10 initialize n x 15 @abstract_model n x 4 Hash x 16 new_from_literal x 4 name s 12 the avengers x 3 []= x 7 @object x 6 helper x 4 root x 8 menu_for n x 6 Regexp s 9 Dashboard x 5 match x 6 should x 10 collection n s 4 List x 6 member n s 4 Show n x 6 Player n n n n x 10 should_not n p 23 I 0 I 87 I 9 I 9a I 18 I 9b I 3b I 9c I 78 I 9e I 9b I 9f I c0 I a0 I e7 I a2 I 10a I a3 I 125 I a4 I 14a I a5 I 171 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 2 it s 24 excludes non-get actions M 1 p 2 x 9 for_block t n x 9 __block__ i 59 45 0 1 56 2 50 3 0 15 45 0 4 43 5 43 6 7 7 49 8 1 38 9 15 5 48 10 7 11 49 12 1 5 7 13 13 70 9 51 15 44 43 14 7 15 78 49 16 2 6 13 47 49 17 1 49 18 1 11 I 6 I 0 I 0 I 0 I -2 p 19 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 12 57 19 0 15 20 0 56 0 50 1 0 11 I 4 I 1 I 1 I 1 n p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 8 5 56 0 47 50 1 0 11 I 3 I 0 I 0 I 0 I -2 p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 14 5 7 0 7 1 7 2 35 3 47 49 3 1 11 I 5 I 0 I 0 I 0 I -2 p 4 x 4 post x 3 put x 6 delete x 12 http_methods p 3 I 0 I ac I e x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 9 dashboard p 3 I 0 I ab I 8 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 7 actions p 5 I 0 I a9 I 4 I aa I c x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config n x 6 Config x 7 Actions x 9 dashboard x 4 find x 7 @action x 6 helper x 4 root x 8 menu_for n x 6 Regexp s 9 Dashboard x 3 new x 5 match x 10 should_not p 7 I 0 I a9 I 9 I b1 I 18 I b2 I 3b x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 p 5 I 0 I 86 I b I a8 I 16 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 s 16 #main_navigation M 1 p 2 x 9 for_block t n x 9 __block__ i 77 5 7 0 64 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 2 1 15 5 7 5 64 56 6 47 50 2 1 15 5 7 7 64 56 8 47 50 2 1 15 5 7 9 64 56 10 47 50 2 1 15 5 7 11 64 56 12 47 50 2 1 15 5 7 13 64 56 14 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 15 s 27 should show included models M 1 p 2 x 9 for_block t n x 9 __block__ i 43 45 0 1 56 2 50 3 0 15 5 48 4 49 5 0 5 7 6 13 70 9 35 15 44 43 7 7 8 4 4 49 9 2 6 6 47 49 10 1 49 11 1 11 I 6 I 0 I 0 I 0 I -2 p 12 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 22 57 19 0 15 20 0 45 0 1 45 2 3 35 2 13 18 2 49 4 1 15 11 I 5 I 1 I 1 I 1 n p 5 x 4 Ball n x 7 Comment n x 16 included_models= p 5 I 0 I b8 I 4 I b9 I 16 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config x 6 helper x 15 main_navigation n x 6 Regexp s 48 (nav\-header).*(Navigation).*(Balls).*(Comments) x 3 new x 5 match x 6 should p 5 I 0 I b8 I 9 I bb I 2b x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 2 it s 32 should not show unvisible models M 1 p 2 x 9 for_block t n x 9 __block__ i 62 45 0 1 56 2 50 3 0 15 5 48 4 49 5 0 19 0 15 20 0 5 7 6 13 70 9 40 15 44 43 7 7 8 4 4 49 9 2 6 6 47 49 10 1 49 11 1 15 20 0 5 7 12 64 47 49 10 1 49 13 1 11 I 7 I 1 I 0 I 0 I -2 p 14 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 33 57 19 0 15 20 0 45 0 1 45 2 3 35 2 13 18 2 49 4 1 15 15 20 0 45 2 5 56 6 50 7 1 11 I 5 I 1 I 1 I 1 n p 8 x 4 Ball n x 7 Comment n x 16 included_models= n M 1 p 2 x 9 for_block t n x 9 __block__ i 4 5 48 0 11 I 2 I 0 I 0 I 0 I -2 p 1 x 4 hide p 3 I 0 I c2 I 4 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 5 model p 7 I 0 I bf I 4 I c0 I 16 I c1 I 21 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config x 6 helper x 15 main_navigation n x 6 Regexp s 36 (nav\-header).*(Navigation).*(Balls) x 3 new x 5 match x 6 should s 8 Comments x 10 should_not p 9 I 0 I bf I 9 I c5 I 12 I c6 I 30 I c7 I 3e x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 result s 37 should show children of hidden models M 1 p 2 x 9 for_block t n x 9 __block__ i 43 45 0 1 56 2 50 3 0 15 5 48 4 49 5 0 5 7 6 13 70 9 35 15 44 43 7 7 8 4 4 49 9 2 6 6 47 49 10 1 49 11 1 11 I 6 I 0 I 0 I 0 I -2 p 12 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 33 57 19 0 15 20 0 45 0 1 45 2 3 35 2 13 18 2 49 4 1 15 15 20 0 45 0 5 56 6 50 7 1 11 I 5 I 1 I 1 I 1 n p 8 x 4 Ball n x 8 Hardball n x 16 included_models= n M 1 p 2 x 9 for_block t n x 9 __block__ i 4 5 48 0 11 I 2 I 0 I 0 I 0 I -2 p 1 x 4 hide p 3 I 0 I ce I 4 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 5 model p 7 I 0 I cb I 4 I cc I 16 I cd I 21 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config x 6 helper x 15 main_navigation n x 6 Regexp s 40 (nav\-header).*(Navigation).*(Hardballs) x 3 new x 5 match x 6 should p 5 I 0 I cb I 9 I d1 I 2b x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 s 39 should show children of excluded models M 1 p 2 x 9 for_block t n x 9 __block__ i 43 45 0 1 56 2 50 3 0 15 5 48 4 49 5 0 5 7 6 13 70 9 35 15 44 43 7 7 8 4 4 49 9 2 6 6 47 49 10 1 49 11 1 11 I 6 I 0 I 0 I 0 I -2 p 12 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 19 57 19 0 15 20 0 45 0 1 35 1 13 18 2 49 2 1 15 11 I 5 I 1 I 1 I 1 n p 3 x 8 Hardball n x 16 included_models= p 5 I 0 I d5 I 4 I d6 I 13 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config x 6 helper x 15 main_navigation n x 6 Regexp s 40 (nav\-header).*(Navigation).*(Hardballs) x 3 new x 5 match x 6 should p 5 I 0 I d5 I 9 I d8 I 2b x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 s 33 should "nest" in navigation label M 1 p 2 x 9 for_block t n x 9 __block__ i 43 45 0 1 56 2 50 3 0 15 5 48 4 49 5 0 5 7 6 13 70 9 35 15 44 43 7 7 8 4 4 49 9 2 6 6 47 49 10 1 49 11 1 11 I 6 I 0 I 0 I 0 I -2 p 12 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 30 57 19 0 15 20 0 45 0 1 35 1 13 18 2 49 2 1 15 15 20 0 45 0 3 56 4 50 5 1 11 I 5 I 1 I 1 I 1 n p 6 x 7 Comment n x 16 included_models= n M 1 p 2 x 9 for_block t n x 9 __block__ i 9 5 7 0 64 47 49 1 1 11 I 3 I 0 I 0 I 0 I -2 p 2 s 11 commentable x 16 navigation_label p 3 I 0 I df I 9 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 5 model p 7 I 0 I dc I 4 I dd I 13 I de I 1e x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config x 6 helper x 15 main_navigation n x 6 Regexp s 40 (nav\-header).*(commentable).*(Comments) x 3 new x 5 match x 6 should p 5 I 0 I dc I 9 I e2 I 2b x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 s 29 should "nest" in parent model M 1 p 2 x 9 for_block t n x 9 __block__ i 43 45 0 1 56 2 50 3 0 15 5 48 4 49 5 0 5 7 6 13 70 9 35 15 44 43 7 7 8 4 4 49 9 2 6 6 47 49 10 1 49 11 1 11 I 6 I 0 I 0 I 0 I -2 p 12 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 33 57 19 0 15 20 0 45 0 1 45 2 3 35 2 13 18 2 49 4 1 15 15 20 0 45 2 5 56 6 50 7 1 11 I 5 I 1 I 1 I 1 n p 8 x 6 Player n x 7 Comment n x 16 included_models= n M 1 p 2 x 9 for_block t n x 9 __block__ i 9 5 45 0 1 47 49 2 1 11 I 3 I 0 I 0 I 0 I -2 p 3 x 6 Player n x 6 parent p 3 I 0 I e9 I 9 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 5 model p 7 I 0 I e6 I 4 I e7 I 16 I e8 I 21 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config x 6 helper x 15 main_navigation n x 6 Regexp s 38 (Players).*(nav\-level\-1).*(Comments) x 3 new x 5 match x 6 should p 5 I 0 I e6 I 9 I ec I 2b x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 s 12 should order M 1 p 2 x 9 for_block t n x 9 __block__ i 89 45 0 1 56 2 50 3 0 15 5 48 4 49 5 0 5 7 6 13 70 9 35 15 44 43 7 7 8 4 4 49 9 2 6 6 47 49 10 1 49 11 1 15 45 0 12 45 13 14 56 15 50 3 1 15 5 48 4 49 5 0 5 7 16 13 70 9 81 15 44 43 7 7 17 4 4 49 9 2 6 16 47 49 10 1 49 11 1 11 I 6 I 0 I 0 I 0 I -2 p 18 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 22 57 19 0 15 20 0 45 0 1 45 2 3 35 2 13 18 2 49 4 1 15 11 I 5 I 1 I 1 I 1 n p 5 x 6 Player n x 7 Comment n x 16 included_models= p 5 I 0 I f0 I 4 I f1 I 16 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config x 6 helper x 15 main_navigation n x 6 Regexp s 21 (Comments).*(Players) x 3 new x 5 match x 6 should n x 7 Comment n M 1 p 2 x 9 for_block t n x 9 __block__ i 7 5 79 47 49 0 1 11 I 3 I 0 I 0 I 0 I -2 p 1 x 6 weight p 3 I 0 I f6 I 7 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 n s 21 (Players).*(Comments) p 9 I 0 I f0 I 9 I f3 I 2b I f5 I 37 I f8 I 59 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 p 15 I 0 I b7 I b I be I 16 I ca I 21 I d4 I 2c I db I 37 I e5 I 42 I ef I 4d x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 s 10 #bulk_menu M 1 p 2 x 9 for_block t n x 9 __block__ i 11 5 7 0 64 56 1 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 3 s 43 should include all visible bulkable actions M 1 p 2 x 9 for_block t n x 9 __block__ i 143 45 0 1 56 2 50 3 0 15 45 0 4 43 5 43 6 7 7 49 8 1 38 9 15 5 48 10 45 0 11 43 12 13 71 13 47 9 53 47 49 14 0 13 45 15 16 47 49 17 1 15 8 59 45 15 18 49 13 1 49 19 1 19 0 15 20 0 5 7 20 64 47 49 21 1 49 22 1 15 20 0 5 7 23 64 47 49 21 1 49 22 1 15 5 48 10 45 0 24 43 12 13 71 13 47 9 122 47 49 14 0 13 45 25 26 47 49 17 1 15 8 128 45 25 27 49 13 1 49 19 1 5 7 23 64 47 49 21 1 49 28 1 11 I 6 I 1 I 0 I 0 I -2 p 29 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 12 57 19 0 15 20 0 56 0 50 1 0 11 I 4 I 1 I 1 I 1 n p 2 M 1 p 2 x 9 for_block t n x 9 __block__ i 24 5 48 0 15 5 7 1 56 2 47 50 3 1 15 5 7 4 56 5 47 50 3 1 11 I 4 I 0 I 0 I 0 I -2 p 6 x 5 index x 4 zorg M 1 p 2 x 9 for_block t n x 9 __block__ i 15 5 2 47 49 0 1 15 5 7 1 47 49 2 1 11 I 3 I 0 I 0 I 0 I -2 p 3 x 8 bulkable x 11 zorg_action x 11 action_name p 5 I 0 I 102 I 7 I 103 I f x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 10 collection x 4 blub M 1 p 2 x 9 for_block t n x 9 __block__ i 15 5 2 47 49 0 1 15 5 56 1 47 50 2 0 11 I 3 I 0 I 0 I 0 I -2 p 3 x 8 bulkable M 1 p 2 x 9 for_block t n x 9 __block__ i 17 5 48 0 7 1 49 2 1 49 3 0 45 4 5 83 6 11 I 3 I 0 I 0 I 0 I -2 p 7 x 8 bindings x 14 abstract_model x 2 [] x 5 model x 4 Team n x 2 == p 3 I 0 I 108 I 11 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 7 visible p 5 I 0 I 106 I 7 I 107 I f x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 p 7 I 0 I 100 I 4 I 101 I e I 105 I 18 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 7 actions p 5 I 0 I fe I 4 I ff I c x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 config x 6 config n x 6 Config x 7 Actions x 5 index x 4 find x 7 @action x 6 helper n x 13 AbstractModel x 3 new x 8 allocate x 4 Team n x 10 initialize n x 9 bulk_menu s 11 zorg_action x 5 match x 6 should s 4 blub n x 6 Player n n x 10 should_not p 13 I 0 I fe I 9 I 10d I 18 I 10e I 41 I 10f I 4f I 110 I 5d I 112 I 8f x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 1 x 6 result x 2 it p 3 I 0 I fd I b x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 p 19 I 0 I 5 I 8 I 9 I 13 I 12 I 1e I 3c I 29 I 59 I 34 I 7a I 3f I 85 I 4a I b6 I 55 I fc I 60 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0 x 8 describe p 5 I 0 I 1 I 9 I 3 I 18 x 72 /Users/erik/Projects/rails_admin/spec/helpers/application_helper_spec.rb p 0