Project

General

Custom queries

Profile

Actions

Bug #6421

closed

Turn on rubocop for tests and specs

Added by Partha Aji almost 11 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Tests
Target version:
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

https://github.com/Katello/katello/blob/master/.rubocop.yml#L72-L81 excludes tests and specs from rubocops reach. Unfortunately this means some of use periodically get pull request responses on our testslike
"There are some formatting issues here like indentation and spaces around =>."
We really need to be consistent formatting between tests and functional code.
Need to go thru the rubo cop formatiing issues w.r.t tests.

Actions

Also available in: Atom PDF