spec/defer_spec.rb in libuv-0.11.19 vs spec/defer_spec.rb in libuv-0.11.20
- old
+ new
@@ -2,10 +2,10 @@
describe Libuv::Q do
before :each do
- @loop = Libuv::Loop.new
+ @loop = Libuv::Loop.default
@deferred = @loop.defer
@promise = @deferred.promise
@log = []
@default_fail = proc { |reason|
@loop.stop