]> git.openstreetmap.org Git - rails.git/blob - test/factories/oauth_applications.rb
Simplify links on trace pages
[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     owner :factory => :user
7   end
8 end