mimic icon indicating copy to clipboard operation
mimic copied to clipboard

passing in "timeout" for wait_for_service

Open daphy opened this issue 12 years ago • 1 comments
trafficstars

It looks like I can't pass in timeout parameter to mimic, server, wait_for_service.

My usage is: Mimic.mimic(:port => testing_port) do post("/tasks").returning(nil, 204) end

Any way I can pass in the timeout?

daphy avatar Mar 07 '13 21:03 daphy

You can now. See https://github.com/lukeredpath/mimic/commit/b49549398aa1d05451d1694e389de2f7f495afac

lukeredpath avatar Jun 07 '16 11:06 lukeredpath