summaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/testing.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake
index 02c235581..0f1cf4925 100644
--- a/lib/tasks/testing.rake
+++ b/lib/tasks/testing.rake
@@ -5,7 +5,7 @@ namespace :test do
task :coverage do
rm_f "coverage"
rm_f "coverage.data"
- rcov = "rcov --rails --aggregate coverage.data --text-summary -Ilib --html"
+ rcov = "rcov --rails --aggregate coverage.data --text-summary -Ilib --html --exclude gems/"
files = Dir.glob("test/**/*_test.rb").join(" ")
system("#{rcov} #{files}")
system("open coverage/index.html") if PLATFORM['darwin']