BigW Consortium Gitlab

oauth_access_tokens.rb 197 Bytes
Newer Older
1 2 3 4
FactoryGirl.define do
  factory :oauth_access_token do
    resource_owner
    application
5 6
    token { Doorkeeper::OAuth::Helpers::UniqueToken.generate }
    scopes { application.scopes }
7 8
  end
end