From 625416ac16a1216240fc4c48aa19802ef8a967a1 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 30 Aug 2016 12:38:43 +0200 Subject: wip: key lookup by address via leaps nicknym I added a RequestHandler that uses Nicknym::Source - but that has not been implemented yet. --- test/support/request_handler_test_helper.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/support') diff --git a/test/support/request_handler_test_helper.rb b/test/support/request_handler_test_helper.rb index 3ca89ba..dd6940d 100644 --- a/test/support/request_handler_test_helper.rb +++ b/test/support/request_handler_test_helper.rb @@ -15,9 +15,9 @@ module RequestHandlerTestHelper end def source_expecting_query_for(*query_args) - source = Minitest::Mock.new - source.expect :query, 'response', query_args - source + @source ||= Minitest::Mock.new + @source.expect :query, 'response', query_args + @source end def assert_responds_with_error(msg, opts) -- cgit v1.2.3