test/test_helper/simple_connection.rb in monetdb-0.2.0 vs test/test_helper/simple_connection.rb in monetdb-0.2.1
- old
+ new
@@ -8,6 +8,16 @@
:username => "monetdb",
:password => "monetdb"
}
end
+ def connected?
+ !@socket.nil?
+ end
+
+private
+
+ def socket
+ @socket
+ end
+
end