gitlab-org--gitlab-foss/spec/support/matchers
Lin Jen-Shin 0fd4a6b637 Introduce have_gitlab_http_status
So that whenever this failed:

    expect(response).to have_gitlab_http_status(200)

We see what's the response there. Here's an example:

```
1) API::Settings Settings PUT /application/settings custom repository storage type set in the config updates application settings
   Failure/Error: expect(response).to have_gitlab_http_status(200)
     expected the response to have status code 200 but it was 400. The response was: {"error":"password_authentication_enabled, signin_enabled are mutually exclusive"}
```
2017-07-15 01:43:26 +08:00
..
access_matchers.rb
access_matchers_for_controller.rb Revert unnecesarry changes 2017-07-05 21:00:22 +09:00
be_like_time.rb
be_url.rb
be_utf8.rb Add a UTF-8 encoding matcher 2017-06-30 14:32:42 +02:00
be_valid_commit.rb
email_matchers.rb
execute_check.rb Refactor and move things around to improve in YAGNI perspective 2017-05-31 20:45:00 +02:00
gitaly_matchers.rb Stop using deprecated `path` field on Gitaly messages 2017-06-14 19:33:43 -04:00
gitlab_git_matchers.rb Generate and handle a gl_repository param to pass around components 2017-05-03 17:37:30 -03:00
have_gitlab_http_status.rb Introduce have_gitlab_http_status 2017-07-15 01:43:26 +08:00
have_issuable_counts.rb
include_module.rb
markdown_matchers.rb
match_file.rb
pagination_matcher.rb
query_matcher.rb
satisfy_matchers.rb
user_activity_matchers.rb