Skip to content

Commit

Permalink
Adding an actual spec rake task.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bleigh committed Jan 20, 2010
1 parent 2610845 commit ca191e9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

begin
require 'spec/rake/spectask'

Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
end
rescue LoadError
puts "You need RSpec to run the spec suite."
end


desc 'Default: run specs.'
task :default => :spec

0 comments on commit ca191e9

Please sign in to comment.