Fix rubocop warning 'TrailingComma' in bulk_define_methods_spec