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.147 spec/support/matchers/document.rb
renalware-core-2.0.146 spec/support/matchers/document.rb
renalware-core-2.0.145 spec/support/matchers/document.rb
renalware-core-2.0.144 spec/support/matchers/document.rb
renalware-core-2.0.143 spec/support/matchers/document.rb
renalware-core-2.0.142 spec/support/matchers/document.rb
renalware-core-2.0.141 spec/support/matchers/document.rb
renalware-core-2.0.140 spec/support/matchers/document.rb
renalware-core-2.0.139 spec/support/matchers/document.rb
renalware-core-2.0.138 spec/support/matchers/document.rb
renalware-core-2.0.137 spec/support/matchers/document.rb
renalware-core-2.0.136 spec/support/matchers/document.rb
renalware-core-2.0.135 spec/support/matchers/document.rb
renalware-core-2.0.134 spec/support/matchers/document.rb
renalware-core-2.0.133 spec/support/matchers/document.rb
renalware-core-2.0.132 spec/support/matchers/document.rb
renalware-core-2.0.131 spec/support/matchers/document.rb
renalware-core-2.0.130 spec/support/matchers/document.rb
renalware-core-2.0.129 spec/support/matchers/document.rb
renalware-core-2.0.128 spec/support/matchers/document.rb