lib/fitting/records/tested/request.rb in fitting-3.0.2 vs lib/fitting/records/tested/request.rb in fitting-4.0.0

- old
+ new

@@ -9,10 +9,14 @@ def initialize(response, example) @example = example @response = response end + def host + @host ||= @response.request.host + end + def method @method ||= @response.request.request_method end def path @@ -40,10 +44,11 @@ method: method, path: path, body: body, response: fitting_response.to_spherical, title: test_path, - group: test_file_path + group: test_file_path, + host: host ) end end end end