Example how to use argument matchers with spies.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|d = flexmock(f: :ok)|
|assert_equal :ok, d.f("Woof",2)|
|assert_spy_called d, :f, String, Integer|