1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
draper/spec/dummy/lib/tasks/test.rake
Dmytro Stepaniuk f441d11dcd Replace hash rockets with new syntax (#802)
* 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
2017-05-08 09:28:07 -05:00

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]