Sha256: 3414dc3851fd8246b0b7339f390acc0ce4771f6b41c9df273fc0895816e277b4

Contents?: true

Size: 275 Bytes

Versions: 4

Compression:

Stored size: 275 Bytes

Contents

# frozen_string_literal: true

FactoryGirl.define do
  factory :access_token, class: Doorkeeper::AccessToken do
    sequence(:resource_owner_id) { |n| n }
    application
    expires_in 2.hours

    factory :clientless_access_token do
      application nil
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wine_bouncer-1.0.3 spec/factories/access_token.rb
wine_bouncer-1.0.2 spec/factories/access_token.rb
wine_bouncer-1.0.1 spec/factories/access_token.rb
wine_bouncer-1.0.0 spec/factories/access_token.rb