 				expect(data).to.equal @fakeResponseData
 				done()
 
-		describe 'when Project.findOne produces an error', ->
-
-			beforeEach ->
-				@Project.findOne.callsArgWith(1, new Error('woops'))
+		describe 'when ProjectGetter.getProject produces an error', ->
+
+			beforeEach ->
+				@ProjectGetter.getProject.callsArgWith(2, new Error('woops'))
 
 			it 'should produce an error', (done) ->
 				@call (err, data) =>

		describe 'when _isFullIndex produces an error', ->

			beforeEach ->
				@Project.findOne.callsArgWith(1, null, @fakeProject)
				@handler._isFullIndex.callsArgWith(1, new Error('woops'))

			it 'should produce an error', (done) ->

					expect(data).to.equal @fakeResponseData
					done()

		describe 'when ProjectGetter.getProject produces an error', ->

			beforeEach ->
				@ProjectGetter.getProject.callsArgWith(2, new Error('woops'))

			it 'should produce an error', (done) ->
				@call (err, data) =>
