Fix rubocop warning 'TrailingComma' in any_of_spec