Fix spec for newer rspec versions