5105: Skip database reset where we use a mock instead of the real API.
authorTom Clegg <tom@curoverse.com>
Fri, 6 Mar 2015 02:38:17 +0000 (21:38 -0500)
committerTom Clegg <tom@curoverse.com>
Fri, 6 Mar 2015 02:38:17 +0000 (21:38 -0500)
apps/workbench/test/unit/arvados_api_client_test.rb

index a58a1ee70be9021befe6a6054a80a8c0471bd45f..c85ef0510ad29f208c7dab951a5a15b3792c7498 100644 (file)
@@ -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