Sha256: cf5a88a2033d2e2b4ad416ac06e02b5c08da823005e170be00f6a0425f22af2b
Contents?: true
Size: 359 Bytes
Versions: 23
Compression:
Stored size: 359 Bytes
Contents
module AccessTokenRequestHelper def client_is_authorized(client, resource_owner, access_token_attributes = {}) attributes = { application: client, resource_owner_id: resource_owner.id }.merge(access_token_attributes) FactoryBot.create(:access_token, attributes) end end RSpec.configuration.send :include, AccessTokenRequestHelper
Version data entries
23 entries across 23 versions & 3 rubygems