Permalink
Browse files

rake spec should now actually work

  • Loading branch information...
1 parent d823bb8 commit 4dc2852c291075378650b6b720a477c41642b64f @rick committed Nov 24, 2008
Showing with 7 additions and 1 deletion.
  1. +7 −0 Rakefile
  2. +0 −1 TODO
View
@@ -15,6 +15,13 @@
require 'rubygems'
require 'rake'
+require 'spec/rake/spectask'
+
+desc "run rspec specs"
+Spec::Rake::SpecTask.new( :spec ) do |r|
+ r.libs = Dir[File.expand_path(File.dirname(__FILE__) + '/spec/') + '/**/*_spec.rb']
+ r.spec_opts = %w(-o spec/spec.opts)
+end
# load all rake tasks
Dir[File.dirname(__FILE__) + '/tasks/*.rake'].each do |rakefile|
View
1 TODO
@@ -1,5 +1,4 @@
- * get rake spec working properly
* probably should be testing these rake tasks (TATFT), dust this off
* do we vendor some gems (e.g., rspec, mocha)
* gem dependencies could go in the install_dependencies rake task

0 comments on commit 4dc2852

Please sign in to comment.