Skip to content

Commit 4c508c5

Browse files
committed
Fix rdoc code render in ActionCable::Connection::TestCase docs
1 parent 4fcd41d commit 4c508c5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

actioncable/lib/action_cable/connection/test_case.rb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,8 @@ def initialize(request)
7575
#
7676
# ## Basic example
7777
#
78-
# Unit tests are written as follows:
79-
#
80-
# 1. Simulate a connection attempt by calling `connect`.
81-
# 2. Assert state, e.g. identifiers, has been assigned.
82-
#
78+
# Unit tests are written by first simulating a connection attempt by calling
79+
# `connect` and then asserting state, e.g. identifiers, have been assigned.
8380
#
8481
# class ApplicationCable::ConnectionTest < ActionCable::Connection::TestCase
8582
# def test_connects_with_proper_cookie

0 commit comments

Comments
 (0)