diff options
| author | Xinhui | 2017-06-05 16:47:06 +0200 |
|---|---|---|
| committer | Robert | 2017-06-05 17:24:59 +0200 |
| commit | 7982b2654967fc7e6517fa78da3dba7ad0e4d185 (patch) | |
| tree | 8ff564194a6c6b0e790a4a787350b34875a16e9d /spec | |
| parent | a992b6ca99c94e7c9703db430ddd00372ec2156a (diff) | |
| download | chouette-core-7982b2654967fc7e6517fa78da3dba7ad0e4d185.tar.bz2 | |
Referential Cleanup add date_type
Refs #3662
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/models/clean_up_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/clean_up_spec.rb b/spec/models/clean_up_spec.rb index c495abdfe..c22d32eaa 100644 --- a/spec/models/clean_up_spec.rb +++ b/spec/models/clean_up_spec.rb @@ -4,6 +4,7 @@ RSpec.describe CleanUp, :type => :model do let(:cleaner) { CleanUp.new } it { should validate_presence_of(:begin_date) } + it { should validate_presence_of(:date_type) } it { should belong_to(:referential) } it 'should delete vehiclejourneys without timetables' do |
