Fix failing spec in Ruby 1.9.2