Sha256: e19367ebd7a8e7d220daea9ebe63286125be908315403e40acd8c24b525100c2

Contents?: true

Size: 367 Bytes

Versions: 3

Compression:

Stored size: 367 Bytes

Contents

# Tries to bootstrap with apache2 cookbook and
# verifies the "It Works!" page is present.

require $base_dir.join('integration', 'cases', 'apache2_cook')

module Apache2Bootstrap
  include Apache2Cook

  def test_apache2
    write_cheffile
    assert_subcommand "bootstrap --run-list=recipe[apache2]"
    assert_match default_apache_message, http_response
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
knife-solo-0.3.0.pre3 test/integration/cases/apache2_bootstrap.rb
knife-solo-0.3.0.pre2 test/integration/cases/apache2_bootstrap.rb
knife-solo-0.1.0 test/integration/cases/apache2_bootstrap.rb