8 lines
196 B
Ruby
8 lines
196 B
Ruby
FactoryBot.define do
|
|
factory :oauth_access_token do
|
|
resource_owner
|
|
application
|
|
token { Doorkeeper::OAuth::Helpers::UniqueToken.generate }
|
|
scopes { application.scopes }
|
|
end
|
|
end
|