Sha256: 88acf4cafe6a9caf1c876c56ad4ce7389eb288d160e01c983353c5119da47af3

Contents?: true

Size: 1.92 KB

Versions: 14

Compression:

Stored size: 1.92 KB

Contents

Feature: Ready

Scenario: Ready issue
  Given a fresh set of repositories
  When I cd to the user repo
    And I execute gitcycle branch with a new URL or string
    And I give default input
    And gitcycle runs
    And I commit something
    And I execute gitcycle with "ready"
    And gitcycle runs
  Then output includes
    """
    Retrieving branch information from gitcycle.
    Fetching remote 'config.owner'.
    Merging remote branch 'master' from 'config.owner/config.repo'.
    Adding remote repo 'config.user/config.repo'.
    Fetching remote 'config.user'.
    Merging remote branch 'master-ticket.id' from 'config.user/config.repo'.
    Creating GitHub pull request.
    Labeling issue as 'Pending Review'.
    """
    And output includes "Opening issue" with URL
    And URL is a valid issue

Scenario: Reopen pull request
  Given a fresh set of repositories
  When I cd to the user repo
    And I execute gitcycle branch with a new URL or string
    And I give default input
    And gitcycle runs
    And I commit something
    And I execute gitcycle with "ready"
    And gitcycle runs
    And I cd to the owner repo
    And I checkout master
    And I execute gitcycle with "qa pass issue.id"
    And I enter "y"
    And gitcycle runs
    And I wait for 5 seconds
    And I cd to the user repo
    And I checkout master-ticket.id
    And I commit something
    And I wait for 5 seconds
    And I execute gitcycle with "ready"
    And gitcycle runs
  Then output includes
    """
    Retrieving branch information from gitcycle.
    Fetching remote 'config.owner'.
    Merging remote branch 'master' from 'config.owner/config.repo'.
    Fetching remote 'config.user'.
    Merging remote branch 'master-ticket.id' from 'config.user/config.repo'.
    Creating GitHub pull request.
    Labeling issue as 'Pending Review'.
    """
    And output includes "Opening issue" with URL
    And URL is a valid issue
    And URL is not the same as the last

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gitcycle-0.3.5 features/ready.feature
gitcycle-0.3.4 features/ready.feature
gitcycle-0.3.3 features/ready.feature
gitcycle-0.3.2 features/ready.feature
gitcycle-0.3.1 features/ready.feature
gitcycle-0.3.0 features/ready.feature
gitcycle-0.2.33 features/ready.feature
gitcycle-0.2.32 features/ready.feature
gitcycle-0.2.31 features/ready.feature
gitcycle-0.2.30 features/ready.feature
gitcycle-0.2.29 features/ready.feature
gitcycle-0.2.28 features/ready.feature
gitcycle-0.2.27 features/ready.feature
gitcycle-0.2.26 features/ready.feature