PSPDFKit-labs/bypass

Multiple expect_once

Aperta

#95 aperta il 10 mag 2020

 (4 commenti) (13 reazioni) (0 assegnatari)Elixir (89 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (847 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

@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

Guida contributor