Class: ApiTester::TypoClass

Inherits:
MethodCaseTest show all
Defined in:
lib/api-tester/modules/typo.rb

Overview

Test layout for TypoModule

Instance Attribute Summary

Attributes inherited from MethodCaseTest

#expected_response, #module_name, #payload, #reports, #response, #url

Instance Method Summary collapse

Methods inherited from MethodCaseTest

#check, #check_response_code, #extra_field_report, #increment_fields, #json_parse, #missing_field_report, #response_code_report

Constructor Details

#initialize(response, payload, expected_response, url, verb) ⇒ TypoClass

Returns a new instance of TypoClass.



63
64
65
66
67
68
69
70
# File 'lib/api-tester/modules/typo.rb', line 63

def initialize(response, payload, expected_response, url, verb)
  super response: response,
        payload: payload,
        expected_response: expected_response,
        url: url,
        verb: verb,
        module_name: 'TypoModule'
end