From 95d5f4a3840529975accbccc6011710064da61d2 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Fri, 22 May 2015 23:27:04 +0300 Subject: [PATCH] #472: cleanup specs --- spec/controllers/users/profile_controller_spec.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/spec/controllers/users/profile_controller_spec.rb b/spec/controllers/users/profile_controller_spec.rb index 2df58624b..64d33622f 100644 --- a/spec/controllers/users/profile_controller_spec.rb +++ b/spec/controllers/users/profile_controller_spec.rb @@ -34,14 +34,5 @@ describe Users::ProfileController, type: :controller do expect(response).to be_success end - context 'with mass assignment' do - it 'should not be able to update role' do - expect(@simple_user).to_not allow_mass_assignment_of :role - end - - it 'should not be able to update other user' do - expect(@simple_user).to_not allow_mass_assignment_of :id - end - end end end