Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stat_graph_spec.js « graphs « javascripts « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4b05d401a428fbd328d7d9fcd7ee091d2227f383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//= require graphs/stat_graph

describe("StatGraph", function () {

  describe("#get_log", function () {
    it("returns log", function () {
      StatGraph.log = "test";
      expect(StatGraph.get_log()).toBe("test");
    });
  });

  describe("#set_log", function () {
    it("sets the log", function () {
      StatGraph.set_log("test");
      expect(StatGraph.log).toBe("test");
    })
  })

});