summaryrefslogtreecommitdiff
path: root/test/remote/nicknym_source_test.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-09-12 16:34:25 +0200
committerAzul <azul@riseup.net>2016-09-12 16:34:57 +0200
commitec875169b0231d84bb8c55bbe91c52b896561f1e (patch)
treebb4b47a79d32744bda8d66b2c02e9343bfc61698 /test/remote/nicknym_source_test.rb
parentbc8ddfa1c49b438a563a8a8b9e0472944f71c71c (diff)
test: separate remote tests into own directory
Dropped the webmock dependency. We have our own http adapter. So we can stub that to inject a mock. As an added bonus this does not mess with other http requests. Also wrote down testing strategy. Not completely implemented yet.
Diffstat (limited to 'test/remote/nicknym_source_test.rb')
-rw-r--r--test/remote/nicknym_source_test.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/remote/nicknym_source_test.rb b/test/remote/nicknym_source_test.rb
index 0c6df65..e516895 100644
--- a/test/remote/nicknym_source_test.rb
+++ b/test/remote/nicknym_source_test.rb
@@ -14,9 +14,7 @@ class RemoteNicknymSourceTest < Minitest::Test
end
def test_truth
- real_network do
- assert source.available_for? 'mail.bitmask.net'
- end
+ assert source.available_for? 'mail.bitmask.net'
end
protected