aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/referential.rb
diff options
context:
space:
mode:
authorXinhui2017-08-17 15:47:55 +0200
committerXinhui2017-08-17 16:03:13 +0200
commit24862b2b1baa94c80fd7206bfe2244019604dbf5 (patch)
tree5f6905f8b76287f061f7ba98258d0ad43fa11bf9 /spec/support/referential.rb
parent27d0fc5da357c6ba7b7b3288399c7934c30265f2 (diff)
downloadchouette-core-24862b2b1baa94c80fd7206bfe2244019604dbf5.tar.bz2
Model ApiKey add belongs_to organisation
Diffstat (limited to 'spec/support/referential.rb')
-rw-r--r--spec/support/referential.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/support/referential.rb b/spec/support/referential.rb
index 57b510f69..c431856b8 100644
--- a/spec/support/referential.rb
+++ b/spec/support/referential.rb
@@ -12,6 +12,7 @@ module ReferentialHelper
base.class_eval do
extend ClassMethods
alias_method :referential, :first_referential
+ alias_method :organisation, :first_organisation
end
end