C0 code coverage information
Generated on Mon Dec 08 16:53:36 -0800 2008 with rcov 0.8.1.3
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 PatientVisit < ActiveRecord::Base
2 has_many :patient_conditions, :dependent => :destroy
3 has_many :conditions, :through => :patient_conditions
4
5 has_many :patient_medications, :through => :patient_conditions
6
7 belongs_to :patient
8 belongs_to :doctor
9 belongs_to :visit_type
10
11
12 validates_presence_of :patient
13 validates_presence_of :doctor
14 validates_presence_of :visit_type
15 validates_presence_of :visit_date
16
17 validates_length_of :patient_visit_remarks, :maximum => 10000, :allow_blank => true
18
19 validates_date :visit_date, :allow_nil => true
20 end
Generated using the rcov code coverage analysis tool for Ruby
version 0.8.1.3.