diff options
author | Ashley Penney <ashley.penney@puppetlabs.com> | 2013-09-18 15:59:44 -0400 |
---|---|---|
committer | Ashley Penney <ashley.penney@puppetlabs.com> | 2013-09-18 15:59:44 -0400 |
commit | aeb3ea63ec561440c02f9d4c4d4c0ac3a1d096c9 (patch) | |
tree | ddead96743afd1c05c6afa857a665c40d07bb0bd /Rakefile | |
parent | 0eeb6501b1b2ea84c38b0d4464ac42c12c4e9fa7 (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-- | Rakefile | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -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' |