generator_files/helpers.rb.erb in berkshelf-2.0.18 vs generator_files/helpers.rb.erb in berkshelf-3.0.0.beta1
- old
+ new
@@ -1,6 +1,6 @@
module Helpers
- module <%= cookbook_name.capitalize.sub('-','_') %>
+ module <%= cookbook_name.capitalize.gsub('-','_') %>
include MiniTest::Chef::Assertions
include MiniTest::Chef::Context
include MiniTest::Chef::Resources
end
end