Sha256: 73c3387996af5717f91a36bee02a23d9bb5e71210263be42b105ed224f817a16
Contents?: true
Size: 424 Bytes
Versions: 4
Compression:
Stored size: 424 Bytes
Contents
$:.unshift(File.expand_path("../lib", File.dirname(__FILE__))) require "cutest" require "redis" require "ohm" require "ohm/contrib" require "override" Ohm.connect :host => "localhost", :port => 6379, :db => 1 NOW = Time.utc(2010, 5, 12) include Override prepare { Ohm.flush override(Time, :now => NOW) } def assert_nothing_raised(*exceptions) begin yield rescue *exceptions flunk(caller[1]) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ohm-contrib-1.0.rc1 | test/helper.rb |
ohm-contrib-1.0.rc0 | test/helper.rb |
ohm-contrib-0.1.2 | test/helper.rb |
ohm-contrib-0.1.1 | test/helper.rb |