API v1 specs for user, config and navigation endpoints
This commit is contained in:
parent
900cc91197
commit
02f1940694
3 changed files with 124 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue