Permalink
Browse files

added spec rake task

  • Loading branch information...
Nick Howard
Nick Howard committed Jan 9, 2010
1 parent e89ba63 commit 51bb0af10738495da38f3964f01a19ecce1b7fe7
Showing with 11 additions and 0 deletions.
  1. +11 −0 Rakefile
View
@@ -18,3 +18,14 @@ begin
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
+
+
+require 'spec/rake/spectask'
+
+desc "Run all examples"
+Spec::Rake::SpecTask.new('spec') do |t|
+ t.spec_files = FileList['test/**/*.rb']
+end
+
+
+task :default => :spec

0 comments on commit 51bb0af

Please sign in to comment.