summaryrefslogtreecommitdiff
path: root/test/factories/tenants.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/factories/tenants.rb')
-rw-r--r--test/factories/tenants.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/factories/tenants.rb b/test/factories/tenants.rb
new file mode 100644
index 0000000..9a62e93
--- /dev/null
+++ b/test/factories/tenants.rb
@@ -0,0 +1,8 @@
+# Read about factories at http://github.com/thoughtbot/factory_girl
+
+Factory.define :tenant do |f|
+ f.sequence(:name) { |n| "Tenant #{n}" }
+ f.association :country
+ f.association :language
+# f.association :sip_domain
+end