summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-02-12 22:53:19 -0600
committerLuke Kanies <luke@madstop.com>2008-02-12 22:53:19 -0600
commit12fa0fa387798e017641d7df8cf6cdc060032aed (patch)
treea379368490999e7d83050fff36d411729c58bd46
parentcb5def4dc3310e1e697b3b27e7163224857c4c61 (diff)
downloadpuppet-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/Rakefile17
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]