Sha256: db33d5713845852465f2869e35a5ac1fbf308808ac6356cc406053ce5f6db2fa
Contents?: true
Size: 1.41 KB
Versions: 1
Compression:
Stored size: 1.41 KB
Contents
@command_line Feature: Mirage is started from the command line. Mirage logs to mirage.log at the path where Mirage is started from Background: Mirage usage Given usage information: | Usage: mirage start\|stop [options] | | -p, --port PORT | | -d, --defaults DIR | | --debug | Scenario: Starting with help option Given I run 'mirage --help' Then the usage information should be displayed Scenario: Starting with an invalid option Given I run 'mirage start --invalid-option' Then the usage information should be displayed Scenario: Starting mirage Given Mirage is not running When I run 'mirage start' Then mirage should be running on 'http://localhost:7001/mirage' And 'mirage.log' should exist Scenario: Stopping Mirage Given Mirage is running When I run 'mirage stop' Then Connection should be refused to 'http://localhost:7001/mirage' Scenario: Starting Mirage on a custom port Given Mirage is not running When I run 'mirage start -p 9001' Then mirage should be running on 'http://localhost:9001/mirage' Scenario: Starting Mirage when it is already running Given Mirage is running When I run 'mirage start -p 9001' Then I should see 'Mirage is already running' on the command line Then Connection should be refused to 'http://localhost:9001/mirage'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mirage-2.0.0.alpha2 | features/server/command_line_iterface.feature |