Merge pull request #4714 from betagouv/add-exercice-spec
specs: add an actual test case to the Exercice spec
This commit is contained in:
commit
926b092d05
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue