Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement `json_response` as a `let` variable | Rémy Coutable | 2017-03-13 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | 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> | ||||
* | Remain V3 endpoint unchanged | Oswaldo Ferreira | 2017-01-30 | 1 | -2/+7 |
| | |||||
* | Enable Style/MultilineTernaryOperator rubocop coprubocop/enable-multiline-ternary-operator-cop | Grzegorz Bizon | 2016-07-20 | 1 | -4/+10 |
| | | | | | | Avoid multi-line ?: (the ternary operator). Use if/unless instead. See #17478 | ||||
* | fix specs. Stage 2 | Valery Sizov | 2015-09-14 | 1 | -0/+11 |
| | |||||
* | Memoize result of JSON.parse in json_response | Robert Speicher | 2015-06-10 | 1 | -1/+1 |
| | | | | | This might see a minor speedup in test cases that call this method many times. | ||||
* | Refactor API classes. So api classes like Gitlab::Issues become API::Issues | Dmitriy Zaporozhets | 2013-05-14 | 1 | -1/+1 |
| | |||||
* | API version returns last version set | Nihad Abbasov | 2012-12-01 | 1 | -1/+1 |
| | | | | * fixed in grape v0.2.2 | ||||
* | Add a simple `api` method to ApiHelpers, replacing api_prefix | Robert Speicher | 2012-08-25 | 1 | -2/+27 |
| | | | | See docs for usage | ||||
* | Cleanup spec/support folder and spec/spec_helper | Robert Speicher | 2012-08-25 | 1 | -0/+9 |
Changes: * Move spec/monkeypatch to spec/support * Remove unused support/shared_examples * Move support/api to support/api_helpers to match module name * Move support/login to support/login_helpers to match module name * Move API specs to requests/api (convention over configuration) * Remove unused support/js_patch * Simplify login_as helper * Move DatabaseCleaner stuff to its own support file * Remove unnecessary configuration and requires from spec_helper |