Sha256: 08284d21ad8e7ae44a1ca0fb3fcccb9858b47ba13abb041e1bce84abc4acd1af
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
require 'rubygems' # require 'simplecov-html' # SimpleCov.start require 'test/unit' require 'shoulda' require 'memcached_mock' require 'mocha' require 'dalli' class Test::Unit::TestCase include MemcachedMock::Helper def assert_error(error, regexp=nil, &block) ex = assert_raise(error, &block) assert_match(regexp, ex.message, "#{ex.class.name}: #{ex.message}\n#{ex.backtrace.join("\n\t")}") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dalli-0.9.2 | test/helper.rb |
dalli-0.9.1 | test/helper.rb |