summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-10-14 10:45:23 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2016-10-19 12:46:27 +0200
commitc7282f89596293423c61d6676db60a9a347d09ef (patch)
treeedac1f51006a1442e37ba7d753619af172032b0b /spec
parent4b889dbb3cbe0eb3ab639ca68bbe6e71abec711c (diff)
downloadgitlab-ce-grapify-commit-statuses-api.tar.gz
Grapify the commit status APIgrapify-commit-statuses-api
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/api/commit_statuses_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/commit_statuses_spec.rb b/spec/requests/api/commit_statuses_spec.rb
index 7aa7e85a9e2..335efc4db6c 100644
--- a/spec/requests/api/commit_statuses_spec.rb
+++ b/spec/requests/api/commit_statuses_spec.rb
@@ -196,7 +196,7 @@ describe API::CommitStatuses, api: true do
end
context 'reporter user' do
- before { post api(post_url, reporter) }
+ before { post api(post_url, reporter), state: 'running' }
it 'does not create commit status' do
expect(response).to have_http_status(403)
@@ -204,7 +204,7 @@ describe API::CommitStatuses, api: true do
end
context 'guest user' do
- before { post api(post_url, guest) }
+ before { post api(post_url, guest), state: 'running' }
it 'does not create commit status' do
expect(response).to have_http_status(403)