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

20 lines
393 B
JavaScript
Raw Normal View History

2015-09-11 14:41:01 +05:30
//= require stat_graph
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");
})
})
});