diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-27 22:40:43 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-27 22:40:43 +0000 |
commit | bbe511b231b5de3fab4dc418601c89cc1ccc8063 (patch) | |
tree | 650453c3b64751df39fda6f33ca4b39318f41e0d /spec/models | |
parent | ad1c34c03de42ebc5279f338f6304e77930d34d4 (diff) | |
download | gitlab-ce-bbe511b231b5de3fab4dc418601c89cc1ccc8063.tar.gz |
Add latest changes from gitlab-org/gitlab@14-1-stable-ee
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/application_setting/term_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/application_setting/term_spec.rb b/spec/models/application_setting/term_spec.rb index d9efa597352..6c7f29cbd71 100644 --- a/spec/models/application_setting/term_spec.rb +++ b/spec/models/application_setting/term_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' RSpec.describe ApplicationSetting::Term do - it { is_expected.to nullify_if_blank(:terms) } + it { is_expected.to validate_presence_of(:terms) } describe '.latest' do it 'finds the latest terms' do |