Remove backward compatibility of factories.
This commit is contained in:
parent
d52f06f380
commit
80fb38de7a
54 changed files with 261 additions and 279 deletions
|
@ -32,9 +32,9 @@ class ProjectMilestones < Spinach::FeatureSteps
|
|||
|
||||
And 'project "Shop" has milestone "v2.2"' do
|
||||
project = Project.find_by_name("Shop")
|
||||
milestone = Factory :milestone, :title => "v2.2", :project => project
|
||||
milestone = create(:milestone, :title => "v2.2", :project => project)
|
||||
|
||||
3.times { Factory :issue, :project => project, :milestone => milestone }
|
||||
3.times { create(:issue, :project => project, :milestone => milestone) }
|
||||
end
|
||||
|
||||
Given 'the milestone has open and closed issues' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue