fix collaborator tests

This commit is contained in:
Alexander Machehin 2012-02-14 17:52:33 +06:00 committed by Vladimir Sharshov
parent fd15a39f7a
commit de9071ae4f
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ describe CollaboratorsController do
@user.relations
set_session_for(@user)
@group = Factory(:group)
@project.relations.create!(:object_type => 'User', :object_id => @user.id, :role => 'reader')
@project.relations.create!(:object_type => 'User', :object_id => @user.id, :role => 'admin')
end
it_should_behave_like 'project admin user'