[DRE-commits] [SCM] ruby-rspec-mocks.git branch, master, updated. upstream/2.5.0-9-g27cd249

Cédric Boutillier cedric.boutillier at gmail.com
Wed Feb 15 12:31:57 UTC 2012


The following commit has been merged in the master branch:
commit 140c8d56ede23085352eb34d00905e38056885b0
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Sun Feb 12 23:57:12 2012 +0100

    update ruby-tests.rb

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index c587ff5..ab27b8d 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,2 +1,6 @@
-$: << 'lib' << 'spec' << '.'
-Dir['spec/rspec/**/*.rb'].each { |f| require f }
+$: << 'spec' 
+require "rspec/core"
+#The specs need yaml to be loaded before spec_helper
+#https://github.com/rspec/rspec-mocks/issues/107
+require "yaml"
+RSpec::Core::Runner.run(Dir["spec/rspec/**/*_spec.rb"], $stderr, $stdout)

-- 
ruby-rspec-mocks.git



More information about the Pkg-ruby-extras-commits mailing list