Sha256: 53dcc4f044ffb885243d921e955bec63ae67288de1593a91de9ae2e149605904

Contents?: true

Size: 1.54 KB

Versions: 1

Compression:

Stored size: 1.54 KB

Contents

Feature: Backwards-compatible deprecated commands
  Background:
    * I have an omnibus project named "hamlet"

  Scenario: When "build project" is given
    * I run `omnibus build project hamlet`
    * the output should contain:
      """
      The interface for building a project has changed. Please use 'omnibus build hamlet' instead.
      """

  Scenario: When "build software" is given
    * I run `omnibus build software preparation`
    * the output should contain:
      """
      Building individual software definitions is no longer supported!
      """
    * the exit status should not be 0

  Scenario: When --timestamp is given
    * I run `omnibus build hamlet --timestamp`
    * the output should contain:
      """
      The '--timestamp' option has been deprecated! Please use '--override append_timestamp:true' instead.
      """

  Scenario: When -t is given
    * I run `omnibus build hamlet -t`
    * the output should contain:
      """
      The '--timestamp' option has been deprecated! Please use '--override append_timestamp:true' instead.
      """

  Scenario: When --no-timestamp is given
    * I run `omnibus build hamlet --no-timestamp`
    * the output should contain:
      """
      The '--no-timestamp' option has been deprecated! Please use '--override append_timestamp:false' instead.
      """

  Scenario: When "project PROJECT" is given
    * I run `omnibus project hamlet`
    * the output should contain:
      """
      The project generator has been renamed to 'omnibus new'. Please use 'omnibus new' in the future.
      """

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omnibus-3.1.0 features/commands/_deprecated.feature