           options = collection.fetch.calls.mostRecent().args[0]
           expect(options.perPage).toEqual 20
           expect(options.page).toEqual 5
-    
+
   describe '#getPreviousPage', ->
     beforeEach ->
       collection = new Tasks()


    describe 'integration', ->
      options = collection = posts1 = posts2 = null
        
      beforeEach ->
        posts1 = [buildPost(), buildPost(), buildPost(), buildPost(), buildPost()]
        posts2 = [buildPost(), buildPost()]

          options.reset = true
          collection.fetch(options)
          spyOn(collection, 'reset')

        it 'it resets the collection with the server response', ->
          expectation.respond()

