summaryrefslogtreecommitdiff
path: root/test/factories.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-07-04 15:40:54 +0200
committerAzul <azul@leap.se>2014-07-05 10:21:07 +0200
commit87e9ccbcdf4f99dd898b0715750092a27fff7e94 (patch)
tree9e49a287c6e95d92323253d899afa367a6f1e14e /test/factories.rb
parent24d108e15c38ca572d5339a39cb110d9067c0b3d (diff)
Enable unblocking handles in identities tab
There's an identities tab now for admins that will allow unblocking blocked handles. It should be easy to expand for aliases and forwards and other types of actions such as editing.
Diffstat (limited to 'test/factories.rb')
-rw-r--r--test/factories.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/factories.rb b/test/factories.rb
index bebda5c..a96d48c 100644
--- a/test/factories.rb
+++ b/test/factories.rb
@@ -29,6 +29,12 @@ FactoryGirl.define do
end
+ # Identities can have a lot of different purposes - alias, forward, ...
+ # So far this is a blocked handle only.
+ factory :identity do
+ address {Faker::Internet.user_name + '@' + APP_CONFIG[:domain]}
+ end
+
factory :token do
user
end