lib/soaspec/basic_soap_handler.rb in soaspec-0.0.24 vs lib/soaspec/basic_soap_handler.rb in soaspec-0.0.25

- old
+ new

@@ -130,7 +130,12 @@ def value_from_path(exchange, path) path = '//' + path if path[0] != '/' xpath_value_for(exchange: exchange, xpath: path) end + # Whether any of the keys of the Body Hash include value + def include_value?(response, expected_value) + response.body.include_value?(expected_value) + end + end end \ No newline at end of file