Skip to content

Files

Latest commit

 

History

History
32 lines (21 loc) · 540 Bytes

RSpec-ExcessiveDocstringSpacing.md

File metadata and controls

32 lines (21 loc) · 540 Bytes

Pattern: Excessive whitespace in example description

Issue: -

Description

Checks for excessive whitespace in example descriptions.

Examples

# bad
it '  has  excessive   spacing  ' do
end

# good
it 'has excessive spacing' do
end


# bad
context '  when a condition   is met  ' do
end

# good
context 'when a condition is met' do
end

Further Reading