aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2019-01-18 08:49:27 -0500
committerGitHub <noreply@github.com>2019-01-18 08:49:27 -0500
commit92cc996a09b7ffd5908c3c6771484fdf82e8729a (patch)
tree11b93b6f470732686b38492f6df7a9c546edc1b2
parentfac52ee506097e7b97501c50e13c0782549f1410 (diff)
parent393566c2506ad5cc37347e7e5add8ef20ccf1839 (diff)
downloadrails-92cc996a09b7ffd5908c3c6771484fdf82e8729a.tar.gz
rails-92cc996a09b7ffd5908c3c6771484fdf82e8729a.tar.bz2
rails-92cc996a09b7ffd5908c3c6771484fdf82e8729a.zip
Merge pull request #34959 from alkesh26/action-cable-typo-fixes
Typo fixes in action cable.
-rw-r--r--actioncable/lib/action_cable/test_helper.rb2
-rw-r--r--actioncable/test/client_test.rb2
-rw-r--r--actioncable/test/test_helper_test.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/actioncable/lib/action_cable/test_helper.rb b/actioncable/lib/action_cable/test_helper.rb
index 7bc877663c..26b849a273 100644
--- a/actioncable/lib/action_cable/test_helper.rb
+++ b/actioncable/lib/action_cable/test_helper.rb
@@ -81,7 +81,7 @@ module ActionCable
# Asserts that the specified message has been sent to the stream.
#
- # def test_assert_transmited_message
+ # def test_assert_transmitted_message
# ActionCable.server.broadcast 'messages', text: 'hello'
# assert_broadcast_on('messages', text: 'hello')
# end
diff --git a/actioncable/test/client_test.rb b/actioncable/test/client_test.rb
index e5f43488c4..bf141df458 100644
--- a/actioncable/test/client_test.rb
+++ b/actioncable/test/client_test.rb
@@ -140,7 +140,7 @@ class ClientTest < ActionCable::TestCase
end
end
- ws.on(:close) do |event|
+ ws.on(:close) do |_|
closed.set
end
end
diff --git a/actioncable/test/test_helper_test.rb b/actioncable/test/test_helper_test.rb
index 90e3dbf01f..02eaefc4f8 100644
--- a/actioncable/test/test_helper_test.rb
+++ b/actioncable/test/test_helper_test.rb
@@ -74,7 +74,7 @@ class TransmissionsTest < ActionCable::TestCase
end
end
-class TransmitedDataTest < ActionCable::TestCase
+class TransmittedDataTest < ActionCable::TestCase
include ActionCable::TestHelper
def test_assert_broadcast_on