We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suppose I'm mocking the Utils module, function foo/1. In my test foo/1 is being called 2 times in the following order:
Utils
foo/1
foo(:a)
foo(:b)
And I need to assert that foo/1 was called with :b, which doesn't work and I get:
:b
Expected call but did not receive it. Calls which were received: 0. Elixir.Utils.foo(:a)
I did make sure that foo/1 is actually being called with :b by having IEx.pry() inside foo/1.
IEx.pry()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Suppose I'm mocking the
Utils
module, functionfoo/1
. In my testfoo/1
is being called 2 times in the following order:foo(:a)
foo(:b)
And I need to assert that
foo/1
was called with:b
, which doesn't work and I get:I did make sure that
foo/1
is actually being called with:b
by havingIEx.pry()
insidefoo/1
.The text was updated successfully, but these errors were encountered: