summaryrefslogtreecommitdiff
path: root/test/unit/lookup_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/lookup_test.rb')
-rw-r--r--test/unit/lookup_test.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/test/unit/lookup_test.rb b/test/unit/lookup_test.rb
deleted file mode 100644
index ac827e0..0000000
--- a/test/unit/lookup_test.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-require 'test_helper'
-require 'minitest/mock'
-require 'nickserver/lookup'
-
-class TestLookup < Nickserver::Lookup
-
- def query
- yield 200, 'yeah'
- end
-
-end
-
-class LookupTest < Minitest::Test
-
- def test_responding
- responder = Minitest::Mock.new
- responder.expect :send_response, nil,
- [{status: 200, content: 'yeah'}]
- lookup = TestLookup.new nil
- lookup.respond_with responder
- responder.verify
- end
-end