Commit d5dd440d authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

UpdateSubmodule: Update error expectation in test

This change is made to unblock both the release of a new Gitaly as well
as the rollout of the UpdateSubmodule RPC. This RPC was ported to Go,
and with that an error message now is more precise. Sadly this breaks
the GitLab test suite.

Assertions should not be made against user facing error messages I
think, though we keep that test assertion and just update it now.
parent 392ef892
......@@ -90,7 +90,7 @@ RSpec.describe Submodules::UpdateService do
let(:submodule) { '../six' }
it_behaves_like 'returns error result' do
let(:error_message) { 'Invalid parameters' }
let(:error_message) { 'Invalid submodule path' }
end
end
end
......
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