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

貢獻者指南