remove deprecated usage of rspec-mocks