diff options
| author | Xinhui | 2016-11-16 14:23:36 +0100 | 
|---|---|---|
| committer | Xinhui | 2016-11-16 14:23:36 +0100 | 
| commit | d5469a07545b21da81b1ccfbdb65378c187d7bef (patch) | |
| tree | bf94d46a83c25e19db4e4160f988f89ab4ebb00c /spec/models/clean_up_spec.rb | |
| parent | 27863346ac69845de01f3b75de67303226181e31 (diff) | |
| download | chouette-core-d5469a07545b21da81b1ccfbdb65378c187d7bef.tar.bz2 | |
Model CleanUp add end_date
Refs #1934
Diffstat (limited to 'spec/models/clean_up_spec.rb')
| -rw-r--r-- | spec/models/clean_up_spec.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/spec/models/clean_up_spec.rb b/spec/models/clean_up_spec.rb index 583e28136..c495abdfe 100644 --- a/spec/models/clean_up_spec.rb +++ b/spec/models/clean_up_spec.rb @@ -3,7 +3,7 @@ require 'rails_helper'  RSpec.describe CleanUp, :type => :model do    let(:cleaner) { CleanUp.new } -  it { should validate_presence_of(:expected_date) } +  it { should validate_presence_of(:begin_date) }    it { should belong_to(:referential) }    it 'should delete vehiclejourneys without timetables' do | 
