Skip to content

Commit

Permalink
assert_called/4 docs improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
amatalai committed Aug 4, 2017
1 parent 4d69071 commit 3c955a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/mockery/assertions.ex
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ defmodule Mockery.Assertions do
end

@doc """
Asserts that function from given module with given name was called
given number of times with arguments matching given pattern.
Similar to `assert_called/3` but instead of checking if function was called
at least once, it checks if function was called specific number of times.
Expand Down

0 comments on commit 3c955a1

Please sign in to comment.