]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/oauth_access_token.rb
Merge remote-tracking branch 'upstream/pull/4439'
[rails.git] / test / factories / oauth_access_token.rb
index 5b39cb400cf62267a046bc16787ca95e58173c20..3f862fbca752e9887cbf63df02491ea493c83f10 100644 (file)
@@ -1,5 +1,5 @@
 FactoryBot.define do
   factory :oauth_access_token, :class => "Doorkeeper::AccessToken" do
 FactoryBot.define do
   factory :oauth_access_token, :class => "Doorkeeper::AccessToken" do
-    association :application, :factory => :oauth_application
+    application :factory => :oauth_application
   end
 end
   end
 end