diff options
Diffstat (limited to 'spec/tasks/gitlab/shell_rake_spec.rb')
-rw-r--r-- | spec/tasks/gitlab/shell_rake_spec.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/tasks/gitlab/shell_rake_spec.rb b/spec/tasks/gitlab/shell_rake_spec.rb index 7bcf88aeea2..4ca46a9ce40 100644 --- a/spec/tasks/gitlab/shell_rake_spec.rb +++ b/spec/tasks/gitlab/shell_rake_spec.rb @@ -11,12 +11,8 @@ RSpec.describe 'gitlab:shell rake tasks', :silence_stdout do describe 'install task' do it 'installs and compiles gitlab-shell' do - storages = Gitlab::GitalyClient::StorageSettings.allow_disk_access do - Gitlab.config.repositories.storages.values.map(&:legacy_disk_path) - end - expect_any_instance_of(Gitlab::TaskHelpers).to receive(:checkout_or_clone_version) - allow(Kernel).to receive(:system).with('bin/install', *storages).and_return(true) + allow(Kernel).to receive(:system).with('bin/install').and_return(true) allow(Kernel).to receive(:system).with('make', 'build').and_return(true) run_rake_task('gitlab:shell:install') |