github.com/scorpionis/hub@v2.2.1+incompatible/features/push.feature (about)

     1  Feature: hub push
     2    Background:
     3      Given I am in "git://github.com/mislav/coral.git" git repo
     4  
     5    Scenario: Normal push
     6      When I successfully run `hub push`
     7      Then the git command should be unchanged
     8  
     9    Scenario: Push current branch to multiple remotes
    10      Given I am on the "cool-feature" branch
    11      When I successfully run `hub push origin,staging`
    12      Then "git push origin cool-feature" should be run
    13      Then "git push staging cool-feature" should be run
    14  
    15    Scenario: Push explicit branch to multiple remotes
    16      When I successfully run `hub push origin,staging,qa cool-feature`
    17      Then "git push origin cool-feature" should be run
    18      Then "git push staging cool-feature" should be run
    19      Then "git push qa cool-feature" should be run
    20  
    21    Scenario: Push multiple refs to multiple remotes
    22      When I successfully run `hub push origin,staging master new-feature`
    23      Then "git push origin master new-feature" should be run
    24      Then "git push staging master new-feature" should be run