aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/security_utils_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-11-25 15:24:58 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-11-25 15:24:58 -0500
commitfb30d1267095190fc73edaf1a77209880f6957e1 (patch)
tree67e4c664d4b78eee8476fe95cfdbcb767b6d3cc1 /activesupport/test/security_utils_test.rb
parentd82b7061843994897db9339a301b01c51d37f9fc (diff)
downloadrails-fb30d1267095190fc73edaf1a77209880f6957e1.tar.gz
rails-fb30d1267095190fc73edaf1a77209880f6957e1.tar.bz2
rails-fb30d1267095190fc73edaf1a77209880f6957e1.zip
Renove duplicated and wrong test
Diffstat (limited to 'activesupport/test/security_utils_test.rb')
-rw-r--r--activesupport/test/security_utils_test.rb5
1 files changed, 0 insertions, 5 deletions
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")