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.40 spec/support/matchers/document.rb
renalware-core-2.0.39 spec/support/matchers/document.rb
renalware-core-2.0.38 spec/support/matchers/document.rb
renalware-core-2.0.37 spec/support/matchers/document.rb
renalware-core-2.0.36 spec/support/matchers/document.rb
renalware-core-2.0.35 spec/support/matchers/document.rb
renalware-core-2.0.34 spec/support/matchers/document.rb
renalware-core-2.0.33 spec/support/matchers/document.rb
renalware-core-2.0.32 spec/support/matchers/document.rb
renalware-core-2.0.31 spec/support/matchers/document.rb
renalware-core-2.0.30 spec/support/matchers/document.rb
renalware-core-2.0.28 spec/support/matchers/document.rb
renalware-core-2.0.27 spec/support/matchers/document.rb
renalware-core-2.0.26 spec/support/matchers/document.rb
renalware-core-2.0.25 spec/support/matchers/document.rb
renalware-core-2.0.24 spec/support/matchers/document.rb
renalware-core-2.0.23 spec/support/matchers/document.rb
renalware-core-2.0.22 spec/support/matchers/document.rb
renalware-core-2.0.21 spec/support/matchers/document.rb
renalware-core-2.0.20 spec/support/matchers/document.rb