Sha256: eeb899e6f0bbaa2422ba8fbab3bd821e11e46e7d3f0c6d5d5fe8363fed6d7a61
Contents?: true
Size: 483 Bytes
Versions: 8
Compression:
Stored size: 483 Bytes
Contents
$:.unshift(File.expand_path("../lib", File.dirname(__FILE__))) require "cutest" require "redis" if ENV["SCRIPTED"] require "ohm/scripted" else require "ohm" end require "ohm/contrib" require "override" Ohm.connect :host => "localhost", :port => 6379, :db => 1 NOW = Time.utc(2010, 5, 12) include Override prepare do Ohm.flush override(Time, :now => NOW) end def assert_nothing_raised(*exceptions) begin yield rescue *exceptions flunk(caller[1]) end end
Version data entries
8 entries across 8 versions & 1 rubygems