Spinach tests fixed

This commit is contained in:
Andrew8xx8 2013-02-18 14:43:08 +04:00
parent 69698aacbc
commit 6074896cbf
3 changed files with 7 additions and 9 deletions

View file

@ -122,10 +122,9 @@ class ProjectIssues < Spinach::FeatureSteps
And 'project "Shop" have "Release 0.3" closed issue' do
project = Project.find_by_name("Shop")
create(:issue,
create(:closed_issue,
:title => "Release 0.3",
:project => project,
:author => project.users.first,
:closed => true)
:author => project.users.first)
end
end