rspec3 deprecation fix: stub -> allow().to receive