debian-mirror-gitlab/spec/factories/oauth_applications.rb
2016-06-02 11:05:42 +05:30

9 lines
266 B
Ruby

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