You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2013/06/08 06:30:24 UTC
svn commit: r1490914 - /buildr/trunk/rakelib/rspec.rake
Author: donaldp
Date: Sat Jun 8 04:30:24 2013
New Revision: 1490914
URL: http://svn.apache.org/r1490914
Log:
Rollback change as it is used
Modified:
buildr/trunk/rakelib/rspec.rake
Modified: buildr/trunk/rakelib/rspec.rake
URL: http://svn.apache.org/viewvc/buildr/trunk/rakelib/rspec.rake?rev=1490914&r1=1490913&r2=1490914&view=diff
==============================================================================
--- buildr/trunk/rakelib/rspec.rake (original)
+++ buildr/trunk/rakelib/rspec.rake Sat Jun 8 04:30:24 2013
@@ -22,6 +22,15 @@ def default_spec_opts
default
end
+# RSpec doesn't support file exclusion, so hack our own.
+class RSpec::Core::RakeTask
+ attr_accessor :rspec_files
+ private
+ def files_to_run
+ @rspec_files
+ end
+end
+
desc 'Run all specs'
RSpec::Core::RakeTask.new :spec => ['_reports', :compile] do |task|
ENV['USE_FSC'] = 'no'