aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/referential_spec.rb
diff options
context:
space:
mode:
authorLuc Donnet2012-02-13 11:22:42 +0100
committerLuc Donnet2012-02-13 11:22:42 +0100
commitbefb5afa0ffa88ebced3b9db8f69091f0dcaee3b (patch)
treedaae4d74f7ebfd34e999e4fa995fe72098bc59fa /spec/models/referential_spec.rb
parenta4eeeeaa4b7b199e5b4e41c61c33e5a56fccc823 (diff)
downloadchouette-core-befb5afa0ffa88ebced3b9db8f69091f0dcaee3b.tar.bz2
Add referential model and gem apartment
Diffstat (limited to 'spec/models/referential_spec.rb')
-rw-r--r--spec/models/referential_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/models/referential_spec.rb b/spec/models/referential_spec.rb
new file mode 100644
index 000000000..363fe237f
--- /dev/null
+++ b/spec/models/referential_spec.rb
@@ -0,0 +1,8 @@
+require 'spec_helper'
+
+describe Referential do
+
+ it { should validate_presence_of(:name) }
+ it { should validate_presence_of(:slug) }
+
+end \ No newline at end of file