aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-08-08 18:17:28 +0200
committerXavier Noria <fxn@hashref.com>2016-08-08 18:25:11 +0200
commit46f511685c91486295a418547bb08c2aa5e49cfc (patch)
tree4502840df5d33c9f6c985de405bad737785851f8 /actioncable/test
parentd8fe25274684eeb5ace1b5f84987776a5ab436f7 (diff)
downloadrails-46f511685c91486295a418547bb08c2aa5e49cfc.tar.gz
rails-46f511685c91486295a418547bb08c2aa5e49cfc.tar.bz2
rails-46f511685c91486295a418547bb08c2aa5e49cfc.zip
revises more Lint/EndAlignment offenses
Diffstat (limited to 'actioncable/test')
-rw-r--r--actioncable/test/stubs/test_server.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/actioncable/test/stubs/test_server.rb b/actioncable/test/stubs/test_server.rb
index 71819a43dc..b64ff33789 100644
--- a/actioncable/test/stubs/test_server.rb
+++ b/actioncable/test/stubs/test_server.rb
@@ -13,9 +13,9 @@ class TestServer
@config.use_faye = ENV["FAYE"].present?
@config.client_socket_class = if @config.use_faye
ActionCable::Connection::FayeClientSocket
- else
- ActionCable::Connection::ClientSocket
- end
+ else
+ ActionCable::Connection::ClientSocket
+ end
@mutex = Monitor.new
end
@@ -27,9 +27,9 @@ class TestServer
def event_loop
@event_loop ||= if @config.use_faye
ActionCable::Connection::FayeEventLoop.new
- else
- ActionCable::Connection::StreamEventLoop.new
- end
+ else
+ ActionCable::Connection::StreamEventLoop.new
+ end
end
def worker_pool