X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c066a2e6d064a270638baea8f8b0d106f5903e0f..69e9a3e41a8d381adc095718a73a8a99a7943a5a:/services/api/test/test_helper.rb diff --git a/services/api/test/test_helper.rb b/services/api/test/test_helper.rb index 6d8fa9fefb..38f44c5d9b 100644 --- a/services/api/test/test_helper.rb +++ b/services/api/test/test_helper.rb @@ -66,6 +66,14 @@ class ActiveSupport::TestCase User.invalidate_permissions_cache end + def assert_equal(expect, *args) + if expect.nil? + assert_nil(*args) + else + super + end + end + def assert_not_allowed # Provide a block that calls a Rails boolean "true or false" success value, # like model.save or model.destroy. This method will test that it either