Rspec Steps C0 Coverage Information - RCov

rcov/ruby/1.8/gems/rspec-expectations-2.5.0/lib/rspec/expectations/errors.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
rcov/ruby/1.8/gems/rspec-expectations-2.5.0/lib/rspec/expectations/errors.rb 12 9
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 module RSpec
2   module Expectations
3     # If Test::Unit is loaed, we'll use its error as baseclass, so that Test::Unit
4     # will report unmet RSpec expectations as failures rather than errors.
5     superclass = ['Test::Unit::AssertionFailedError', '::StandardError'].map do |c|
6       eval(c) rescue nil
7     end.compact.first
8     
9     class ExpectationNotMetError < superclass
10     end
11   end
12 end

Generated on Fri Apr 22 17:22:42 -0700 2011 with rcov 0.9.8