fix for spec on ruby 1.8.7
Merge pull request #2 from jlambert121/ruby_187_spec_fix

fix for spec on ruby 1.8.7