Sha256: 4f6cab5de2ceb6cc89e73db64b2e71c675c85a65b6ed3ad102bf155d8fb6a566
Contents?: true
Size: 370 Bytes
Versions: 68
Compression:
Stored size: 370 Bytes
Contents
module SOULs class Delete < Thor desc "rspec_query [CLASS_NAME]", "Delete Rspec Query Test" def rspec_query(class_name) singularized_class_name = class_name.singularize file_path = "./spec/queries/#{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