X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0bd2e9ea8c801e5b6cd570837fcd112f6f78b180..737a325f2e4b45b26277de7986325705ff17b63d:/test/factories/user.rb diff --git a/test/factories/user.rb b/test/factories/user.rb index 9ec4e2030..a7219324a 100644 --- a/test/factories/user.rb +++ b/test/factories/user.rb @@ -40,5 +40,12 @@ FactoryGirl.define do create(:user_role, :role => "administrator", :user => user) end end + + # A commonly needed user is one who can log in an isn't redirected anywhere + factory :normal_user do + status "active" + terms_seen true + data_public true + end end end