feat(templating): progress on variable system refactoring, #6048

This commit is contained in:
Torkel Ödegaard
2016-09-19 17:03:29 +02:00
parent 8a796c5b4b
commit 945b5ee3cf
10 changed files with 117 additions and 81 deletions

View File

@@ -10,7 +10,7 @@ describe('QueryVariable', function() {
var variable = new QueryVariable({}, null, null, null, null);
expect(variable.datasource).to.be(null);
expect(variable.refresh).to.be(0);
expect(variable.sort).to.be(1);
expect(variable.sort).to.be(0);
expect(variable.name).to.be('');
expect(variable.hide).to.be(0);
expect(variable.options.length).to.be(0);