Fix broken tests in #94 from pull request #92

This commit is contained in:
Vladimir Sharshov 2012-01-17 01:07:48 +04:00
parent cec8314439
commit 68744b1676
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ describe CommentsController do
@issue = Factory(:issue, :project_id => @project.id)
@comment = Factory(:comment, :commentable => @issue)
@create_params = {:comment => {:body => 'I am a comment!'}, :project_id => @project.id, :issue_id => @issue.id}
@update_params = {:comment => {:body => 'updated'}, :project_id => @project.id, :issue_id => @issue.id}
@create_params = {:comment => {:body => 'I am a comment!'}, :project_id => @project.id, :issue_id => @issue.serial_id}
@update_params = {:comment => {:body => 'updated'}, :project_id => @project.id, :issue_id => @issue.serial_id}
any_instance_of(Project, :versions => ['v1.0', 'v2.0'])