PSPDFKit-labs/bypass

Multiple expect_once

Aberta

#95 aberto em 10 de mai. de 2020

 (4 comentários) (13 reações) (0 responsável)Elixir (89 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (847 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

@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

Guia do colaborador