Sha256: 4a2c0aa10bcaa0ee97af8009c6f78b2ea4e4e7eff031e2873f284db55badcb26

Contents?: true

Size: 251 Bytes

Versions: 2

Compression:

Stored size: 251 Bytes

Contents

require_relative 'assertion'

# LikeAssay defines an assertion for broad equality.
#
class LikeAssay < Assertion

  register :like

  #
  # Test assertion for `#like?`.
  #
  def self.pass?(subject, criterion)
    subject.like?(criterion)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
assay-0.4.1 lib/assay/like_assay.rb
assay-0.4.0 lib/assay/like_assay.rb