API v1 specs for user, config and navigation endpoints

This commit is contained in:
wvengen 2018-10-15 16:51:33 +02:00 committed by wvengen
parent 900cc91197
commit 02f1940694
3 changed files with 124 additions and 2 deletions

View file

@ -15,6 +15,12 @@ FactoryBot.define do
create :workgroup, role_admin: true, user_ids: [user.id]
end
end
trait :ordergroup do
after :create do |user, evaluator|
create :ordergroup, user_ids: [user.id]
end
end
end
factory :group do