Skip to content

Commit 60e923a

Browse files
committed
Add links in HaveHttpStatus matcher yard doc
1 parent 3ffa6c9 commit 60e923a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/rspec/rails/matchers/have_http_status.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def invalid_response_type_message
7373
# @example
7474
# expect(response).to have_http_status(404)
7575
#
76-
# @see RSpec::Rails::Matchers.have_http_status
76+
# @see RSpec::Rails::Matchers#have_http_status
7777
class NumericCode < RSpec::Rails::Matchers::BaseMatcher
7878
include HaveHttpStatus
7979

@@ -123,7 +123,7 @@ def failure_message_when_negated
123123
# @example
124124
# expect(response).to have_http_status(:created)
125125
#
126-
# @see RSpec::Rails::Matchers.have_http_status
126+
# @see RSpec::Rails::Matchers#have_http_status
127127
# @see https://github.com/rack/rack/blob/master/lib/rack/utils.rb `Rack::Utils::SYMBOL_TO_STATUS_CODE`
128128
class SymbolicStatus < RSpec::Rails::Matchers::BaseMatcher
129129
include HaveHttpStatus
@@ -236,8 +236,8 @@ def set_expected_code!
236236
# expect(response).to have_http_status(:missing)
237237
# expect(response).to have_http_status(:redirect)
238238
#
239-
# @see RSpec::Rails::Matchers.have_http_status
240-
# @see ActionDispatch::TestResponse
239+
# @see RSpec::Rails::Matchers#have_http_status
240+
# @see https://github.com/rails/rails/blob/6-0-stable/actionpack/lib/action_dispatch/testing/test_response.rb `ActionDispatch::TestResponse`
241241
class GenericStatus < RSpec::Rails::Matchers::BaseMatcher
242242
include HaveHttpStatus
243243

0 commit comments

Comments
 (0)