PSPDFKit-labs/bypass

Multiple expect_once

开放

#95 创建于 2020年5月10日

 (4 条评论) (13 个反应) (0 位负责人)Elixir (89 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (847 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

@ream88 any possibility of making it so that within one test I can stack two expect_once's so that the first call to the given route gets my first expect_once and the second call gets the second expect_once? Currently the second expect_once would just redefine the first expect_once and I would get an error because the route is called twice.

Originally posted by @agramichael in https://github.com/PSPDFKit-labs/bypass/issues/88#issuecomment-618452699

贡献者指南