Permalink
Browse files

Use SimpleCov instead of RCov.

RCov doesn't work on Ruby 1.9. SimpleCov does.
  • Loading branch information...
1 parent c690fad commit 71c1b960d2a614e54b7d72c8ca108f2a1fff4be0 @adammck adammck committed May 8, 2012
Showing with 4 additions and 10 deletions.
  1. +1 −10 Rakefile
  2. +3 −0 test/helper.rb
View
@@ -1,5 +1,6 @@
# encoding: utf-8
+task :default => :test
require 'jeweler'
Jeweler::Tasks.new do |gem|
@@ -29,16 +30,6 @@ Rake::TestTask.new(:test) do |test|
test.verbose = true
end
-require 'rcov/rcovtask'
-Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
- test.rcov_opts << '--exclude "gems/*"'
-end
-
-task :default => :test
-
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
View
@@ -1,3 +1,6 @@
+require 'simplecov'
+SimpleCov.start
+
require 'test/unit'
require 'shoulda'
require 'webmock/test_unit'

0 comments on commit 71c1b96

Please sign in to comment.