X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0814b4096c443e2ab3c09baa058aa81a00d205d1..8bd98b5da866ef692a1cad493acbf6367fa4ca18:/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