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 Resolve "Add more tests for spec/controllers/projects/builds_controller_spec.rb" 2017-04-28 09:38:32 +00:00
access_matchers_for_controller.rb Revert unnecesarry changes 2017-07-05 21:00:22 +09:00
be_like_time.rb Add a be_like_time matcher and use it in specs 2016-10-17 14:44:20 +01:00
be_url.rb Improve code design after code review 2016-11-16 23:10:27 +01:00
be_utf8.rb Add a UTF-8 encoding matcher 2017-06-30 14:32:42 +02:00
be_valid_commit.rb Absorb gitlab_git 2017-01-04 19:09:28 -05:00
email_matchers.rb Add a new have_html_escaped_body_text that match an HTML-escaped text 2017-03-17 12:20:54 +01:00
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 Fix have_issuable_counts matcher on failure 2016-12-01 12:24:56 +00:00
include_module.rb
markdown_matchers.rb Fix wrong image src with cached gl-emoji and relative root 2017-03-06 12:54:46 -06:00
match_file.rb Ensure the right content is served for the build artifacts API 2017-02-05 10:57:14 +01:00
pagination_matcher.rb Add a custom pagination matcher 2017-02-16 15:38:40 +01:00
query_matcher.rb Remove useless queries with false conditions (e.g 1=0) 2017-04-04 13:54:58 +03:00
satisfy_matchers.rb Remove a transient failure from spec/requests/api/groups_spec.rb 2017-02-09 20:23:41 -05:00
user_activity_matchers.rb Add a new Gitlab::UserActivities class to track user activities 2017-04-14 15:20:55 +02:00