cartodb-4.42/spec/factories/oauth_apps.rb

12 lines
302 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
FactoryGirl.define do
factory :oauth_app, class: Carto::OauthApp do
to_create(&:save!)
name { unique_name('Oauth application') }
redirect_uris ['https://redirect.uri']
icon_url 'http://localhost/some_icon.png'
website_url 'http://localhost'
avoid_sync_central true
end
end