diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-23 14:57:46 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-23 14:57:46 +0000 |
commit | 64fc6a9b19faca58ad0087b1a1cb11f7ed910015 (patch) | |
tree | fe4e98cfab4289850ee15965ae0b04648ee90207 /spec/finders | |
parent | 6317794da29af0bccf95dece5b57b2be2c0977a4 (diff) | |
download | gitlab-ce-64fc6a9b19faca58ad0087b1a1cb11f7ed910015.tar.gz |
Add latest changes from gitlab-org/gitlab@13-6-stable-ee
Diffstat (limited to 'spec/finders')
-rw-r--r-- | spec/finders/ci/commit_statuses_finder_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/finders/ci/commit_statuses_finder_spec.rb b/spec/finders/ci/commit_statuses_finder_spec.rb index 1aa9cb12432..05a1a98cfe0 100644 --- a/spec/finders/ci/commit_statuses_finder_spec.rb +++ b/spec/finders/ci/commit_statuses_finder_spec.rb @@ -152,8 +152,8 @@ RSpec.describe Ci::CommitStatusesFinder, '#execute' do project.project_feature.update!(builds_access_level: ProjectFeature::PRIVATE) end - it 'returns nil' do - expect(subject).to be_empty + it 'returns a blank hash' do + expect(subject).to eq({}) end end @@ -170,8 +170,8 @@ RSpec.describe Ci::CommitStatusesFinder, '#execute' do status: :running) end - it 'returns nil' do - expect(private_subject).to be_empty + it 'returns a blank hash' do + expect(private_subject).to eq({}) end end end |