aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/chouette/timeband_spec.rb
diff options
context:
space:
mode:
authorZog2018-05-29 10:18:16 +0200
committerJohan Van Ryseghem2018-05-30 16:29:33 +0200
commit3e8d95ac8168205ac9526fb8663459d691d09c30 (patch)
treefd2bc220473f4defe30a35668d6b9eead76f00fa /spec/models/chouette/timeband_spec.rb
parent971b267958c3bf78abea332e0af4c46a23679b61 (diff)
downloadchouette-core-3e8d95ac8168205ac9526fb8663459d691d09c30.tar.bz2
Refs #6433; Fix specs
Diffstat (limited to 'spec/models/chouette/timeband_spec.rb')
-rw-r--r--spec/models/chouette/timeband_spec.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/models/chouette/timeband_spec.rb b/spec/models/chouette/timeband_spec.rb
deleted file mode 100644
index fa7c8f06e..000000000
--- a/spec/models/chouette/timeband_spec.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-require 'spec_helper'
-
-describe Chouette::Timeband, :type => :model do
-
-
- describe '#create' do
- context 'when valid' do
- it { create(:timeband) }
- end
-
- context 'when not valid' do
- it 'fails validation with end_time before start_time' do
- timeband = build(:timeband_invalid)
- expect(timeband).to be_invalid
- end
- end
- end
-
-end