Remove backward compatibility of factories.
This commit is contained in:
parent
d52f06f380
commit
80fb38de7a
54 changed files with 261 additions and 279 deletions
|
@ -18,7 +18,7 @@ class ProjectLabels < Spinach::FeatureSteps
|
|||
And 'project "Shop" have issues tags: "bug", "feature"' do
|
||||
project = Project.find_by_name("Shop")
|
||||
['bug', 'feature'].each do |label|
|
||||
Factory :issue, project: project, label_list: label
|
||||
create(:issue, project: project, label_list: label)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue