Pattern: Use of hook after example
Issue: -
Checks for before
/around
/after
hooks that come after an example.
# Bad
it 'checks what foo does' do
expect(foo).to be
end
before { prepare }
after { clean_up }
# Good
before { prepare }
after { clean_up }
it 'checks what foo does' do
expect(foo).to be
end