add test for hasAttachments after an extend

This commit is contained in:
Andy Gup 2015-06-17 13:22:37 -06:00
parent 3f03a66e81
commit 616fb671ae

View File

@ -307,6 +307,11 @@ describe("Attachments", function()
});
});
async.it("Verify hasAttachments", function(done) {
expect(g_featureLayer.hasAttachments).toBe(true);
done();
});
async.it("add attachment to (offline) feature g2_offline", function(done)
{
expect(g_featureLayer.graphics.length).toBe(4);