Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
---|---|---|---|---|
spec/models/page_spec.rb | 15 | 12 | 6.67%
|
0.00%
|
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 require 'spec_helper' |
2 |
3 describe Page do |
4 fixtures :all |
5 |
6 it "should be impressionable" do |
7 page = Page.new |
8 assert page.impressionable? |
9 end |
10 |
11 it "should return impression_count" do |
12 page = Page.new |
13 assert page.impression_count |
14 end |
15 end |
Generated on 2011-07-06 14:13:14 +1200 with rcov 0.9.8