From 5f2f4a0897d9d460bd4c3b5b378268593522f41c Mon Sep 17 00:00:00 2001 From: bergquist Date: Wed, 23 Mar 2016 15:23:14 +0100 Subject: [PATCH] test(influxdb): remove redundant test --- .../influxdb/specs/response_parser_specs.ts | 56 ++++++------------- 1 file changed, 16 insertions(+), 40 deletions(-) diff --git a/public/app/plugins/datasource/influxdb/specs/response_parser_specs.ts b/public/app/plugins/datasource/influxdb/specs/response_parser_specs.ts index d83b3ab4fa2..e58fe32dd1b 100644 --- a/public/app/plugins/datasource/influxdb/specs/response_parser_specs.ts +++ b/public/app/plugins/datasource/influxdb/specs/response_parser_specs.ts @@ -6,48 +6,24 @@ describe("influxdb response parser", () => { this.parser = new ResponseParser(); describe("SHOW TAG response", () => { 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 response = { + "results": [ + { + "series": [ + { + "name": "cpu", + "columns": ["tagKey"], + "values": [ ["datacenter"], ["hostname"], ["source"] ] + } + ] + } + ] + }; - var result = this.parser.parse(query, response); + 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 = { - "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); - }); + it("expects three results", () => { + expect(_.size(result)).to.be(3); }); });