Permalink
Browse files

Added rspec rake task

  • Loading branch information...
nbibler committed Mar 31, 2011
1 parent 8ae9dff commit d02349e32946f5bb0b4400b0d7f6746e8ed6ece1
Showing with 8 additions and 0 deletions.
  1. +8 −0 Rakefile
View
@@ -1,2 +1,10 @@
require 'bundler'
Bundler::GemHelper.install_tasks
+
+require 'rake'
+require 'rspec/core/rake_task'
+
+desc "Run all examples"
+RSpec::Core::RakeTask.new('spec') do |t|
+ t.pattern = 'spec/**/*_spec.rb'
+end

0 comments on commit d02349e

Please sign in to comment.