test/connection/test_channel.rb in net-ssh-2.9.4 vs test/connection/test_channel.rb in net-ssh-2.10.0.beta1

- old
+ new

@@ -72,13 +72,10 @@ def test_close_should_set_closing_and_send_message channel.do_open_confirmation(0, 100, 100) assert !channel.closing? connection.expect { |t,packet| assert_equal CHANNEL_CLOSE, packet.type } - connection.expects(:cleanup_channel).with(channel) channel.close - - channel.process assert channel.closing? end def test_close_while_closing_should_do_nothing