Sha256: 99cfb16b4f991240b24f477d505e80495eb6609fda4b9ac965c87e73d6531a82

Contents?: true

Size: 445 Bytes

Versions: 6

Compression:

Stored size: 445 Bytes

Contents

Feature: Having a hook plugin that fails
  In order to have a commit to take place
  As developer that did something wrong
  I want to see that the hook test failed

  Scenario: Running a unsuccessful commit test
    When I run `ruby pre-commit-fail`
    Then it should fail with:
      """
      Commit failed. See errors below.

      The test failed in with_git. Prevent you from doing anything.
      """
    And the exit status should be 1

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
captain_hoog-2.0.0 features/failed_hook.feature
captain_hoog-1.1.1 features/failed_hook.feature
captain_hoog-1.1.0 features/failed_hook.feature
captain_hoog-1.0.2 features/failed_hook.feature
captain_hoog-1.0.1 features/failed_hook.feature
captain_hoog-1.0 features/failed_hook.feature