Add Hound rules for RSpec

Description

Update Rubocop preferences so Hound can complain about:

  • Using instance variables in specs.

  • Not having file paths of specs matching the name of the things being tested.

  • Having context descriptions start with unnecessary "should"s.

  • Having duplicate and scattered hooks.

  • Having "all" hooks that lead to state leaking between specs.

And so much more!

Reference: https://docs.rubocop.org/projects/rspec/en/latest/cops_rspec/
Style guide for RSpec: https://rspec.rubystyle.guide/

How to test: none, it's just Hound.

DeployedToBeta

Assignee

redsummernight

Reporter

redsummernight

Roadmap

None

Priority

Medium

Affects versions

Fix versions

Components

AutomatedTests

Difficulty

Easy

Milestone

Internal 0.9
Configure