You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When stubbing behavior with constraints using with, I have a preference for using the fluent interface (and_return, and_raise, etc.) over the block implementation wherever possible
Since we expect the CLI to receive this message with these arguments, using RSpec's expect will make it easier to catch the cause of failure if/when this spec breaks.
From #15066:
with
, I have a preference for using the fluent interface (and_return
,and_raise
, etc.) over the block implementation wherever possibleexpect
will make it easier to catch the cause of failure if/when this spec breaks.Originally posted by @yaauie in #15066 (comment)
The text was updated successfully, but these errors were encountered: