diff options
Diffstat (limited to 'test/unit/nicknym')
-rw-r--r-- | test/unit/nicknym/source_test.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/unit/nicknym/source_test.rb b/test/unit/nicknym/source_test.rb index cddb7c2..f8c9b60 100644 --- a/test/unit/nicknym/source_test.rb +++ b/test/unit/nicknym/source_test.rb @@ -20,11 +20,6 @@ class NicknymSourceTest < Minitest::Test refute available_on?(200, 'blablabla') end - def test_failing_network_means_no_nicknym - failing_network - refute source.available_for?('remote.tld') - end - def test_proxy_successful_query assert proxies_query_response?(200, 'dummy body') end @@ -52,12 +47,6 @@ class NicknymSourceTest < Minitest::Test return available end - def failing_network - def adapter.get(*args) - raise HTTP::ConnectionError - end - end - def source Nickserver::Nicknym::Source.new(adapter) end |