Corrected failed test

This commit is contained in:
Sergei Tsoganov 2023-05-31 16:08:50 +03:00
parent 2a2b569bea
commit 9cbf9f88bf

View file

@ -30,6 +30,7 @@ class WhiteIpTest < ActiveSupport::TestCase
def test_validates_ipv6_format
white_ip = valid_white_ip
white_ip.ipv4 = nil
white_ip.ipv6 = 'invalid'
assert white_ip.invalid?