Rspec expect to receive and not return -
how can expect object receive method call , blacklist return values in rspec ? like
expect(happy_character).to receive(:how_are_you?).and_return_anything_but('i sad')
if call expect(...).not_to
apply method call , not return value ?
Comments
Post a Comment