       @ArtworkRowView = benv.requireWithJadeify resolve(
           __dirname, '../client/artwork_row_view.coffee'
         ), ['artworkRow']
-
 
       @ArtworkTableView.__set__ 'ArtworkRowView', @ArtworkRowView
 

      benv.expose
        $: benv.require 'jquery'
        jQuery: benv.require 'jquery'
      Backbone.$ = $
      done()

      @ArtworkRowView = benv.requireWithJadeify resolve(
          __dirname, '../client/artwork_row_view.coffee'
        ), ['artworkRow']
      @ArtworkRowView.__set__ 'sd', { INQUIRY_FLOW : 'original_flow' }

  after ->
    benv.teardown()

      $container: $('body')

  describe '#render', ->
    it 'should correctly render an artwork', ->
      @view.$el.find('.artwork-item-title').html().should.equal @artwork.titleAndYear()
      @view.$el.find('.artwork-table__cell--inquiry').html().should.containEql 'More Info'

    it 'should add the hover class to an image when the caption is moused over', ->
      @view.$el.find('.artwork-table__cell--caption').trigger 'mouseover'
      @view.$el.find('.hoverable-image-link').attr('class').should.containEql 'is-hovered'
