Sha256: c35607e8723a1b83fadd62a092d98f11bf937474a1a6c262d59ea41603c6d1f2
Contents?: true
Size: 391 Bytes
Versions: 19
Compression:
Stored size: 391 Bytes
Contents
# frozen_string_literal: true 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
19 entries across 19 versions & 2 rubygems