Sha256: 097263e1a02ecb77e0b6315a4144729994388eb7c8bd260c8ff20ee681854405
Contents?: true
Size: 631 Bytes
Versions: 15
Compression:
Stored size: 631 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 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 factory :application, class: Doorkeeper::Application do sequence(:name) { |n| "Application #{n}" } redirect_uri 'https://app.com/callback' end factory :user end
Version data entries
15 entries across 15 versions & 1 rubygems