Sha256: b9afa1d3a69518555aa4eba3d986164d47d915ddafbf3586020e301f6f38e503
Contents?: true
Size: 420 Bytes
Versions: 68
Compression:
Stored size: 420 Bytes
Contents
module SOULs class Delete < Thor desc "rspec_job [CLASS_NAME]", "Delete Rspec Job Test Template" def rspec_job(class_name) file_dir = "./spec/queries/jobs" singularized_class_name = class_name.underscore.singularize file_path = "#{file_dir}/#{singularized_class_name}_spec.rb" FileUtils.rm_f(file_path) SOULs::Painter.delete_file(file_path.to_s) file_path end end end
Version data entries
68 entries across 68 versions & 1 rubygems