Commit 68c4f3db authored by Jake Lear's avatar Jake Lear

Fix rubocop violations in issue_spec

parent 98aa4a31
......@@ -365,7 +365,7 @@ RSpec.describe Issue do
with_them do
context 'when author is a bot' do
it 'checks for spam on all issues', :focus => true do
it 'checks for spam on all issues' do
project = reusable_project
project.update(visibility_level: visibility_level)
issue = create(:issue, project: project, confidential: confidential, description: 'original description', author: author)
......@@ -377,7 +377,7 @@ RSpec.describe Issue do
end
end
it 'does not check for spam when only weight is updated', :focus => true do
it 'does not check for spam when only weight is updated' do
project = reusable_project
project.update(visibility_level: Gitlab::VisibilityLevel::PRIVATE)
issue = create(:issue, project: project, weight: 3, author: author)
......
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