]> git.openstreetmap.org Git - rails.git/blob - test/factories/issues.rb
Move profile-related settings to their own form
[rails.git] / test / factories / issues.rb
1 FactoryBot.define do
2   factory :issue do
3     # Default to reporting users
4     association :reportable, :factory => :user
5     association :reported_user, :factory => :user
6
7     # Default to assigning to an administrator
8     assigned_role { "administrator" }
9   end
10 end