[ARVADOS] updated: 21f6342de550d985db7e2d6964af2ad0f8405406

git at public.curoverse.com git at public.curoverse.com
Mon Aug 17 12:22:43 EDT 2015


Summary of changes:
 services/api/test/unit/salvage_collection_test.rb | 5 +++++
 1 file changed, 5 insertions(+)

       via  21f6342de550d985db7e2d6964af2ad0f8405406 (commit)
      from  3c068341659783d0d7132f92b14c05c07830d5b2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 21f6342de550d985db7e2d6964af2ad0f8405406
Author: radhika <radhika at curoverse.com>
Date:   Mon Aug 17 12:21:33 2015 -0400

    6859: reset ARVADOS_API_HOST and ARVADOS_API_TOKEN in teardown method in test.

diff --git a/services/api/test/unit/salvage_collection_test.rb b/services/api/test/unit/salvage_collection_test.rb
index dfc55ba..3efe037 100644
--- a/services/api/test/unit/salvage_collection_test.rb
+++ b/services/api/test/unit/salvage_collection_test.rb
@@ -34,6 +34,11 @@ class SalvageCollectionTest < ActiveSupport::TestCase
     ENV['ARVADOS_API_TOKEN'] = 'unused_by_test'
   end
 
+  teardown do
+    ENV['ARVADOS_API_HOST'] = ''
+    ENV['ARVADOS_API_TOKEN'] = ''
+  end
+
   test "salvage test collection" do
     # create a collection to test salvaging
     src_collection = Collection.new name: "test collection", manifest_text: TEST_MANIFEST

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list