diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-01-24 01:21:57 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-01-26 21:24:57 +0800 |
commit | ac3d56e0ffde27cdcf6515a9af4930324ebdf151 (patch) | |
tree | 7f3d77072d1ba92de9322a3abda2c29c0dd9464a /spec/tasks | |
parent | 4376be84ce18cde22febc50356ad254b507eef1b (diff) | |
download | gitlab-ce-ac3d56e0ffde27cdcf6515a9af4930324ebdf151.tar.gz |
Pass BUNDLE_PATH to install to the same path for test42290-pass-BUNDLE_PATH
Diffstat (limited to 'spec/tasks')
-rw-r--r-- | spec/tasks/gitlab/gitaly_rake_spec.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/tasks/gitlab/gitaly_rake_spec.rb b/spec/tasks/gitlab/gitaly_rake_spec.rb index 6aba86fdc3c..b37d6ac831f 100644 --- a/spec/tasks/gitlab/gitaly_rake_spec.rb +++ b/spec/tasks/gitlab/gitaly_rake_spec.rb @@ -76,7 +76,11 @@ describe 'gitlab:gitaly namespace rake task' do end context 'when Rails.env is test' do - let(:command) { %w[make BUNDLE_FLAGS=--no-deployment] } + let(:command) do + %W[make + BUNDLE_FLAGS=--no-deployment + BUNDLE_PATH=#{Bundler.bundle_path}] + end before do allow(Rails.env).to receive(:test?).and_return(true) |