2017-01-10 18:02:20 -05:00
|
|
|
/* eslint-disable quotes */
|
2016-12-14 00:26:26 -05:00
|
|
|
/* global StatGraph */
|
|
|
|
|
2017-01-09 18:23:54 -05:00
|
|
|
require('~/graphs/stat_graph');
|
2015-04-18 14:25:54 -04:00
|
|
|
|
2013-05-09 01:00:56 -04:00
|
|
|
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");
|
2017-01-10 17:54:56 -05:00
|
|
|
});
|
|
|
|
});
|
2014-06-21 05:18:57 -04:00
|
|
|
});
|