 					.calledWith(new Error("doc updater returned failure status code: 500"))
 					.should.equal true
 
-	describe "acceptChange", ->
+	describe "acceptChanges", ->
 		beforeEach ->
 			@change_id = "mock-change-id-1"
 			@callback = sinon.stub()

		describe "when the document updater API returns an error", ->
			beforeEach ->
				@request.post = sinon.stub().callsArgWith(1, @error = new Error("something went wrong"), null, null)
				@handler.acceptChange @project_id, @doc_id, @change_id, @callback

			it "should return an error to the callback", ->
				@callback.calledWith(@error).should.equal true

		describe "when the document updater returns a failure error code", ->
			beforeEach ->
				@request.post = sinon.stub().callsArgWith(1, null, { statusCode: 500 }, "")
				@handler.acceptChanges @project_id, @doc_id, [ @change_id ], @callback

			it "should return the callback with an error", ->
				@callback
