       @view.nextPage()
       _.last(Backbone.sync.args)[1].url.should.include 'foo/bar'
       _.last(Backbone.sync.args)[2].data.page.should.equal 0
-      @view.page.should.equal 1+      @view.page.should.equal 1

    benv.teardown()

  beforeEach (done) ->
    sinon.stub Backbone, 'sync'
    col = new Artworks [fabricate 'artwork']
    col.url = 'foo/bar'

sinon = require 'sinon'
{ fabricate } = require 'antigravity'
Artworks = require '../../../collections/artworks'
CurrentUser = require '../../../models/current_user'
{ resolve } = require 'path'
FillwidthView = benv.requireWithJadeify resolve(__dirname, '../view'), ['template']

