summaryrefslogtreecommitdiff
path: root/test/functional/sample_test.rb
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2017-07-24 08:05:11 +0000
committerazul <azul@riseup.net>2017-07-24 08:05:11 +0000
commiteda9a0829b670975244f39b89b23ac2695493e75 (patch)
tree6cad7ae458d6bc349a0ba925f82477feb2010fa1 /test/functional/sample_test.rb
parentcfa6395c7e5728de02221b94b5f9cfe8a4debf09 (diff)
parentb1738a78ccf5768f92068a27255f9f69be1c3147 (diff)
Merge branch 'bugfix/name-resolution' into 'master'
fix: #3 handle domains without A-record Closes #3 See merge request !15
Diffstat (limited to 'test/functional/sample_test.rb')
-rw-r--r--test/functional/sample_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/sample_test.rb b/test/functional/sample_test.rb
index 68127e1..4be5c26 100644
--- a/test/functional/sample_test.rb
+++ b/test/functional/sample_test.rb
@@ -24,6 +24,11 @@ class SampleTest < FunctionalTest
# Regression Tests
+ # #3 handle missing A records
+ def test_nicknym
+ assert_lookup_status 404, 'postmaster@cs.ucl.ac.uk'
+ end
+
def test_no_file_descriptors_leak
lookup 'test@mail.bitmask.net'
before = open_files_count