Skip to content
Browse files

Changed from rcov to simplecov

  • Loading branch information...
1 parent 411331f commit 5189f94a237e36d47bd67927fba2a4a85726d34d @njh committed Oct 2, 2013
Showing with 3 additions and 9 deletions.
  1. +0 −7 Rakefile
  2. +3 −2 spec/spec_helper.rb
View
7 Rakefile
@@ -10,13 +10,6 @@ namespace :spec do
RSpec::Core::RakeTask.new(:doc) do |t|
t.rspec_opts = %w(--backtrace --colour --format doc)
end
-
- desc 'Run RSpec code examples with rcov'
- RSpec::Core::RakeTask.new(:rcov) do |t|
- t.rcov = true
- t.rcov_opts = %w(--text-report --exclude /gems/,/Library/,/usr/,.bundle,spec)
- t.rspec_opts = %w(--no-colour --format progress)
- end
end
task :default => [:spec]
View
5 spec/spec_helper.rb
@@ -6,8 +6,9 @@
Bundler.require(:default, :test)
-# This is needed by rcov
-require 'rspec/autorun'
+unless RUBY_VERSION =~ /^1\.8/
+ SimpleCov.start
+end
RSpec.configure do |config|
config.before(:each) do

0 comments on commit 5189f94

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