Software Development, Unit Testing, Testing, Ruby, Server.
call) and an assertion (it is expected to be called). This is the 2-in-1 nature of mock objects, and frameworks like RSpec do not separate the two functions in the syntax, with reasons of conciseness I would guess. If we are not familiar enough with the concept of mocks, we will be surprised to see