X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/12c1d5e6c05813a0697724277b4d8529a1a7c240..898731ed8162eb9d61a461d353249b5ca3e65177:/test/factories/oauth_applications.rb?ds=sidebyside diff --git a/test/factories/oauth_applications.rb b/test/factories/oauth_applications.rb index 1e62d2c97..c865e0237 100644 --- a/test/factories/oauth_applications.rb +++ b/test/factories/oauth_applications.rb @@ -3,6 +3,6 @@ FactoryBot.define do sequence(:name) { |n| "OAuth application #{n}" } sequence(:redirect_uri) { |n| "https://example.com/app/#{n}" } - association :owner, :factory => :user + owner :factory => :user end end