Skip to content

Commit

Permalink
Add with_accredited_partner factory
Browse files Browse the repository at this point in the history
  • Loading branch information
inulty-dfe committed Dec 20, 2024
1 parent b37e6fc commit 811123c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/factories/providers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
provider_name { 'Test Name' }
end

trait :with_accredited_partner do
accredited_partnerships { [association(:provider_partnership)] }
end

trait :university do
provider_type { :university }
urn { nil }
Expand Down

0 comments on commit 811123c

Please sign in to comment.