Commit d81f258d authored by Robert Speicher's avatar Robert Speicher

Remove unnecessary attributes from factories

parent b1f581c3
...@@ -4,8 +4,9 @@ describe 'Filter issues', js: true do ...@@ -4,8 +4,9 @@ describe 'Filter issues', js: true do
include FilteredSearchHelpers include FilteredSearchHelpers
let!(:project) { create(:project) } let!(:project) { create(:project) }
let!(:user) { create(:user, username: 'joe', name: 'Joe') } let!(:user) { create(:user) }
let!(:user2) { create(:user, username: 'jane') } let!(:user2) { create(:user) }
let!(:label) { create(:label, project: project) } let!(:label) { create(:label, project: project) }
let!(:wontfix) { create(:label, project: project, title: "Won't fix") } let!(:wontfix) { create(:label, project: project, title: "Won't fix") }
...@@ -78,7 +79,7 @@ describe 'Filter issues', js: true do ...@@ -78,7 +79,7 @@ describe 'Filter issues', js: true do
multiple_words_label_issue = create(:issue, title: "Issue with multiple words label", project: project) multiple_words_label_issue = create(:issue, title: "Issue with multiple words label", project: project)
multiple_words_label_issue.labels << multiple_words_label multiple_words_label_issue.labels << multiple_words_label
future_milestone = create(:milestone, title: "future", project: project, due_date: Time.now + 1.month) future_milestone = create(:milestone, project: project, due_date: 1.month.from_now)
create(:issue, create(:issue,
title: "Issue with future milestone", title: "Issue with future milestone",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment