Commit 5f2f4a08 by bergquist

test(influxdb): remove redundant test

parent 991b6eaf
...@@ -6,29 +6,6 @@ describe("influxdb response parser", () => { ...@@ -6,29 +6,6 @@ describe("influxdb response parser", () => {
this.parser = new ResponseParser(); this.parser = new ResponseParser();
describe("SHOW TAG response", () => { describe("SHOW TAG response", () => {
var query = 'SHOW TAG KEYS FROM "cpu"'; var query = 'SHOW TAG KEYS FROM "cpu"';
describe("response from 0.10.0", () => {
var response = {
"results": [
{
"series": [
{
"name": "cpu",
"columns": ["tagKey"],
"values": [ ["datacenter"], ["hostname"], ["source"] ]
}
]
}
]
};
var result = this.parser.parse(query, response);
it("expects three results", () => {
expect(_.size(result)).to.be(3);
});
});
describe("response from 0.11.0", () => {
var response = { var response = {
"results": [ "results": [
{ {
...@@ -49,7 +26,6 @@ describe("influxdb response parser", () => { ...@@ -49,7 +26,6 @@ describe("influxdb response parser", () => {
expect(_.size(result)).to.be(3); expect(_.size(result)).to.be(3);
}); });
}); });
});
describe("SHOW TAG VALUES response", () => { describe("SHOW TAG VALUES response", () => {
var query = 'SHOW TAG VALUES FROM "cpu" WITH KEY = "hostname"'; var query = 'SHOW TAG VALUES FROM "cpu" WITH KEY = "hostname"';
......
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