]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/client_applications.rb
Replace lookup_user_by_id with load_resource
[rails.git] / test / factories / client_applications.rb
index 413dc57c9773f4075a98b4f43729b44e9c511075..c2dbf7fa2787875ea65eb2645465034ca70c39f5 100644 (file)
@@ -1,6 +1,8 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :client_application do
     sequence(:name) { |n| "Client application #{n}" }
     sequence(:url) { |n| "http://example.com/app/#{n}" }
+
+    user
   end
 end