Sha256: 2d8c01dcc153df1cb2a167ecab587e3425ecdf9b58b913b1014397dd43606244
Contents?: true
Size: 330 Bytes
Versions: 28
Compression:
Stored size: 330 Bytes
Contents
module Souls class Delete < Thor desc "rspec_factory [CLASS_NAME]", "Delete Rspec Factory Test from schema.rb" def rspec_factory(class_name) file_path = "./spec/factories/#{class_name.pluralize}.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