diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-12-04 11:55:49 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-12-04 11:55:49 +0000 |
commit | 6ed50b62e739a438676653acfc9b7718b83b6f00 (patch) | |
tree | 664138a791b1d0986920275d0dcb012db5018d7c /spec/support/helpers | |
parent | 87186cbc922465875e299ed761ed4d6143ae501a (diff) | |
download | gitlab-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.rb | 5 |
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 |