| Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
|---|---|---|---|---|
| spec/app_spec.rb | 13 | 8 | 100.00%
|
100.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.
2 require 'app' |
3 |
4 describe App::Service do |
5 it "returns from do_it" do |
6 service = App::Service.new |
7 service.do_it.should_not be_nil |
8 end |
9 |
10 it "raises from fail" do |
11 service = App::Service.new |
12 expect { service.fail }.to raise_error |
13 end |
14 end |
Generated on 2014-02-05 12:55:46 -0800 with SimpleCov-RCov 0.2.3