diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 09:35:41 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 09:35:41 +0200 |
commit | 8d37428444f255a79ed99cb7726977b7195c6ebb (patch) | |
tree | fd8a8b97024a1a18a39404bb278dfeb956573863 /spec/gitlab_shell_spec.rb | |
parent | 4b2a31389f1e19d0cb0f442871793eec6869432e (diff) | |
download | gitlab-shell-8d37428444f255a79ed99cb7726977b7195c6ebb.tar.gz |
rspec helper
Diffstat (limited to 'spec/gitlab_shell_spec.rb')
-rw-r--r-- | spec/gitlab_shell_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/gitlab_shell_spec.rb b/spec/gitlab_shell_spec.rb index 9a7e515..1132e81 100644 --- a/spec/gitlab_shell_spec.rb +++ b/spec/gitlab_shell_spec.rb @@ -1,12 +1,12 @@ +require_relative 'spec_helper' require_relative '../lib/gitlab_shell' describe GitlabShell do describe :initialize do before do - ROOT_PATH = File.join(File.expand_path(File.dirname(__FILE__)), "..") ENV['SSH_ORIGINAL_COMMAND'] = 'git-receive-pack' - ARGV = ['dzaporozhets'] + ARGV[0] = 'dzaporozhets' @shell = GitlabShell.new end |