remove deprecated rspec expectation