deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: Fix LoadError of 'turn' gem under Ruby 1.8
Date Thu, 08 Nov 2012 10:50:19 GMT
Updated Branches:
  refs/heads/master 101003dfe -> f0b4de948


Fix LoadError of 'turn' gem under Ruby 1.8


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

Branch: refs/heads/master
Commit: f0b4de948d47f0a1d2afe0aafd01b729cd040b56
Parents: 101003d
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Thu Nov 8 11:49:16 2012 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Thu Nov 8 11:49:16 2012 +0100

----------------------------------------------------------------------
 server/tests/test_helper.rb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f0b4de94/server/tests/test_helper.rb
----------------------------------------------------------------------
diff --git a/server/tests/test_helper.rb b/server/tests/test_helper.rb
index ce141a4..496c934 100644
--- a/server/tests/test_helper.rb
+++ b/server/tests/test_helper.rb
@@ -22,7 +22,10 @@ end
 
 # Make the test output more nice and readable
 #
-require 'turn' rescue nil
+begin
+  require 'turn'
+rescue LoadError
+end
 
 begin
   require "minitest/reporters"


Mime
View raw message