Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add rake task for RSpec

  • Loading branch information...
commit 666be8752f176148d252e6e15ce9405ab4f2e1ac 1 parent dec7264
@Sixeight Sixeight authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 Rakefile
View
8 Rakefile
@@ -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
+
Please sign in to comment.
Something went wrong with that request. Please try again.