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