From bdba46958008f203bcb6b438c5f07e0eeee48039 Mon Sep 17 00:00:00 2001 From: Hugo Duncan Date: Tue, 9 Mar 2010 12:32:01 -0500 Subject: [PATCH] changed blobstore test to use factory for renamed transient provider --- blobstore/src/test/clojure/org/jclouds/blobstore_test.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blobstore/src/test/clojure/org/jclouds/blobstore_test.clj b/blobstore/src/test/clojure/org/jclouds/blobstore_test.clj index ca386b5b97..265e68c45e 100644 --- a/blobstore/src/test/clojure/org/jclouds/blobstore_test.clj +++ b/blobstore/src/test/clojure/org/jclouds/blobstore_test.clj @@ -1,9 +1,9 @@ (ns org.jclouds.blobstore-test (:use [org.jclouds.blobstore] :reload-all) (:use clojure.test) - (:import org.jclouds.blobstore.TransientBlobStoreContextBuilder)) + (:import org.jclouds.blobstore.BlobStoreContextFactory)) -(def stub-context (.buildBlobStoreContext (TransientBlobStoreContextBuilder.))) +(def stub-context (.createContext (BlobStoreContextFactory.) "transient" "" "")) (def stub-blobstore (.getBlobStore stub-context)) (defn clean-stub-fixture [f] @@ -24,7 +24,7 @@ (is (= stub-context (blobstore-context stub-blobstore)))) (deftest as-blobstore-test - ;(is (blobstore? (blobstore "stub" "user" "password"))) + (is (blobstore? (blobstore "transient" "user" "password"))) (is (blobstore? (as-blobstore stub-blobstore))) (is (blobstore? (as-blobstore stub-context))))