From 65fbf9fcb7c30ee19b69bff8909aee5bdc1bc60a Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 14 Nov 2012 08:25:06 +0000 Subject: Ensure we reset the error before re-testing a failure case. --- lib/custodian/protocol-tests/http.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/custodian/protocol-tests/http.rb') diff --git a/lib/custodian/protocol-tests/http.rb b/lib/custodian/protocol-tests/http.rb index c7910c5..3f2ec8d 100755 --- a/lib/custodian/protocol-tests/http.rb +++ b/lib/custodian/protocol-tests/http.rb @@ -58,6 +58,11 @@ class HTTPTest # def run_test + # + # Reset state from previous test. + # + @error = nil + # # Do the fetch, if this success then we'll have the # @status + @text setup -- cgit v1.2.1