Skip to content
Snippets Groups Projects
  1. Feb 24, 2020
  2. Oct 29, 2019
  3. Mar 05, 2019
  4. May 24, 2018
  5. Jul 14, 2017
    • Lin Jen-Shin's avatar
      Introduce have_gitlab_http_status · 0fd4a6b6
      Lin Jen-Shin authored
      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"}
      ```
      0fd4a6b6
  6. Apr 21, 2017
  7. Nov 28, 2016
  8. Oct 12, 2016
Loading