Sha256: 3e162c81b1bd822e8c08cca60956c590bc6d3daa138fe5ff8bbbb76bee5a6300

Contents?: true

Size: 637 Bytes

Versions: 14

Compression:

Stored size: 637 Bytes

Contents

Feature: CLI
  Scenario: Switch back to the original pre-deployment environment
    Given I have the file "tmp/Gemfile.erb" with the content:
      """
      gem 'rake'
      """
      And I have the file "tmp/Gemfile" with the content:
        """
        # generated by penchant, environment: production, deployment mode (was local)
        """
    When I run "bin/penchant gemfile other --switch-back" in the "tmp" directory
    Then the file "tmp/Gemfile" should have the following content:
      """
      # generated by penchant, environment: local
      gem 'rake'
      """
      And the output should include "fallback: other"

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
penchant-0.2.11 features/cli.feature
penchant-0.2.10 features/cli.feature
penchant-0.2.9 features/cli.feature
penchant-0.2.8.1 features/cli.feature
penchant-0.2.8 features/cli.feature
penchant-0.2.6 features/cli.feature
penchant-0.2.5 features/cli.feature
penchant-0.2.4 features/cli.feature
penchant-0.2.3 features/cli.feature
penchant-0.2.2 features/cli.feature
penchant-0.2.1 features/cli.feature
penchant-0.1.2 features/cli.feature
penchant-0.1.1 features/cli.feature
penchant-0.1.0 features/cli.feature