Skip to content

Commit a8621a1

Browse files
committed
Close connection at end of test.
1 parent 978e839 commit a8621a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/async/websocket/client.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838

3939
expect(messages.size).to be == 3
4040
expect(connection).to be(:closed?)
41+
ensure
42+
connection&.close
4143
end
4244
end
4345

0 commit comments

Comments
 (0)