diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-12 22:35:52 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-12 23:32:29 +0300 |
commit | daca1c6511c3a09d5f0c33a8c4d29487e668afc2 (patch) | |
tree | 09ed2762efbf1bf1268673d474649442285b91e2 /lib/api/commit_statuses.rb | |
parent | c61dc1315077ad4e175a3c76991872c0e7b1d2ab (diff) |
Fix broken tests
Diffstat (limited to 'lib/api/commit_statuses.rb')
-rw-r--r-- | lib/api/commit_statuses.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/commit_statuses.rb b/lib/api/commit_statuses.rb index 50ca89079e0..2c0596c9dfb 100644 --- a/lib/api/commit_statuses.rb +++ b/lib/api/commit_statuses.rb @@ -43,7 +43,7 @@ module API # Examples: # POST /projects/:id/statuses/:sha post ':id/statuses/:sha' do - authorize! :create_commit_statuses, user_project + authorize! :create_commit_status, user_project required_attributes! [:state] attrs = attributes_for_keys [:ref, :target_url, :description, :context, :name] commit = @project.commit(params[:sha]) |