           NODE_ENV: 'test'
           SECTION: 'info'
           CURRENT_PATH: '/cool-fair'
-        fair = new Fair (fabricate 'fair', about: 'about the fair')
-        profile = new Profile (fabricate 'fair_profile')
+          PROFILE: fabricate 'fair_profile'
+          FAIR: fair
+          FACEBOOK_APP_NAMESPACE: 'namespace'
+        fair = new Fair sd.FAIR
+        profile = new Profile sd.PROFILE
         template = render('index')
           sd: sd
           fair: fair

    before (done) ->
      benv.setup =>
        benv.expose { $: benv.require 'jquery' }
        sd =
          CANONICAL_MOBILE_URL: 'http://localhost:5000'
          APP_URL: 'http://localhost:5000'

          CSS_EXT: '.css.gz'
          JS_EXT: '.js.gz'
          NODE_ENV: 'test'
          PROFILE: fabricate 'fair_profile'
          FAIR: fabricate 'fair'
          SECTION: 'search'
          CURRENT_PATH: '/cool-fair'
        benv.expose { $: benv.require 'jquery' }
