diff --git a/spec/factories/providers.rb b/spec/factories/providers.rb index 36d96fa697..4c462ada9f 100644 --- a/spec/factories/providers.rb +++ b/spec/factories/providers.rb @@ -41,7 +41,7 @@ provider_name { 'Test Name' } end - trait :with_accredited_partner do |s| + trait :with_accredited_partner do accredited_partnerships { [association(:provider_partnership)] } end