diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-03-12 08:53:41 +0100 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-03-12 08:53:41 +0100 |
commit | bb4f64d67e178f6a2c623d519dfae813b7805e54 (patch) | |
tree | ae03b1c944381df450f9e4cad449a2a1276b0e8a /lib/gitlab_shell.rb | |
parent | 1ee9821c58d49db1ec1a877d34d4d415f8978761 (diff) | |
download | gitlab-shell-bb4f64d67e178f6a2c623d519dfae813b7805e54.tar.gz |
Explain why GitlabShell#exec_cmd has no tests
Diffstat (limited to 'lib/gitlab_shell.rb')
-rw-r--r-- | lib/gitlab_shell.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index de73311..e2a015a 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -59,6 +59,7 @@ class GitlabShell api.allowed?(@git_cmd, @repo_name, @key_id, '_any') end + # This method is not covered by Rspec because it ends the current Ruby process. def exec_cmd(*args) Kernel::exec({'PATH' => ENV['PATH'], 'GL_ID' => ENV['GL_ID']}, *args, unsetenv_others: true) end |