spec/filesystem_spec.rb in libuv-0.11.19 vs spec/filesystem_spec.rb in libuv-0.11.20
- old
+ new
@@ -5,10 +5,10 @@
describe Libuv::Filesystem do
before :each do
@log = []
@general_failure = []
- @loop = Libuv::Loop.new
+ @loop = Libuv::Loop.default
@filesystem = @loop.filesystem
@timeout = @loop.timer do
@loop.stop
@general_failure << "test timed out"
end