 		describe "successfully", ->
 			beforeEach ->
 				@request.post = sinon.stub().callsArgWith(1, null, {statusCode: 200}, @body)
-				@handler.acceptChange @project_id, @doc_id, @change_id, @callback
+				@handler.acceptChanges @project_id, @doc_id, [ @change_id ], @callback
 
 			it 'should accept the change in the document updater', ->
-				url = "#{@settings.apis.documentupdater.url}/project/#{@project_id}/doc/#{@doc_id}/change/#{@change_id}/accept"
-				@request.post.calledWith(url).should.equal true
+				req =
+					url: "#{@settings.apis.documentupdater.url}/project/#{@project_id}/doc/#{@doc_id}/change/accept"
+					json:
+						change_ids: [ @change_id ]
+				@request.post.calledWith(req).should.equal true
 
 			it "should call the callback", ->
 				@callback.calledWith(null).should.equal true

					.calledWith(new Error("doc updater returned failure status code: 500"))
					.should.equal true

	describe "acceptChange", ->
		beforeEach ->
			@change_id = "mock-change-id-1"
			@callback = sinon.stub()

		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
