Skip to content

Instantly share code, notes, and snippets.

@CarlosEspejo
Last active December 18, 2015 08:49
Show Gist options
  • Save CarlosEspejo/5757474 to your computer and use it in GitHub Desktop.
Save CarlosEspejo/5757474 to your computer and use it in GitHub Desktop.
require "rake/testtask"
Rake::TestTask.new(:test) do |t|
t.libs << "spec"
t.pattern = "spec/**/*_spec.rb"
end
Rake::TestTask.new(:webkit) do |t|
t.libs << "spec_webkit"
t.pattern = "spec_webkit/**/*_spec.rb"
end
task :all => [:test, :webkit]
task :default => ['db:test:prepare', :test]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment