[DRE-commits] [SCM] ruby-rspec-core.git branch, master, updated. upstream/2.5.1-17-g4ef689a
Cédric Boutillier
cedric.boutillier at gmail.com
Tue Feb 14 22:16:58 UTC 2012
The following commit has been merged in the master branch:
commit 441fee51029567a25040e202c53c134eeea42266
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date: Tue Feb 14 16:07:39 2012 +0100
update ruby-tests.rb
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 2a09a14..07086ff 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,11 +1,9 @@
-$: << 'lib' << 'spec' << '.'
+$:.unshift 'spec'
+$:.unshift 'lib'
+require "rspec/core"
EXC_TESTS = [
- # needs nokogiri
+ # require 'syntax' gem
'spec/rspec/core/formatters/text_mate_formatter_spec.rb',
- 'spec/rspec/core/formatters/html_formatter_spec.rb',
- # pending
- 'spec/rspec/core/resources/formatter_specs.rb',
- # drb
- 'spec/rspec/core/drb_command_line_spec.rb'
+ 'spec/rspec/core/formatters/html_formatter_spec.rb'
]
-(Dir['spec/rspec/**/*.rb'] - EXC_TESTS).each { |f| require f }
+RSpec::Core::Runner.run(Dir["spec/rspec/**/*_spec.rb"] - EXC_TESTS, $stderr, $stdout)
--
ruby-rspec-core.git
More information about the Pkg-ruby-extras-commits
mailing list