diff --git a/test/spec/services/maprules.js b/test/spec/services/maprules.js index ec01a2f9b..4e27774b6 100644 --- a/test/spec/services/maprules.js +++ b/test/spec/services/maprules.js @@ -562,10 +562,10 @@ describe('maprules', function() { expect(issues.length).to.eql(1); expect(issue.entityIds).to.eql([entity.id]); - expect(issue.message).to.eql(selector[type]); + expect(issue.message()).to.eql(selector[type]); expect(type).to.eql(issue.severity); }); }); }); }); -}); +}); \ No newline at end of file