[ARVADOS] updated: db1542b94b228e92e9b5bd82ad93ef83239a2768

git at public.curoverse.com git at public.curoverse.com
Thu Mar 5 21:38:18 EST 2015


Summary of changes:
 apps/workbench/test/unit/arvados_api_client_test.rb | 3 +++
 1 file changed, 3 insertions(+)

       via  db1542b94b228e92e9b5bd82ad93ef83239a2768 (commit)
      from  797d78f4e7bc7807d42366054d6d49b4a550d8b9 (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 db1542b94b228e92e9b5bd82ad93ef83239a2768
Author: Tom Clegg <tom at curoverse.com>
Date:   Thu Mar 5 21:38:17 2015 -0500

    5105: Skip database reset where we use a mock instead of the real API.

diff --git a/apps/workbench/test/unit/arvados_api_client_test.rb b/apps/workbench/test/unit/arvados_api_client_test.rb
index a58a1ee..c85ef05 100644
--- a/apps/workbench/test/unit/arvados_api_client_test.rb
+++ b/apps/workbench/test/unit/arvados_api_client_test.rb
@@ -1,6 +1,9 @@
 require 'test_helper'
 
 class ArvadosApiClientTest < ActiveSupport::TestCase
+  # We use a mock instead of making real API calls, so there's no need to reset.
+  reset_api_fixtures :after_each_test, false
+
   test 'successful stubbed api request' do
     stub_api_calls_with_body '{"foo":"bar","baz":0}'
     use_token :active

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list