lib/souls/cli/update/rspec_factory.rb in souls-1.12.5 vs lib/souls/cli/update/rspec_factory.rb in souls-1.13.0
- old
+ new
@@ -28,10 +28,10 @@
end
end
end
FileUtils.rm(file_path)
FileUtils.mv(new_file_path, file_path)
- puts(Paint % ["Updated file! : %{white_text}", :green, { white_text: [file_path.to_s, :white] }])
+ Souls::Painter.update_file(file_path.to_s)
end
private
def check_factory_argument(class_name: "user")