Permalink
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 360 Bytes
require 'bundler'
Bundler::GemHelper.install_tasks
begin
require 'rspec/core/rake_task'
task :default => :spec
desc "Run all specs in spec directory"
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = 'spec/**/*_spec.rb'
end
rescue LoadError
STDERR.puts "\n*** RSpec not available. (sudo) gem install rspec to run unit tests. ***\n\n"
end