Method: Soaspec::ExchangeHandler#expected_mandatory_json_values

Defined in:
lib/soaspec/exchange_handlers/exchange_handler.rb

#expected_mandatory_json_valuesHash

Change this through ‘mandatory_json_values’ method to specify json results that must be present in the response Will be used in ‘success_scenarios’ shared examples

Returns:

  • (Hash)

    Hash of ‘json/path’ => ‘expected value’ pairs



73
74
75
# File 'lib/soaspec/exchange_handlers/exchange_handler.rb', line 73

def expected_mandatory_json_values
  {}
end