1. 23 Apr, 2018 1 commit
  2. 27 Jul, 2017 1 commit
  3. 13 Mar, 2017 1 commit
    • Rémy Coutable's avatar
      Implement `json_response` as a `let` variable · 5f7592d5
      Rémy Coutable authored
      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's avatarRémy Coutable <remy@rymai.me>