test/unit/test_connection.rb in monetdb-0.2.6 vs test/unit/test_connection.rb in monetdb-0.2.7
- old
+ new
@@ -58,10 +58,10 @@
it "disconnects the socket and releases @socket" do
socket = mock
@connection.instance_variable_set(:@socket, socket)
assert_equal true, @connection.connected?
- socket.expects(:disconnect)
+ socket.expects(:close)
@connection.disconnect
assert_equal nil, @connection.instance_variable_get(:@socket)
assert_equal false, @connection.connected?