Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ea524165
Commit
ea524165
authored
Jun 22, 2020
by
charlieablett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicate test
parent
a6303996
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
spec/services/spam/spam_verdict_service_spec.rb
spec/services/spam/spam_verdict_service_spec.rb
+0
-11
No files found.
spec/services/spam/spam_verdict_service_spec.rb
View file @
ea524165
...
...
@@ -81,17 +81,6 @@ describe Spam::SpamVerdictService do
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
before
do
allow
(
service
).
to
receive
(
:akismet_verdict
).
and_return
(
'nonsense'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment