up: makes spec for with and without config

main
Washington Botelho 2018-02-14 15:02:44 -02:00
parent 6d71dccb2d
commit 7247a25a96
No known key found for this signature in database
GPG Key ID: 5DE4F42A8F073617
1 changed files with 8 additions and 0 deletions

View File

@ -23,3 +23,11 @@ task :spec_config do
FileUtils.rm_rf(directory_config) unless unsafe_path FileUtils.rm_rf(directory_config) unless unsafe_path
end end
desc 'Runs tests with and without config enabled'
task :spec do
Rake::Task['spec'].invoke
Rake::Task['spec_config'].invoke
puts "Spec with and without config enabled executed."
end