module RSpec::Matchers
def yield_with_args(*args)
- Note: - This matcher is not designed for use with methods that yield
Note: - Your expect block must accept a parameter and pass it on to
def yield_with_args(*args) BuiltIn::YieldWithArgs.new(*args) end