Merge pull request #4714 from betagouv/add-exercice-spec

specs: add an actual test case to the Exercice spec
This commit is contained in:
Paul Chavard 2020-01-28 12:34:43 +01:00 committed by GitHub
commit 926b092d05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,7 @@
require 'spec_helper' require 'spec_helper'
describe Exercice do describe Exercice do
describe 'validations' do
it { is_expected.to validate_presence_of(:ca) }
end
end end