Skip to content

Commit

Permalink
Switch from rcov to simplecov
Browse files Browse the repository at this point in the history
  • Loading branch information
mbklein committed Feb 29, 2012
1 parent 7edd088 commit 455d296
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion confstruct.gemspec
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions lib/tasks/rspec.rake
Expand Up @@ -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
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
Expand Up @@ -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.