Make specs pass on Ruby 1.9