lib/souls/generate/rspec_resolver.rb in souls-0.22.1 vs lib/souls/generate/rspec_resolver.rb in souls-0.22.2

- old
+ new

@@ -181,9 +181,13 @@ 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}" + file_path + rescue StandardError => e + raise StandardError, e end end end end