projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5933c83
)
3021: Reset API fixtures before running the first test case.
author
Tom Clegg <tom@curoverse.com>
Fri, 16 Jan 2015 03:22:26 +0000
(22:22 -0500)
committer
Tom Clegg <tom@curoverse.com>
Fri, 16 Jan 2015 03:22:26 +0000
(22:22 -0500)
apps/workbench/test/test_helper.rb
patch
|
blob
|
history
diff --git
a/apps/workbench/test/test_helper.rb
b/apps/workbench/test/test_helper.rb
index d469d16f0cc82a3ba53233bf85a4a0792672c4ad..7c454c9877b2bbb4c97c417cf5406cf433924ca3 100644
(file)
--- a/
apps/workbench/test/test_helper.rb
+++ b/
apps/workbench/test/test_helper.rb
@@
-313,3
+313,6
@@
if ENV["RAILS_ENV"].eql? 'test'
ApiServerForTests.new.run
ApiServerForTests.new.run ["--websockets"]
end
+
+# Reset fixtures now (i.e., before any tests run).
+ActiveSupport::TestCase.reset_api_fixtures_now