Commit 9c376300 authored by Rémy Coutable's avatar Rémy Coutable

Fix a transient failure caused by FFaker

The error occurs when the Ffaker-generate title or description of
issue3 contains git, e.g. fugit in this case.
Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent e7e93072
...@@ -9,7 +9,7 @@ describe IssuesFinder do ...@@ -9,7 +9,7 @@ describe IssuesFinder do
let(:label) { create(:label, project: project2) } let(:label) { create(:label, project: project2) }
let(:issue1) { create(:issue, author: user, assignee: user, project: project1, milestone: milestone, title: 'gitlab') } let(:issue1) { create(:issue, author: user, assignee: user, project: project1, milestone: milestone, title: 'gitlab') }
let(:issue2) { create(:issue, author: user, assignee: user, project: project2, description: 'gitlab') } let(:issue2) { create(:issue, author: user, assignee: user, project: project2, description: 'gitlab') }
let(:issue3) { create(:issue, author: user2, assignee: user2, project: project2) } let(:issue3) { create(:issue, author: user2, assignee: user2, project: project2, title: 'tanuki', description: 'tanuki') }
describe '#execute' do describe '#execute' do
let(:closed_issue) { create(:issue, author: user2, assignee: user2, project: project2, state: 'closed') } let(:closed_issue) { create(:issue, author: user2, assignee: user2, project: project2, state: 'closed') }
......
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