Validator for call counts less than or equal to a limit.
Validate the method expectation was called at least n times.
# File lib/flexmock/validators.rb, line 71
71: def validate(n)
72: FlexMock.framework_adapter.assert_block(
73: "Method '#{@exp}' should be called at most #{@limit} times,\n" +
74: "only called #{n} times") { n <= @limit }
75: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.