 
 test "doesn't show a link to admin if user is not and admin", ->
 
-  Ember.run ->
-    Review.User.FIXTURES = [
-      {
-        admin: true, id: 'me'
-      }
-    ]
   visit '/'
 
   andThen ->


test "shows a link to admin, if user is admin", ->

  Ember.run ->
    Review.User.FIXTURES = [
        {
          admin: true, id: 'me'
        }
    ]
  visit '/'

  andThen ->

  setup: ->
    Review.buildRegistry()
    Review.reset()
    Ember.run ->
      Review.User.reopenClass({
        FIXTURES: [
          {
            admin: true
            id: "me"
          }
        ]
      })

test "shows a link to Projects", ->
  visit '/'
