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.127 spec/support/matchers/document.rb
renalware-core-2.0.126 spec/support/matchers/document.rb
renalware-core-2.0.125 spec/support/matchers/document.rb
renalware-core-2.0.124 spec/support/matchers/document.rb
renalware-core-2.0.123 spec/support/matchers/document.rb
renalware-core-2.0.121 spec/support/matchers/document.rb
renalware-core-2.0.120 spec/support/matchers/document.rb
renalware-core-2.0.119 spec/support/matchers/document.rb
renalware-core-2.0.118 spec/support/matchers/document.rb
renalware-core-2.0.117 spec/support/matchers/document.rb
renalware-core-2.0.116 spec/support/matchers/document.rb
renalware-core-2.0.115 spec/support/matchers/document.rb
renalware-core-2.0.113 spec/support/matchers/document.rb
renalware-core-2.0.112 spec/support/matchers/document.rb
renalware-core-2.0.111 spec/support/matchers/document.rb
renalware-core-2.0.110 spec/support/matchers/document.rb
renalware-core-2.0.109 spec/support/matchers/document.rb
renalware-core-2.0.108 spec/support/matchers/document.rb
renalware-core-2.0.106 spec/support/matchers/document.rb
renalware-core-2.0.105 spec/support/matchers/document.rb