diff options
Diffstat (limited to 'spec/services/submodules/update_service_spec.rb')
-rw-r--r-- | spec/services/submodules/update_service_spec.rb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/spec/services/submodules/update_service_spec.rb b/spec/services/submodules/update_service_spec.rb index aeaf8ec1c7b..f4b8a3db29c 100644 --- a/spec/services/submodules/update_service_spec.rb +++ b/spec/services/submodules/update_service_spec.rb @@ -86,13 +86,15 @@ RSpec.describe Submodules::UpdateService, feature_category: :source_code_managem end end - context 'has traversal path' do - let(:submodule) { '../six' } - - it_behaves_like 'returns error result' do - let(:error_message) { 'Invalid submodule path' } - end - end + # Can be re-enabled when problem from https://gitlab.com/gitlab-org/gitlab/-/issues/413964#note_1421909142 + # is fixed + # context 'has traversal path' do + # let(:submodule) { '../six' } + + # it_behaves_like 'returns error result' do + # let(:error_message) { 'Invalid submodule path' } + # end + # end end context 'commit_sha' do |