mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 21:46:24 +02:00
Corrected failed test
This commit is contained in:
parent
2a2b569bea
commit
9cbf9f88bf
1 changed files with 2 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue