summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-09-12 14:04:45 +0200
committerAzul <azul@riseup.net>2016-09-12 14:04:45 +0200
commitbc8ddfa1c49b438a563a8a8b9e0472944f71c71c (patch)
tree498aeafb19c8dafabf95e57f73f0334a6acd7699
parentce09dd9c21d79e2260f9436e41f9970b42935b27 (diff)
test: first steps towards a remote nicknym test
-rw-r--r--test/remote/nicknym_source_test.rb29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/remote/nicknym_source_test.rb b/test/remote/nicknym_source_test.rb
new file mode 100644
index 0000000..0c6df65
--- /dev/null
+++ b/test/remote/nicknym_source_test.rb
@@ -0,0 +1,29 @@
+require 'test_helper'
+require 'nickserver/nicknym/source'
+
+class RemoteNicknymSourceTest < Minitest::Test
+
+ def setup
+ super
+ Celluloid.boot
+ end
+
+ def teardown
+ Celluloid.shutdown
+ super
+ end
+
+ def test_truth
+ real_network do
+ assert source.available_for? 'mail.bitmask.net'
+ end
+ end
+
+ protected
+
+ def source
+ @source ||= Nickserver::Nicknym::Source.new
+ end
+
+
+end