gitlab-org--gitlab-foss/spec/factories/oauth_access_tokens.rb

9 lines
197 B
Ruby
Raw Normal View History

FactoryGirl.define do
factory :oauth_access_token do
resource_owner
application
token { Doorkeeper::OAuth::Helpers::UniqueToken.generate }
scopes { application.scopes }
end
end