test/test_context.rb in rbczmq-1.7.4 vs test/test_context.rb in rbczmq-1.7.5
- old
+ new
@@ -1,8 +1,8 @@
# encoding: utf-8
-require File.join(File.dirname(__FILE__), 'helper')
+require File.expand_path("../helper.rb", __FILE__)
class TestZmqContext < ZmqTestCase
def test_context
ctx = ZMQ::Context.new
assert_instance_of ZMQ::Context, ctx
@@ -81,6 +81,6 @@
assert_instance_of ZMQ::Socket::Rep, socket
assert_nil socket.close
ensure
ctx.destroy
end
-end
\ No newline at end of file
+end