Commit 8d374284 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

rspec helper

parent 4b2a3138
--color
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
......
ROOT_PATH = File.join(File.expand_path(File.dirname(__FILE__)), "..")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment