aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralkesh26 <alkesh26@gmail.com>2019-01-17 22:02:35 +0530
committeralkesh26 <alkesh26@gmail.com>2019-01-17 22:02:35 +0530
commit393566c2506ad5cc37347e7e5add8ef20ccf1839 (patch)
treea322dfed303110938be029fc2ca9fda0578efc2e
parentade479f2b5c49c7906f60cec339cb7a8aafd502a (diff)
downloadrails-393566c2506ad5cc37347e7e5add8ef20ccf1839.tar.gz
rails-393566c2506ad5cc37347e7e5add8ef20ccf1839.tar.bz2
rails-393566c2506ad5cc37347e7e5add8ef20ccf1839.zip
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