Permalink
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (17 sloc) 404 Bytes
$LOAD_PATH.unshift( 'lib' )
require 'bundler'
Bundler::GemHelper.install_tasks
# === RSpec
begin
require 'rspec/core/rake_task'
desc "Run specs"
RSpec::Core::RakeTask.new do |t|
t.rspec_opts = %w(--color --format progress --order random)
t.ruby_opts = %w(-w)
end
rescue LoadError
task :spec do
abort "`gem install rspec` in order to run tests"
end
end
task :default => :spec