summaryrefslogtreecommitdiff
path: root/spec/requests/api/files_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'move-git-operation-service' into 'master'Sean McGivern2017-09-041-2/+2
|\ | | | | | | | | Move GitOperationService to Gitlab::Git See merge request !13984
| * Move GitOperationService to Gitlab::Gitmove-git-operation-serviceJacob Vosmaer2017-09-011-2/+2
| |
* | fix :file_path - add requirements:Marc Siegfriedt2017-08-301-0/+9
|/
* Fix API responses when dealing with txt filesissue_31790Felipe Artur2017-08-151-0/+10
|
* Ensure all project factories use `:repository` trait or `:empty_project`rs-empty_project-cleanupRobert Speicher2017-08-011-2/+2
|
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-2/+2
|
* Correct RSpec/SingleLineHook cop offensesRobert Speicher2017-06-141-1/+3
|
* Introduce optimistic locking support via optional parameter last_commit_id ↵Roman Safronov2017-06-061-0/+19
| | | | on File Update API
* Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-101-1/+1
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Unnecessary "include WaitForAjax" and "include ApiHelpers"Jacopo2017-04-211-2/+1
| | | | | Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true`
* Refactor changing files in web UIDouwe Maan2017-04-201-3/+3
|
* Don't use FFaker in factories, use sequences insteadRémy Coutable2017-04-031-15/+2
| | | | | | | FFaker can generate data that randomly break our test suite. This simplifies our factories and use sequences which are more predictive. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove unecessary endpoint from repository, add compatibility endpoints for ↵issue_16834Felipe Artur2017-03-071-0/+23
| | | | v3 and several improvements
* Update API endpoints for raw filesFelipe Artur2017-03-071-48/+111
|
* Fix creating a file in an empty repo using the APIDouwe Maan2017-03-011-0/+14
|
* Return 204 for delete endpointsRobert Schilling2017-02-281-9/+2
|
* Fix specsDouwe Maan2017-02-241-2/+2
|
* Change branch_name param to branch throughout V4 API22132-rename-branch-name-params-to-branchOswaldo Ferreira2017-02-211-4/+4
|
* Use `:empty_project` where possible in request specsrs-empty_project-requestsRobert Speicher2017-01-261-2/+2
|
* Improve specs for Files API4269-public-files-apiRémy Coutable2016-12-201-23/+51
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Allow unauthenticated access to Repositories Files API GET endpointsRémy Coutable2016-12-201-11/+26
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Changed API spec files to describe the correct classLivier2016-11-281-1/+1
| | | | | | | | Restore changes for api spec files Fix error in rspec Users Delete extra space Repositories-spec
* Add optional 'author' param when making commitsDan Dunckel2016-09-191-0/+75
|
* adds second batch of tests changed to active tenseactive-tense-test-coveragetiagonbotelho2016-08-091-11/+11
|
* Use HTTP matchers if possibleZ.J. van de Weg2016-06-271-12/+12
|
* Add ability to fetch the commit ID of the last commit that actually touched ↵api_file_touched_atValery Sizov2015-11-021-0/+1
| | | | a file
* Revert "Merge branch 'revert-satellites' into 'master' "Dmitriy Zaporozhets2015-08-111-35/+5
| | | | | This reverts commit 5daf44b7c86e0e2641a902b1da8b01d91fa3dbfa, reversing changes made to 2f706fbd231cabe7a76a5d17ac44285aaaf8592c.
* Merge branch 'revert-satellites' into 'master' Dmitriy Zaporozhets2015-08-111-5/+35
|\ | | | | | | | | | | | | | | | | Revert satellites Return satellites to master for 7.14 We remove satellites in next release (8.0) See merge request !1136
| * Fix file api testsDmitriy Zaporozhets2015-08-111-22/+8
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Revert "Merge branch 'web-editor-rugged' into 'master'"Dmitriy Zaporozhets2015-08-111-4/+48
| | | | | | | | | | | | | | This reverts commit 5a1aa49b5533593dc4c6de82279fe44f5f15616c, reversing changes made to a675bea2c1c1d5d6923cb97b8714eb72d4e4ff9b. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Revert "Merge branch 'drop-satellites'"Dmitriy Zaporozhets2015-08-111-1/+1
| | | | | | | | | | | | | | This reverts commit 957e849f41d96fa9778fcdd06792d2f0274b29ab, reversing changes made to 6b9dbe9f5a175a8162abf296367f561bab3eea1a. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Fix corrupted binary files when using API files endpointStan Hu2015-08-091-0/+31
|/ | | | | | Add CHANGELOG for gitlab_git 7.2.9 updates Closes #2219
* Remove satellitesDmitriy Zaporozhets2015-07-151-1/+1
|
* Merge branch 'master' into rubocop-for-testsDmitriy Zaporozhets2015-06-231-6/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: spec/features/issues_spec.rb spec/models/forked_project_link_spec.rb spec/models/hooks/service_hook_spec.rb spec/models/hooks/web_hook_spec.rb spec/models/project_services/hipchat_service_spec.rb spec/requests/api/project_members_spec.rb spec/requests/api/projects_spec.rb spec/requests/api/system_hooks_spec.rb spec/services/archive_repository_service_spec.rb spec/support/matchers.rb spec/tasks/gitlab/backup_rake_spec.rb
| * Update mock and stub syntax for specsRobert Speicher2015-06-221-6/+3
| |
* | Fix Style/Blocks cop violationsRobert Speicher2015-06-221-6/+6
|/
* Remove unnecessary satellite files and add CHANGELOG itemDmitriy Zaporozhets2015-06-021-14/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove file api tests which depend on old satellite logicDmitriy Zaporozhets2015-06-021-32/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve error messages when file editing failsVinnie Okada2015-02-221-4/+24
| | | | | Give more specific errors in API responses and web UI flash messages when a file update fails.
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-121-18/+18
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Fix api files specsDmitriy Zaporozhets2014-08-061-8/+10
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove rails observers from applicationDmitriy Zaporozhets2014-06-171-3/+0
|
* Added API testing groupJeroen van Baarsen2014-04-111-1/+1
|
* Complete api files CRUDDmitriy Zaporozhets2014-02-181-0/+30
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Make changes to testsDmitriy Zaporozhets2014-01-221-1/+1
| | | | | | | * project_with_code -> project * project -> ermpty_project Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve consistency: use file_path for API create/update/delete filesDmitriy Zaporozhets2013-11-201-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Tests for delete file by APIDmitriy Zaporozhets2013-11-191-0/+34
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* API: Edit file in repositoryDmitriy Zaporozhets2013-11-111-6/+41
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Specs for Create file APIDmitriy Zaporozhets2013-11-071-0/+46
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>