Permalink
Browse files

Added default task to rake for travis-ci

  • Loading branch information...
1 parent 8727be4 commit 1286bd78f263e69500eb79e44972d7b6b82c5b5f @chendo committed Nov 25, 2011
Showing with 11 additions and 0 deletions.
  1. +11 −0 Rakefile
View
@@ -1 +1,12 @@
require 'bundler/gem_tasks'
+
+require 'rspec/core/rake_task'
+
+desc 'Default: run specs.'
+task :default => :spec
+
+desc "Run specs"
+RSpec::Core::RakeTask.new do |t|
+ t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
+ # Put spec opts in a file named .rspec in root
+end

0 comments on commit 1286bd7

Please sign in to comment.