+38
−31
Loading
- Move FakeRedis class outside RSpec.describe block
(Lint/ConstantDefinitionInBlock, RSpec/LeakyConstantDeclaration)
- Place required keyword param (rules:) before optional params in check()
(Style/KeywordParametersOrder)
- Expand single-line before hooks to multi-line (RSpec/SingleLineHook)
- Replace ASCII arrows in comments (Style/AsciiComments)
- Replace multi-line {..} blocks with do..end (Style/BlockDelimiters)
- Replace string concatenation with interpolation (Style/StringConcatenation)
- Use single-quoted strings inside interpolations
(Style/StringLiteralsInInterpolation)
- Use be(true) instead of eq(true) (RSpec/BeEq)