C0 code coverage information
Generated on Mon Aug 13 01:18:54 -0400 2007 with rcov 0.8.0
Code reported as executed by Ruby looks like this...
and this: this line is also marked as covered.
Lines considered as run by rcov, but not reported by Ruby, look like this,
and this: these lines were inferred by rcov (using simple heuristics).
Finally, here's a line marked as not executed.
1 module Spec
2 module Mocks
3 class Space
4 def add(obj)
5 mocks << obj unless mocks.include?(obj)
6 end
7
8 def verify_all
9 mocks.each do |mock|
10 mock.rspec_verify
11 end
12 end
13
14 def reset_all
15 mocks.each do |mock|
16 mock.rspec_reset
17 end
18 mocks.clear
19 end
20
21 private
22
23 def mocks
24 @mocks ||= []
25 end
26 end
27 end
28 end
Generated using the rcov code coverage analysis tool for Ruby version 0.8.0.