Sha256: 3d7fe626c98ec36dc0c3897d583a9f1447157ca5daac5a9a15e79e103bba5c73
Contents?: true
Size: 571 Bytes
Versions: 21
Compression:
Stored size: 571 Bytes
Contents
require File.expand_path("#{File.dirname(__FILE__)}/../../../spec_helper") module RR module Expectations describe TimesCalledExpectation do context "when using an AnyTimesMatcher" do include_examples "RR::Expectations::TimesCalledExpectation" describe "#verify!" do it "always passes" do stub(subject).foobar.any_number_of_times RR.verify stub(subject).foobar.any_number_of_times 10.times {subject.foobar} RR.verify end end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems