Sha256: d3180af54d053b1c0a94eb94d57ade378a08fa0e203f8276efbe8f089017c7f8

Contents?: true

Size: 1009 Bytes

Versions: 29

Compression:

Stored size: 1009 Bytes

Contents

Feature: The vhost DSL directive.
  @sudo
  Scenario: phut run with "vhost { ip ... }"
    Given a file named "network.conf" with:
    """
    vhost { ip '192.168.0.1' }
    vhost { ip '192.168.0.2' }
    link '192.168.0.1', '192.168.0.2'
    """
    When I do phut run "network.conf"
    Then a vhost named "192.168.0.1" launches
    And a vhost named "192.168.0.2" launches

  @sudo
  Scenario: phut run with "vhost(alias) { ... }"
    Given a file named "network.conf" with:
    """
    vhost('host1') { ip '192.168.0.1' }
    vhost('host2') { ip '192.168.0.2' }
    link 'host1', 'host2'
    """
    When I do phut run "network.conf"
    Then a vhost named "host1" launches
    And a vhost named "host2" launches

  @sudo
  Scenario: phut run with "vhost(alias)"
    Given a file named "network.conf" with:
    """
    vhost('host1')
    vhost('host2')
    link 'host1', 'host2'
    """
    When I do phut run "network.conf"
    Then a vhost named "host1" launches
    And a vhost named "host2" launches

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
phut-0.7.7 features/dsl_vhost.feature
phut-0.7.6 features/dsl_vhost.feature
phut-0.7.5 features/dsl_vhost.feature
phut-0.7.4 features/dsl_vhost.feature
phut-0.7.3 features/dsl_vhost.feature
phut-0.7.2 features/dsl_vhost.feature
phut-0.7.1 features/dsl_vhost.feature
phut-0.7.0 features/dsl_vhost.feature
phut-0.6.11 features/dsl_vhost.feature
phut-0.6.10 features/dsl_vhost.feature
phut-0.6.9 features/dsl_vhost.feature
phut-0.6.8 features/dsl_vhost.feature
phut-0.6.7 features/dsl_vhost.feature
phut-0.6.6 features/dsl_vhost.feature
phut-0.6.5 features/dsl_vhost.feature
phut-0.6.4 features/dsl_vhost.feature
phut-0.6.3 features/dsl_vhost.feature
phut-0.6.2 features/dsl_vhost.feature
phut-0.6.1 features/dsl_vhost.feature
phut-0.6.0 features/dsl_vhost.feature