lib/fitting/tests.rb in fitting-2.13.1 vs lib/fitting/tests.rb in fitting-2.14.0

- old
+ new

@@ -7,10 +7,9 @@ end def save make_dir('fitting_tests') array = @tested_requests.inject([]) do |res, request| - next res unless request.path.to_s.start_with?(Fitting.configuration.prefix) res.push(request.to_spherical.to_hash) end json = JSON.dump(array) File.open("fitting_tests/test#{ENV["TEST_ENV_NUMBER"]}.json", 'w') { |file| file.write(json) }