lib/fitting/storage/responses.rb in fitting-2.18.0 vs lib/fitting/storage/responses.rb in fitting-2.18.1
- old
+ new
@@ -7,11 +7,11 @@
class Responses
def initialize
@tested_requests = []
end
- def add(env_response, test_title = '')
- @tested_requests.push(Fitting::Records::Tested::Request.new(env_response, test_title))
+ def add(env_response, metadata = {})
+ @tested_requests.push(Fitting::Records::Tested::Request.new(env_response, metadata))
end
def statistics
Fitting::Statistics.new(@tested_requests)
end