Commit a527b337 authored by Alejandro Rodríguez's avatar Alejandro Rodríguez

Fix SquashService spec after CE upstream update

Now `Gitlab::Git::Popen#popen` takes an extra parameter, so we had to
adjust our mocks.
parent ef76b17f
......@@ -154,7 +154,7 @@ describe MergeRequests::SquashService do
)
allow(repository).to receive(:popen).and_return(['', 0])
allow(repository).to receive(:popen).with(git_command, anything, anything).and_return([error, 1])
allow(repository).to receive(:popen).with(git_command, anything, anything, anything).and_return([error, 1])
end
it 'logs the stage and output' do
......
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