Fix rubocop warning 'TrailingComma' in last_attr_spec.rb