]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/client_applications.rb
Merge branch 'master' into moderation
[rails.git] / test / factories / client_applications.rb
index 413dc57c9773f4075a98b4f43729b44e9c511075..5535ee2e7a3cae054b0620cb33ec41da9294fd29 100644 (file)
@@ -2,5 +2,7 @@ FactoryGirl.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