 
 					@handler.updateProjectStructure @project_id, @user_id, @changes, () =>
 						@request.post
-							.calledWith(url: @url, json: {docUpdates, fileUpdates: [], userId: @user_id})
+							.calledWith(url: @url, json: {docUpdates, fileUpdates: [], userId: @user_id, version:@version})
 							.should.equal true
 						done()
 


					@handler.updateProjectStructure @project_id, @user_id, @changes, () =>
						@request.post
							.calledWith(url: @url, json: {docUpdates, fileUpdates: [], userId: @user_id})
							.should.equal true
						done()



					@handler.updateProjectStructure @project_id, @user_id, @changes, () =>
						@request.post
							.calledWith(url: @url, json: {docUpdates, fileUpdates: [], userId: @user_id, version:@version})
							.should.equal true
						done()

