Skip to content

Instantly share code, notes, and snippets.

@ananyo2012
Created January 3, 2017 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ananyo2012/093797f3b31d167ed5f9a2136071bec8 to your computer and use it in GitHub Desktop.
Save ananyo2012/093797f3b31d167ed5f9a2136071bec8 to your computer and use it in GitHub Desktop.
Custom rake task
# rake test:all
namespace :test do
desc "Run rails and jasmine tests"
task :all do
puts "Running Rails tests"
Rake::Task["test"].execute
puts "Running jasmine tests headlessly"
Rake::Task["spec:javascript"].execute
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment