diff --git a/actioncable/lib/action_cable/channel/test_case.rb b/actioncable/lib/action_cable/channel/test_case.rb index d654503b8c..d3b38ca515 100644 --- a/actioncable/lib/action_cable/channel/test_case.rb +++ b/actioncable/lib/action_cable/channel/test_case.rb @@ -142,12 +142,14 @@ def connection_gid(ids) # ActionCable::Channel::TestCase will also automatically provide the following # instance methods for use in the tests: # - # **connection** + # connection # : An ActionCable::Channel::ConnectionStub, representing the current HTTP # connection. - # **subscription** + # + # subscription # : An instance of the current channel, created when you call `subscribe`. - # **transmissions** + # + # transmissions # : A list of all messages that have been transmitted into the channel. # # diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index 1275300904..d838c097d0 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -288,14 +288,16 @@ def load! # ActionController::TestCase will also automatically provide the following # instance variables for use in the tests: # - # **@controller** + # @controller # : The controller instance that will be tested. - # **@request** + # + # @request # : An ActionController::TestRequest, representing the current HTTP request. # You can modify this object before sending the HTTP request. For example, # you might want to set some session properties before sending a GET # request. - # **@response** + # + # @response # : An ActionDispatch::TestResponse object, representing the response of the # last HTTP response. In the above example, `@response` becomes valid after # calling `post`. If the various assert methods are not sufficient, then you