Fix rubocop warning 'TrailingComma' in require_code_spec.rb