test/integration/cases/apache2_bootstrap.rb in knife-solo-0.3.0.pre3 vs test/integration/cases/apache2_bootstrap.rb in knife-solo-0.3.0.pre4

- old
+ new

@@ -4,11 +4,18 @@ require $base_dir.join('integration', 'cases', 'apache2_cook') module Apache2Bootstrap include Apache2Cook + def write_berksfile + File.open('Berksfile', 'w') do |f| + f.puts "site :opscode" + f.puts "cookbook 'apache2'" + end + end + def test_apache2 - write_cheffile + write_berksfile assert_subcommand "bootstrap --run-list=recipe[apache2]" assert_match default_apache_message, http_response end end