gitlab-org--gitlab-foss/spec/javascripts/graphs/stat_graph_spec.js

23 lines
469 B
JavaScript
Raw Normal View History

/* eslint-disable quotes, padded-blocks */
/* global StatGraph */
2016-05-31 20:44:42 -04:00
//= 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");
});
});
});