Sha256: 301a80ca6c65e6581fe7d1d9c2999327ac4023a78a1286100447adec01543626

Contents?: true

Size: 274 Bytes

Versions: 5

Compression:

Stored size: 274 Bytes

Contents

describe JsonMatchers, ".configure" do
  it "ignores :record_errors configuration" do
    with_options(record_errors: false) do
      configured_options = JsonMatchers.configuration.options

      expect(configured_options).to include(record_errors: true)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
json_matchers-0.9.0 spec/json_matchers/configuration_spec.rb
json_matchers-0.8.0 spec/json_matchers/configuration_spec.rb
json_matchers-0.7.3 spec/json_matchers/configuration_spec.rb
json_matchers-0.7.2 spec/json_matchers/configuration_spec.rb
json_matchers-0.7.1 spec/json_matchers/configuration_spec.rb