summaryrefslogtreecommitdiff
path: root/spec/features/issuables
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2017-03-22 16:36:14 -0300
committerFelipe Artur <felipefac@gmail.com>2017-05-08 11:26:04 -0300
commit24824cbb4c6d2c5ebd08dea03007f65c5df763da (patch)
tree618cc1a50e76126e4aff941bd538a31917e5282b /spec/features/issuables
parent85f0b3a984048d1e5d146a233612a0bc96f12b5c (diff)
downloadgitlab-ce-24824cbb4c6d2c5ebd08dea03007f65c5df763da.tar.gz
Fix Specs
Diffstat (limited to 'spec/features/issuables')
-rw-r--r--spec/features/issuables/issuable_list_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/features/issuables/issuable_list_spec.rb b/spec/features/issuables/issuable_list_spec.rb
index f3ec80bb149..414838fa22e 100644
--- a/spec/features/issuables/issuable_list_spec.rb
+++ b/spec/features/issuables/issuable_list_spec.rb
@@ -52,6 +52,9 @@ describe 'issuable list', feature: true do
create(:issue, project: project, author: user)
else
create(:merge_request, source_project: project, source_branch: generate(:branch))
+ source_branch = FFaker::Name.name
+ pipeline = create(:ci_empty_pipeline, project: project, ref: source_branch, status: %w(running failed success).sample, sha: 'any')
+ create(:merge_request, title: FFaker::Lorem.sentence, source_project: project, source_branch: source_branch, head_pipeline: pipeline)
end
2.times do