aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/referential_spec.rb
diff options
context:
space:
mode:
authorcedricnjanga2017-11-24 17:06:52 +0100
committercedricnjanga2017-11-24 17:06:52 +0100
commitade8285b084529c09687e6995101b0aa651e2d4d (patch)
tree9ad1e0a9f24053cee93bfba04d58a87c428680e4 /spec/models/referential_spec.rb
parent9a08dc4d028f83e43a5fba83ebf09b68f21e9d49 (diff)
downloadchouette-core-ade8285b084529c09687e6995101b0aa651e2d4d.tar.bz2
Remove specs we dont need anymore
Diffstat (limited to 'spec/models/referential_spec.rb')
-rw-r--r--spec/models/referential_spec.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/models/referential_spec.rb b/spec/models/referential_spec.rb
index 987eea30a..d0b1d6447 100644
--- a/spec/models/referential_spec.rb
+++ b/spec/models/referential_spec.rb
@@ -12,7 +12,11 @@ describe Referential, :type => :model do
it { should belong_to(:workbench) }
it { should belong_to(:referential_suite) }
- # it { should validate_presence_of(:objectid_format) }
+ context "validation" do
+ subject { build_stubbed(:referential) }
+
+ it { should validate_presence_of(:objectid_format) }
+ end
context ".referential_ids_in_periode" do
it 'should retrieve referential id in periode range' do