We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4fcd41d + 4c508c5 commit 31953d2Copy full SHA for 31953d2
actioncable/lib/action_cable/connection/test_case.rb
@@ -75,11 +75,8 @@ def initialize(request)
75
#
76
# ## Basic example
77
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
+ # Unit tests are written by first simulating a connection attempt by calling
+ # `connect` and then asserting state, e.g. identifiers, have been assigned.
83
84
# class ApplicationCable::ConnectionTest < ActionCable::Connection::TestCase
85
# def test_connects_with_proper_cookie
0 commit comments