creates Manager

This commit is contained in:
Juanjo Bazán
2015-09-30 11:22:03 +02:00
committed by Juanjo Bazán
parent 39119b9d6b
commit b921c67676
5 changed files with 86 additions and 1 deletions

View File

@@ -218,6 +218,11 @@ FactoryGirl.define do
user
end
factory :manager do
sequence(:username) { |n| "manager#{n}" }
password 'supersecret'
end
factory :organization do
user
responsible_name "Johnny Utah"