Sha256: d511ba5870bee6d2baf2dfd9edbbb3f526132e810931c7f26654a65a4a468638
Contents?: true
Size: 444 Bytes
Versions: 42
Compression:
Stored size: 444 Bytes
Contents
module Souls class Delete < Thor desc "rspec_resolver [CLASS_NAME]", "Delete Rspec Resolver Test" def rspec_resolver(class_name) singularized_class_name = class_name.singularize file_path = "./spec/resolvers/#{singularized_class_name}_search_spec.rb" FileUtils.rm_f(file_path) puts(Paint % ["Deleted file! : %{white_text}", :yellow, { white_text: [file_path.to_s, :white] }]) file_path end end end
Version data entries
42 entries across 42 versions & 1 rubygems