Fix Rubocop offenses

This commit is contained in:
Sebastian Serth
2022-07-08 15:23:55 +02:00
parent ac453e841b
commit 5e9bf9141c
18 changed files with 87 additions and 87 deletions

View File

@ -49,9 +49,9 @@ def expect_redirect(path = nil)
end
end
def expect_status(status)
def expect_http_status(status)
it "responds with status #{status}" do
expect(response.status).to eq(status)
expect(response).to have_http_status(status)
end
end