deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [9/11] git commit: Core: Minor tweak to deltacloud test helper
Date Tue, 07 Aug 2012 17:17:48 GMT
Core: Minor tweak to deltacloud test helper

* The 'root_url' can be now used in this way:

  get root_url '/url'


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

Branch: refs/heads/master
Commit: d7afc2aa0324bd333daa33ae2ce015a0564a2d3d
Parents: 3be4fd8
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Tue Jul 31 14:31:33 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Tue Aug 7 19:14:02 2012 +0200

----------------------------------------------------------------------
 server/tests/deltacloud/common.rb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/d7afc2aa/server/tests/deltacloud/common.rb
----------------------------------------------------------------------
diff --git a/server/tests/deltacloud/common.rb b/server/tests/deltacloud/common.rb
index d2f59e5..98b9884 100644
--- a/server/tests/deltacloud/common.rb
+++ b/server/tests/deltacloud/common.rb
@@ -1,3 +1,5 @@
+ENV['API_FRONTEND'] = 'cimi'
+
 require_relative File.join('..', '..', 'lib', 'deltacloud_rack.rb')
 
 # Set the default driver used for server API tests
@@ -17,4 +19,4 @@ unless Deltacloud::config[:deltacloud]
   Deltacloud.require_frontend!
 end
 
-def root_url; Deltacloud.config[:deltacloud].root_url; end
+def root_url; Deltacloud.config[:cimi].root_url; end


Mime
View raw message