fix test for rspec 3