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

Version Path
fakes-1.1.4 spec/spec_helper.rb
fakes-1.1.3 spec/spec_helper.rb
fakes-1.1.2 spec/spec_helper.rb
fakes-1.0.31 spec/spec_helper.rb
fakes-1.0.30 spec/spec_helper.rb
fakes-1.0.25 spec/spec_helper.rb
fakes-1.1.1 spec/spec_helper.rb
fakes-1.0.24 spec/spec_helper.rb
fakes-1.0.22 spec/spec_helper.rb
fakes-1.1.0 spec/spec_helper.rb
fakes-1.0.9 spec/spec_helper.rb
fakes-1.0.8 spec/spec_helper.rb
fakes-1.0.7 spec/spec_helper.rb
fakes-1.0.6 spec/spec_helper.rb
fakes-1.0.5 spec/spec_helper.rb
fakes-1.0.2 spec/spec_helper.rb
fakes-1.0.1 spec/spec_helper.rb
fakes-1.0.0 spec/spec_helper.rb
fakes-0.4.1 spec/spec_helper.rb
fakes-0.4.0 spec/spec_helper.rb