mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
16 lines
335 B
Ruby
16 lines
335 B
Ruby
require 'rake/testtask'
|
|
require 'rspec/core/rake_task'
|
|
|
|
Rake::Task[:test].clear
|
|
Rake::TestTask.new :test do |t|
|
|
t.libs << "test"
|
|
t.pattern = "test/**/*_test.rb"
|
|
end
|
|
|
|
RSpec::Core::RakeTask.new :spec
|
|
|
|
RSpec::Core::RakeTask.new :fast_spec do |t|
|
|
t.pattern = "fast_spec/**/*_spec.rb"
|
|
end
|
|
|
|
task :default => [:test, :spec, :fast_spec]
|