Sha256: aac6f2daca38f96bfc9feb806657d1f60efcb3aa88215ab7aee9a80f5fe0a8d1
Contents?: true
Size: 420 Bytes
Versions: 24
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
24 entries across 24 versions & 1 rubygems