Rakefile in formtastic-2.2.1 vs Rakefile in formtastic-2.3.0.rc
- old
+ new
@@ -1,11 +1,10 @@
# encoding: utf-8
require 'bundler/setup'
require 'appraisal'
require 'rdoc/task'
require 'rspec/core/rake_task'
-require 'tasks/verify_rcov'
Bundler::GemHelper.install_tasks
desc 'Default: run unit specs.'
task :default => :all
@@ -35,22 +34,6 @@
end
desc 'Test the formtastic plugin with specdoc formatting and colors'
RSpec::Core::RakeTask.new('specdoc') do |t|
t.pattern = FileList['spec/**/*_spec.rb']
-end
-
-desc 'Run all examples with RCov'
-RSpec::Core::RakeTask.new('rcov') do |t|
- t.pattern = FileList['spec/**/*_spec.rb']
- t.rcov = true
- t.rcov_opts = %w(--exclude gems/*,spec/*,.bundle/*, --aggregate coverage.data)
-end
-
-RCov::VerifyTask.new(:verify_coverage) do |t|
- t.require_exact_threshold = false
- t.threshold = (RUBY_VERSION == "1.8.7" ? 95 : 0)
-end
-
-desc "Run all examples and verify coverage"
-task :spec_and_verify_coverage => [:rcov, :verify_coverage] do
end