aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/line_referential_spec.rb
diff options
context:
space:
mode:
authorXinhui2016-10-18 15:34:47 +0200
committerXinhui2016-10-18 15:34:53 +0200
commitf9814e27bcaabbf69c66f43989236e40a334e0c1 (patch)
tree7d16d0b33fb83d732b918fbd08d29c839ddb5478 /spec/models/line_referential_spec.rb
parenta9aa01e2271fda736e13d1a10bd62f45e1508330 (diff)
downloadchouette-core-f9814e27bcaabbf69c66f43989236e40a334e0c1.tar.bz2
Relation Workbench - LineReferential & StopAreaReferential
Refs #1784
Diffstat (limited to 'spec/models/line_referential_spec.rb')
-rw-r--r--spec/models/line_referential_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/line_referential_spec.rb b/spec/models/line_referential_spec.rb
index 8b06f07ad..02838a4a7 100644
--- a/spec/models/line_referential_spec.rb
+++ b/spec/models/line_referential_spec.rb
@@ -7,5 +7,6 @@ RSpec.describe LineReferential, :type => :model do
it { should validate_presence_of(:name) }
it { is_expected.to have_many(:line_referential_syncs) }
+ it { is_expected.to have_many(:workbenches) }
it { should validate_presence_of(:sync_interval) }
end