diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-05-02 18:44:40 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-05-04 12:21:51 +0300 |
commit | 3960d974c378759d23c63f59135451054c47f54d (patch) | |
tree | e48b3737cd3dafb9faa2157d2ce79b15044c98f5 /spec/tasks | |
parent | 68c12e15cc236548918f91393ebef3c06c124814 (diff) |
Compile gitlab-shell go executables
Diffstat (limited to 'spec/tasks')
-rw-r--r-- | spec/tasks/gitlab/shell_rake_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/tasks/gitlab/shell_rake_spec.rb b/spec/tasks/gitlab/shell_rake_spec.rb index 226d34fe2c9..ee3614c50f6 100644 --- a/spec/tasks/gitlab/shell_rake_spec.rb +++ b/spec/tasks/gitlab/shell_rake_spec.rb @@ -11,6 +11,10 @@ describe 'gitlab:shell rake tasks' do it 'invokes create_hooks task' do expect(Rake::Task['gitlab:shell:create_hooks']).to receive(:invoke) + storages = Gitlab.config.repositories.storages.values.map { |rs| rs['path'] } + expect(Kernel).to receive(:system).with('bin/install', *storages).and_call_original + expect(Kernel).to receive(:system).with('bin/compile').and_call_original + run_rake_task('gitlab:shell:install') end end |