Should pass, but global spec is causing odd error