X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8a833d4bb82249d3f2b9c0473c0af51db92fdc72..4b3e5e50e262fc51a158c1aed1942b1ef176e2eb:/apps/workbench/test/test_helper.rb diff --git a/apps/workbench/test/test_helper.rb b/apps/workbench/test/test_helper.rb index efb520a34c..1195798312 100644 --- a/apps/workbench/test/test_helper.rb +++ b/apps/workbench/test/test_helper.rb @@ -22,6 +22,7 @@ end require File.expand_path('../../config/environment', __FILE__) require 'rails/test_help' +require 'mocha/mini_test' class ActiveSupport::TestCase # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in @@ -160,13 +161,7 @@ class ActionController::TestCase def check_counter action @counter += 1 if @counter == 2 - # TODO: when existing mistakes are fixed, start failing broken - # test cases like this: - # - # assert_equal 1, 2, "Multiple actions in functional test" - # - # Meanwhile, just warn (just once per test case): - $stderr.puts " [WARNING: Multiple actions in functional test]" + assert_equal 1, 2, "Multiple actions in functional test" end end