Sha256: 3d167e2fef568797b615900cca3411513bede9846de51f637c9372ed34684958
Contents?: true
Size: 582 Bytes
Versions: 1
Compression:
Stored size: 582 Bytes
Contents
require 'tester/reporter/status_code_report' require 'tester/test_helper' class Module attr_accessor :report def set_report report self.report = report end def go definition, report set_report report end def order 5 end def before definition definition.test_helper.before end def after definition definition.test_helper.after end def call method, definition, format_case self.before definition response = method.call definition.url, format_case.payload, format_case.headers self.after definition response end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
api-tester-0.0.4 | lib/tester/modules/module.rb |