Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
21 lines (16 sloc) 0.475 kb
require "bundler/setup"
Bundler::GemHelper.install_tasks
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new("spec") do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.spec_opts = ['--color']
end
Spec::Rake::SpecTask.new("rcov_spec") do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.spec_opts = ['--color']
t.rcov = true
t.rcov_opts = ['--exclude', '^spec,/gems/']
end
task :test => :spec
desc "Run specs as default activity"
task :default => :spec
Jump to Line
Something went wrong with that request. Please try again.