Commit e9e92765 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Stub ENV in the Gitaly task spec file

Signed-off-by: default avatarRémy Coutable <>
parent 02f6647dee32
......@@ -43,12 +43,4 @@
describe 'gmake/make' do
let(:command_preamble) { %w[/usr/bin/env -u RUBYOPT -u BUNDLE_GEMFILE] }
before(:all) do
@old_env_ci = ENV.delete('CI')
after(:all) do
ENV['CI'] = @old_env_ci if @old_env_ci
before do
......@@ -54,4 +46,5 @@
before do
stub_env('CI', false)
expect(Dir).to receive(:chdir).with(clone_path).and_call_original
allow(Bundler).to receive(:bundle_path).and_return('/fake/bundle_path')
Supports Markdown
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