lib/soaspec/matchers.rb in soaspec-0.0.51 vs lib/soaspec/matchers.rb in soaspec-0.0.52

- old
+ new

@@ -1,9 +1,7 @@ -require_relative 'hash_methods' +require_relative 'core_ext/hash' require_relative 'not_found_errors' - -# TODO: Mathcers are specific to SOAP. Make generic for REST and others by using actual.api_class # Whether response has any element with the provided value RSpec::Matchers.define :contain_value do |expected| match do |actual| expect(actual.api_class.include_value?(actual.response, expected)).to be true \ No newline at end of file