Sha256: a9c34ca6d596fcdd5a67283e5672fd1228d4579f293d003862efca4b5f20c4e3

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 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

1 entries across 1 versions & 1 rubygems

Version Path
couchkeeper-0.6.7 spec/support/helpers/config_helper.rb