summaryrefslogtreecommitdiff
path: root/spec/finders
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-30 21:08:01 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-30 21:08:01 +0000
commit95ad46159e4cd93f2b31838199180d824e041994 (patch)
treed41880d3b6a0093463694978590e590efb08caef /spec/finders
parent2c72daf2f1744f2b8c8c6674c266907e9ef55558 (diff)
downloadgitlab-ce-95ad46159e4cd93f2b31838199180d824e041994.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/finders')
-rw-r--r--spec/finders/issues_finder_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/finders/issues_finder_spec.rb b/spec/finders/issues_finder_spec.rb
index ff52e1b9d5f..b6bedab724a 100644
--- a/spec/finders/issues_finder_spec.rb
+++ b/spec/finders/issues_finder_spec.rb
@@ -429,7 +429,7 @@ describe IssuesFinder do
end
context 'filtering by no label' do
- let(:params) { { label_name: described_class::FILTER_NONE } }
+ let(:params) { { label_name: described_class::Params::FILTER_NONE } }
it 'returns issues with no labels' do
expect(issues).to contain_exactly(issue1, issue4)
@@ -437,7 +437,7 @@ describe IssuesFinder do
end
context 'filtering by any label' do
- let(:params) { { label_name: described_class::FILTER_ANY } }
+ let(:params) { { label_name: described_class::Params::FILTER_ANY } }
it 'returns issues that have one or more label' do
create_list(:label_link, 2, label: create(:label, project: project2), target: issue3)