Merge branch '1833-adding-only-ipv6-with-empty-ipv4' of https://github.com/internetee/registry into 1833-adding-only-ipv6-with-empty-ipv4

This commit is contained in:
Karl Erik Õunapuu 2021-02-05 11:46:40 +02:00
commit acbe11c3fd
No known key found for this signature in database
GPG key ID: C9DD647298A34764

View file

@ -41,7 +41,7 @@ class WhiteIpTest < ActiveSupport::TestCase
def test_validates_include_empty_ipv4
white_ip = WhiteIp.new
white_ip.ipv4 = ''
white_ip.ipv4 = nil
white_ip.ipv6 = '001:0db8:85a3:0000:0000:8a2e:0370:7334'
white_ip.registrar = registrars(:bestnames)