Sha256: 5a69069bac03b2e72e27cc490ace0ecc9c189af65c9afda233b63b6d544b3030

Contents?: true

Size: 239 Bytes

Versions: 9

Compression:

Stored size: 239 Bytes

Contents

FactoryGirl.define do
  factory :access_grant, class: Doorkeeper::AccessGrant do
    sequence(:resource_owner_id) { |n| n }
    application
    redirect_uri 'https://app.com/callback'
    expires_in 100
    scopes 'public write'
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

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