Permalink
Browse files

Default rake task runs specs.

  • Loading branch information...
1 parent 5f2b6c6 commit 7cafd9360862276614f32d40a391e7f98cad9bf2 @ejholmes ejholmes committed Nov 10, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 Rakefile
View
@@ -1,2 +1,10 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
+
+task :default => [:spec]
+
+require 'rspec/core/rake_task'
+desc "Run specs"
+RSpec::Core::RakeTask.new do |t|
+ t.pattern = 'spec/**/*_spec.rb'
+end

0 comments on commit 7cafd93

Please sign in to comment.