Sha256: 71a00c424de2e545ea683f2eb7212d0c634addc95391162c7505f122f300282e

Contents?: true

Size: 427 Bytes

Versions: 7

Compression:

Stored size: 427 Bytes

Contents

require "examples/example_helper"

module RR
module Extensions
  describe DoubleMethods, "#any_times" do
    it_should_behave_like "RR::Extensions::DoubleMethods"
    
    it "returns an AnyTimesMatcher" do
      any_times.should == TimesCalledMatchers::AnyTimesMatcher.new
    end

    it "rr_any_times returns an AnyTimesMatcher" do
      rr_any_times.should == TimesCalledMatchers::AnyTimesMatcher.new
    end
  end
end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rr-0.1.11 examples/rr/extensions/double_methods_times_matcher_example.rb
rr-0.1.15 examples/rr/extensions/double_methods_times_matcher_example.rb
rr-0.1.10 examples/rr/extensions/double_methods_times_matcher_example.rb
rr-0.1.12 examples/rr/extensions/double_methods_times_matcher_example.rb
rr-0.1.14 examples/rr/extensions/double_methods_times_matcher_example.rb
rr-0.1.13 examples/rr/extensions/double_methods_times_matcher_example.rb
rr-0.1.9 examples/rr/extensions/double_methods_times_matcher_example.rb