summaryrefslogtreecommitdiff
path: root/spec/support/api_helpers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remain V3 endpoint unchangedOswaldo Ferreira2017-01-301-2/+7
|
* Enable Style/MultilineTernaryOperator rubocop coprubocop/enable-multiline-ternary-operator-copGrzegorz Bizon2016-07-201-4/+10
| | | | | | Avoid multi-line ?: (the ternary operator). Use if/unless instead. See #17478
* fix specs. Stage 2Valery Sizov2015-09-141-0/+11
|
* Memoize result of JSON.parse in json_responseRobert Speicher2015-06-101-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::IssuesDmitriy Zaporozhets2013-05-141-1/+1
|
* API version returns last version setNihad Abbasov2012-12-011-1/+1
| | | | * fixed in grape v0.2.2
* Add a simple `api` method to ApiHelpers, replacing api_prefixRobert Speicher2012-08-251-2/+27
| | | | See docs for usage
* Cleanup spec/support folder and spec/spec_helperRobert Speicher2012-08-251-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