Sha256: 5ef22d17bc0e7053da435b207971ebace025a0255bee86ef9a6f359728fe8534

Contents?: true

Size: 1.37 KB

Versions: 2

Compression:

Stored size: 1.37 KB

Contents

Feature: Docroot management

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

  @announce
  @no-clobber
  Scenario: Local init
    Given I run `docman init sample-docroot https://github.com/aroq/dm-test-docroot-config.git`
    Then the exit status should be 0
    Then the following directories should exist:
      | sample-docroot |
      | sample-docroot/config |

  @announce
  @no-clobber
  Scenario: Local build development
    Given I cd to "sample-docroot"
    Then I run `docman build local 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 |

  @announce
  @no-clobber
  Scenario: Local push into project1 develop
    Given I cd to "sample-docroot/master/projects/sample_project1"
    And I run `git checkout develop`
    And I run `git pull origin develop`
    Then the exit status should be 0
    Given a file named "develop.txt" with:
      """
      test content

      """
    And I run `git add -A`
    And I run `git commit -m "Test commit to develop"`
    And I run `git push origin develop`
    Then the exit status should be 0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
docman-0.0.4 features/local.feature
docman-0.0.3 features/local.feature