summaryrefslogtreecommitdiff
path: root/spec/tasks/gitlab/workhorse_rake_spec.rb
diff options
context:
space:
mode:
authorDimitrie Hoekstra <dimitrie@gitlab.com>2016-12-04 21:41:44 +0000
committerDimitrie Hoekstra <dimitrie@gitlab.com>2016-12-04 21:41:44 +0000
commit586c40ad697dc01eeaf078e918e85cf2985e1444 (patch)
tree7c77e7c39905354cdb83696c7b5ecf1623143898 /spec/tasks/gitlab/workhorse_rake_spec.rb
parentaf5de82c67bd1867e69438b71f67f43d026e4edf (diff)
parent89c7db6aec2e9f893fb5411f4341230015f840d9 (diff)
downloadgitlab-ce-586c40ad697dc01eeaf078e918e85cf2985e1444.tar.gz
Merge branch 'master' into 'badge-color-on-white-bg'
# Conflicts: # app/assets/stylesheets/framework/nav.scss
Diffstat (limited to 'spec/tasks/gitlab/workhorse_rake_spec.rb')
-rw-r--r--spec/tasks/gitlab/workhorse_rake_spec.rb26
1 files changed, 0 insertions, 26 deletions
diff --git a/spec/tasks/gitlab/workhorse_rake_spec.rb b/spec/tasks/gitlab/workhorse_rake_spec.rb
index b695abce091..6de66c3cf07 100644
--- a/spec/tasks/gitlab/workhorse_rake_spec.rb
+++ b/spec/tasks/gitlab/workhorse_rake_spec.rb
@@ -41,32 +41,6 @@ describe 'gitlab:workhorse namespace rake task' do
run_rake_task('gitlab:workhorse:install', clone_path)
end
-
- context 'given a specific repo' do
- before do
- expect(ENV).to receive(:[]).with('GITLAB_WORKHORSE_REPO').and_return('https://gitlab.com/user1/gitlab-workhorse.git')
- end
-
- it 'calls checkout_or_clone_tag with the given repo' do
- expect_any_instance_of(Object).
- to receive(:checkout_or_clone_tag).with(tag: tag, repo: 'https://gitlab.com/user1/gitlab-workhorse.git', target_dir: clone_path)
-
- run_rake_task('gitlab:workhorse:install', clone_path)
- end
- end
-
- context 'given a specific version' do
- before do
- allow(ENV).to receive(:[]).with('GITLAB_WORKHORSE_VERSION').and_return('42.42.0')
- end
-
- it 'calls checkout_or_clone_tag with the given repo' do
- expect_any_instance_of(Object).
- to receive(:checkout_or_clone_tag).with(tag: 'v42.42.0', repo: repo, target_dir: clone_path)
-
- run_rake_task('gitlab:workhorse:install', clone_path)
- end
- end
end
describe 'gmake/make' do