Sha256: 147c4008d31084467b5942242e483a1847405def49acb8920ef079ca75e7d5ed

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

Feature: Docroot management (deploy to local)

  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.rb 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.rb 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

1 entries across 1 versions & 1 rubygems

Version Path
docman-0.0.1 features/local.feature