 
 describe 'Account', setup ->
   beforeEach ->
-    @view = new Account user: @loggedOutUser, artwork: @artwork, state: @state
+    @view = new Account user: @loggedOutUser, artwork: @artwork, state: @state, inquiry: @inquiry
 
   describe '#render', ->
     beforeEach ->

      @view.$('.iq-headline').text()
        .should.containEql 'Please log in to save information to your profile'

      @view.active.set 'mode', 'signup'
      @view.$('.iq-headline').text()
        .should.containEql 'To skip these steps on your next inquiry'

  describe '#forgot', ->
    beforeEach ->


    it 'renders the login page the first time it renders', ->
      @view.$('.iq-headline').text()
        .should.containEql 'Create an account to send your message'
      @view.$('input').map(-> $(this).attr('name')).get()
        .should.eql ['name', 'email', 'password']

    it 're-renders when the mode changes', ->
      @view.active.set 'mode', 'forgot'
