]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/client_applications.rb
Set image dimensions in order to avoid a reflow after the page is drawn by the browser
[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}" }
   factory :client_application do
     sequence(:name) { |n| "Client application #{n}" }
     sequence(:url) { |n| "http://example.com/app/#{n}" }
+
+    user
   end
 end
   end
 end