Permalink
Browse files

Rakefile runs tests by default.

  • Loading branch information...
mariovisic committed Jul 27, 2011
1 parent daae67d commit 2bc464968bb854d8e7adf8d269ee4cc9e28b10db
Showing with 10 additions and 0 deletions.
  1. +10 −0 Rakefile
View
@@ -1 +1,11 @@
require 'bundler/gem_tasks'
+require 'rake'
+
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:test) do |spec|
+ spec.pattern = 'spec/**/*_spec.rb'
+ spec.rspec_opts = ['--backtrace']
+end
+
+task :default => :test

0 comments on commit 2bc4649

Please sign in to comment.