Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Switch from rcov to simplecov

  • Loading branch information...
commit 455d296757cf8800554e87afb46f5c400eecf571 1 parent 7edd088
@mbklein authored
View
2  confstruct.gemspec
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'active_support'
s.add_development_dependency "rake", ">=0.8.7"
- s.add_development_dependency "rcov"
+ s.add_development_dependency "simplecov"
s.add_development_dependency "rdiscount"
s.add_development_dependency "rdoc"
s.add_development_dependency "rspec"
View
2  lib/tasks/rspec.rake
@@ -12,6 +12,4 @@ end
desc "Generate code coverage"
RSpec::Core::RakeTask.new(:coverage) do |t|
t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
- t.rcov = true
- t.rcov_opts = ['--exclude', '/gems/,/Library/,/usr/,spec,lib/tasks']
end
View
3  spec/spec_helper.rb
@@ -9,6 +9,9 @@
require 'active_support/core_ext/object/blank'
require 'confstruct'
+require 'simplecov'
+SimpleCov.start
+
RSpec.configure do |config|
end

0 comments on commit 455d296

Please sign in to comment.
Something went wrong with that request. Please try again.