Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-18 21:25:54 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-04-18 22:17:25 +0300
commit662bdfbeb12883944075d3e038ea58af45f3df3a (patch)
treedf52da38effddc771901b2e1247e27dfebc202cf /spec/javascripts
parentd5c7b62b8ec2e80829746147e0fa65935120231d (diff)
Make StatGraph JS explicitly require its dependencies
This allows us to test them in a bit more isolation.
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/stat_graph_contributors_graph_spec.js2
-rw-r--r--spec/javascripts/stat_graph_contributors_util_spec.js2
-rw-r--r--spec/javascripts/stat_graph_spec.js2
3 files changed, 6 insertions, 0 deletions
diff --git a/spec/javascripts/stat_graph_contributors_graph_spec.js b/spec/javascripts/stat_graph_contributors_graph_spec.js
index 1090cb7f620..78d39f1b428 100644
--- a/spec/javascripts/stat_graph_contributors_graph_spec.js
+++ b/spec/javascripts/stat_graph_contributors_graph_spec.js
@@ -1,3 +1,5 @@
+//= require stat_graph_contributors_graph
+
describe("ContributorsGraph", function () {
describe("#set_x_domain", function () {
it("set the x_domain", function () {
diff --git a/spec/javascripts/stat_graph_contributors_util_spec.js b/spec/javascripts/stat_graph_contributors_util_spec.js
index 9c1b588861d..ee90892eb48 100644
--- a/spec/javascripts/stat_graph_contributors_util_spec.js
+++ b/spec/javascripts/stat_graph_contributors_util_spec.js
@@ -1,3 +1,5 @@
+//= require stat_graph_contributors_util
+
describe("ContributorsStatGraphUtil", function () {
describe("#parse_log", function () {
diff --git a/spec/javascripts/stat_graph_spec.js b/spec/javascripts/stat_graph_spec.js
index b589af34610..4c652910cd6 100644
--- a/spec/javascripts/stat_graph_spec.js
+++ b/spec/javascripts/stat_graph_spec.js
@@ -1,3 +1,5 @@
+//= require stat_graph
+
describe("StatGraph", function () {
describe("#get_log", function () {