mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
f441d11dcd
* update rocket hash syntax in Guardfile * update rocket hash syntax in spec/dummy/lib/tasks/test.rake * update rocket hash syntax in lib/draper/tasks/test.rake * update rocket hash syntax in lib/generators/mini_test/decorator_generator.rb * update rocket hash syntax in schema from dummy app
16 lines
332 B
Ruby
16 lines
332 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]
|