Sha256: 817683477c6651d408ed45470162be8544cf5534f6dfc04d5e8309f0a610bdac

Contents?: true

Size: 159 Bytes

Versions: 2

Compression:

Stored size: 159 Bytes

Contents

require 'object_comparator'

RSpec::Matchers.define :be_equal_to do |expected|
  match do |actual|
    ObjectComparator.new.equal?(actual, expected)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
object_comparator-0.1.1 lib/object_comparator/rspec.rb
object_comparator-0.1.0 lib/object_comparator/rspec.rb