Skip to content

Commit

Permalink
Rake task to run the specs
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Sep 6, 2009
1 parent 9513ac1 commit f5eb9dc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Rakefile
Expand Up @@ -20,3 +20,15 @@ Jeweler::Tasks.new do |s|

s.test_files = Dir['spec/**/*']
end

require 'spec/rake/spectask'

task :default => :spec

desc 'Run the specs'
Spec::Rake::SpecTask.new(:spec) do |t|
t.libs << 'lib'
t.pattern = 'spec/**/*_spec.rb'
t.verbose = true
end

0 comments on commit f5eb9dc

Please sign in to comment.