Branston C0 Coverage Information - RCov

app/models/scenario.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
app/models/scenario.rb 28 6
100.00%
100.00%

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 #    This file is part of Branston.
2 #
3 #    Branston is free software: you can redistribute it and/or modify
4 #    it under the terms of the GNU Affero General Public License as published by
5 #    the Free Software Foundation.
6 #
7 #    Branston is distributed in the hope that it will be useful,
8 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
9 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 #    GNU Affero General Public License for more details.
11 #
12 #    You should have received a copy of the GNU Affero General Public License
13 #    along with Branston.  If not, see <http://www.gnu.org/licenses/>.
14 
15 class Scenario < ActiveRecord::Base
16 
17   # Assocations
18   #
19   belongs_to :story
20   has_many :outcomes, :dependent => :destroy
21   has_many :preconditions, :dependent => :destroy
22 
23   # Validations
24   #
25   validates_presence_of :title
26 
27 end
28 

Generated on Thu Jan 07 15:27:03 +0000 2010 with rcov 0.9.6