From 29de51609c66bbb1c9c9ff5a559e39b0576f7d28 Mon Sep 17 00:00:00 2001 From: Vanita Barrett Date: Thu, 27 Jun 2019 14:50:56 +0000 Subject: [PATCH] Run Javascript tests on default bundle exec rake At the moment, Javascript tests aren't run when you run `bundle exec rake`. They are only run when running `bundle exec rake spec:javascript`. This can mean failing tests go unnoticed until you push to Github and the build fails on CI. This expands the default task to include `spec:javascript`. --- lib/tasks/jasmine.rake | 1 + 1 file changed, 1 insertion(+) create mode 100644 lib/tasks/jasmine.rake diff --git a/lib/tasks/jasmine.rake b/lib/tasks/jasmine.rake new file mode 100644 index 000000000..c9ae8b9f2 --- /dev/null +++ b/lib/tasks/jasmine.rake @@ -0,0 +1 @@ +Rake::Task[:default].enhance ["spec:javascript"]