Sha256: b6ca872d0ccc34e7484f67f0e6c24fc8b10d02d9e4dc63d5dad0ef3e7ff1690e
Contents?: true
Size: 335 Bytes
Versions: 22
Compression:
Stored size: 335 Bytes
Contents
Dir.chdir(File.join(File.dirname(__FILE__),"..,lib".split(','))) do require 'fakes.rb' end def catch_exception(&block) begin yield rescue Exception => e e end end module RSpec Matchers.define :contain do|string_to_find| match do|string_element| string_element.include?(string_to_find) end end end
Version data entries
22 entries across 22 versions & 1 rubygems