Sha256: 653b3bedb9039ed8029d687f62bd49c1d14756250f6a34af9b713f02c84a6aee
Contents?: true
Size: 370 Bytes
Versions: 28
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
28 entries across 28 versions & 1 rubygems