Refactor the oauth integration test to avoid using user fixtures.
[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}" }
+
+    user
   end
 end