Hi

This spec:

        it "should cache the HTML" do
          @uri.should_receive(:read).exactly(N).times
          5.times { @low_graphics_page.story_body }
        end

passes incorrectly for all N <= 4, and only fails for N > 6.

"once" and "twice" are similarly broken.

Is this a known issue?  If not, I filed a ticket[1].

Thanks
Ashley

[1] 
http://rspec.lighthouseapp.com/projects/5645-rspec/tickets/618-exactlyntimes-incorrectly-failing-for-n-actual

--
http://www.patchspace.co.uk/
http://aviewfromafar.net/



_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to