     afterEach ->
       @view.redirectTo.restore()
 
-    it 'submits the bid by redirecting to the confirmation page', ->
+    xit 'submits the bid by redirecting to the confirmation page', ->
       @view.$('[name="bid"]').replaceWith '<input name="bid" value="60,000">'
       @view.$('button').click()
       @view.redirectTo.args[0][0]

benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
ArtworkAuctionView = benv.requireWithJadeify require.resolve('../view.coffee'), ['template']

describe 'auction', ->
  before (done) ->
    benv.setup ->
      benv.expose $: benv.require 'jquery'
      Backbone.$ = $

            cents: 6000000

    after ->
      @ArtworkAuctionView.__set__
        CURRENT_USER: null
        AUCTION: null

    beforeEach ->
      sinon.stub @ArtworkAuctionView::, 'redirectTo'
      @view.data.accounting = accounting
      @view.data.user = 'existy'
      @view.render()
