You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by as...@apache.org on 2008/08/18 00:20:37 UTC
svn commit: r686654 - /incubator/buildr/trunk/rakelib/rspec.rake
Author: assaf
Date: Sun Aug 17 15:20:35 2008
New Revision: 686654
URL: http://svn.apache.org/viewvc?rev=686654&view=rev
Log:
Fixed missing <<, also no longer using default RSpec rcov_opts.
Modified:
incubator/buildr/trunk/rakelib/rspec.rake
Modified: incubator/buildr/trunk/rakelib/rspec.rake
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/rakelib/rspec.rake?rev=686654&r1=686653&r2=686654&view=diff
==============================================================================
--- incubator/buildr/trunk/rakelib/rspec.rake (original)
+++ incubator/buildr/trunk/rakelib/rspec.rake Sun Aug 17 15:20:35 2008
@@ -41,11 +41,10 @@
desc 'Run RSpec and generate Spec and coverage reports (slow)'
Spec::Rake::SpecTask.new('rcov') do |task|
task.spec_files = FileList['spec/**/*spec.rb']
- task.spec_opts '--format' << 'html:reports/specs.html' << '--backtrace'
+ task.spec_opts << '--format' << 'html:reports/specs.html' << '--backtrace'
task.rcov = true
task.rcov_dir = 'reports/coverage'
- task.rcov_opts << '--exclude' << "spec,bin,#{Config::CONFIG['sitedir']},#{Gem.path.join(',')}"
- task.rcov_opts << '--text-summary'
+ task.rcov_opts = '--exclude' << "spec,bin,#{Config::CONFIG['sitedir']},#{Gem.path.join(',')}" << '--text-summary'
end
file 'reports/coverage'=>'rcov'