deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject git commit: Fix failing build (tests - require_relative)
Date Tue, 27 Nov 2012 07:39:52 GMT
Updated Branches:
  refs/heads/master ce8e7fc95 -> f518fa17f


Fix failing build (tests - require_relative)

https://travis-ci.org/mifo/deltacloud/jobs/3376825


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

Branch: refs/heads/master
Commit: f518fa17f2530bb372bf753266e4a74cd3259583
Parents: ce8e7fc
Author: marios <marios@redhat.com>
Authored: Tue Nov 27 09:38:45 2012 +0200
Committer: marios <marios@redhat.com>
Committed: Tue Nov 27 09:38:45 2012 +0200

----------------------------------------------------------------------
 server/tests/drivers/mock/buckets_test.rb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/f518fa17/server/tests/drivers/mock/buckets_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/drivers/mock/buckets_test.rb b/server/tests/drivers/mock/buckets_test.rb
index 044ba0c..4024696 100644
--- a/server/tests/drivers/mock/buckets_test.rb
+++ b/server/tests/drivers/mock/buckets_test.rb
@@ -1,6 +1,6 @@
+require 'rubygems'
 require 'minitest/autorun'
-
-require_relative File.join('..', '..', '..', 'lib', 'deltacloud', 'api.rb')
+require 'require_relative' if RUBY_VERSION < '1.9'
 require_relative 'common.rb'
 
 describe 'MockDriver Buckets' do


Mime
View raw message