projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
10078: Now that the recent_collections panel includes collections from Home directory...
[arvados.git]
/
apps
/
workbench
/
test
/
unit
/
arvados_api_client_test.rb
diff --git
a/apps/workbench/test/unit/arvados_api_client_test.rb
b/apps/workbench/test/unit/arvados_api_client_test.rb
index a58a1ee70be9021befe6a6054a80a8c0471bd45f..c85ef0510ad29f208c7dab951a5a15b3792c7498 100644
(file)
--- 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
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
test 'successful stubbed api request' do
stub_api_calls_with_body '{"foo":"bar","baz":0}'
use_token :active