diff --git a/test/specs/column/tests/02.reference_column.js b/test/specs/column/tests/02.reference_column.js index 0682e7b2..b193149d 100644 --- a/test/specs/column/tests/02.reference_column.js +++ b/test/specs/column/tests/02.reference_column.js @@ -663,6 +663,16 @@ exports.execute = function (options) { // mainEntityColumns }); + it ('should return the unqiue ID for a row of the table the pseudocolumn represents based on provided data', function () { + var data = { + "int_value": 4321, + "id": 1, + "RID": "1YJ" + } + + expect(mainEntityColumns[5].generateUniqueId(data)).toBe(data.RID); + }); + describe('should return a filtered reference based on provided data.', function () { it('Reference for mainEntityColumns[3], should have proper domain filter.', function() { mainEntityData = {}