lib/terraspace/cli/new/helper.rb in terraspace-0.6.2 vs lib/terraspace/cli/new/helper.rb in terraspace-0.6.3

- old
+ new

@@ -24,12 +24,12 @@ valid_types.include?(type) ? type : "project" # fallback to project if user provides invalid type end def helper_class if type == "project" - "Terraspace::#{type.camelize}::#{name.camelize}Helper" + "Terraspace::#{type.camelcase}::#{name.camelcase}Helper" else - "Terraspace::#{type.camelize}::#{stack.camelize}::#{name.camelize}Helper" + "Terraspace::#{type.camelcase}::#{stack.camelcase}::#{name.camelcase}Helper" end end def name options[:name] || stack