debian-mirror-gitlab/spec/javascripts/graphs/stat_graph_spec.js

20 lines
400 B
JavaScript
Raw Normal View History

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