Skip to content

Commit

Permalink
Add accredited_partner trait to provider factory
Browse files Browse the repository at this point in the history
  • Loading branch information
inulty-dfe committed Dec 18, 2024
1 parent 50f56e3 commit 693839f
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 |s|
accredited_partnerships { [association(:provider_partnership)] }
end

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

0 comments on commit 693839f

Please sign in to comment.