spec/unit/berkshelf/init_generator_spec.rb in berkshelf-1.0.4 vs spec/unit/berkshelf/init_generator_spec.rb in berkshelf-1.1.0.rc1

- old
+ new

@@ -44,10 +44,12 @@ end context "with a metadata entry in the Berksfile" do before do Dir.mkdir target - File.write target.join("metadata.rb"), "" + File.open(target.join("metadata.rb"), 'w+') do |f| + f.write "" + end generator = subject.new([target], metadata_entry: true) capture(:stdout) { generator.invoke_all } end specify do