This variable ends up never being used, since you're passing in a copy of the same hash to the method as part of your tests. This probably isn't the best method design -- as an outside user of the method, I don't want to have to give it a conversion hash myself since that requires me to write the hash myself every time, sort of doing the method's work for it.