3021: Reset API fixtures before running the first test case.
authorTom Clegg <tom@curoverse.com>
Fri, 16 Jan 2015 03:22:26 +0000 (22:22 -0500)
committerTom Clegg <tom@curoverse.com>
Fri, 16 Jan 2015 03:22:26 +0000 (22:22 -0500)
apps/workbench/test/test_helper.rb

index d469d16f0cc82a3ba53233bf85a4a0792672c4ad..7c454c9877b2bbb4c97c417cf5406cf433924ca3 100644 (file)
@@ -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