Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Mislav Marohnić 6be9d54fc2 Reuse most logic betwen `checkout` and `pr` commands 2017-04-08 22:17:18 +02:00
Johan Walles cb9888d58d Don't expect any -f or -q options
We don't support them, and we don't expect them to show up.
2017-04-08 10:43:48 +02:00
Johan Walles 1aa529397f Remove unhelpful test
With "hub checkout" you had to write the complete URL to the PR, which
made it possible to type the wrong owner/repo there. This check covers
that case.

Nowadays, when you only enter the PR number you can't mess up that way
any more, and this test lacks meaning.
2017-04-08 10:43:48 +02:00
Johan Walles f9e49847c6 Pass the first cucumber test! 2017-04-08 10:43:48 +02:00
Johan Walles 625bee326f Add missing PR URL in Github responses 2017-04-08 10:43:48 +02:00
Johan Walles 915db7a06b Add missing PR URL 2017-04-08 10:43:48 +02:00
Johan Walles bcfce1b580 Cucumber: Add to Background that we're already authenticated 2017-04-08 10:43:48 +02:00
Johan Walles dcccc204f9 Add missing Background for "pr" feature
We need to be in a git repo for the tests to work.
2017-04-08 10:43:48 +02:00
Johan Walles 7f5c0fa627 Remove more instances of -f and -q 2017-04-08 10:43:48 +02:00
Johan Walles a8ac70757d Don't expect "hub pr checkout" to support -f or -q 2017-04-08 10:43:48 +02:00
Johan Walles 55a6794a68 Add tests for hub pr checkout
Next step is to actually run these tests...
2017-04-08 10:43:48 +02:00