Sha256: a5054dce2841089defe9b3cf2b94db45c6ce4153e3a8cb1af001e2575905a90c

Contents?: true

Size: 153 Bytes

Versions: 158

Compression:

Stored size: 153 Bytes

Contents

# frozen_string_literal: true

RSpec::Matchers.define :match_document do |expected|
  match do |actual|
    actual.as_json == expected.as_json
  end
end

Version data entries

158 entries across 158 versions & 1 rubygems

Version Path
renalware-core-2.0.84 spec/support/matchers/document.rb
renalware-core-2.0.83 spec/support/matchers/document.rb
renalware-core-2.0.82 spec/support/matchers/document.rb
renalware-core-2.0.81 spec/support/matchers/document.rb
renalware-core-2.0.80 spec/support/matchers/document.rb
renalware-core-2.0.79 spec/support/matchers/document.rb
renalware-core-2.0.78 spec/support/matchers/document.rb
renalware-core-2.0.77 spec/support/matchers/document.rb
renalware-core-2.0.76 spec/support/matchers/document.rb
renalware-core-2.0.75 spec/support/matchers/document.rb
renalware-core-2.0.74 spec/support/matchers/document.rb
renalware-core-2.0.73 spec/support/matchers/document.rb
renalware-core-2.0.72 spec/support/matchers/document.rb
renalware-core-2.0.71 spec/support/matchers/document.rb
renalware-core-2.0.70 spec/support/matchers/document.rb
renalware-core-2.0.69 spec/support/matchers/document.rb
renalware-core-2.0.68 spec/support/matchers/document.rb
renalware-core-2.0.67 spec/support/matchers/document.rb
renalware-core-2.0.64 spec/support/matchers/document.rb
renalware-core-2.0.63 spec/support/matchers/document.rb