Fix for newer rspec version