[refs #265] some changes

This commit is contained in:
Alexander Machehin 2012-03-22 16:19:21 +06:00
parent 6d330d9164
commit 9d6960fab8
1 changed files with 1 additions and 2 deletions

View File

@ -75,8 +75,7 @@ describe CommentsController do
stub_rsync_methods
@project = Factory(:project)
user = Factory(:user)
@issue = Factory(:issue, :project_id => @project.id, :creator => user)
@issue = Factory(:issue, :project_id => @project.id, :creator => Factory(:user))
@comment = Factory(:comment, :commentable => @issue, :project_id => @project.id)
@create_params = {:comment => {:body => 'I am a comment!'}, :project_id => @project.id, :issue_id => @issue.serial_id}