mirror of https://github.com/rails/rails
Merge pull request #34959 from alkesh26/action-cable-typo-fixes
Typo fixes in action cable.
This commit is contained in:
commit
92cc996a09
|
@ -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
|
||||
|
|
|
@ -140,7 +140,7 @@ class ClientTest < ActionCable::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
ws.on(:close) do |event|
|
||||
ws.on(:close) do |_|
|
||||
closed.set
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue