diff options
| author | Robert | 2017-06-28 11:30:43 +0200 | 
|---|---|---|
| committer | Robert | 2017-06-28 11:30:43 +0200 | 
| commit | d12f72f7fd3853e2cbe49c4a3f9569ba319b3918 (patch) | |
| tree | 5fc75485aa6c5b87e62408ec18329c015e3787e6 | |
| parent | 7ed8e83749c9714bc8712ef75042c71a0b6fb79e (diff) | |
| download | chouette-core-d12f72f7fd3853e2cbe49c4a3f9569ba319b3918.tar.bz2 | |
Refs: #3709@0.25h; adapting test to new behavior
| -rw-r--r-- | spec/models/calendar_spec.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/spec/models/calendar_spec.rb b/spec/models/calendar_spec.rb index a3da95aca..1dd3bf81d 100644 --- a/spec/models/calendar_spec.rb +++ b/spec/models/calendar_spec.rb @@ -76,7 +76,7 @@ RSpec.describe Calendar, :type => :model do      it 'should validate that end is greather than or equlals to begin' do        expect(period(begin: '2016-11-21', end: '2016-11-22')).to be_valid -      expect(period(begin: '2016-11-21', end: '2016-11-21')).to be_valid +      expect(period(begin: '2016-11-21', end: '2016-11-21')).to_not be_valid        expect(period(begin: '2016-11-22', end: '2016-11-21')).to_not be_valid      end | 
