  var fileutils = require('./fileutils')
  var browserExeExists = fileutils.browserExeExists
  var findableByWhich = fileutils.findableByWhich
-@@ -18,11 +19,14 @@
+@@ -18,15 +19,34 @@
  
  // Find the temporary directory for the system
  var tempDir = function(){

--- ../../../soc2/node_modules/testem/lib/browser_launcher.js	2013-06-26 10:14:09.000000000 +0200
+++ ../../node_modules/testem/lib/browser_launcher.js	2013-09-05 14:42:04.762012550 +0200
@@ -11,6 +11,7 @@
 var rimraf = require('rimraf')
 var async = require('async')

-        setup: function(config, done){
-          rimraf(tempDir + '/testem.chrome', done)
+        tearDown: function(){
+          removeTestemFilesFromTemporaryDirectory()
         },
         supported: findableByWhich
       },
