lib/souls/generate/rspec_resolver.rb in souls-0.22.9 vs lib/souls/generate/rspec_resolver.rb in souls-0.23.0
- old
+ new
@@ -181,10 +181,10 @@
return "Resolver already exist! #{file_path}" if File.exist? file_path
rspec_resolver_head class_name: singularized_class_name
rspec_resolver_after_head class_name: singularized_class_name
rspec_resolver_params class_name: singularized_class_name
rspec_resolver_end class_name: singularized_class_name
- puts "Created file! : #{file_path}"
+ puts Paint % ["Created file! : %{white_text}", :green, { white_text: [file_path.to_s, :white] }]
file_path
rescue StandardError => e
raise StandardError, e
end
end