blob: 0469a94e3364803ed4bb2bf8e9cba2fb19c8bb60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
module ExpectRequestWithStatus
def expect_request_with_status(status)
expect do
yield
expect(response).to have_gitlab_http_status(status)
end
end
end
|