Commit bdc72a02 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Fix workhorse tests

parent 91b85920
...@@ -55,7 +55,7 @@ describe Gitlab::Workhorse do ...@@ -55,7 +55,7 @@ describe Gitlab::Workhorse do
end end
end end
context 'when Gitaly workhorse_archive feature is disabled', :skip_gitaly_mock do context 'when Gitaly workhorse_archive feature is disabled', :disable_gitaly do
it 'sets the header correctly' do it 'sets the header correctly' do
key, command, params = decode_workhorse_header(subject) key, command, params = decode_workhorse_header(subject)
...@@ -100,7 +100,7 @@ describe Gitlab::Workhorse do ...@@ -100,7 +100,7 @@ describe Gitlab::Workhorse do
end end
end end
context 'when Gitaly workhorse_send_git_patch feature is disabled', :skip_gitaly_mock do context 'when Gitaly workhorse_send_git_patch feature is disabled', :disable_gitaly do
it 'sets the header correctly' do it 'sets the header correctly' do
key, command, params = decode_workhorse_header(subject) key, command, params = decode_workhorse_header(subject)
...@@ -173,7 +173,7 @@ describe Gitlab::Workhorse do ...@@ -173,7 +173,7 @@ describe Gitlab::Workhorse do
end end
end end
context 'when Gitaly workhorse_send_git_diff feature is disabled', :skip_gitaly_mock do context 'when Gitaly workhorse_send_git_diff feature is disabled', :disable_gitaly do
it 'sets the header correctly' do it 'sets the header correctly' do
key, command, params = decode_workhorse_header(subject) key, command, params = decode_workhorse_header(subject)
...@@ -455,7 +455,7 @@ describe Gitlab::Workhorse do ...@@ -455,7 +455,7 @@ describe Gitlab::Workhorse do
end end
end end
context 'when Gitaly workhorse_raw_show feature is disabled', :skip_gitaly_mock do context 'when Gitaly workhorse_raw_show feature is disabled', :disable_gitaly do
it 'sets the header correctly' do it 'sets the header correctly' do
key, command, params = decode_workhorse_header(subject) key, command, params = decode_workhorse_header(subject)
......
Markdown is supported
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