diff options
author | Azul <azul@riseup.net> | 2016-08-30 12:38:43 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-08-31 12:14:52 +0200 |
commit | 625416ac16a1216240fc4c48aa19802ef8a967a1 (patch) | |
tree | f3a4a54627fcae49bf896f5f58e60b506f9a55d4 /test/support | |
parent | b22e23eb9f5a1cb3e37ab2a26b1091183574f4e4 (diff) |
wip: key lookup by address via leaps nicknym
I added a RequestHandler that uses Nicknym::Source - but that has not
been implemented yet.
Diffstat (limited to 'test/support')
-rw-r--r-- | test/support/request_handler_test_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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) |