summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-08 09:39:48 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-05-08 09:39:48 +0000
commit6c32abc5f7f090d4932054e5cc1ff0594edd5ff1 (patch)
treea0479bec69170a6052abf806eee3faeb64aeb861 /lib/tasks
parent757084f715ffc06f563bdf971302995a3b181c06 (diff)
parentda8d6feb2c9a273a32b072fbed30f958435c2eeb (diff)
downloadgitlab-ce-6c32abc5f7f090d4932054e5cc1ff0594edd5ff1.tar.gz
Merge branch 'rs-task_list' into 'master'
Use task_list gem for task lists Task Lists can now be used in comments, and they'll render in previews. :clap: Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2271 See merge request !599
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/jasmine.rake12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/tasks/jasmine.rake b/lib/tasks/jasmine.rake
new file mode 100644
index 00000000000..9e2cceffa19
--- /dev/null
+++ b/lib/tasks/jasmine.rake
@@ -0,0 +1,12 @@
+# Since we no longer explicitly require the 'jasmine' gem, we lost the
+# `jasmine:ci` task used by GitLab CI jobs.
+#
+# This provides a simple alias to run the `spec:javascript` task from the
+# 'jasmine-rails' gem.
+task jasmine: ['jasmine:ci']
+
+namespace :jasmine do
+ task :ci do
+ Rake::Task['spec:javascript'].invoke
+ end
+end