class RR::TimesCalledMatchers::AtLeastMatcher
Public Instance Methods
expected_times_message()
click to toggle source
# File lib/rr/times_called_matchers/at_least_matcher.rb, line 10 def expected_times_message "at least #{@times.inspect} times" end
matches?(times_called)
click to toggle source
# File lib/rr/times_called_matchers/at_least_matcher.rb, line 6 def matches?(times_called) times_called >= @times end