Renove duplicated and wrong test

This commit is contained in:
Rafael Mendonça França 2017-11-25 15:24:58 -05:00
parent d82b706184
commit fb30d12670
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948
1 changed files with 0 additions and 5 deletions

View File

@ -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")