Commit 2e00239 1 parent 12083a5 commit 2e00239 Copy full SHA for 2e00239
File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -946,6 +946,21 @@ Feature: hub pull-request
946
946
When I successfully run `hub pull-request -m hereyougo`
947
947
Then the output should contain exactly "the://url\n "
948
948
949
+ Scenario : Current branch is pushed to remote without upstream configuration
950
+ Given git "push.default" is set to "upstream"
951
+ And I am on the "feature" branch pushed to "origin/feature"
952
+ Given the GitHub API server:
953
+ """
954
+ post('/repos/mislav/coral/pulls') {
955
+ assert :base => 'master',
956
+ :head => 'mislav:feature'
957
+ status 201
958
+ json :html_url => "the://url"
959
+ }
960
+ """
961
+ When I successfully run `hub pull-request -m hereyougo`
962
+ Then the output should contain exactly "the://url\n "
963
+
949
964
Scenario : Branch with quotation mark in name
950
965
Given I am on the "feat'ure" branch with upstream "origin/feat'ure"
951
966
Given the GitHub API server:
You can’t perform that action at this time.
0 commit comments