summaryrefslogtreecommitdiff
path: root/lib/tasks/jasmine.rake
blob: 9e2cceffa19f635509a69cee3f2f92dbba8f39a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
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