Sha256: bb70462eb5b36ec4099fea6a582b8c23d41f652f25e31597fd5ce08169d2b50c
Contents?: true
Size: 380 Bytes
Versions: 1
Compression:
Stored size: 380 Bytes
Contents
module Matchers # def contain(expected) # simple_matcher("contain #{expected.inspect}") do |given, matcher| # matcher.failure_message = "expected #{given.inspect} to contain #{expected.inspect}" # matcher.negative_failure_message = "expected #{given.inspect} not to contain #{expected.inspect}" # given.index expected # end # end end World(Matchers)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bobby-0.0.4 | features/support/matchers.rb |