diff options
Diffstat (limited to 'spec/models/application_setting')
-rw-r--r-- | spec/models/application_setting/term_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/models/application_setting/term_spec.rb b/spec/models/application_setting/term_spec.rb index 51a6027698f..d9efa597352 100644 --- a/spec/models/application_setting/term_spec.rb +++ b/spec/models/application_setting/term_spec.rb @@ -3,9 +3,7 @@ require 'spec_helper' RSpec.describe ApplicationSetting::Term do - describe 'validations' do - it { is_expected.to validate_presence_of(:terms) } - end + it { is_expected.to nullify_if_blank(:terms) } describe '.latest' do it 'finds the latest terms' do |