2016-06-16 23:09:34 +05:30
|
|
|
//= require graphs/stat_graph
|
2015-09-11 14:41:01 +05:30
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
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");
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
});
|