summaryrefslogtreecommitdiff
path: root/spec/support/helpers
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-12-04 11:55:49 +0000
committerDouwe Maan <douwe@gitlab.com>2018-12-04 11:55:49 +0000
commit6ed50b62e739a438676653acfc9b7718b83b6f00 (patch)
tree664138a791b1d0986920275d0dcb012db5018d7c /spec/support/helpers
parent87186cbc922465875e299ed761ed4d6143ae501a (diff)
downloadgitlab-ce-6ed50b62e739a438676653acfc9b7718b83b6f00.tar.gz
CE port Refactor Gitlab::Checks::ChangeAccess class
Diffstat (limited to 'spec/support/helpers')
-rw-r--r--spec/support/helpers/git_http_helpers.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/support/helpers/git_http_helpers.rb b/spec/support/helpers/git_http_helpers.rb
index b8289e6c5f1..9a5845af90c 100644
--- a/spec/support/helpers/git_http_helpers.rb
+++ b/spec/support/helpers/git_http_helpers.rb
@@ -60,9 +60,4 @@ module GitHttpHelpers
message = Gitlab::GitAccessWiki::ERROR_MESSAGES[error_key]
message || raise("GitAccessWiki error message key '#{error_key}' not found")
end
-
- def change_access_error(error_key)
- message = Gitlab::Checks::ChangeAccess::ERROR_MESSAGES[error_key]
- message || raise("ChangeAccess error message key '#{error_key}' not found")
- end
end