summaryrefslogtreecommitdiff
path: root/spec/requests/projects
Commit message (Collapse)AuthorAgeFilesLines
* [Rails5] Rename `sort` methods to `sort_by_attribute`blackst0ne2018-04-041-5/+5
|
* Adapt cycle analytics spec helper and cycle analytics usage data spec41777-include-cycle-time-in-usage-pingTiago Botelho2018-03-011-3/+3
|
* Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specsblackst0ne2017-12-221-1/+1
|
* Refactor `have_http_status` into `have_gitlab_http_status` in the specsJacopo2017-10-201-3/+3
|
* Removes default scope from sortable23079-remove-default-scope-in-sortableTiago Botelho2017-09-071-1/+1
|
* Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable2017-07-271-1/+1
| | | | | | services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
* Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-051-11/+11
|
* Add transient head_pipeline_of to pipeline factoriesissue_32225Felipe Artur2017-05-221-2/+1
|
* Fix SpecsFelipe Artur2017-05-081-0/+1
|
* Merge branch '28359-skip-process-commit-worker-unless-issues-referenced' ↵31977-ensure-all-webpack-bundles-which-include-vue-are-children-of-common_vue-jsDmitriy Zaporozhets2017-05-081-3/+1
|\ | | | | | | | | | | | | | | | | | | into 'master' Use regex to skip unnecessary reference processing in ProcessCommitWorker Closes #28359 See merge request !10867
| * Cycle analytics specs needed Commit to reference issue28359-skip-process-commit-worker-unless-issues-referencedJames Edwards-Jones2017-05-041-3/+1
| | | | | | The plan stage both measures time taken and lists related commits. We test for commits being listed, so needed to actually mention the issue in them. An alternative would have been adding “allow_any_instance_of(Commit).to receive(:matches_cross_reference_regex?).and_return(true)” but this felt too coupled to implementation.
* | Add artifact file page that uses the blob viewerdm-artifact-blob-viewerDouwe Maan2017-05-041-117/+0
| |
* | Unnecessary "include WaitForAjax" and "include ApiHelpers"Jacopo2017-04-211-3/+1
|/ | | | | Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true`
* Use `:empty_project` where possible in request specsrs-empty_project-requestsRobert Speicher2017-01-262-2/+2
|
* Fix spec failure due to timestamp ordering issue in mySQLJames Lopez2017-01-251-1/+6
|
* Make cycle_analytics_events_spec.rb side-effect free26622-fix-transient-failure-in-cycle_analytics_events_specRémy Coutable2017-01-161-21/+14
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Update effected testszj-guest-reads-public-buildsZ.J. van de Weg2016-12-041-1/+1
|
* Pass commit data to ProcessCommitWorkerprocess-commit-worker-improvementsYorick Peterse2016-12-011-1/+1
| | | | | | | | | | | By passing commit data to this worker we remove the need for querying the Git repository for every job. This in turn reduces the time spent processing each job. The migration included migrates jobs from the old format to the new format. For this to work properly it requires downtime as otherwise workers may start producing errors until they're using a newer version of the worker code.
* Fix a transient spec failure24772-fix-transient-failing-specRémy Coutable2016-11-291-1/+1
| | | | | | | Sorting by created_at can lead to uncertainties if two records are created at the same time. Signed-off-by: Rémy Coutable <remy@rymai.me>
* added custom date helper and spec and fixed some unrelated spec failuresJames Lopez2016-11-171-16/+6
|
* Refactor all query config stuff into separate classes and added specsJames Lopez2016-11-171-1/+3
|
* fix issue with commits and also updated routesJames Lopez2016-11-171-0/+2
|
* fix authorization of builds and added relevant specJames Lopez2016-11-171-1/+25
|
* fixed and added missing scenario to events integration specJames Lopez2016-11-171-14/+26
|
* refactored duplicated code in controller, updated JSON array naming and ↵James Lopez2016-11-171-14/+14
| | | | fixed specs
* fixed integration spec after big refactoring of fields per stageJames Lopez2016-11-171-23/+33
|
* added missing fields to issue. Also, added a light url builder to add URLs ↵James Lopez2016-11-171-1/+0
| | | | easily from arel. Updated specs.
* added pipelines to integration specJames Lopez2016-11-171-3/+7
|
* some more integration scenarios testing order. Also, fixed bug in the ↵James Lopez2016-11-171-13/+42
| | | | staging and test stages.
* added the rest of the stages to the controller and relevant specsJames Lopez2016-11-171-2/+46
|
* added cycle analytics events controller and started integration specJames Lopez2016-11-171-0/+24
|
* Path could also have slashes! Feedback:Lin Jen-Shin2016-08-241-2/+20
| | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_14347729
* Use only one before block, feedback:Lin Jen-Shin2016-08-241-2/+0
| | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142/diffs#note_14347758
* Fixed a missing renameLin Jen-Shin2016-08-171-1/+1
|
* Fix tests, explicitly set the statusLin Jen-Shin2016-08-161-1/+2
|
* Empty lines around blocksLin Jen-Shin2016-08-101-0/+2
|
* Merge shared context into controller test and update accordinglyLin Jen-Shin2016-07-211-15/+62
|
* Use ci_commits.ref (Pipeline#ref) to find buildsLin Jen-Shin2016-07-181-1/+1
|
* It could be redirecting or downloading in Rails or APILin Jen-Shin2016-07-151-1/+1
|
* Update routes based on feedback from:Lin Jen-Shin2016-07-141-4/+4
| | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_13058785 And note that job/build_name could contain `/`
* rubocop likes this betterLin Jen-Shin2016-07-131-2/+2
|
* Share more stuffsLin Jen-Shin2016-07-131-11/+5
|
* Implement API for downloading artifacts from ref and build name:Lin Jen-Shin2016-07-131-99/+23
| | | | | | | | Basically: GET /api/projects/:id/artifacts/:ref_name/:build_name Also added tests for it.
* Introduce path_from_ref and save some typingLin Jen-Shin2016-07-131-18/+8
|
* No need for a separate line nowLin Jen-Shin2016-07-131-3/+1
|
* Add all the tests and fix stuffs along the way:Lin Jen-Shin2016-07-121-0/+145
It turns out they are different: builds.success.latest.first and builds.latest.success.first If we put success first, that latest would also filter via success, and which is what we want here.