about summary refs log tree commit diff
path: root/spec/fabricators/access_grant_fabricator.rb
blob: adc2b8369dcf15b269cb9d36311ff189db1f8b50 (plain) (blame)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

Fabricator :access_grant, from: 'Doorkeeper::AccessGrant' do
  application
  resource_owner_id { Fabricate(:user).id }
  expires_in 3_600
  redirect_uri { Doorkeeper.configuration.native_redirect_uri }
end