diff options
Diffstat (limited to 'test/remote')
-rw-r--r-- | test/remote/nicknym_source_test.rb | 29 |
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 |