Noah C0 Coverage Information - RCov

lib/noah/watchers.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
lib/noah/watchers.rb 18 15
61.11%
53.33%

Key

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.

Coverage Details

1 class Watcher < Ohm::Model #NYI
2   include Ohm::Typecast
3   include Ohm::Timestamping
4   include Ohm::Callbacks
5 
6   attribute :client
7   attribute :endpoint
8   attribute :event
9   attribute :action 
10 
11   index :client
12   index :event
13 
14   def validate
15     assert_present :client, :endpoint, :event, :action
16     assert_unique [:client, :endpoint, :event, :action]
17   end
18 end

Generated on 2011-02-08 01:54:20 -0500 with rcov 0.9.8