]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/client_applications.rb
Put the resourceful routing at the top of the list, for clarity
[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