Pending should_receive shows as FIXED

I have a mock should_receive expectation wrapped in a “pending” block,
it appears as being fixed when the specs are run, when in reality it is
not. Anyone else experience this behavior? I’m assuming this is because
the mock waits until the “it” block completion to determine expectations
rather than its enclosing “pending” block.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs