From fb30d1267095190fc73edaf1a77209880f6957e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Sat, 25 Nov 2017 15:24:58 -0500 Subject: Renove duplicated and wrong test --- activesupport/test/security_utils_test.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'activesupport/test/security_utils_test.rb') diff --git a/activesupport/test/security_utils_test.rb b/activesupport/test/security_utils_test.rb index 6945f653e6..0a607594a2 100644 --- a/activesupport/test/security_utils_test.rb +++ b/activesupport/test/security_utils_test.rb @@ -9,11 +9,6 @@ class SecurityUtilsTest < ActiveSupport::TestCase assert_not ActiveSupport::SecurityUtils.secure_compare("a", "b") end - def test_variable_size_secure_compare_should_perform_string_comparison - assert ActiveSupport::SecurityUtils.variable_size_secure_compare("a", "a") - assert_not ActiveSupport::SecurityUtils.variable_size_secure_compare("a", "b") - end - def test_fixed_length_secure_compare_should_perform_string_comparison assert ActiveSupport::SecurityUtils.fixed_length_secure_compare("a", "a") assert !ActiveSupport::SecurityUtils.fixed_length_secure_compare("a", "b") -- cgit v1.2.3