Explorar o código

And we have 2 IPv6 syntaxes

Signed-off-by: Jared Ledvina <jared@techsmix.net>
Jared Ledvina %!s(int64=5) %!d(string=hai) anos
pai
achega
fba839b95b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      molecule/shared/tests/test_default.rb

+ 2 - 2
molecule/shared/tests/test_default.rb

@@ -13,7 +13,7 @@ end
 describe port(5671) do
   it { should be_listening }
   its('protocols') { should include 'tcp' }
-  its('addresses') { should be_in ['0.0.0.0', '::'] }
+  its('addresses') { should be_in ['0.0.0.0', '::', '[::]'] }
 end
 
 # Sensu API
@@ -42,7 +42,7 @@ end
 describe port(3000) do
   it { should be_listening }
   its('protocols') { should include 'tcp' }
-  its('addresses') { should be_in ['0.0.0.0', '::'] }
+  its('addresses') { should be_in ['0.0.0.0', '::', '[::]'] }
 end
 
 # Ensure Sensu API has one consumer