summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2018-03-13 14:27:00 +0100
committerJacob Vosmaer <jacob@gitlab.com>2018-03-13 14:27:00 +0100
commit645cafe47af3055e27bf16103bbdb9684716fd4e (patch)
tree73ea82b6576fef8433490125d541b73f92e9324b
parentb348f9e1151de5a5b71ad8b3419a19405a905a3d (diff)
downloadgitlab-shell-645cafe47af3055e27bf16103bbdb9684716fd4e.tar.gz
Remove stub
-rw-r--r--spec/gitlab_shell_authorized_keys_check_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/gitlab_shell_authorized_keys_check_spec.rb b/spec/gitlab_shell_authorized_keys_check_spec.rb
index f3ec0c3..17e6e37 100644
--- a/spec/gitlab_shell_authorized_keys_check_spec.rb
+++ b/spec/gitlab_shell_authorized_keys_check_spec.rb
@@ -47,10 +47,6 @@ describe 'bin/gitlab-shell-authorized-keys-check' do
FileUtils.rm_f(config_path)
end
- before do
- stub_const('ROOT_PATH', tmp_root_path)
- end
-
let(:gitlab_shell_path) { File.join(tmp_root_path, 'bin', 'gitlab-shell') }
let(:authorized_keys_check_path) { File.join(tmp_root_path, 'bin', 'gitlab-shell-authorized-keys-check') }