Sha256: f895947d596480bbdd4454a28de23f9d8abd23bb626787d2aa80bf96feeae60d

Contents?: true

Size: 247 Bytes

Versions: 4

Compression:

Stored size: 247 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

4 entries across 4 versions & 1 rubygems

Version Path
doorkeeper-1.1.0 spec/factories/access_token.rb
doorkeeper-1.0.0 spec/factories/access_token.rb
doorkeeper-1.0.0.rc2 spec/factories/access_token.rb
doorkeeper-1.0.0.rc1 spec/factories/access_token.rb