Permalink
Browse files

Enable code-coverage

  • Loading branch information...
1 parent dc42119 commit af119ed79f03fa4e2f2109975d9e30a24c696a28 @stuhood stuhood committed Apr 15, 2012
Showing with 3 additions and 0 deletions.
  1. +1 −0 Gemfile
  2. +2 −0 Rakefile
View
@@ -2,6 +2,7 @@ source 'http://gems.local.twitter.com'
source :rubygems
gem 'jeweler'
+gem 'rcov', '~>1.0.0'
gem 'mysql'
gem 'rspec', '~>1.3.2'
gem 'rr'
View
@@ -7,6 +7,7 @@ rescue LoadError
end
require 'rake'
+require 'rcov'
require 'jeweler'
require 'spec/rake/spectask'
require 'rdoc/task'
@@ -29,6 +30,7 @@ Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_opts = ['--options', "\"#{spec_opts}\""]
end
t.spec_files = FileList['test/**/*_spec.rb']
+ t.rcov = true
end
Rake::RDocTask.new do |rdoc|

0 comments on commit af119ed

Please sign in to comment.