summaryrefslogtreecommitdiff
path: root/test/factories/sip_domains.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/factories/sip_domains.rb')
-rw-r--r--test/factories/sip_domains.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/factories/sip_domains.rb b/test/factories/sip_domains.rb
new file mode 100644
index 0000000..347b6a6
--- /dev/null
+++ b/test/factories/sip_domains.rb
@@ -0,0 +1,6 @@
+# Read about factories at http://github.com/thoughtbot/factory_girl
+
+Factory.define :sip_domain do |f|
+ f.sequence(:host ) {|n| "host#{n}.localdomain" }
+ f.sequence(:realm ) {|n| "host#{n}.localdomain" }
+end