Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-11-11 17:26:05 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-11-11 17:26:05 +0300
commit5da9bfa453268474b3bff13c63e55b29bbcdf016 (patch)
treead716ddfe4ce801f563fc32786658988e36b2aac /lib/gitlab/git_access_wiki.rb
parent40632455b83e78ec30af2eb93ced02afc5c4d4a0 (diff)
Fix test for GitAccessWiki, it's overriding change_access_check
Diffstat (limited to 'lib/gitlab/git_access_wiki.rb')
-rw-r--r--lib/gitlab/git_access_wiki.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git_access_wiki.rb b/lib/gitlab/git_access_wiki.rb
index f71d3575909..f7976a64ef5 100644
--- a/lib/gitlab/git_access_wiki.rb
+++ b/lib/gitlab/git_access_wiki.rb
@@ -1,6 +1,6 @@
module Gitlab
class GitAccessWiki < GitAccess
- def change_access_check(change)
+ def check_single_change_access(change)
if user_access.can_do_action?(:create_wiki)
build_status_object(true)
else