Sha256: 638808a57400320b4d5fc63766a48762564a340e8cd9e9b9cae32000ab12e2ff

Contents?: true

Size: 244 Bytes

Versions: 10

Compression:

Stored size: 244 Bytes

Contents

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

10 entries across 10 versions & 3 rubygems

Version Path
doorkeeper-grants_assertion-0.1.0 spec/factories/access_token.rb
wine_bouncer-0.5.1 spec/factories/access_token.rb
doorkeeper-1.4.2 spec/factories/access_token.rb
doorkeeper-1.4.1 spec/factories/access_token.rb
doorkeeper-2.0.0.alpha1 spec/factories/access_token.rb
doorkeeper-1.4.0 spec/factories/access_token.rb
doorkeeper-1.3.1 spec/factories/access_token.rb
doorkeeper-grants_assertion-0.0.1 spec/factories/access_token.rb
doorkeeper-1.3.0 spec/factories/access_token.rb
doorkeeper-1.2.0 spec/factories/access_token.rb