lib/tester/modules/good_case.rb in api-tester-0.0.3 vs lib/tester/modules/good_case.rb in api-tester-0.0.4
- old
+ new
@@ -6,10 +6,10 @@
def go definition, report
super
definition.methods.each do |method|
default_case = BoundaryCase.new definition.url, method.request.default_payload, method.request.default_headers
- response = self.call method, definition.url, default_case
+ response = self.call method, definition, default_case
test = GoodCaseTest.new response, definition.url, method
self.report.reports.concat test.check
end
self.report.reports == []