0a99e6e2fa
jasmine-rails still requires it as a dependency, but for some reason running `rake jasmine:ci` produced test failures but `rake spec:javascript` didn't.
12 lines
331 B
Ruby
12 lines
331 B
Ruby
# 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
|