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.1.1 spec/support/matchers/document.rb
renalware-core-2.1.0 spec/support/matchers/document.rb
renalware-core-2.0.167 spec/support/matchers/document.rb
renalware-core-2.0.166 spec/support/matchers/document.rb
renalware-core-2.0.165 spec/support/matchers/document.rb
renalware-core-2.0.164 spec/support/matchers/document.rb
renalware-core-2.0.163 spec/support/matchers/document.rb
renalware-core-2.0.162 spec/support/matchers/document.rb
renalware-core-2.0.161 spec/support/matchers/document.rb
renalware-core-2.0.160 spec/support/matchers/document.rb
renalware-core-2.0.159 spec/support/matchers/document.rb
renalware-core-2.0.158 spec/support/matchers/document.rb
renalware-core-2.0.157 spec/support/matchers/document.rb
renalware-core-2.0.156 spec/support/matchers/document.rb
renalware-core-2.0.155 spec/support/matchers/document.rb
renalware-core-2.0.153 spec/support/matchers/document.rb
renalware-core-2.0.152 spec/support/matchers/document.rb
renalware-core-2.0.151 spec/support/matchers/document.rb
renalware-core-2.0.149 spec/support/matchers/document.rb
renalware-core-2.0.148 spec/support/matchers/document.rb