Fix rubocop warning 'TrailingComma' in heading_spec