C0 code coverage information
Generated on Sat May 27 21:23:37 CEST 2006 with rcov 0.5.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 class Page < ActiveRecord::Base
2 belongs_to :user
3 before_save :transform_body
4 validates_presence_of :name, :title, :body
5 validates_uniqueness_of :name
6
7 protected
8
9 def transform_body
10 self.body_html = HtmlEngine.transform(body, self.text_filter)
11 end
12 end
Generated using the rcov code coverage analysis tool for Ruby version 0.5.0.