!RBIX 9595534255132031488 x M 1 n n x 10 __script__ i 76 5 7 0 64 47 49 1 1 15 99 7 2 1 65 49 3 3 13 99 12 7 4 12 7 5 12 65 12 49 6 4 15 49 4 0 15 99 7 7 1 65 49 3 3 13 99 12 7 4 12 7 8 12 65 12 49 6 4 15 49 4 0 15 5 7 9 64 56 10 47 50 11 1 15 2 11 I 6 I 0 I 0 I 0 n p 12 s 11 spec_helper x 7 require x 7 Ability x 10 open_class x 14 __class_init__ M 1 n n x 7 Ability i 27 5 66 5 45 0 1 43 2 47 49 3 1 15 99 7 4 7 5 65 67 49 6 0 49 7 4 11 I 5 I 0 I 0 I 0 n p 8 x 6 CanCan n x 7 Ability x 7 include x 10 initialize M 1 n n x 10 initialize i 386 20 0 49 0 0 7 1 49 2 1 9 23 5 7 3 7 4 47 49 5 2 8 24 1 15 20 0 49 0 0 7 6 49 2 1 9 106 5 7 7 47 49 5 1 15 5 7 3 7 4 47 49 5 2 15 5 7 8 7 9 47 49 5 2 15 5 7 10 7 9 47 49 5 2 15 5 7 11 7 12 35 2 45 13 14 44 43 15 79 49 16 1 13 7 17 2 49 18 2 15 47 49 19 3 8 385 5 7 7 47 49 5 1 15 20 0 49 0 0 7 20 49 2 1 9 138 5 7 8 45 13 21 47 49 5 2 8 139 1 15 20 0 49 0 0 7 22 49 2 1 9 179 5 7 23 45 13 24 44 43 15 79 49 16 1 13 7 17 3 49 18 2 15 47 49 5 3 8 180 1 15 20 0 49 0 0 7 25 49 2 1 9 220 5 7 26 45 13 27 44 43 15 79 49 16 1 13 7 28 2 49 18 2 15 47 49 5 3 8 221 1 15 20 0 49 0 0 7 29 49 2 1 9 261 5 7 11 45 13 30 44 43 15 79 49 16 1 13 7 17 3 49 18 2 15 47 49 5 3 8 262 1 15 20 0 49 0 0 7 31 49 2 1 9 302 5 7 12 45 13 32 44 43 15 79 49 16 1 13 7 17 3 49 18 2 15 47 49 5 3 8 303 1 15 20 0 49 0 0 7 33 49 2 1 9 343 5 7 34 45 13 35 44 43 15 79 49 16 1 13 7 17 3 49 18 2 15 47 49 5 3 8 344 1 15 20 0 49 0 0 7 36 49 2 1 9 384 5 7 10 45 13 37 44 43 15 79 49 16 1 13 7 17 3 49 18 2 15 47 49 5 3 8 385 1 11 I 8 I 1 I 1 I 1 n p 38 x 5 roles x 5 admin x 8 include? x 6 access x 11 rails_admin x 3 can x 14 test_exception x 9 dashboard x 6 manage x 3 all x 11 show_in_app x 6 update x 7 destroy x 6 Player n x 4 Hash x 16 new_from_literal x 7 retired x 3 []= x 6 cannot x 13 manage_player n x 11 read_player x 4 read n x 13 create_player x 6 create n x 9 suspended x 13 update_player n x 14 destroy_player n x 14 history_player x 7 history n x 18 show_in_app_player n p 49 I -1 I 5 I 0 I 6 I 18 I 0 I 19 I 7 I 25 I 11 I 2d I 12 I 37 I 13 I 41 I 14 I 4b I 15 I 6a I 8 I 72 I 9 I 8b I 0 I 8c I a I b4 I 0 I b5 I b I dd I 0 I de I c I 106 I 0 I 107 I d I 12f I 0 I 130 I e I 158 I 0 I 159 I f I 181 I 0 I 182 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 1 x 4 user x 17 method_visibility x 15 add_defn_method p 5 I 2 I 4 I d I 5 I 1b x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 13 attach_method x 12 AdminAbility M 1 n n x 12 AdminAbility i 27 5 66 5 45 0 1 43 2 47 49 3 1 15 99 7 4 7 5 65 67 49 6 0 49 7 4 11 I 5 I 0 I 0 I 0 n p 8 x 6 CanCan n x 7 Ability x 7 include x 10 initialize M 1 n n x 10 initialize i 45 20 0 49 0 0 7 1 49 2 1 9 23 5 7 3 7 4 47 49 5 2 8 24 1 15 5 7 6 7 7 47 49 5 2 15 5 7 8 7 7 47 49 5 2 11 I 4 I 1 I 1 I 1 n p 9 x 5 roles x 5 admin x 8 include? x 6 access x 11 rails_admin x 3 can x 11 show_in_app x 3 all x 6 manage p 11 I -1 I 1c I 0 I 1d I 18 I 0 I 19 I 1e I 23 I 1f I 2d x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 1 x 4 user x 17 method_visibility x 15 add_defn_method p 5 I 2 I 1b I d I 1c I 1b x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 31 RailsAdmin CanCan Authorization M 1 p 2 x 9 for_block t n x 9 __block__ i 128 5 56 0 47 50 1 0 15 5 7 2 56 3 47 50 4 1 15 5 7 5 64 56 6 47 50 7 1 15 5 7 8 64 56 9 47 50 7 1 15 5 7 10 64 56 11 47 50 7 1 15 5 7 12 64 56 13 47 50 7 1 15 5 7 14 64 56 15 47 50 7 1 15 5 7 16 64 56 17 47 50 7 1 15 5 7 18 64 56 19 47 50 7 1 15 5 7 20 64 56 21 47 50 7 1 15 5 7 22 64 56 23 47 50 7 1 15 5 7 24 64 56 25 47 50 7 1 11 I 4 I 0 I 0 I 0 I -2 p 26 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 page p 3 I 0 I 25 I 4 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 7 subject x 4 each M 1 p 2 x 9 for_block t n x 9 __block__ i 63 45 0 1 56 2 50 3 0 15 45 0 4 43 5 13 71 6 47 9 35 47 49 7 0 13 45 8 9 47 49 10 1 15 8 41 45 8 11 49 6 1 38 12 15 45 13 14 7 15 49 16 1 38 17 15 5 39 17 47 49 18 1 11 I 4 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 7 0 49 1 1 11 I 4 I 1 I 1 I 1 n p 2 x 6 cancan x 14 authorize_with p 5 I 0 I 28 I 4 I 29 I c x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 1 x 1 c x 6 config n x 13 AbstractModel x 3 new x 8 allocate x 6 Player n x 10 initialize n x 13 @player_model x 11 FactoryGirl n x 4 user x 6 create x 5 @user x 8 login_as p 9 I 0 I 28 I 9 I 2b I 2c I 2c I 37 I 2d I 3f x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 6 before s 13 with no roles M 1 p 2 x 9 for_block t n x 9 __block__ i 32 5 7 0 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 5 1 15 5 7 6 64 56 7 47 50 5 1 11 I 4 I 0 I 0 I 0 I -2 p 8 x 4 each M 1 p 2 x 9 for_block t n x 9 __block__ i 10 39 0 7 1 35 0 49 2 2 11 I 4 I 0 I 0 I 0 I -2 p 3 x 5 @user x 5 roles x 16 update_attribute p 3 I 0 I 32 I a x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 6 before s 44 GET /admin should raise CanCan::AccessDenied M 1 p 2 x 9 for_block t n x 9 __block__ i 23 5 5 48 0 47 49 1 1 15 5 5 7 2 64 47 49 3 1 47 49 4 1 11 I 4 I 0 I 0 I 0 I -2 p 5 x 14 dashboard_path x 5 visit s 20 CanCan::AccessDenied x 12 have_content x 6 should p 5 I 0 I 36 I 9 I 37 I 17 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 2 it s 51 GET /admin/player should raise CanCan::AccessDenied M 1 p 2 x 9 for_block t n x 9 __block__ i 42 5 5 44 43 0 79 49 1 1 13 7 2 7 3 64 49 4 2 15 47 49 5 1 47 49 6 1 15 5 5 7 7 64 47 49 8 1 47 49 9 1 11 I 7 I 0 I 0 I 0 I -2 p 10 x 4 Hash x 16 new_from_literal x 10 model_name s 6 player x 3 []= x 10 index_path x 5 visit s 20 CanCan::AccessDenied x 12 have_content x 6 should p 5 I 0 I 3b I 1c I 3c I 2a x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 p 7 I 0 I 31 I a I 35 I 15 I 3a I 20 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 8 describe s 21 with read player role M 1 p 2 x 9 for_block t n x 9 __block__ i 54 5 7 0 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 5 1 15 5 7 6 64 56 7 47 50 5 1 15 5 7 8 64 56 9 47 50 5 1 15 5 7 10 64 56 11 47 50 5 1 11 I 4 I 0 I 0 I 0 I -2 p 12 x 4 each M 1 p 2 x 9 for_block t n x 9 __block__ i 14 39 0 7 1 7 2 7 3 35 2 49 4 2 11 I 5 I 0 I 0 I 0 I -2 p 5 x 5 @user x 5 roles x 5 admin x 11 read_player x 16 update_attribute p 3 I 0 I 42 I e x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 6 before s 44 GET /admin should show Player but not League M 1 p 2 x 9 for_block t n x 9 __block__ i 54 5 5 48 0 47 49 1 1 15 5 48 2 5 7 3 64 47 49 4 1 49 5 1 15 5 48 2 5 7 6 64 47 49 4 1 49 7 1 15 5 48 2 5 7 8 64 47 49 4 1 49 7 1 11 I 4 I 0 I 0 I 0 I -2 p 9 x 14 dashboard_path x 5 visit x 4 body s 6 Player x 12 have_content x 6 should s 6 League x 10 should_not s 7 Add new p 9 I 0 I 46 I 9 I 47 I 18 I 48 I 27 I 49 I 36 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 2 it s 115 GET /admin/player should render successfully but not list retired players and not show new, edit, or delete actions M 1 p 2 x 9 for_block t n x 9 __block__ i 215 45 0 1 45 2 3 56 4 50 5 1 15 45 6 7 7 8 44 43 9 79 49 10 1 13 7 11 3 49 12 2 15 49 13 2 45 6 14 7 8 44 43 9 79 49 10 1 13 7 11 2 49 12 2 15 49 13 2 35 2 38 15 15 5 5 44 43 9 79 49 10 1 13 7 16 7 17 64 49 12 2 15 47 49 18 1 47 49 19 1 15 5 5 39 15 78 49 20 1 49 21 0 47 49 22 1 47 49 23 1 15 5 5 39 15 79 49 20 1 49 21 0 47 49 22 1 47 49 24 1 15 5 5 7 25 64 47 49 22 1 47 49 24 1 15 5 5 7 26 64 47 49 27 1 47 49 23 1 15 5 5 7 28 64 47 49 27 1 47 49 24 1 15 5 5 7 29 64 47 49 27 1 47 49 24 1 15 5 5 7 30 64 47 49 27 1 47 49 24 1 15 5 5 7 31 64 47 49 27 1 47 49 24 1 11 I 8 I 0 I 0 I 0 I -2 p 32 x 10 RailsAdmin n x 6 Player n 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 4 name x 5 field p 3 I 0 I 50 I 8 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 4 list p 3 I 0 I 4f I 8 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 6 config x 11 FactoryGirl n x 6 player x 4 Hash x 16 new_from_literal x 7 retired x 3 []= x 6 create n x 8 @players x 10 model_name s 6 player x 10 index_path x 5 visit x 2 [] x 4 name x 12 have_content x 6 should x 10 should_not s 7 Add new s 17 .show_member_link x 8 have_css s 17 .edit_member_link s 19 .delete_member_link s 25 .history_show_member_link s 24 .show_in_app_member_link p 27 I 0 I 4e I c I 54 I 23 I 55 I 3c I 53 I 3f I 58 I 5b I 5a I 6f I 5b I 83 I 5c I 91 I 5d I 9f I 5e I ad I 5f I bb I 60 I c9 I 61 I d7 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 49 GET /admin/team should raise CanCan::AccessDenied M 1 p 2 x 9 for_block t n x 9 __block__ i 42 5 5 44 43 0 79 49 1 1 13 7 2 7 3 64 49 4 2 15 47 49 5 1 47 49 6 1 15 5 5 7 7 64 47 49 8 1 47 49 9 1 11 I 7 I 0 I 0 I 0 I -2 p 10 x 4 Hash x 16 new_from_literal x 10 model_name s 4 team x 3 []= x 10 index_path x 5 visit s 20 CanCan::AccessDenied x 12 have_content x 6 should p 5 I 0 I 65 I 1c I 66 I 2a x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 55 GET /admin/player/new should raise CanCan::AccessDenied M 1 p 2 x 9 for_block t n x 9 __block__ i 42 5 5 44 43 0 79 49 1 1 13 7 2 7 3 64 49 4 2 15 47 49 5 1 47 49 6 1 15 5 5 7 7 64 47 49 8 1 47 49 9 1 11 I 7 I 0 I 0 I 0 I -2 p 10 x 4 Hash x 16 new_from_literal x 10 model_name s 6 player x 3 []= x 8 new_path x 5 visit s 20 CanCan::AccessDenied x 12 have_content x 6 should p 5 I 0 I 6a I 1c I 6b I 2a x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 p 11 I 0 I 41 I a I 45 I 15 I 4c I 20 I 64 I 2b I 69 I 36 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 32 with create and read player role M 1 p 2 x 9 for_block t n x 9 __block__ i 32 5 7 0 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 5 1 15 5 7 6 64 56 7 47 50 5 1 11 I 4 I 0 I 0 I 0 I -2 p 8 x 4 each M 1 p 2 x 9 for_block t n x 9 __block__ i 16 39 0 7 1 7 2 7 3 7 4 35 3 49 5 2 11 I 6 I 0 I 0 I 0 I -2 p 6 x 5 @user x 5 roles x 5 admin x 11 read_player x 13 create_player x 16 update_attribute p 3 I 0 I 72 I 10 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 6 before s 69 GET /admin/player/new should render and create record upon submission M 1 p 2 x 9 for_block t n x 9 __block__ i 268 5 5 44 43 0 79 49 1 1 13 7 2 7 3 64 49 4 2 15 47 49 5 1 47 49 6 1 15 5 5 7 7 64 47 49 8 1 47 49 9 1 15 5 5 7 10 64 47 49 8 1 47 49 9 1 15 5 5 7 11 64 47 49 8 1 47 49 12 1 15 5 7 13 64 44 43 0 79 49 1 1 13 7 14 7 15 64 49 4 2 15 47 49 16 2 15 5 7 17 64 44 43 0 79 49 1 1 13 7 14 7 18 64 49 4 2 15 47 49 16 2 15 5 7 19 64 44 43 0 79 49 1 1 13 7 14 7 20 64 49 4 2 15 47 49 16 2 15 5 7 21 64 47 49 22 1 15 5 5 7 23 64 47 49 8 1 47 49 9 1 15 45 24 25 43 26 13 71 27 47 9 197 47 49 28 0 13 7 29 64 47 49 30 1 15 8 203 7 29 64 49 27 1 49 31 0 38 32 15 39 32 49 33 0 5 7 15 64 47 49 34 1 49 12 1 15 39 32 49 35 0 5 4 42 47 49 34 1 49 12 1 15 39 32 49 36 0 5 7 20 64 47 49 34 1 49 12 1 15 39 32 5 48 37 49 12 1 11 I 7 I 0 I 0 I 0 I -2 p 38 x 4 Hash x 16 new_from_literal x 10 model_name s 6 player x 3 []= x 8 new_path x 5 visit s 13 Save and edit x 12 have_content x 10 should_not s 6 Delete s 20 Save and add another x 6 should s 12 player[name] x 4 with s 15 Jackie Robinson x 7 fill_in s 14 player[number] s 2 42 s 16 player[position] s 14 Second baseman s 4 Save x 12 click_button s 4 Edit x 10 RailsAdmin n x 13 AbstractModel x 3 new x 8 allocate s 6 Player x 10 initialize x 5 first x 7 @player x 4 name x 3 eql x 6 number x 8 position x 12 be_suspended p 29 I 0 I 76 I 1c I 78 I 2a I 79 I 38 I 7b I 46 I 7c I 60 I 7d I 7a I 7e I 94 I 7f I 9d I 80 I ab I 82 I d1 I 83 I e2 I 84 I f2 I 85 I 103 I 86 I 10c x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 2 it s 51 GET /admin/player/1/edit should raise access denied M 1 p 2 x 9 for_block t n x 9 __block__ i 65 45 0 1 7 2 49 3 1 38 4 15 5 5 44 43 5 80 49 6 1 13 7 7 7 8 64 49 9 2 15 13 7 10 39 4 49 10 0 49 9 2 15 47 49 11 1 47 49 12 1 15 5 5 7 13 64 47 49 14 1 47 49 15 1 11 I 7 I 0 I 0 I 0 I -2 p 16 x 11 FactoryGirl n x 6 player x 6 create x 7 @player x 4 Hash x 16 new_from_literal x 10 model_name s 6 player x 3 []= x 2 id x 9 edit_path x 5 visit s 20 CanCan::AccessDenied x 12 have_content x 6 should p 7 I 0 I 8a I b I 8b I 33 I 8c I 41 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 p 7 I 0 I 71 I a I 75 I 15 I 89 I 20 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 32 with update and read player role M 1 p 2 x 9 for_block t n x 9 __block__ i 43 5 7 0 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 5 1 15 5 7 6 64 56 7 47 50 5 1 15 5 7 8 64 56 9 47 50 5 1 11 I 4 I 0 I 0 I 0 I -2 p 10 x 4 each M 1 p 2 x 9 for_block t n x 9 __block__ i 16 39 0 7 1 7 2 7 3 7 4 35 3 49 5 2 11 I 6 I 0 I 0 I 0 I -2 p 6 x 5 @user x 5 roles x 5 admin x 11 read_player x 13 update_player x 16 update_attribute p 3 I 0 I 93 I 10 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 6 before s 72 GET /admin/player/1/edit should render and update record upon submission M 1 p 2 x 9 for_block t n x 9 __block__ i 193 45 0 1 7 2 49 3 1 38 4 15 5 5 44 43 5 80 49 6 1 13 7 7 7 8 64 49 9 2 15 13 7 10 39 4 49 10 0 49 9 2 15 47 49 11 1 47 49 12 1 15 5 5 7 13 64 47 49 14 1 47 49 15 1 15 5 5 7 16 64 47 49 14 1 47 49 17 1 15 5 5 7 18 64 47 49 14 1 47 49 17 1 15 5 5 7 19 64 47 49 14 1 47 49 17 1 15 5 5 7 20 64 47 49 14 1 47 49 17 1 15 5 5 7 21 64 47 49 14 1 47 49 17 1 15 5 7 22 64 44 43 5 79 49 6 1 13 7 23 7 24 64 49 9 2 15 47 49 25 2 15 5 7 26 64 47 49 27 1 15 39 4 49 28 0 15 39 4 49 29 0 5 7 24 64 47 49 30 1 49 15 1 11 I 7 I 0 I 0 I 0 I -2 p 31 x 11 FactoryGirl n x 6 player x 6 create x 7 @player x 4 Hash x 16 new_from_literal x 10 model_name s 6 player x 3 []= x 2 id x 9 edit_path x 5 visit s 13 Save and edit x 12 have_content x 6 should s 20 Save and add another x 10 should_not s 7 Add new s 6 Delete s 7 History s 11 Show in app s 12 player[name] x 4 with s 15 Jackie Robinson x 7 fill_in s 4 Save x 12 click_button x 6 reload x 4 name x 3 eql p 25 I 0 I 97 I b I 98 I 33 I 99 I 41 I 9a I 4f I 9b I 5d I 9c I 6b I 9d I 79 I 9e I 87 I 9f I a1 I a0 I aa I a1 I b0 I a2 I c1 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 2 it s 71 GET /admin/player/1/edit with retired player should raise access denied M 1 p 2 x 9 for_block t n x 9 __block__ i 80 45 0 1 7 2 44 43 3 79 49 4 1 13 7 5 2 49 6 2 15 49 7 2 38 8 15 5 5 44 43 3 80 49 4 1 13 7 9 7 10 64 49 6 2 15 13 7 11 39 8 49 11 0 49 6 2 15 47 49 12 1 47 49 13 1 15 5 5 7 14 64 47 49 15 1 47 49 16 1 11 I 7 I 0 I 0 I 0 I -2 p 17 x 11 FactoryGirl n x 6 player x 4 Hash x 16 new_from_literal x 7 retired x 3 []= x 6 create x 7 @player x 10 model_name s 6 player x 2 id x 9 edit_path x 5 visit s 20 CanCan::AccessDenied x 12 have_content x 6 should p 7 I 0 I a6 I 1a I a7 I 42 I a8 I 50 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 53 GET /admin/player/1/delete should raise access denied M 1 p 2 x 9 for_block t n x 9 __block__ i 65 45 0 1 7 2 49 3 1 38 4 15 5 5 44 43 5 80 49 6 1 13 7 7 7 8 64 49 9 2 15 13 7 10 39 4 49 10 0 49 9 2 15 47 49 11 1 47 49 12 1 15 5 5 7 13 64 47 49 14 1 47 49 15 1 11 I 7 I 0 I 0 I 0 I -2 p 16 x 11 FactoryGirl n x 6 player x 6 create x 7 @player x 4 Hash x 16 new_from_literal x 10 model_name s 6 player x 3 []= x 2 id x 11 delete_path x 5 visit s 20 CanCan::AccessDenied x 12 have_content x 6 should p 7 I 0 I ac I b I ad I 33 I ae I 41 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 p 9 I 0 I 92 I a I 96 I 15 I a5 I 20 I ab I 2b x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 17 with history role 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 29 shows links to history action M 1 p 2 x 9 for_block t n x 9 __block__ i 207 39 0 7 1 7 2 7 3 7 4 35 3 49 5 2 15 45 6 7 7 8 49 9 1 38 10 15 5 5 44 43 11 79 49 12 1 13 7 13 7 14 64 49 15 2 15 47 49 16 1 47 49 17 1 15 5 5 7 18 64 47 49 19 1 47 49 20 1 15 5 5 7 21 64 47 49 19 1 47 49 22 1 15 5 5 7 23 64 47 49 19 1 47 49 22 1 15 5 5 7 24 64 47 49 19 1 47 49 20 1 15 5 5 44 43 11 80 49 12 1 13 7 13 7 14 64 49 15 2 15 13 7 25 39 10 49 25 0 49 15 2 15 47 49 26 1 47 49 17 1 15 5 5 7 27 64 47 49 28 1 47 49 20 1 15 5 5 7 29 64 47 49 28 1 47 49 22 1 15 5 5 7 30 64 47 49 28 1 47 49 22 1 15 5 5 7 31 64 47 49 28 1 47 49 20 1 11 I 7 I 0 I 0 I 0 I -2 p 32 x 5 @user x 5 roles x 5 admin x 11 read_player x 14 history_player x 16 update_attribute x 11 FactoryGirl n x 6 player x 6 create x 7 @player x 4 Hash x 16 new_from_literal x 10 model_name s 6 player x 3 []= x 10 index_path x 5 visit s 17 .show_member_link x 8 have_css x 6 should s 17 .edit_member_link x 10 should_not s 19 .delete_member_link s 25 .history_show_member_link x 2 id x 9 show_path s 4 Show x 12 have_content s 4 Edit s 6 Delete s 7 History p 25 I 0 I b6 I 10 I b7 I 1b I b9 I 37 I ba I 45 I bb I 53 I bc I 61 I bd I 6f I bf I 97 I c0 I a5 I c1 I b3 I c2 I c1 I c3 I cf x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 2 it p 3 I 0 I b4 I b x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 21 with show in app role 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 33 shows links to show in app action M 1 p 2 x 9 for_block t n x 9 __block__ i 235 39 0 7 1 7 2 7 3 7 4 35 3 49 5 2 15 45 6 7 7 8 49 9 1 38 10 15 5 5 44 43 11 79 49 12 1 13 7 13 7 14 64 49 15 2 15 47 49 16 1 47 49 17 1 15 5 5 7 18 64 47 49 19 1 47 49 20 1 15 5 5 7 21 64 47 49 19 1 47 49 22 1 15 5 5 7 23 64 47 49 19 1 47 49 22 1 15 5 5 7 24 64 47 49 19 1 47 49 22 1 15 5 5 7 25 64 47 49 19 1 47 49 20 1 15 5 5 44 43 11 80 49 12 1 13 7 13 7 14 64 49 15 2 15 13 7 26 39 10 49 26 0 49 15 2 15 47 49 27 1 47 49 17 1 15 5 5 7 28 64 47 49 29 1 47 49 20 1 15 5 5 7 30 64 47 49 29 1 47 49 22 1 15 5 5 7 31 64 47 49 29 1 47 49 22 1 15 5 5 7 32 64 47 49 29 1 47 49 22 1 15 5 5 7 33 64 47 49 29 1 47 49 20 1 11 I 7 I 0 I 0 I 0 I -2 p 34 x 5 @user x 5 roles x 5 admin x 11 read_player x 18 show_in_app_player x 16 update_attribute x 11 FactoryGirl n x 6 player x 6 create x 7 @player x 4 Hash x 16 new_from_literal x 10 model_name s 6 player x 3 []= x 10 index_path x 5 visit s 17 .show_member_link x 8 have_css x 6 should s 17 .edit_member_link x 10 should_not s 19 .delete_member_link s 25 .history_show_member_link s 24 .show_in_app_member_link x 2 id x 9 show_path s 4 Show x 12 have_content s 4 Edit s 6 Delete s 7 History s 11 Show in app p 29 I 0 I cb I 10 I cc I 1b I ce I 37 I cf I 45 I d0 I 53 I d1 I 61 I d2 I 6f I d3 I 7d I d5 I a5 I d6 I b3 I d7 I c1 I d8 I cf I d9 I dd I da I eb x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 2 it p 3 I 0 I c9 I b x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 14 with all roles 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 26 shows links to all actions M 1 p 2 x 9 for_block t n x 9 __block__ i 233 39 0 7 1 7 2 7 3 35 2 49 4 2 15 45 5 6 7 7 49 8 1 38 9 15 5 5 44 43 10 79 49 11 1 13 7 12 7 13 64 49 14 2 15 47 49 15 1 47 49 16 1 15 5 5 7 17 64 47 49 18 1 47 49 19 1 15 5 5 7 20 64 47 49 18 1 47 49 19 1 15 5 5 7 21 64 47 49 18 1 47 49 19 1 15 5 5 7 22 64 47 49 18 1 47 49 19 1 15 5 5 7 23 64 47 49 18 1 47 49 19 1 15 5 5 44 43 10 80 49 11 1 13 7 12 7 13 64 49 14 2 15 13 7 24 39 9 49 24 0 49 14 2 15 47 49 25 1 47 49 16 1 15 5 5 7 26 64 47 49 27 1 47 49 19 1 15 5 5 7 28 64 47 49 27 1 47 49 19 1 15 5 5 7 29 64 47 49 27 1 47 49 19 1 15 5 5 7 30 64 47 49 27 1 47 49 19 1 15 5 5 7 31 64 47 49 27 1 47 49 19 1 11 I 7 I 0 I 0 I 0 I -2 p 32 x 5 @user x 5 roles x 5 admin x 13 manage_player x 16 update_attribute x 11 FactoryGirl n x 6 player x 6 create x 7 @player x 4 Hash x 16 new_from_literal x 10 model_name s 6 player x 3 []= x 10 index_path x 5 visit s 17 .show_member_link x 8 have_css x 6 should s 17 .edit_member_link s 19 .delete_member_link s 25 .history_show_member_link s 24 .show_in_app_member_link x 2 id x 9 show_path s 4 Show x 12 have_content s 4 Edit s 6 Delete s 7 History s 11 Show in app p 29 I 0 I e2 I e I e3 I 19 I e5 I 35 I e6 I 43 I e7 I 51 I e8 I 5f I e9 I 6d I ea I 7b I ec I a3 I ed I b1 I ee I bf I ef I cd I f0 I db I f1 I e9 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 2 it p 3 I 0 I e0 I b x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 33 with destroy and read player role M 1 p 2 x 9 for_block t n x 9 __block__ i 54 5 7 0 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 5 1 15 5 7 6 64 56 7 47 50 5 1 15 5 7 8 64 56 9 47 50 5 1 15 5 7 10 64 56 11 47 50 5 1 11 I 4 I 0 I 0 I 0 I -2 p 12 x 4 each M 1 p 2 x 9 for_block t n x 9 __block__ i 16 39 0 7 1 7 2 7 3 7 4 35 3 49 5 2 11 I 6 I 0 I 0 I 0 I -2 p 6 x 5 @user x 5 roles x 5 admin x 11 read_player x 14 destroy_player x 16 update_attribute p 3 I 0 I f8 I 10 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 6 before s 75 GET /admin/player/1/delete should render and destroy record upon submission M 1 p 2 x 9 for_block t n x 9 __block__ i 79 45 0 1 7 2 49 3 1 38 4 15 39 4 49 5 0 19 0 15 5 5 44 43 6 80 49 7 1 13 7 8 7 9 64 49 10 2 15 13 7 5 20 0 49 10 2 15 47 49 11 1 47 49 12 1 15 5 7 13 64 47 49 14 1 15 39 15 20 0 49 16 1 5 48 17 49 18 1 11 I 8 I 1 I 0 I 0 I -2 p 19 x 11 FactoryGirl n x 6 player x 6 create x 7 @player x 2 id x 4 Hash x 16 new_from_literal x 10 model_name s 6 player x 3 []= x 11 delete_path x 5 visit s 13 Yes, I'm sure x 12 click_button x 13 @player_model x 3 get x 6 be_nil x 6 should p 11 I 0 I fc I b I fd I 13 I fe I 38 I 100 I 41 I 102 I 4f x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 1 x 9 player_id x 2 it s 73 GET /admin/player/1/delete with retired player should raise access denied M 1 p 2 x 9 for_block t n x 9 __block__ i 80 45 0 1 7 2 44 43 3 79 49 4 1 13 7 5 2 49 6 2 15 49 7 2 38 8 15 5 5 44 43 3 80 49 4 1 13 7 9 7 10 64 49 6 2 15 13 7 11 39 8 49 11 0 49 6 2 15 47 49 12 1 47 49 13 1 15 5 5 7 14 64 47 49 15 1 47 49 16 1 11 I 7 I 0 I 0 I 0 I -2 p 17 x 11 FactoryGirl n x 6 player x 4 Hash x 16 new_from_literal x 7 retired x 3 []= x 6 create x 7 @player x 10 model_name s 6 player x 2 id x 11 delete_path x 5 visit s 20 CanCan::AccessDenied x 12 have_content x 6 should p 7 I 0 I 106 I 1a I 107 I 42 I 108 I 50 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 75 GET /admin/player/bulk_delete should render records which are authorized to M 1 p 2 x 9 for_block t n x 9 __block__ i 156 45 0 1 7 2 44 43 3 79 49 4 1 13 7 5 3 49 6 2 15 49 7 2 19 0 15 45 0 8 7 2 44 43 3 79 49 4 1 13 7 5 2 49 6 2 15 49 7 2 19 1 15 5 48 9 49 10 0 5 44 43 3 4 3 49 4 1 13 7 11 7 12 64 49 6 2 15 13 7 13 7 14 64 49 6 2 15 13 7 15 20 0 20 1 35 2 7 16 13 70 10 109 44 43 17 12 49 18 1 50 19 0 49 6 2 15 47 49 20 1 49 21 1 15 5 5 20 0 49 22 0 47 49 23 1 47 49 24 1 15 5 5 20 1 49 22 0 47 49 23 1 47 49 25 1 11 I b I 2 I 0 I 0 I -2 p 26 x 11 FactoryGirl n x 6 player x 4 Hash x 16 new_from_literal x 7 retired x 3 []= x 6 create n x 4 page x 6 driver x 11 bulk_action s 11 bulk_delete x 10 model_name s 6 player x 8 bulk_ids x 2 id x 4 Proc x 14 __from_block__ x 3 map x 16 bulk_action_path x 4 post x 4 name x 12 have_content x 6 should x 10 should_not p 11 I 0 I 10c I 1a I 10d I 34 I 10f I 7c I 111 I 8c I 112 I 9c x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 2 x 13 active_player x 14 retired_player s 78 POST /admin/player/bulk_destroy should destroy records which are authorized to M 1 p 2 x 9 for_block t n x 9 __block__ i 147 45 0 1 7 2 44 43 3 79 49 4 1 13 7 5 3 49 6 2 15 49 7 2 19 0 15 45 0 8 7 2 44 43 3 79 49 4 1 13 7 5 2 49 6 2 15 49 7 2 19 1 15 5 48 9 49 10 0 5 44 43 3 80 49 4 1 13 7 11 7 12 64 49 6 2 15 13 7 13 20 0 20 1 35 2 7 14 13 70 10 98 44 43 15 12 49 16 1 50 17 0 49 6 2 15 47 49 18 1 49 19 1 15 39 20 20 0 49 14 0 49 21 1 5 48 22 49 23 1 15 39 20 20 1 49 14 0 49 21 1 5 48 22 49 24 1 11 I b I 2 I 0 I 0 I -2 p 25 x 11 FactoryGirl n x 6 player x 4 Hash x 16 new_from_literal x 7 retired x 3 []= x 6 create n x 4 page x 6 driver x 10 model_name s 6 player x 8 bulk_ids x 2 id x 4 Proc x 14 __from_block__ x 3 map x 16 bulk_delete_path x 6 delete x 13 @player_model x 3 get x 6 be_nil x 6 should x 10 should_not p 11 I 0 I 116 I 1a I 117 I 34 I 119 I 71 I 11a I 82 I 11b I 93 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 2 x 13 active_player x 14 retired_player p 11 I 0 I f7 I a I fb I 15 I 105 I 20 I 10b I 2b I 115 I 36 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 19 with exception role 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 75 GET /admin/player/bulk_delete should render records which are authorized to M 1 p 2 x 9 for_block t n x 9 __block__ i 170 39 0 7 1 7 2 7 3 35 2 49 4 2 15 45 5 6 7 7 44 43 8 79 49 9 1 13 7 10 3 49 11 2 15 49 12 2 19 0 15 45 5 13 7 7 44 43 8 79 49 9 1 13 7 10 2 49 11 2 15 49 12 2 19 1 15 5 48 14 49 15 0 5 44 43 8 4 3 49 9 1 13 7 16 7 17 64 49 11 2 15 13 7 18 7 19 64 49 11 2 15 13 7 20 20 0 20 1 35 2 7 21 13 70 10 123 44 43 22 12 49 23 1 50 24 0 49 11 2 15 47 49 25 1 49 26 1 15 5 5 20 0 49 27 0 47 49 28 1 47 49 29 1 15 5 5 20 1 49 27 0 47 49 28 1 47 49 30 1 11 I b I 2 I 0 I 0 I -2 p 31 x 5 @user x 5 roles x 5 admin x 14 test_exception x 16 update_attribute x 11 FactoryGirl n x 6 player x 4 Hash x 16 new_from_literal x 7 retired x 3 []= x 6 create n x 4 page x 6 driver x 11 bulk_action s 11 bulk_delete x 10 model_name s 6 player x 8 bulk_ids x 2 id x 4 Proc x 14 __from_block__ x 3 map x 16 bulk_action_path x 4 post x 4 name x 12 have_content x 6 should x 10 should_not p 13 I 0 I 121 I e I 122 I 28 I 123 I 42 I 125 I 8a I 127 I 9a I 128 I aa x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 2 x 13 active_player x 14 retired_player x 2 it s 78 POST /admin/player/bulk_destroy should destroy records which are authorized to M 1 p 2 x 9 for_block t n x 9 __block__ i 161 39 0 7 1 7 2 7 3 35 2 49 4 2 15 45 5 6 7 7 44 43 8 79 49 9 1 13 7 10 3 49 11 2 15 49 12 2 19 0 15 45 5 13 7 7 44 43 8 79 49 9 1 13 7 10 2 49 11 2 15 49 12 2 19 1 15 5 48 14 49 15 0 5 44 43 8 80 49 9 1 13 7 16 7 17 64 49 11 2 15 13 7 18 20 0 20 1 35 2 7 19 13 70 10 112 44 43 20 12 49 21 1 50 22 0 49 11 2 15 47 49 23 1 49 24 1 15 39 25 20 0 49 19 0 49 26 1 5 48 27 49 28 1 15 39 25 20 1 49 19 0 49 26 1 5 48 27 49 29 1 11 I b I 2 I 0 I 0 I -2 p 30 x 5 @user x 5 roles x 5 admin x 14 test_exception x 16 update_attribute x 11 FactoryGirl n x 6 player x 4 Hash x 16 new_from_literal x 7 retired x 3 []= x 6 create n x 4 page x 6 driver x 10 model_name s 6 player x 8 bulk_ids x 2 id x 4 Proc x 14 __from_block__ x 3 map x 16 bulk_delete_path x 6 delete x 13 @player_model x 3 get x 6 be_nil x 6 should x 10 should_not p 13 I 0 I 12c I e I 12d I 28 I 12e I 42 I 130 I 7f I 131 I 90 I 132 I a1 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 2 x 13 active_player x 14 retired_player p 5 I 0 I 120 I b I 12b I 16 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 27 with a custom admin ability M 1 p 2 x 9 for_block t n x 9 __block__ i 21 5 7 0 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 5 1 11 I 4 I 0 I 0 I 0 I -2 p 6 x 4 each M 1 p 2 x 9 for_block t n x 9 __block__ i 28 45 0 1 56 2 50 3 0 15 45 4 5 7 6 49 7 1 38 8 15 5 39 8 47 49 9 1 11 I 3 I 0 I 0 I 0 I -2 p 10 x 10 RailsAdmin n M 1 p 2 x 9 for_block t n x 9 __block__ i 15 57 19 0 15 20 0 7 0 45 1 2 49 3 2 11 I 5 I 1 I 1 I 1 n p 4 x 6 cancan x 12 AdminAbility n x 14 authorize_with p 3 I 0 I 138 I f x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 1 x 1 c x 6 config x 11 FactoryGirl n x 4 user x 6 create x 5 @user x 8 login_as p 7 I 0 I 138 I 9 I 139 I 14 I 13a I 1c x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 6 before s 20 with admin role only M 1 p 2 x 9 for_block t n x 9 __block__ i 76 5 7 0 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 5 1 15 5 7 6 64 56 7 47 50 5 1 15 5 7 8 64 56 9 47 50 5 1 15 5 7 10 64 56 11 47 50 5 1 15 5 7 12 64 56 13 47 50 5 1 15 5 7 14 64 56 15 47 50 5 1 11 I 4 I 0 I 0 I 0 I -2 p 16 x 4 each M 1 p 2 x 9 for_block t n x 9 __block__ i 12 39 0 7 1 7 2 35 1 49 3 2 11 I 4 I 0 I 0 I 0 I -2 p 4 x 5 @user x 5 roles x 5 admin x 16 update_attribute p 3 I 0 I 13f I c x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 6 before s 42 GET /admin/team should render successfully M 1 p 2 x 9 for_block t n x 9 __block__ i 42 5 5 44 43 0 79 49 1 1 13 7 2 7 3 64 49 4 2 15 47 49 5 1 47 49 6 1 15 5 48 7 49 8 0 49 9 0 4 200 83 10 11 I 7 I 0 I 0 I 0 I -2 p 11 x 4 Hash x 16 new_from_literal x 10 model_name s 4 team x 3 []= x 10 index_path x 5 visit x 4 page x 11 status_code x 6 should x 2 == p 5 I 0 I 143 I 1c I 144 I 2a x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 2 it s 48 GET /admin/player/new should render successfully M 1 p 2 x 9 for_block t n x 9 __block__ i 42 5 5 44 43 0 79 49 1 1 13 7 2 7 3 64 49 4 2 15 47 49 5 1 47 49 6 1 15 5 48 7 49 8 0 49 9 0 4 200 83 10 11 I 7 I 0 I 0 I 0 I -2 p 11 x 4 Hash x 16 new_from_literal x 10 model_name s 6 player x 3 []= x 8 new_path x 5 visit x 4 page x 11 status_code x 6 should x 2 == p 5 I 0 I 148 I 1c I 149 I 2a x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 51 GET /admin/player/1/edit should render successfully M 1 p 2 x 9 for_block t n x 9 __block__ i 65 45 0 1 7 2 49 3 1 38 4 15 5 5 44 43 5 80 49 6 1 13 7 7 7 8 64 49 9 2 15 13 7 10 39 4 49 10 0 49 9 2 15 47 49 11 1 47 49 12 1 15 5 48 13 49 14 0 49 15 0 4 200 83 16 11 I 7 I 0 I 0 I 0 I -2 p 17 x 11 FactoryGirl n x 6 player x 6 create x 7 @player x 4 Hash x 16 new_from_literal x 10 model_name s 6 player x 3 []= x 2 id x 9 edit_path x 5 visit x 4 page x 11 status_code x 6 should x 2 == p 7 I 0 I 14d I b I 14e I 33 I 14f I 41 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 71 GET /admin/player/1/edit with retired player should render successfully M 1 p 2 x 9 for_block t n x 9 __block__ i 80 45 0 1 7 2 44 43 3 79 49 4 1 13 7 5 2 49 6 2 15 49 7 2 38 8 15 5 5 44 43 3 80 49 4 1 13 7 9 7 10 64 49 6 2 15 13 7 11 39 8 49 11 0 49 6 2 15 47 49 12 1 47 49 13 1 15 5 48 14 49 15 0 49 16 0 4 200 83 17 11 I 7 I 0 I 0 I 0 I -2 p 18 x 11 FactoryGirl n x 6 player x 4 Hash x 16 new_from_literal x 7 retired x 3 []= x 6 create x 7 @player x 10 model_name s 6 player x 2 id x 9 edit_path x 5 visit x 4 page x 11 status_code x 6 should x 2 == p 7 I 0 I 153 I 1a I 154 I 42 I 155 I 50 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 53 GET /admin/player/1/delete should render successfully M 1 p 2 x 9 for_block t n x 9 __block__ i 65 45 0 1 7 2 49 3 1 38 4 15 5 5 44 43 5 80 49 6 1 13 7 7 7 8 64 49 9 2 15 13 7 10 39 4 49 10 0 49 9 2 15 47 49 11 1 47 49 12 1 15 5 48 13 49 14 0 49 15 0 4 200 83 16 11 I 7 I 0 I 0 I 0 I -2 p 17 x 11 FactoryGirl n x 6 player x 6 create x 7 @player x 4 Hash x 16 new_from_literal x 10 model_name s 6 player x 3 []= x 2 id x 11 delete_path x 5 visit x 4 page x 11 status_code x 6 should x 2 == p 7 I 0 I 159 I b I 15a I 33 I 15b I 41 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 s 73 GET /admin/player/1/delete with retired player should render successfully M 1 p 2 x 9 for_block t n x 9 __block__ i 80 45 0 1 7 2 44 43 3 79 49 4 1 13 7 5 2 49 6 2 15 49 7 2 38 8 15 5 5 44 43 3 80 49 4 1 13 7 9 7 10 64 49 6 2 15 13 7 11 39 8 49 11 0 49 6 2 15 47 49 12 1 47 49 13 1 15 5 48 14 49 15 0 49 16 0 4 200 83 17 11 I 7 I 0 I 0 I 0 I -2 p 18 x 11 FactoryGirl n x 6 player x 4 Hash x 16 new_from_literal x 7 retired x 3 []= x 6 create x 7 @player x 10 model_name s 6 player x 2 id x 11 delete_path x 5 visit x 4 page x 11 status_code x 6 should x 2 == p 7 I 0 I 15f I 1a I 160 I 42 I 161 I 50 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 p 15 I 0 I 13e I a I 142 I 15 I 147 I 20 I 14c I 2b I 152 I 36 I 158 I 41 I 15e I 4c x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 8 describe p 5 I 0 I 137 I a I 13d I 15 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 p 25 I 0 I 25 I 8 I 27 I 12 I 30 I 1d I 40 I 28 I 70 I 33 I 91 I 3e I b3 I 49 I c8 I 54 I df I 5f I f6 I 6a I 11f I 75 I 136 I 80 x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0 x 8 describe p 9 I 0 I 1 I 9 I 3 I 24 I 1a I 3f I 23 I 4c x 78 /Users/erik/Projects/rails_admin/spec/integration/authorization/cancan_spec.rb p 0