Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-06-27 15:08:03 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-27 15:08:03 +0300
commit274a42ccfaa22f6d6bc2d21da0c891bae15d3508 (patch)
tree9e7cee0f3d7e90c3b14da6857ac7cf50d6c3298d /spec/views
parent7a84ffdf31c0ba2fbfb448bcbd12b21f6d40a5fc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/search/_results.html.haml_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/views/search/_results.html.haml_spec.rb b/spec/views/search/_results.html.haml_spec.rb
index 832cc5b7cf3..ebeb4226434 100644
--- a/spec/views/search/_results.html.haml_spec.rb
+++ b/spec/views/search/_results.html.haml_spec.rb
@@ -68,7 +68,8 @@ RSpec.describe 'search/_results', feature_category: :global_search do
context 'rendering all types of search results' do
let_it_be(:project) { create(:project, :repository, :wiki_repo) }
- let_it_be(:issue) { create(:issue, project: project, title: 'testing') }
+ let_it_be(:label) { create(:label, project: project, title: 'test label') }
+ let_it_be(:issue) { create(:issue, project: project, title: 'testing', labels: [label]) }
let_it_be(:merge_request) { create(:merge_request, title: 'testing', source_project: project, target_project: project) }
let_it_be(:milestone) { create(:milestone, title: 'testing', project: project) }
let_it_be(:note) { create(:discussion_note_on_issue, project: project, note: 'testing') }