 	before (done) ->
 		LinkedUrlProxy.listen 6543, (error) =>
 			return done(error) if error?
-			@owner = new User() 
-			@owner.login done
+			@owner = new User()
+			@owner.login ->
+				mkdirp Settings.path.dumpFolder, done
 
 	describe "creating a URL based linked file", ->
 		before (done) ->

async = require "async"
expect = require("chai").expect
_ = require 'underscore'

MockFileStoreApi = require './helpers/MockFileStoreApi'
request = require "./helpers/request"
User = require "./helpers/User"

						done()

		# TODO: Add test for asking for host that return ENOTFOUND
		# (This will probably end up handled by the proxy)
