diff options
author | Luke Kanies <luke@madstop.com> | 2008-02-12 22:53:19 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-02-12 22:53:19 -0600 |
commit | 12fa0fa387798e017641d7df8cf6cdc060032aed (patch) | |
tree | a379368490999e7d83050fff36d411729c58bd46 | |
parent | cb5def4dc3310e1e697b3b27e7163224857c4c61 (diff) | |
download | puppet-12fa0fa387798e017641d7df8cf6cdc060032aed.tar.gz puppet-12fa0fa387798e017641d7df8cf6cdc060032aed.tar.xz puppet-12fa0fa387798e017641d7df8cf6cdc060032aed.zip |
Fixing the Rakefile so all tests run in one task instead
of multiple.
-rw-r--r-- | spec/Rakefile | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/spec/Rakefile b/spec/Rakefile index 8026fd959..e2996f64f 100644 --- a/spec/Rakefile +++ b/spec/Rakefile @@ -8,22 +8,11 @@ puppettestlibdir = File.join(basedir, "../test/lib") speclibdir = File.join(basedir, "lib") libs = [puppetlibdir, puppettestlibdir, speclibdir] - -desc "Run all spec unit tests" -Spec::Rake::SpecTask.new('unit') do |t| - t.spec_files = FileList['unit/**/*.rb'] - t.libs = libs - t.spec_opts = ['--options', 'spec.opts'] -end - -desc "Run all spec integration tests" -Spec::Rake::SpecTask.new('integration') do |t| - t.spec_files = FileList['integration/**/*.rb'] +desc "Run all specs" +Spec::Rake::SpecTask.new('all') do |t| + t.spec_files = FileList['integration/**/*.rb', 'unit/**/*.rb'] t.libs = libs t.spec_opts = ['--options', 'spec.opts'] end -desc "Run all specs" -task :all => [:unit, :integration] - task :default => [:all] |