Migrate to rspec mocks 3