diff options
| author | Zog | 2018-03-15 16:38:20 +0100 |
|---|---|---|
| committer | Johan Van Ryseghem | 2018-03-27 09:35:09 +0200 |
| commit | 1386e3c2d525b61bf0e6a7ace9ed755bff9eb998 (patch) | |
| tree | eaf06fcc8dcdaa308a6bb316b380f62b4887a34f /spec/models | |
| parent | 7e56064ec6dbb60d00453d39680c2fdd9a462011 (diff) | |
| download | chouette-core-1386e3c2d525b61bf0e6a7ace9ed755bff9eb998.tar.bz2 | |
Refs #6201; Remove short_name from calendars
Diffstat (limited to 'spec/models')
| -rw-r--r-- | spec/models/calendar_spec.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/models/calendar_spec.rb b/spec/models/calendar_spec.rb index a5c0a7471..09ac0e416 100644 --- a/spec/models/calendar_spec.rb +++ b/spec/models/calendar_spec.rb @@ -4,8 +4,6 @@ RSpec.describe Calendar, :type => :model do it { is_expected.to validate_presence_of(:organisation) } it { is_expected.to validate_presence_of(:name) } - it { is_expected.to validate_presence_of(:short_name) } - it { is_expected.to validate_uniqueness_of(:short_name) } it { is_expected.to be_versioned } describe '#to_time_table' do |
