summaryrefslogtreecommitdiff
path: root/spec/factories/oauth_applications.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/oauth_applications.rb')
-rw-r--r--spec/factories/oauth_applications.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/factories/oauth_applications.rb b/spec/factories/oauth_applications.rb
new file mode 100644
index 00000000000..d116a573830
--- /dev/null
+++ b/spec/factories/oauth_applications.rb
@@ -0,0 +1,9 @@
+FactoryGirl.define do
+ factory :oauth_application, class: 'Doorkeeper::Application', aliases: [:application] do
+ name { FFaker::Name.name }
+ uid { FFaker::Name.name }
+ redirect_uri { FFaker::Internet.uri('http') }
+ owner
+ owner_type 'User'
+ end
+end