gitlab-org--gitlab-foss/spec/javascripts/graphs/stat_graph_spec.js
2016-06-01 19:48:01 -06:00

19 lines
400 B
JavaScript

//= 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");
})
})
});