mirror of https://github.com/rails/rails
Renamed method in documentation string `assert_broadcasts_on` to the
correct `assert_broadcast_on` to close #37272
This commit is contained in:
parent
34d426b4e5
commit
66c4861aff
|
@ -159,7 +159,7 @@ module ActionCable
|
|||
# def test_speak
|
||||
# subscribe room_id: rooms(:chat).id
|
||||
#
|
||||
# assert_broadcasts_on(rooms(:chat), text: "Hello, Rails!") do
|
||||
# assert_broadcast_on(rooms(:chat), text: "Hello, Rails!") do
|
||||
# perform :speak, message: "Hello, Rails!"
|
||||
# end
|
||||
# end
|
||||
|
|
Loading…
Reference in New Issue