#472: cleanup specs

This commit is contained in:
Vokhmin Alexey V 2015-05-22 23:27:04 +03:00
parent 81ddbef53a
commit 95d5f4a384
1 changed files with 0 additions and 9 deletions

View File

@ -34,14 +34,5 @@ describe Users::ProfileController, type: :controller do
expect(response).to be_success expect(response).to be_success
end 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
end end