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>2020-04-02 18:08:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-02 18:08:01 +0300
commit53b1f4eaa2a451aaba908a5fee7ce97a930021ac (patch)
tree66501ec0de9f529ee1cfc7cd6c4b481b1fc76662 /spec/models/concerns
parent684d65316ac77c62f47d68b9926eea8af30db227 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/concerns')
-rw-r--r--spec/models/concerns/issuable_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/models/concerns/issuable_spec.rb b/spec/models/concerns/issuable_spec.rb
index 4ecbc671c72..cc1bb164c16 100644
--- a/spec/models/concerns/issuable_spec.rb
+++ b/spec/models/concerns/issuable_spec.rb
@@ -159,8 +159,7 @@ describe Issuable do
end
it 'returns issues with a partially matching description' do
- expect(issuable_class.full_search(searchable_issue.description))
- .to eq([searchable_issue])
+ expect(issuable_class.full_search('cut')).to eq([searchable_issue])
end
it 'returns issues with a matching description regardless of the casing' do