fix rspec tests on Ruby 1.8.7

Fix a regression (my bad)