diff --git a/spec/factories/providers.rb b/spec/factories/providers.rb index 112a5688e1..36d96fa697 100644 --- a/spec/factories/providers.rb +++ b/spec/factories/providers.rb @@ -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 }