 
     it 'triggers an auth modal with the model name as the label', ->
       @view.$el.click()
-      @mediator.args[0][1].copy.should.equal 'Sign up to follow profiles'
+      @mediatorSpy.args[0][1].copy.should.equal 'Sign up to follow profiles'
 
   describe '#toggle with label', ->
     before ->


    it 'triggers an auth modal with the passed in label', ->
      @view.$el.click()
      @mediator.args[1][1].copy.should.equal 'Sign up to follow The Armory Show'



    benv.setup =>
      benv.expose { $: benv.require 'jquery' }
      sinon.stub Backbone, 'sync'
      @mediatorSpy = sinon.spy mediator, 'trigger'
      Backbone.$ = $
      done()

  after ->
    benv.teardown()
    Backbone.sync.restore()
    @mediatorSpy.restore()

  describe '#toggle without label', ->
    before ->
