fix mistype

This commit is contained in:
Alexander Machehin 2015-03-30 20:12:24 +05:00 committed by Vokhmin Alexey V
parent 85ba75aad3
commit 19836cf2ea
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ shared_examples_for 'user with no rights for this project' do
it 'should not be able to set reader role for any user' do
put :update, {id: @collaborator.id}.merge(@update_params)
expect(@another_user.relations.exists? target_id: @project.id, target_type: 'Project', role: 'read').to be false
expect(@another_user.relations.exists? target_id: @project.id, target_type: 'Project', role: 'reader').to be false
end
end