deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [1/3] git commit: Core: Fix test rake task to work under 1.9 bundler
Date Fri, 20 Jul 2012 11:54:40 GMT
Updated Branches:
  refs/heads/master 946a1f225 -> ccd4f8536


Core: Fix test rake task to work under 1.9 bundler


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/ccd4f853
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/ccd4f853
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/ccd4f853

Branch: refs/heads/master
Commit: ccd4f8536f7beb01e90b4cb6cafcc6588d80c0ca
Parents: ae2758f
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Fri Jul 20 13:40:19 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Fri Jul 20 13:40:19 2012 +0200

----------------------------------------------------------------------
 server/Rakefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/ccd4f853/server/Rakefile
----------------------------------------------------------------------
diff --git a/server/Rakefile b/server/Rakefile
index 2b5a2b8..ef1ab1a 100644
--- a/server/Rakefile
+++ b/server/Rakefile
@@ -110,6 +110,9 @@ end
 
 Rake::TestTask.new do |t|
   t.ruby_opts << '-r./tests/test_helper.rb'   # Load SimpleCov when COVERAGE=1 is set
+  unless RUBY_VERSION < '1.9.0'
+    t.loader = :testrb
+  end
   t.test_files = FileList[
     'tests/helpers/**/*test.rb',              # Deltacloud extensions (core_ext) and other
helpers
     'tests/drivers/base/*test.rb',            # Deltacloud drivers API tests


Mime
View raw message