lib/souls/cli/db/rspec_model.rb in souls-1.17.3 vs lib/souls/cli/db/rspec_model.rb in souls-1.18.0
- old
+ new
@@ -1,6 +1,6 @@
-module Souls
+module SOULs
class DB < Thor
desc "rspec_model [CLASS_NAME]", "Generate Rspec Model Test from schema.rb"
def rspec_model(class_name)
file_dir = "./spec/models/"
FileUtils.mkdir_p(file_dir) unless Dir.exist?(file_dir)
@@ -16,10 +16,10 @@
end
end
end
TEXT
end
- Souls::Painter.create_file(file_path.to_s)
+ SOULs::Painter.create_file(file_path.to_s)
file_path
end
end
end