]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/oauth_applications.rb
Merge branch 'pull/5212'
[rails.git] / test / factories / oauth_applications.rb
index 1e62d2c973eaff522ae26cc26aba99cad5b5add3..c865e0237383a0cded35c28064dc73e53adc05be 100644 (file)
@@ -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