]> git.openstreetmap.org Git - rails.git/blob - test/factories/oauth_applications.rb
Merge branch 'master' into feature/add-communities-page
[rails.git] / test / factories / oauth_applications.rb
1 FactoryBot.define do
2   factory :oauth_application, :class => "Oauth2Application" 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