diff options
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 |