[spec] Fix for ruby 1.8
Merge pull request #5 from sbadia/fix-ruby-1.8

[spec] Fix for ruby 1.8