Commit 89238b4a by Patrick O'Carroll

renamed variable in tests

parent b122f530
......@@ -43,7 +43,7 @@ describe('SaveDashboardModal', () => {
let modal = new SaveDashboardModalCtrl(fakeDashboardSrv);
expect(modal.timeChange).toBe(true);
expect(modal.variableChange).toBe(true);
expect(modal.variableValueChange).toBe(true);
});
it('should hide checkboxes', () => {
......@@ -83,7 +83,7 @@ describe('SaveDashboardModal', () => {
};
let modal = new SaveDashboardModalCtrl(fakeDashboardSrv);
expect(modal.timeChange).toBe(false);
expect(modal.variableChange).toBe(false);
expect(modal.variableValueChange).toBe(false);
});
it('should hide variable checkboxes', () => {
......@@ -122,7 +122,7 @@ describe('SaveDashboardModal', () => {
},
};
let modal = new SaveDashboardModalCtrl(fakeDashboardSrv);
expect(modal.variableChange).toBe(false);
expect(modal.variableValueChange).toBe(false);
});
});
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment