debian-mirror-gitlab/spec/factories/oauth_access_tokens.rb
2019-10-12 21:52:04 +05:30

10 lines
227 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :oauth_access_token do
resource_owner
application
token { Doorkeeper::OAuth::Helpers::UniqueToken.generate }
scopes { application.scopes }
end
end