From 564dede6a4de7791ab807f1cdff43d74e27d34b4 Mon Sep 17 00:00:00 2001 From: Spencer McIntyre Date: Fri, 9 Feb 2024 15:47:18 -0500 Subject: [PATCH] Hostnames return true as well --- spec/rex/socket_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/rex/socket_spec.rb b/spec/rex/socket_spec.rb index 6fe9488..f2c9ca0 100644 --- a/spec/rex/socket_spec.rb +++ b/spec/rex/socket_spec.rb @@ -337,8 +337,8 @@ context 'with a hostname' do let(:try) { "localhost" } - it "should return false" do - expect(name).to eq false + it "should return true" do + expect(name).to eq true end end