Sha256: 386b5885fa975c06fa7189c2f05a223fa8097e88222e5adf1a9d29ce6864bb1c
Contents?: true
Size: 294 Bytes
Versions: 26
Compression:
Stored size: 294 Bytes
Contents
module ConfigHelper def config_is_set(setting, value = nil, &block) setting_ivar = "@#{setting}" value = block_given? ? block : value Doorkeeper.configuration.instance_variable_set(setting_ivar, value) end end RSpec.configuration.send :include, ConfigHelper, :type => :request
Version data entries
26 entries across 26 versions & 1 rubygems