fixed a spec that wasn't passing on ruby 1.8