diff --git a/spec/models/exercice_spec.rb b/spec/models/exercice_spec.rb index cf64c6cfc..9a906ed7a 100644 --- a/spec/models/exercice_spec.rb +++ b/spec/models/exercice_spec.rb @@ -1,4 +1,7 @@ require 'spec_helper' describe Exercice do + describe 'validations' do + it { is_expected.to validate_presence_of(:ca) } + end end