]> git.openstreetmap.org Git - rails.git/blob - test/factories/oauth_applications.rb
Set both light and dark banner themes
[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