spec/support/chef_api.rb in berkshelf-3.1.2 vs spec/support/chef_api.rb in berkshelf-3.1.3
- old
+ new
@@ -74,10 +74,10 @@
files.each do |file|
FileUtils.touch(cookbook_path.join(file))
end
metadata = [].tap do |a|
- a << "name '#{name}'"
+ a << "name '#{name}'" unless options[:without_name]
a << "version '#{version}'"
a << "license '#{options[:license]}'" if options[:license]
a << "" # ensure newline
end.join("\n")