debian-mirror-gitlab/spec/factories/oauth_access_tokens.rb
2017-08-17 22:00:37 +05:30

8 lines
197 B
Ruby

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