diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2016-10-14 11:45:23 +0300 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2016-10-19 13:46:27 +0300 |
commit | c7282f89596293423c61d6676db60a9a347d09ef (patch) | |
tree | edac1f51006a1442e37ba7d753619af172032b0b /spec/requests/api | |
parent | 4b889dbb3cbe0eb3ab639ca68bbe6e71abec711c (diff) |
Grapify the commit status API
Diffstat (limited to 'spec/requests/api')
-rw-r--r-- | spec/requests/api/commit_statuses_spec.rb | 4 |
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) |