diff options
author | Rémy Coutable <remy@rymai.me> | 2017-03-09 00:41:02 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-03-13 17:33:17 +0100 |
commit | 5f7592d53805b18fbbc2a117ab8b4d953b13dbb1 (patch) | |
tree | bdf58db80db8b2b9b1d88a3417ea915d66e2561c /.gitlab-ci.yml | |
parent | 1d4b11f3388ddd7cf0076f95ac26196f6949dc0b (diff) | |
download | gitlab-ce-5f7592d53805b18fbbc2a117ab8b4d953b13dbb1.tar.gz |
Implement `json_response` as a `let` variable
This is not a good idea to memoize `json_response` using an instance
variable because `rspec-retry` doesn't clear instance variables on
retries, only `let` variables.
This will avoid issues where retries would fail on a different line that
the original failure, blurrying what's the real failure.
Also, automatically add api: true to specs under
/spec/requests/(ci/)?api/, and include JsonHelpers in controller, request
and API specs.
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions