From 6f58b2cfc97d9ac2358600f18b0fabc48fdfc2c6 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Thu, 12 Jul 2018 21:29:48 +0900 Subject: Enable `Layout/EmptyLinesAroundBlockBody` to reduce review cost in the future MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We sometimes ask "✂️ extra blank lines" to a contributor in reviews like https://github.com/rails/rails/pull/33337#discussion_r201509738. It is preferable to deal automatically without depending on manpower. --- actioncable/test/connection/client_socket_test.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'actioncable/test') diff --git a/actioncable/test/connection/client_socket_test.rb b/actioncable/test/connection/client_socket_test.rb index 9176c7ac8b..a7db32c3e4 100644 --- a/actioncable/test/connection/client_socket_test.rb +++ b/actioncable/test/connection/client_socket_test.rb @@ -41,7 +41,6 @@ class ActionCable::Connection::ClientSocketTest < ActionCable::TestCase # Internal hax = :( client = connection.websocket.send(:websocket) client.instance_variable_get("@stream").stub(:write, proc { raise "foo" }) do - assert_not_called(client, :client_gone) do client.write("boo") end -- cgit v1.2.3