Commit 06cd8fdf authored by Nick Thomas's avatar Nick Thomas

Merge branch 'patch-24' into 'master'

Fix typos in CreateGpgSignatureWorker spec

See merge request gitlab-org/gitlab-ce!20910
parents 1adfb156 341d379e
...@@ -25,7 +25,7 @@ describe CreateGpgSignatureWorker do ...@@ -25,7 +25,7 @@ describe CreateGpgSignatureWorker do
subject subject
end end
it 'can recover form exception and continue the siganture frocess' do it 'can recover from exception and continue the signature process' do
allow(gpg_commit).to receive(:signature) allow(gpg_commit).to receive(:signature)
allow(Gitlab::Gpg::Commit).to receive(:new).and_return(gpg_commit) allow(Gitlab::Gpg::Commit).to receive(:new).and_return(gpg_commit)
allow(Gitlab::Gpg::Commit).to receive(:new).with(commits.first).and_raise(StandardError) allow(Gitlab::Gpg::Commit).to receive(:new).with(commits.first).and_raise(StandardError)
......
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