Sha256: 62963609841e4af3a1549a168ea78bb7457a3e3c0ad82b4080c09275fe23d344
Contents?: true
Size: 416 Bytes
Versions: 6
Compression:
Stored size: 416 Bytes
Contents
module ConfigurationHelpers def with_options(options) original_options = JsonMatchers.configuration.options.dup JsonMatchers.configure do |config| config.options.merge!(options) end yield JsonMatchers.configure do |config| config.options.clear config.options.merge!(original_options) end end end RSpec.configure do |config| config.include ConfigurationHelpers end
Version data entries
6 entries across 6 versions & 1 rubygems