C0 code coverage information
Generated on Sun Aug 31 02:38:35 -0400 2008 with rcov 0.8.1.2
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 class Slideshow < ActiveRecord::Base
2 has_many :slides, :order => :position
3
4 def unused_photos
5 Photo.find(:all) - photos
6 end
7
8 def photos
9 slides.map {|slide| slide.photo}
10 end
11 end
Generated using the rcov code coverage analysis tool for Ruby
version 0.8.1.2.