mirror of
https://github.com/grafana/grafana.git
synced 2025-01-10 08:03:58 -06:00
Merge branch 'sgarg7-master'. Closes #3864
This commit is contained in:
commit
70c42ddcff
@ -36,14 +36,14 @@ describe('opentsdb', function() {
|
||||
expect(requestOptions.params.q).to.be('pew');
|
||||
});
|
||||
|
||||
it('tag_names(cpu) should generate looku query', function() {
|
||||
it('tag_names(cpu) should generate lookup query', function() {
|
||||
ctx.ds.metricFindQuery('tag_names(cpu)').then(function(data) { results = data; });
|
||||
ctx.$rootScope.$apply();
|
||||
expect(requestOptions.url).to.be('/api/search/lookup');
|
||||
expect(requestOptions.params.m).to.be('cpu');
|
||||
});
|
||||
|
||||
it('tag_values(cpu, test) should generate looku query', function() {
|
||||
it('tag_values(cpu, test) should generate lookup query', function() {
|
||||
ctx.ds.metricFindQuery('tag_values(cpu, hostname)').then(function(data) { results = data; });
|
||||
ctx.$rootScope.$apply();
|
||||
expect(requestOptions.url).to.be('/api/search/lookup');
|
||||
|
Loading…
Reference in New Issue
Block a user