Fix all Layout/SpaceInsideParens rubocop issues and remove files from rubocop_todo list

This commit is contained in:
Bertocq
2017-06-26 18:06:01 +02:00
parent c4d90691b1
commit 1c8e039862
5 changed files with 7 additions and 16 deletions

View File

@@ -25,7 +25,7 @@ class ManagerAuthenticator
parsed_response = parser.parse((response[:get_applications_user_list_response][:get_applications_user_list_return]))
aplication_value = parsed_response["APLICACIONES"]["APLICACION"]
# aplication_value from UWEB can be an array of hashes or a hash
aplication_value.include?( {"CLAVE_APLICACION" => application_key}) || aplication_value["CLAVE_APLICACION"] == application_key
aplication_value.include?({"CLAVE_APLICACION" => application_key}) || aplication_value["CLAVE_APLICACION"] == application_key
rescue
false
end