Mini work on InfluxDB 0.9 datasource, still needs a lot of work

This commit is contained in:
Torkel Ödegaard
2015-03-29 20:47:34 +02:00
parent c42d09b267
commit 8e33c2c4d3
3 changed files with 6 additions and 8 deletions

View File

@@ -27,8 +27,8 @@ define([
var query = builder.build();
it('should generate correct query', function() {
expect(query).to.be('SELECT mean(value) FROM "cpu" WHERE hostname = \'server1\'' +
' AND $timeFilter GROUP BY time($interval) ORDER BY asc');
expect(query).to.be('SELECT mean(value) FROM "cpu" WHERE $timeFilter ' +
'AND hostname=\'server1\' GROUP BY time($interval) ORDER BY asc');
});
});