From aeb3ea63ec561440c02f9d4c4d4c0ac3a1d096c9 Mon Sep 17 00:00:00 2001 From: Ashley Penney Date: Wed, 18 Sep 2013 15:59:44 -0400 Subject: Overhaul the spec tests to work in rspec2. This work gets rid of the provider_example_group and reworks everything to work properly against rspec2. I don't know if I'd consider the style "better" but it works. --- Rakefile | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 3e005ff..cd3d379 100644 --- a/Rakefile +++ b/Rakefile @@ -1,13 +1 @@ -require 'spec/rake/spectask' -Spec::Rake::SpecTask.new(:spec) do |spec| - spec.libs << 'lib' << 'spec' - spec.spec_files = FileList['spec/**/*_spec.rb'] -end - -Spec::Rake::SpecTask.new(:rcov) do |spec| - spec.libs << 'lib' << 'spec' - spec.pattern = 'spec/**/*_spec.rb' - spec.rcov = true -end - -task :default => :spec +require 'puppetlabs_spec_helper/rake_tasks' -- cgit v1.2.3