Merge pull request #34959 from alkesh26/action-cable-typo-fixes

Typo fixes in action cable.
This commit is contained in:
Rafael França 2019-01-18 08:49:27 -05:00 committed by GitHub
commit 92cc996a09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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