Permalink
Browse files

add rake task for RSpec

  • Loading branch information...
1 parent dec7264 commit 666be8752f176148d252e6e15ce9405ab4f2e1ac @Sixeight Sixeight committed Jan 6, 2009
Showing with 8 additions and 0 deletions.
  1. +8 −0 Rakefile
View
@@ -28,3 +28,11 @@ Dir['tasks/**/*.rake'].each { |t| load t }
# TODO - want other tests/tasks run by default? Add them to the list
# task :default => [:spec, :features]
+
+require 'spec/rake/spectask'
+desc 'run all specs'
+Spec::Rake::SpecTask.new do |t|
+ t.spec_files = FileList['spec/**/*_spec.rb']
+ t.spec_opts = ['-c']
+end
+

0 comments on commit 666be87

Please sign in to comment.