ERP-130 - Fixed spec that should call the debug method instead of "log".