debian-mirror-gitlab/spec/factories/oauth_access_tokens.rb
2018-03-17 18:26:18 +05:30

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