Rspec Steps C0 Coverage Information - RCov

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

Name Total Lines Lines of Code Total Coverage Code Coverage
rcov/ruby/1.8/gems/rspec-expectations-2.5.0/lib/rspec/matchers/method_missing.rb 12 10
50.00%
40.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 Matchers
3 
4     private
5 
6     def method_missing(method, *args, &block) # :nodoc:
7       return Matchers::BePredicate.new(method, *args, &block) if method.to_s =~ /^be_/
8       return Matchers::Has.new(method, *args, &block) if method.to_s =~ /^have_/
9       super
10     end
11   end
12 end

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