Fixes an Rspec expectation