about summary refs log tree commit diff
path: root/spec/fabricators/access_grant_fabricator.rb
blob: ae1945f2bb1d9d7ed00b098829db0299752de44c (plain) (blame)
1
2
3
4
5
6
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