diff options
Diffstat (limited to 'lib/custodian')
-rw-r--r-- | lib/custodian/protocoltest/http.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/custodian/protocoltest/http.rb b/lib/custodian/protocoltest/http.rb index 6de74d3..ed98029 100644 --- a/lib/custodian/protocoltest/http.rb +++ b/lib/custodian/protocoltest/http.rb @@ -175,13 +175,14 @@ module Custodian if ( !@expected_content.nil? ) if ( @content && (! @content.match(/#{@expected_content}/i) ) ) @error = "<p>The response did not contain our expected text '#{@expected_content}'</p>" + return false end end # # All done. # - true + return true end |