Permalink
Browse files

Exclude gems dir from coverage result.

  • Loading branch information...
y-higuchi committed Dec 27, 2012
1 parent 1d05684 commit e607a4c046a680790fd6875d1a27abd8dbc8471a
Showing with 1 addition and 0 deletions.
  1. +1 −0 Rakefile
View
@@ -53,6 +53,7 @@ begin
RSpec::Core::RakeTask.new( :rcov ) do | spec |
spec.pattern = "spec/**/*_spec.rb"
spec.rcov = true
+ spec.rcov_opts = [ "-x", "gems" ]
end
rescue LoadError
$stderr.puts $!.to_s

0 comments on commit e607a4c

Please sign in to comment.