small spec change

This commit is contained in:
Alexander Machehin 2014-09-09 15:55:06 +06:00
parent 6c99888d49
commit 3cbd6df6cf
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ describe Api::V1::IssuesController do
end
it 'can assignee issue in own project' do
post :create, @create_params.deep_merge(project_id: @own_hidden_project, issue: {assignee_id: @issue.user.id})
post :create, @create_params.deep_merge(project_id: @own_hidden_project.id, issue: {assignee_id: @issue.user.id})
@own_hidden_project.issues.reload.last.assignee.id.should == @issue.user.id
end