Sha256: 4355df186cffaa32faa15f49f5270dfed3ee1ba5624c58714e4e8b516e00d5d9

Contents?: true

Size: 243 Bytes

Versions: 11

Compression:

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

11 entries across 11 versions & 1 rubygems

Version Path
wine_bouncer-0.5.0 spec/factories/access_token.rb
wine_bouncer-0.4.0 spec/factories/access_token.rb
wine_bouncer-0.3.1 spec/factories/access_token.rb
wine_bouncer-0.3.0 spec/factories/access_token.rb
wine_bouncer-0.2.2 spec/factories/access_token.rb
wine_bouncer-0.2.1 spec/factories/access_token.rb
wine_bouncer-0.2.0 spec/factories/access_token.rb
wine_bouncer-0.1.2 spec/factories/access_token.rb
wine_bouncer-0.1.1 spec/factories/access_token.rb
wine_bouncer-0.1.0 spec/factories/access_token.rb
wine_bouncer-0.0.1 spec/factories/access_token.rb