summaryrefslogtreecommitdiff
path: root/test/factories.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/factories.rb')
-rw-r--r--test/factories.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/factories.rb b/test/factories.rb
index b6e1475..5d49729 100644
--- a/test/factories.rb
+++ b/test/factories.rb
@@ -26,6 +26,10 @@ FactoryGirl.define do
end
end
+ factory :test_user do
+ login {"test_user_" + Faker::Internet.user_name + '_' + SecureRandom.hex(4)}
+ end
+
factory :premium_user do
effective_service_level_code 2
end