Add basic Analytics documentation #951

This commit is contained in:
mauriziovitale84
2016-11-03 10:41:39 +00:00
parent d4d555911a
commit 29cf46212f
3 changed files with 51 additions and 15 deletions

View File

@@ -94,7 +94,7 @@ describe('Test ng2-activiti-analytics Report ', () => {
});
it('Should render the Process definition overview report ', (done) => {
component.onShowReport.subscribe((res) => {
component.onSuccess.subscribe((res) => {
expect(res).toBeDefined();
expect(res.length).toEqual(3);
@@ -133,7 +133,7 @@ describe('Test ng2-activiti-analytics Report ', () => {
});
it('Should render the Task overview report ', (done) => {
component.onShowReport.subscribe((res) => {
component.onSuccess.subscribe((res) => {
expect(res).toBeDefined();
expect(res.length).toEqual(2);