[#345] fix mistype

This commit is contained in:
Alexander Machehin 2014-03-21 15:49:57 +06:00
parent 54af9864af
commit a9bf8c3660
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ shared_examples_for 'projects user without project admin rights' do
it 'writer group should be able to create project to their group' do
group = FactoryGirl.create(:group)
create_actor_relation(group, @user, 'wrtier')
create_actor_relation(group, @user, 'writer')
lambda {post :create, @create_params.merge(who_owns: 'group', owner_id: group.id)}.should change{ Project.count }.by(1)
end