typo fixes in action cable

This commit is contained in:
alkesh26 2019-01-17 22:02:35 +05:30
parent ade479f2b5
commit 393566c250
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -140,7 +140,7 @@ class ClientTest < ActionCable::TestCase
end
end
ws.on(:close) do |event|
ws.on(:close) do |_|
closed.set
end
end

View File

@ -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