summaryrefslogtreecommitdiff
path: root/tasks/rspec.rb
diff options
context:
space:
mode:
authorAdam Jacob <adam@hjksolutions.com>2008-03-05 23:31:38 -0800
committerAdam Jacob <adam@hjksolutions.com>2008-03-05 23:31:38 -0800
commitb5117775e86cff40399187b6292c98fba9dc5034 (patch)
treecbbfcdb78089b49084fc349e30e1adfa53fec04c /tasks/rspec.rb
downloadchef-b5117775e86cff40399187b6292c98fba9dc5034.tar.gz
Initial Commit
Diffstat (limited to 'tasks/rspec.rb')
-rw-r--r--tasks/rspec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/tasks/rspec.rb b/tasks/rspec.rb
new file mode 100644
index 0000000000..f3c2d7d25b
--- /dev/null
+++ b/tasks/rspec.rb
@@ -0,0 +1,8 @@
+require 'rubygems'
+require 'rake'
+require 'spec/rake/spectask'
+
+desc "Run all examples"
+Spec::Rake::SpecTask.new('spec') do |t|
+ t.spec_files = FileList[File.join(File.dirname(__FILE__), "..", "spec", "**", "*.rb")]
+end