Fix specs for Ruby 2.0