diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-05-06 15:31:24 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-05-06 15:31:24 -0400 |
commit | 0a99e6e2facee4126509c41b987aa88f1520626e (patch) | |
tree | 35671f1ca3ddc40afdc02789f0abd43bbc82b56f /lib | |
parent | d5ee54df163e0b2e613701ba107d6163be656930 (diff) | |
download | gitlab-ce-0a99e6e2facee4126509c41b987aa88f1520626e.tar.gz |
Remove 'jasmine' gem
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/jasmine.rake | 12 |
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 |