未验证 提交 92cc996a 编写于 作者: R Rafael França 提交者: GitHub

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

Typo fixes in action cable.
......@@ -81,7 +81,7 @@ def assert_no_broadcasts(stream, &block)
# 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 @@ def initialize(port)
end
end
ws.on(:close) do |event|
ws.on(:close) do |_|
closed.set
end
end
......
......@@ -74,7 +74,7 @@ def test_assert_no_broadcasts_failure
end
end
class TransmitedDataTest < ActionCable::TestCase
class TransmittedDataTest < ActionCable::TestCase
include ActionCable::TestHelper
def test_assert_broadcast_on
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册