diff --git a/spec/factories/authorization.rb b/spec/factories/authorization.rb index f20a39e10..2e80998c2 100644 --- a/spec/factories/authorization.rb +++ b/spec/factories/authorization.rb @@ -2,6 +2,6 @@ factory :authorization do uid { "unique_uid" } provider { "provider_name" } - association :admin, factory: :user + admin factory: [:user] end end