summaryrefslogtreecommitdiff
path: root/test/remote/nicknym_source_test.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-10-02 15:05:02 +0200
committerAzul <azul@riseup.net>2016-10-02 15:05:02 +0200
commit5967c4a568aff2c5e73e3ab933aa68d25387aeb1 (patch)
tree2edc9f7b40d7b04e4cf739e6e92b200f93cd57e7 /test/remote/nicknym_source_test.rb
parentab31d9ca7dca20c873a7240482d1736d0f6b6dae (diff)
silence Celluloid.logger in tests
Introduced CelluloidTest as a test class for all tests that depend on Celluloid being up and running.
Diffstat (limited to 'test/remote/nicknym_source_test.rb')
-rw-r--r--test/remote/nicknym_source_test.rb13
1 files changed, 2 insertions, 11 deletions
diff --git a/test/remote/nicknym_source_test.rb b/test/remote/nicknym_source_test.rb
index b38a991..e2896ca 100644
--- a/test/remote/nicknym_source_test.rb
+++ b/test/remote/nicknym_source_test.rb
@@ -1,21 +1,12 @@
require 'test_helper'
+require 'support/celluloid_test'
require 'nickserver/nicknym/source'
require 'nickserver/email_address'
#
# Please note the Readme.md file in this directory
#
-class RemoteNicknymSourceTest < Minitest::Test
-
- def setup
- super
- Celluloid.boot
- end
-
- def teardown
- Celluloid.shutdown
- super
- end
+class RemoteNicknymSourceTest < CelluloidTest
def test_availablility_check
source.available_for? 'mail.bitmask.net'