Sha256: b3623c2960cebf4e977630e900fac5311712dde1725f9bbd06489d4fdea197da

Contents?: true

Size: 1.43 KB

Versions: 20

Compression:

Stored size: 1.43 KB

Contents

Feature: Checkout

Scenario: Existing branch
  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 I execute gitcycle checkout with the last URL or string
    And gitcycle runs
  Then output includes
    """
    Retrieving branch information from gitcycle.
    Checking out branch 'master-ticket.id'.
    """
    And current branch is "master-ticket.id"

Scenario: Fresh repo
  Given a fresh set of repositories
  When I cd to the user repo
    And I execute gitcycle checkout with the last URL or string
    And gitcycle runs
  Then output includes
    """
    Retrieving branch information from gitcycle.
    Tracking branch 'origin/master-last_ticket.id'.
    """
    And current branch is "master-last_ticket.id"

Scenario: Collaborator
  Given a fresh set of repositories
  When I cd to the owner repo
    And I execute gitcycle branch with a new URL or string
    And I give default input
    And gitcycle runs
    And I cd to the user repo
    And I execute gitcycle with "co config.owner/master-ticket.id"
    And gitcycle runs
  Then output includes
    """
    Adding remote repo 'config.owner/config.repo'.
    Fetching remote 'config.owner'.
    Creating branch 'master-ticket.id' from 'br/master-ticket.id'.
    Sending branch information to gitcycle.
    Checking out 'master-ticket.id'.
    """
    And current branch is "master-ticket.id"

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
gitcycle-0.3.5 features/checkout.feature
gitcycle-0.3.4 features/checkout.feature
gitcycle-0.3.3 features/checkout.feature
gitcycle-0.3.2 features/checkout.feature
gitcycle-0.3.1 features/checkout.feature
gitcycle-0.3.0 features/checkout.feature
gitcycle-0.2.33 features/checkout.feature
gitcycle-0.2.32 features/checkout.feature
gitcycle-0.2.31 features/checkout.feature
gitcycle-0.2.30 features/checkout.feature
gitcycle-0.2.29 features/checkout.feature
gitcycle-0.2.28 features/checkout.feature
gitcycle-0.2.27 features/checkout.feature
gitcycle-0.2.26 features/checkout.feature
gitcycle-0.2.25 features/checkout.feature
gitcycle-0.2.24 features/checkout.feature
gitcycle-0.2.23 features/checkout.feature
gitcycle-0.2.22 features/checkout.feature
gitcycle-0.2.21 features/checkout.feature
gitcycle-0.2.20 features/checkout.feature