Sha256: f29f5eab67520417d1bd1e9404a0541000c237055d8cb54cfddcf258b740e7d3

Contents?: true

Size: 293 Bytes

Versions: 19

Compression:

Stored size: 293 Bytes

Contents

module RR
module TimesCalledMatchers
  class AnyTimesMatcher < TimesCalledMatcher
    include NonTerminal
    
    def initialize
    end

    def matches?(times_called)
      true
    end

    protected
    def expected_message_part
      "Expected any number of times."
    end
  end
end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rr-0.1.15 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.1.14 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.3.2 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.2.1 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.2.5 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.3.4 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.3.10 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.3.3 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.2.4 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.3.0 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.3.1 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.2.2 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.2.3 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.3.11 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.3.6 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.3.7 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.3.8 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.3.5 lib/rr/times_called_matchers/any_times_matcher.rb
rr-0.3.9 lib/rr/times_called_matchers/any_times_matcher.rb