Module: Matchers

Defined in:
lib/matchers/http/response_body_contains.rb,
lib/matchers/xml/xpath_contains_text.rb,
lib/matchers/xml/document_contains_xpath.rb

Overview

This class expects a search_term in its constructor which can be either a String or a Regexp

The matches? method takes a String (http response body) and applies the search_term to it

Defined Under Namespace

Modules: HTTP, XML