projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
797d78f
)
5105: Skip database reset where we use a mock instead of the real API.
author
Tom Clegg <tom@curoverse.com>
Fri, 6 Mar 2015 02:38:17 +0000
(21:38 -0500)
committer
Tom Clegg <tom@curoverse.com>
Fri, 6 Mar 2015 02:38:17 +0000
(21:38 -0500)
apps/workbench/test/unit/arvados_api_client_test.rb
patch
|
blob
|
history
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
+ # 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