]> git.openstreetmap.org Git - rails.git/blob - test/factories/oauth_applications.rb
Improve method privacy
[rails.git] / test / factories / oauth_applications.rb
1 FactoryBot.define do
2   factory :oauth_application, :class => "Doorkeeper::Application" do
3     sequence(:name) { |n| "OAuth application #{n}" }
4     sequence(:redirect_uri) { |n| "https://example.com/app/#{n}" }
5
6     association :owner, :factory => :user
7   end
8 end