Commit b6934682 authored by Jarka Košanová's avatar Jarka Košanová

Merge branch 'cablett-remove-duplicate-test' into 'master'

Remove duplicate test

See merge request gitlab-org/gitlab!35007
parents 1119b3d6 ea524165
...@@ -81,17 +81,6 @@ describe Spam::SpamVerdictService do ...@@ -81,17 +81,6 @@ describe Spam::SpamVerdictService do
end end
end end
context 'and one is supported' do
before do
allow(service).to receive(:akismet_verdict).and_return('nonsense')
allow(service).to receive(:spam_verdict).and_return(BLOCK_USER)
end
it 'renders the more restrictive verdict' do
expect(subject).to eq BLOCK_USER
end
end
context 'and none are supported' do context 'and none are supported' do
before do before do
allow(service).to receive(:akismet_verdict).and_return('nonsense') allow(service).to receive(:akismet_verdict).and_return('nonsense')
......
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