Sha256: 050b479393ff52c156003774c26d579240d9e6095b956496bad95e32fc2d5dc2

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 KB

Contents

Feature: git Plugin
  Background:
    * I have a cookbook named "bacon"
    * the community server has the cookbooks:
      | bacon | 1.0.0 | Application |

  Scenario: When the directory is not a git repository
    * I run `stove`
    * it should fail with "does not appear to be a valid git repository"

  Scenario: When the directory is dirty
    * I have a cookbook named "bacon" with git support
    * I write to "new" with:
     """
     This is new content
     """
    * I run `stove`
    * it should fail with "has untracked files"

  Scenario: When the local is out of date with the remote
    * I have a cookbook named "bacon" with git support
    * the remote repository has additional commits
    * I run `stove -l debug`
    * it should fail with "out of sync with the remote repository"

  Scenario: When a git upload should be done
    * I have a cookbook named "bacon" with git support
    * I successfully run `stove`
    * the git remote should have the tag "v0.0.0"

  Scenario: When using signed tags
    * I have a cookbook named "bacon" with git support
    * a GPG key exists
    * I successfully run `stove --sign`
    * the git remote should have the signed tag "v0.0.0"

  Scenario: With the git plugin disabled
    * I have a cookbook named "bacon" with git support
    * I successfully run `stove --no-git`
    * the git remote should not have the tag "v0.0.0"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stove-3.0.0 features/plugins/git.feature