diff --git a/spec/rex/socket_spec.rb b/spec/rex/socket_spec.rb index f2c9ca0..30d5c39 100644 --- a/spec/rex/socket_spec.rb +++ b/spec/rex/socket_spec.rb @@ -342,6 +342,13 @@ end end + context 'with a name containing underscores' do + let(:try) { '_ldap._tcp.msflab.local' } + it 'should return true' do + expect(name).to eq true + end + end + context 'with a fully qualified domain name' do let(:try) { "www.metasploit.com" } it "should return true" do