Fix spec failure under Ruby 1.9.3