Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Addes a task for rspec.

  • Loading branch information...
commit b7cd9001b8d60be9ed3859b78088b801d7c3dba4 1 parent 7db7b84
@jugyo authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 Rakefile
View
7 Rakefile
@@ -1,7 +1,10 @@
$:.unshift File.dirname(__FILE__) + '/lib/'
-task :spec do
- system 'spec', 'spec'
+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
desc 'Generate gemspec'
Please sign in to comment.
Something went wrong with that request. Please try again.