deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject [5/41] git commit: * server/tests/test_helper.rb: allow accessing preferred items from config
Date Mon, 11 Mar 2013 21:36:15 GMT
* server/tests/test_helper.rb: allow accessing preferred items from config


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

Branch: refs/heads/master
Commit: 7252099f33d7595db793aea0774fe001ac2c140e
Parents: 8f7670a
Author: David Lutterkort <lutter@redhat.com>
Authored: Thu Mar 7 14:35:50 2013 -0800
Committer: David Lutterkort <lutter@redhat.com>
Committed: Mon Mar 11 12:28:33 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/7252099f/server/tests/test_helper.rb
----------------------------------------------------------------------
diff --git a/server/tests/test_helper.rb b/server/tests/test_helper.rb
index 15d37e4..5ba791d 100644
--- a/server/tests/test_helper.rb
+++ b/server/tests/test_helper.rb
@@ -124,6 +124,9 @@ module Deltacloud
         Deltacloud::new(driver, params)
       end
 
+      def preferences(driver)
+        @hash[driver.to_s]["preferred"]
+      end
     end
 
     def self.config


Mime
View raw message