gitlab-org--gitlab-foss/spec/requests/api
Rémy Coutable f7be904afa Merge branch 'fix-commit-status' into 'master'
Fix an error where we were unable to create a CommitStatus for running state

Due to severe refactoring of Pipeline we introduced regression in how CommitStatus is handled. We received an report that it's impossible to create a CommitStatus with state `running` when there were not previous status. 

The support for Commit Statuses should be simplified. Right now I'm doing minimal change to move forward and fix a bug, but I'll create a new MR that will move all logic that is now part of `lib/api/commit_statuses.rb` to separate service to simplify the implementation.

This error happens due to the fact that we introduced additional status of builds: `created`.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/21345

See merge request !6107
2016-09-13 08:33:28 +00:00
..
access_requests_spec.rb New AccessRequests API endpoints for Group & Project 2016-08-10 19:07:05 +02:00
api_helpers_spec.rb Add Sentry logging to API calls 2016-08-24 12:09:51 -07:00
award_emoji_spec.rb prevent authored awardable thumbs votes 2016-08-28 18:15:55 +01:00
branches_spec.rb Fix API::BranchesSpec. 2016-08-16 14:10:28 +05:30
broadcast_messages_spec.rb Add BroadcastMessage API implementation 2016-08-31 17:03:18 -03:00
builds_spec.rb Merge remote-tracking branch 'upstream/master' into artifacts-from-ref-and-build-name 2016-08-19 17:41:53 +08:00
commit_statuses_spec.rb Fix an error where we were unable to create a CommitStatus for running state 2016-09-12 12:20:18 +02:00
commits_spec.rb Fix tests which broke in the merge 2016-08-16 00:43:06 +08:00
deploy_keys_spec.rb Create service for enabling deploy keys 2016-08-05 11:38:17 +02:00
deployments_spec.rb Docs for API endpoints 2016-08-18 21:10:52 +02:00
doorkeeper_access_spec.rb
environments_spec.rb Expose project for environments 2016-08-18 21:10:52 +02:00
files_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
fork_spec.rb Higher code quality for fork to namespace API 2016-09-06 23:51:08 +02:00
groups_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
internal_spec.rb Minor edits to two_factor_recovery_codes API error catching 2016-08-31 19:41:55 -05:00
issues_spec.rb Ensure specs on sorting of issues in API are deterministic on MySQL 2016-09-12 15:44:41 +02:00
keys_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
labels_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
license_templates_spec.rb
lint_spec.rb Code refactor 2016-09-07 12:10:49 +02:00
members_spec.rb Add expiration date to group memberships 2016-08-18 21:09:17 +01:00
merge_request_diffs_spec.rb Add single merge request diff API endpoint 2016-08-12 14:44:49 +03:00
merge_requests_spec.rb entities: expose {,merge_commit_}sha in MergeRequest 2016-08-31 10:50:54 -04:00
milestones_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
namespaces_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
notes_spec.rb Capitalize mentioned issue timeline notes 2016-08-25 10:47:40 -05:00
notification_settings_spec.rb Add notification_settings API calls 2016-09-09 17:08:06 +00:00
oauth_tokens_spec.rb Small refactor and syntax fixes. 2016-08-18 16:47:26 -05:00
pipelines_spec.rb Add docs on API for pipelines, plus minor fixes 2016-08-18 16:56:39 +02:00
project_hooks_spec.rb api: expose wiki_page_events project hook field in the API 2016-08-24 10:33:51 -04:00
project_snippets_spec.rb api: expose web_url for project entities 2016-08-24 10:32:31 -04:00
projects_spec.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
repositories_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
runners_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
services_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
session_spec.rb Small refactor and syntax fixes. 2016-08-18 16:47:26 -05:00
settings_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
sidekiq_metrics_spec.rb
system_hooks_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
tags_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
templates_spec.rb Load issues and merge requests templates from repository 2016-08-16 15:50:17 -03:00
todos_spec.rb Use cache for todos counter calling TodoService 2016-08-12 17:40:03 +02:00
triggers_spec.rb Pre-create all builds for Pipeline when a trigger is received 2016-08-11 15:22:35 +02:00
users_spec.rb Don't expose a user's private token in the /api/v3/user API. 2016-08-31 12:33:24 +05:30
variables_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00