Why does RSpec allow you set a return value on a mocked method? If the method returns a value, then the dependent code will already have testable behavioral differences based on the return value, making the mocking superfluous.
-- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/rspec/-/IahnvJiZ4OIJ. For more options, visit https://groups.google.com/groups/opt_out.
