Permalink
Browse files

Merge pull request #7 from ejholmes/default-rake-task

Default rake task runs specs.
  • Loading branch information...
2 parents 5f2b6c6 + 7cafd93 commit 380dd21d3de6e21e232f6aeb700f077569750faa @dam5s dam5s 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 380dd21

Please sign in to comment.