Sha256: effaf939cd34ddc36c242ff0d1b9461d20bbd9f1bfee4ee77df111f65f29627c

Contents?: true

Size: 307 Bytes

Versions: 29

Compression:

Stored size: 307 Bytes

Contents

class ExistanceMatcher
  defm match(expected, actual)
    return exists(actual)
  end

  defm failure_message_for_match(expected, actual)
    return "expected “#{actual}” to exist"
  end

  defm failure_message_for_mismatch(expected, actual)
    return "expected “#{actual}” to not exist"
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
speckle-0.2.0 lib/matchers/existance_matcher.riml
speckle-0.1.31 lib/matchers/existance_matcher.riml
speckle-0.1.30 lib/matchers/existance_matcher.riml
speckle-0.1.29 lib/matchers/existance_matcher.riml
speckle-0.1.28 lib/matchers/existance_matcher.riml
speckle-0.1.27 lib/matchers/existance_matcher.riml
speckle-0.1.26 lib/matchers/existance_matcher.riml
speckle-0.1.25 lib/matchers/existance_matcher.riml
speckle-0.1.24 lib/matchers/existance_matcher.riml
speckle-0.1.23 lib/matchers/existance_matcher.riml
speckle-0.1.22 lib/matchers/existance_matcher.riml
speckle-0.1.21 lib/matchers/existance_matcher.riml
speckle-0.1.20 lib/matchers/existance_matcher.riml
speckle-0.1.19 lib/matchers/existance_matcher.riml
speckle-0.1.18 lib/matchers/existance_matcher.riml
speckle-0.1.17 lib/matchers/existance_matcher.riml
speckle-0.1.16 lib/matchers/existance_matcher.riml
speckle-0.1.15 lib/matchers/existance_matcher.riml
speckle-0.1.14 lib/matchers/existance_matcher.riml
speckle-0.1.13 lib/matchers/existance_matcher.riml