spec/spec_helper.rb in fnordmetric-0.6.2 vs spec/spec_helper.rb in fnordmetric-0.6.3
- old
+ new
@@ -12,9 +12,12 @@
$: << ::File.expand_path('../../lib', __FILE__)
require "fnordmetric"
require "eventmachine"
require 'em-hiredis'
+def EM.defer; yield; end
+def EM.next_tick; yield; end
+
class RedisWrap
def initialize(redis, callbackable=true)
@redis = redis
@callbackable = callbackable
\ No newline at end of file