Skip to content

Commit

Permalink
Renamed method in documentation string assert_broadcasts_on to the
Browse files Browse the repository at this point in the history
correct `assert_broadcast_on` to close rails#37272
  • Loading branch information
fanktom committed Sep 23, 2019
1 parent 34d426b commit 66c4861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actioncable/lib/action_cable/channel/test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def transmit(cable_message)
# 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
Expand Down

0 comments on commit 66c4861

Please sign in to comment.