diff options
| author | Xinhui | 2017-06-05 16:47:06 +0200 |
|---|---|---|
| committer | Xinhui | 2017-06-05 16:47:06 +0200 |
| commit | f422c130f9bda3c425cc3e1b9604345ca3586fe1 (patch) | |
| tree | db41f199039c48bcb0a87f213692b77e1c48b564 /spec | |
| parent | 560b21733c676187d02795332e8ec0491cd875b8 (diff) | |
| download | chouette-core-f422c130f9bda3c425cc3e1b9604345ca3586fe1.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 |
