# File test/test_control.rb, line 932 def test_access_log_with_logging @store['access_log_logging'] = true @store['access_log_logging'] = 'HALO' @store['access_logs'] = [ { 'path' => 'access.log', 'format' => 'HALO' } ] begin build_control server_setup assert_equal(1, @logging_access_call) assert_equal(1, @add_access_log_call) assert((File.file? 'access.log')) @control.logfiles_close ensure if (File.exist? 'access.log') then File.delete('access.log') end end end