cartodb-4.29/spec/factories/oauth_apps.rb

12 lines
302 B
Ruby
Raw Permalink Normal View History

2020-06-15 10:58:47 +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