Merge pull request #75 from sodabrew/patch-2
[puppet_vcsrepo.git] / Rakefile
1 require 'spec/rake/spectask'
2 Spec::Rake::SpecTask.new(:spec) do |spec|
3   spec.libs << 'lib' << 'spec'
4   spec.spec_files = FileList['spec/**/*_spec.rb']
5 end
6
7 Spec::Rake::SpecTask.new(:rcov) do |spec|
8   spec.libs << 'lib' << 'spec'
9   spec.pattern = 'spec/**/*_spec.rb'
10   spec.rcov = true
11 end
12
13 task :default => :spec