Pattern: Missing use of have_http_status
Issue: -
Checks that tests use have_http_status
instead of equality matchers.
# bad
expect(response.status).to be(200)
# good
expect(response).to have_http_status(200)
Pattern: Missing use of have_http_status
Issue: -
Checks that tests use have_http_status
instead of equality matchers.
# bad
expect(response.status).to be(200)
# good
expect(response).to have_http_status(200)