Add a spec task and a default rake task to run it

This commit is contained in:
R. Tyler Croy 2012-05-17 11:59:33 -07:00
parent 149e866f76
commit 865068f577
1 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,8 @@
require "bundler/gem_tasks"
#require 'rspec/core/rake_task'
#RSpec::Core::RakeTask.new(:test)
#task :default => :test
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new('spec') do |t|
t.rspec_opts = '--color --fail-fast'
end
task :default => :spec