Sha256: 4e320fe3465e33a3391e139521f3ed00a532624ea39034f26c94def44d41dab8

Contents?: true

Size: 510 Bytes

Versions: 8

Compression:

Stored size: 510 Bytes

Contents

Feature: -d (--daemonize) option

  -d (--daemonize) runs a controller as a daemon

  Background:
    Given a file named "null_controller.rb" with:
      """ruby
      class NullController < Trema::Controller; end
      """

  @sudo
  Scenario: -d option
    When I successfully run `trema run null_controller.rb -d`
    Then the command returns immediately

  @sudo
  Scenario: --daemonize option
    When I successfully run `trema run null_controller.rb --daemonize`
    Then the command returns immediately

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
trema-0.8.4 features/trema_run/daemonize_option.feature
trema-0.8.3 features/trema_run/daemonize_option.feature
trema-0.8.2 features/trema_run/daemonize_option.feature
trema-0.8.1 features/trema_run/daemonize_option.feature
trema-0.8.0 features/trema_run/daemonize_option.feature
trema-0.7.1 features/trema_run/daemonize_option.feature
trema-0.7.0 features/trema_run/daemonize_option.feature
trema-0.6.0 features/trema_run/daemonize_option.feature