You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2012/08/07 19:17:48 UTC
[9/11] git commit: Core: Minor tweak to deltacloud test helper
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 <mf...@redhat.com>
Authored: Tue Jul 31 14:31:33 2012 +0200
Committer: Michal fojtik <mf...@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