Sha256: 9701e9f217789af4438d6b6d8d9a46b60821884d3b756e2c7b0f86d2d6e9d55d

Contents?: true

Size: 1.88 KB

Versions: 2

Compression:

Stored size: 1.88 KB

Contents

Feature: Docroot management - git_target

  In order to manage docroot
  As a developer using Cucumber
  I want to use the deploy steps to deploy to local

  @announce
  @no-clobber
  @build
  @git_target
  Scenario: git_target build development
    Given I cd to "sample-docroot"
    Then I run `docman build git_target development`
    Then the exit status should be 0
    Then the following directories should exist:
      | master |
      | master/docroot |
      | master/docroot/sites |
      | master/hooks |
      | master/profiles |
      | master/profiles/sample_profile |
      | master/projects/sample_project1 |
      | master/projects/sample_project2 |
      | master/docroot/profiles/sample_profile |
    Then the following files should exist:
      | master/docroot/CHANGELOG.txt |

  @announce
  @no-clobber
  @git_target
  @develop
  @deploy
  Scenario: git_target deploy sample project 1 develop
    Given I cd to "sample-docroot"
    Then I run `docman deploy git_target sample_project1 branch develop`
    Then the exit status should be 0
    Then the following directories should exist:
      | master |
      | master/docroot |
      | master/docroot/sites |
      | master/hooks |
      | master/profiles |
      | master/profiles/sample_profile |
      | master/projects/sample_project1 |
      | master/projects/sample_project2 |

  @announce
  @no-clobber
  @git_target
  @deploy
  @master
  @sample_project2
  Scenario: git_target deploy sample project 2 master
    Given I cd to "sample-docroot"
    Then I run `docman deploy git_target sample_project2 branch master`
    Then the exit status should be 0
    Then the following directories should exist:
      | master |
      | master/docroot |
      | master/docroot/sites |
      | master/hooks |
      | master/profiles |
      | master/profiles/sample_profile |
      | master/projects/sample_project1 |
      | master/projects/sample_project2 |

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
docman-0.0.13 features/git_target/git_target.feature
docman-0.0.12 features/git_target/git_target.feature