           .onCall 0
           .yieldsTo 'success', []
 
-        routes.index extend({ user: 'existy' }, @req), @res
+        routes.index extend({ user: new CurrentUser() }, @req), @res
           .then =>
             @res.render.args[0][0].should.equal 'index'
             @res.render.args[0][1].heroUnits.first().get 'type'

{ extend } = require 'underscore'
{ fabricate } = require 'antigravity'
routes = require '../routes'

describe 'Home routes', ->
  beforeEach ->

          .onCall 1
          .yieldsTo 'success', [fabricate 'featured_link']

        routes.index extend({ user: new CurrentUser() }, @req), @res
          .then =>
            @res.render.args[0][0].should.equal 'index'
            @res.render.args[0][1].heroUnits.first().get 'description'
