Return-Path: X-Original-To: apmail-deltacloud-commits-archive@www.apache.org Delivered-To: apmail-deltacloud-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7BB39C3B9 for ; Tue, 7 Aug 2012 17:17:49 +0000 (UTC) Received: (qmail 18438 invoked by uid 500); 7 Aug 2012 17:17:49 -0000 Delivered-To: apmail-deltacloud-commits-archive@deltacloud.apache.org Received: (qmail 18382 invoked by uid 500); 7 Aug 2012 17:17:49 -0000 Mailing-List: contact commits-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list commits@deltacloud.apache.org Received: (qmail 18245 invoked by uid 99); 7 Aug 2012 17:17:49 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2012 17:17:49 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id E2DCD1C406; Tue, 7 Aug 2012 17:17:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mfojtik@apache.org To: commits@deltacloud.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [9/11] git commit: Core: Minor tweak to deltacloud test helper Message-Id: <20120807171748.E2DCD1C406@tyr.zones.apache.org> Date: Tue, 7 Aug 2012 17:17:48 +0000 (UTC) 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 Authored: Tue Jul 31 14:31:33 2012 +0200 Committer: Michal fojtik 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