lib/tester/modules/format.rb in api-tester-0.0.3 vs lib/tester/modules/format.rb in api-tester-0.0.4

- old
+ new

@@ -7,10 +7,10 @@ super definition.methods.each do |method| cases = method.request.cases cases.each do |format_case| - response = self.call method, definition.url, format_case + response = self.call method, definition, format_case test = FormatTest.new response, format_case.payload, definition.bad_request_response, definition.url, method.verb self.report.reports.concat test.check end end