 		describe '#concatTo', ->
 			given 'destination', -> 'test/temp/result.js'
 			given 'fileContent', -> readFileSync(@destination, encoding: 'utf8')
+
+			after 'delete result file', -> unlink(@destination)
 
 			it 'creates a file', (done) ->
 				@subject.concatTo @destination, =>

chai.use(require 'chai-string')
chai.use(require 'chai-fs')
{expect} = chai
{readFileSync} = require 'fs'
{given, subject, useTempFiles} = require './test-helpers.coffee'
CodeCat = require '../src/codecat.coffee'


			given 'destination', -> 'test/temp/result.coffee'
			given 'fileContent', -> readFileSync(@destination, encoding: 'utf8')

			after 'delete result file', -> unlink(@destination)

			it 'creates a file', (done) ->
				@subject.concatTo @destination, =>
					done.check =>
