diff options
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/hkp_test.rb | 6 | ||||
-rw-r--r-- | test/unit/nickserver_test.rb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/hkp_test.rb b/test/unit/hkp_test.rb index c211690..0ac4728 100644 --- a/test/unit/hkp_test.rb +++ b/test/unit/hkp_test.rb @@ -1,6 +1,6 @@ require File.expand_path('test_helper', File.dirname(__FILE__)) -class HkpTest < MiniTest::Unit::TestCase +class HkpTest < Minitest::Test def test_key_info_expired fetch_key_info(:hkp_vindex_result, 'lemur@leap.se') do |keys| @@ -95,9 +95,9 @@ class HkpTest < MiniTest::Unit::TestCase yield response return } - deferrable.errback {|response| + deferrable.errback {|response, msg| EM.stop - flunk "Expecting callback, but errback invoked with response: #{response}" + flunk "Expecting callback, but errback invoked with response: #{response} #{msg}" } end assert false, 'should not get here' diff --git a/test/unit/nickserver_test.rb b/test/unit/nickserver_test.rb index 6a23d0d..c74d3d8 100644 --- a/test/unit/nickserver_test.rb +++ b/test/unit/nickserver_test.rb @@ -14,7 +14,7 @@ require 'json' # default (localhost) to a dummy value (notlocalhost). # -class NickserverTest < MiniTest::Unit::TestCase +class NickserverTest < Minitest::Test def test_GET_served_via_SKS uid = 'cloudadmin@leap.se' |