cartodb/spec/factories/oauth_refresh_tokens.rb

9 lines
191 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
FactoryGirl.define do
factory :oauth_refresh_tokens, class: Carto::OauthRefreshToken do
to_create(&:save!)
skip_token_regeneration true
token "a-fake-and-test-token"
end
end