Renamed method in documentation string `assert_broadcasts_on` to the

correct `assert_broadcast_on` to close #37272
This commit is contained in:
Thomas Fankhauser 2019-09-23 15:30:55 +02:00
parent 34d426b4e5
commit 66c4861aff
1 changed files with 1 additions and 1 deletions

View File

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