lib/fitting/tests.rb in fitting-2.17.0 vs lib/fitting/tests.rb in fitting-2.18.0

- old
+ new

@@ -11,10 +11,10 @@ array = @tested_requests.inject([]) do |res, request| 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) } + File.open("fitting_tests/test#{ENV['TEST_ENV_NUMBER']}.json", 'w') { |file| file.write(json) } end def make_dir(dir_name) FileUtils.mkdir_p(dir_name) end