summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorAshley Penney <ashley.penney@puppetlabs.com>2013-09-18 15:59:44 -0400
committerAshley Penney <ashley.penney@puppetlabs.com>2013-09-18 15:59:44 -0400
commitaeb3ea63ec561440c02f9d4c4d4c0ac3a1d096c9 (patch)
treeddead96743afd1c05c6afa857a665c40d07bb0bd /Rakefile
parent0eeb6501b1b2ea84c38b0d4464ac42c12c4e9fa7 (diff)
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.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile14
1 files changed, 1 insertions, 13 deletions
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'