mimic icon indicating copy to clipboard operation
mimic copied to clipboard

Redefine endpoint?

Open vfxdrummer opened this issue 11 years ago • 0 comments

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

vfxdrummer avatar Jun 10 '14 22:06 vfxdrummer