Sha256: 43525e6c0479b92a5c2b83395e4d77ed2ef7a570096a126c5e5cdef13f30bfaf

Contents?: true

Size: 355 Bytes

Versions: 61

Compression:

Stored size: 355 Bytes

Contents

module Pact
  class JsonDiffer

    # Delegates to https://github.com/pact-foundation/pact-support/blob/master/lib/pact/matchers/matchers.rb#L25
    def self.call expected, actual, options = {}
      require 'pact/matchers' # avoid recursive loop between this file and pact/matchers
      ::Pact::Matchers.diff expected, actual, options
    end
  end
end

Version data entries

61 entries across 61 versions & 2 rubygems

Version Path
pact-support-1.3.1 lib/pact/shared/json_differ.rb