It's to_sym not to_symbol
[rails.git] / test / factories / client_applications.rb
index 413dc57..c2dbf7f 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