Sha256: 3cdb7a1a8ced7dceba08078a3a8d97ee8c535ab05fbecffcedac6f211cb5c14c
Contents?: true
Size: 299 Bytes
Versions: 8
Compression:
Stored size: 299 Bytes
Contents
# frozen_string_literal: true module ConfigHelper def config_is_set(setting, value = nil, &block) setting_ivar = "@#{setting}" value = block_given? ? block : value Doorkeeper.config.instance_variable_set(setting_ivar, value) end end RSpec.configuration.send :include, ConfigHelper
Version data entries
8 entries across 8 versions & 3 rubygems