oauth_applications.rb 266 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 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