mimic
mimic copied to clipboard
Redefine endpoint?
Hello -
Is there a way to redefine endpoints on subsequent calls to mimic? i.e., in one test : Mimic.mimic do get('test').returning('first value')
next test : get('test').returning('second value')
next test : get('test').returning('some other value')
Basically, I want to be able to override / reconfigure arbitrary endpoints on a per-test basis.
Is this possible? Thanks